diff --git a/data/auto_parse/level_freeze/attempts/idx_11_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_11_attempt1_snapshot.py
deleted file mode 100644
index f871f26..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_11_attempt1_snapshot.py
+++ /dev/null
@@ -1,1080 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `
\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
- table = node.get("table")
- if not isinstance(table, dict):
- return ""
- parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
- return "\n".join(parts)
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^.*\b(AGREEMENT|PLAN)\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def _promote_text_blob(
- text: str,
- key_prefix: str,
-) -> list[tuple[str, dict[str, Any]]]:
- """Split a single text blob on section markers, return virtual nodes.
-
- The portion of *text* before the first section marker (the preamble)
- is returned as a special entry with ``_preamble`` set to ``True`` so
- the caller can route it as body-direct instead of a standalone row.
-
- Only matches section markers that begin a logical segment —
- preceded by start-of-string, ``\\n``, ``. ``, or ``: ``.
- This avoids false positives like ``(d)`` inside body text
- (e.g. "described in Section 3(d) of this Agreement").
- """
- if not text or not text.strip():
- return []
- _MARKER_RE = re.compile(
- r"(?:(?:^|(?<=[.:\"'\u201d)]))\s+|(?<=\s)|^)"
- r"((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z])))"
- )
- markers = [(m.start(1), m.end(1)) for m in _MARKER_RE.finditer(text)]
- if not markers:
- return []
-
- promoted: list[tuple[str, dict[str, Any]]] = []
-
- for idx, (mk_start, mk_end) in enumerate(markers):
- next_mk_start = markers[idx + 1][0] if idx + 1 < len(markers) else len(text)
- chunk = text[mk_start:next_mk_start].strip()
- if not chunk:
- continue
-
- # Split heading from body: first "sentence" up to ". " / ".\n" is heading
- # If no period found, first line is heading
- # heading_match looks for the marker + text up to a period+space boundary
- hm = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r"[^.]*?)(?:\.\s|\.\n|\.\xa0)",
- chunk,
- )
- if hm:
- heading = hm.group(1).strip().rstrip(".")
- body = chunk[hm.end():].strip()
- elif len(chunk) > 80:
- _TITLE_SPLIT = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r".*?)"
- r"(?:\s+[A-Z][a-z]+)?"
- r"\s+(?=(?:[a-z]+\s+){1,}[a-z]+)",
- chunk,
- )
- if _TITLE_SPLIT:
- heading = _TITLE_SPLIT.group(1).strip()
- body = chunk[_TITLE_SPLIT.end():].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0][:80].strip()
- body = lines[0][80:].strip() if len(lines[0]) > 80 else ""
- if len(lines) > 1:
- body = (body + "\n" + lines[1]).strip() if body else lines[1].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
-
- promoted.append((f"{key_prefix}_t{idx}", {
- "title": heading,
- "class": "promoted table text",
- "contents": {},
- "_body_text": body or "",
- "_full_text": chunk,
- }))
-
- first_mk_start = markers[0][0]
- preamble_text = text[:first_mk_start].strip()
- if preamble_text:
- promoted.insert(0, (f"{key_prefix}_pre", {
- "title": "",
- "class": "table preamble",
- "contents": {},
- "_body_text": preamble_text,
- "_full_text": preamble_text,
- "_preamble": True,
- }))
-
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument. Also absorb
- # introduction pseudo-nodes whose body is just an exhibit tag
- # (e.g. body_direct="Exhibit 10.9") — SEC filing metadata.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
- elif (
- not envelope_seen[0]
- and body_direct.strip()
- and re.match(r"^EXHIBIT\s+\d+", body_direct.strip(), re.IGNORECASE)
- ):
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
-
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_12_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_12_attempt1_snapshot.py
deleted file mode 100644
index f871f26..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_12_attempt1_snapshot.py
+++ /dev/null
@@ -1,1080 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
- table = node.get("table")
- if not isinstance(table, dict):
- return ""
- parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
- return "\n".join(parts)
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^.*\b(AGREEMENT|PLAN)\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def _promote_text_blob(
- text: str,
- key_prefix: str,
-) -> list[tuple[str, dict[str, Any]]]:
- """Split a single text blob on section markers, return virtual nodes.
-
- The portion of *text* before the first section marker (the preamble)
- is returned as a special entry with ``_preamble`` set to ``True`` so
- the caller can route it as body-direct instead of a standalone row.
-
- Only matches section markers that begin a logical segment —
- preceded by start-of-string, ``\\n``, ``. ``, or ``: ``.
- This avoids false positives like ``(d)`` inside body text
- (e.g. "described in Section 3(d) of this Agreement").
- """
- if not text or not text.strip():
- return []
- _MARKER_RE = re.compile(
- r"(?:(?:^|(?<=[.:\"'\u201d)]))\s+|(?<=\s)|^)"
- r"((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z])))"
- )
- markers = [(m.start(1), m.end(1)) for m in _MARKER_RE.finditer(text)]
- if not markers:
- return []
-
- promoted: list[tuple[str, dict[str, Any]]] = []
-
- for idx, (mk_start, mk_end) in enumerate(markers):
- next_mk_start = markers[idx + 1][0] if idx + 1 < len(markers) else len(text)
- chunk = text[mk_start:next_mk_start].strip()
- if not chunk:
- continue
-
- # Split heading from body: first "sentence" up to ". " / ".\n" is heading
- # If no period found, first line is heading
- # heading_match looks for the marker + text up to a period+space boundary
- hm = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r"[^.]*?)(?:\.\s|\.\n|\.\xa0)",
- chunk,
- )
- if hm:
- heading = hm.group(1).strip().rstrip(".")
- body = chunk[hm.end():].strip()
- elif len(chunk) > 80:
- _TITLE_SPLIT = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r".*?)"
- r"(?:\s+[A-Z][a-z]+)?"
- r"\s+(?=(?:[a-z]+\s+){1,}[a-z]+)",
- chunk,
- )
- if _TITLE_SPLIT:
- heading = _TITLE_SPLIT.group(1).strip()
- body = chunk[_TITLE_SPLIT.end():].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0][:80].strip()
- body = lines[0][80:].strip() if len(lines[0]) > 80 else ""
- if len(lines) > 1:
- body = (body + "\n" + lines[1]).strip() if body else lines[1].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
-
- promoted.append((f"{key_prefix}_t{idx}", {
- "title": heading,
- "class": "promoted table text",
- "contents": {},
- "_body_text": body or "",
- "_full_text": chunk,
- }))
-
- first_mk_start = markers[0][0]
- preamble_text = text[:first_mk_start].strip()
- if preamble_text:
- promoted.insert(0, (f"{key_prefix}_pre", {
- "title": "",
- "class": "table preamble",
- "contents": {},
- "_body_text": preamble_text,
- "_full_text": preamble_text,
- "_preamble": True,
- }))
-
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument. Also absorb
- # introduction pseudo-nodes whose body is just an exhibit tag
- # (e.g. body_direct="Exhibit 10.9") — SEC filing metadata.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
- elif (
- not envelope_seen[0]
- and body_direct.strip()
- and re.match(r"^EXHIBIT\s+\d+", body_direct.strip(), re.IGNORECASE)
- ):
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
-
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_13_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_13_attempt1_snapshot.py
deleted file mode 100644
index 4b5f5ed..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_13_attempt1_snapshot.py
+++ /dev/null
@@ -1,1082 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
- # Level 2: SECTION heading ("SECTION 1.", "Section 2.3")
- (2, re.compile(r"^SECTION\s+\d+", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
- table = node.get("table")
- if not isinstance(table, dict):
- return ""
- parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
- return "\n".join(parts)
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^.*\b(AGREEMENT|PLAN)\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def _promote_text_blob(
- text: str,
- key_prefix: str,
-) -> list[tuple[str, dict[str, Any]]]:
- """Split a single text blob on section markers, return virtual nodes.
-
- The portion of *text* before the first section marker (the preamble)
- is returned as a special entry with ``_preamble`` set to ``True`` so
- the caller can route it as body-direct instead of a standalone row.
-
- Only matches section markers that begin a logical segment —
- preceded by start-of-string, ``\\n``, ``. ``, or ``: ``.
- This avoids false positives like ``(d)`` inside body text
- (e.g. "described in Section 3(d) of this Agreement").
- """
- if not text or not text.strip():
- return []
- _MARKER_RE = re.compile(
- r"(?:(?:^|(?<=[.:\"'\u201d)]))\s+|(?<=\s)|^)"
- r"((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z])))"
- )
- markers = [(m.start(1), m.end(1)) for m in _MARKER_RE.finditer(text)]
- if not markers:
- return []
-
- promoted: list[tuple[str, dict[str, Any]]] = []
-
- for idx, (mk_start, mk_end) in enumerate(markers):
- next_mk_start = markers[idx + 1][0] if idx + 1 < len(markers) else len(text)
- chunk = text[mk_start:next_mk_start].strip()
- if not chunk:
- continue
-
- # Split heading from body: first "sentence" up to ". " / ".\n" is heading
- # If no period found, first line is heading
- # heading_match looks for the marker + text up to a period+space boundary
- hm = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r"[^.]*?)(?:\.\s|\.\n|\.\xa0)",
- chunk,
- )
- if hm:
- heading = hm.group(1).strip().rstrip(".")
- body = chunk[hm.end():].strip()
- elif len(chunk) > 80:
- _TITLE_SPLIT = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r".*?)"
- r"(?:\s+[A-Z][a-z]+)?"
- r"\s+(?=(?:[a-z]+\s+){1,}[a-z]+)",
- chunk,
- )
- if _TITLE_SPLIT:
- heading = _TITLE_SPLIT.group(1).strip()
- body = chunk[_TITLE_SPLIT.end():].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0][:80].strip()
- body = lines[0][80:].strip() if len(lines[0]) > 80 else ""
- if len(lines) > 1:
- body = (body + "\n" + lines[1]).strip() if body else lines[1].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
-
- promoted.append((f"{key_prefix}_t{idx}", {
- "title": heading,
- "class": "promoted table text",
- "contents": {},
- "_body_text": body or "",
- "_full_text": chunk,
- }))
-
- first_mk_start = markers[0][0]
- preamble_text = text[:first_mk_start].strip()
- if preamble_text:
- promoted.insert(0, (f"{key_prefix}_pre", {
- "title": "",
- "class": "table preamble",
- "contents": {},
- "_body_text": preamble_text,
- "_full_text": preamble_text,
- "_preamble": True,
- }))
-
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument. Also absorb
- # introduction pseudo-nodes whose body is just an exhibit tag
- # (e.g. body_direct="Exhibit 10.9") — SEC filing metadata.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
- elif (
- not envelope_seen[0]
- and body_direct.strip()
- and re.match(r"^EXHIBIT\s+\d+", body_direct.strip(), re.IGNORECASE)
- ):
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
-
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_14_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_14_attempt1_snapshot.py
deleted file mode 100644
index 2dc3616..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_14_attempt1_snapshot.py
+++ /dev/null
@@ -1,1143 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
- # Level 2: SECTION heading ("SECTION 1.", "Section 2.3")
- (2, re.compile(r"^SECTION\s+\d+", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
- table = node.get("table")
- if not isinstance(table, dict):
- return ""
- parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
- return "\n".join(parts)
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^.*\b(AGREEMENT|PLAN)\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def _promote_text_blob(
- text: str,
- key_prefix: str,
-) -> list[tuple[str, dict[str, Any]]]:
- """Split a single text blob on section markers, return virtual nodes.
-
- The portion of *text* before the first section marker (the preamble)
- is returned as a special entry with ``_preamble`` set to ``True`` so
- the caller can route it as body-direct instead of a standalone row.
-
- Only matches section markers that begin a logical segment —
- preceded by start-of-string, ``\\n``, ``. ``, or ``: ``.
- This avoids false positives like ``(d)`` inside body text
- (e.g. "described in Section 3(d) of this Agreement").
- """
- if not text or not text.strip():
- return []
- _MARKER_RE = re.compile(
- r"(?:(?:^|(?<=[.:\"'\u201d)]))\s+|(?<=\s)|^)"
- r"((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z])))"
- )
- markers = [(m.start(1), m.end(1)) for m in _MARKER_RE.finditer(text)]
- if not markers:
- return []
-
- promoted: list[tuple[str, dict[str, Any]]] = []
-
- for idx, (mk_start, mk_end) in enumerate(markers):
- next_mk_start = markers[idx + 1][0] if idx + 1 < len(markers) else len(text)
- chunk = text[mk_start:next_mk_start].strip()
- if not chunk:
- continue
-
- # Split heading from body: first "sentence" up to ". " / ".\n" is heading
- # If no period found, first line is heading
- # heading_match looks for the marker + text up to a period+space boundary
- hm = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r"[^.]*?)(?:\.\s|\.\n|\.\xa0)",
- chunk,
- )
- if hm:
- heading = hm.group(1).strip().rstrip(".")
- body = chunk[hm.end():].strip()
- elif len(chunk) > 80:
- _TITLE_SPLIT = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r".*?)"
- r"(?:\s+[A-Z][a-z]+)?"
- r"\s+(?=(?:[a-z]+\s+){1,}[a-z]+)",
- chunk,
- )
- if _TITLE_SPLIT:
- heading = _TITLE_SPLIT.group(1).strip()
- body = chunk[_TITLE_SPLIT.end():].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0][:80].strip()
- body = lines[0][80:].strip() if len(lines[0]) > 80 else ""
- if len(lines) > 1:
- body = (body + "\n" + lines[1]).strip() if body else lines[1].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
-
- promoted.append((f"{key_prefix}_t{idx}", {
- "title": heading,
- "class": "promoted table text",
- "contents": {},
- "_body_text": body or "",
- "_full_text": chunk,
- }))
-
- first_mk_start = markers[0][0]
- preamble_text = text[:first_mk_start].strip()
- if preamble_text:
- promoted.insert(0, (f"{key_prefix}_pre", {
- "title": "",
- "class": "table preamble",
- "contents": {},
- "_body_text": preamble_text,
- "_full_text": preamble_text,
- "_preamble": True,
- }))
-
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument. Also absorb
- # introduction pseudo-nodes whose body is just an exhibit tag
- # (e.g. body_direct="Exhibit 10.9") — SEC filing metadata.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
- elif (
- not envelope_seen[0]
- and body_direct.strip()
- and re.match(r"^EXHIBIT\s+\d+", body_direct.strip(), re.IGNORECASE)
- ):
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
-
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def _fix_post_signature_envelope(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Fix envelope nodes that appear after agreement content.
-
- doc2dict sometimes strips the EXHIBIT tag from the HTML, so walk_sections
- never detects the real envelope and misidentifies the first post-content
- annex as the SEC envelope. Heuristic: if an envelope node shares a parent
- with section/article siblings that appear BEFORE it, the envelope is really
- a post-agreement attachment — un-mark it and bump descendant penalties.
- """
- envelope_rows = [r for r in rows if r.get("is_envelope")]
- if not envelope_rows:
- return rows
-
- by_node_id = {r["node_id"]: r for r in rows}
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- children_of.setdefault(r.get("parent_node_id"), []).append(r)
-
- _BODY_CLASSES = frozenset({"section", "article"})
- fixed = False
-
- for env_row in envelope_rows:
- parent_id = env_row.get("parent_node_id")
- siblings = children_of.get(parent_id, [])
- has_prior_body = False
- for sib in siblings:
- if sib["node_id"] == env_row["node_id"]:
- break
- if (sib.get("cls") or "") in _BODY_CLASSES:
- has_prior_body = True
- break
- if not has_prior_body:
- continue
-
- env_row["is_envelope"] = False
- fixed = True
-
- if not fixed:
- return rows
-
- def _bump_penalty(nid: int, extra: int) -> None:
- node = by_node_id.get(nid)
- if node is None:
- return
- node["subdoc_penalty"] += extra
- node["depth"] += extra
- for ch in children_of.get(nid, []):
- _bump_penalty(ch["node_id"], extra)
-
- for env_row in envelope_rows:
- if env_row.get("is_envelope"):
- continue
- cls = env_row.get("cls") or ""
- if cls in _SUBDOC_CLASSES:
- for ch in children_of.get(env_row["node_id"], []):
- _bump_penalty(ch["node_id"], 1)
-
- return rows
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _fix_post_signature_envelope(sections)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_14_attempt2_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_14_attempt2_snapshot.py
deleted file mode 100644
index c9bf378..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_14_attempt2_snapshot.py
+++ /dev/null
@@ -1,1168 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
- # Level 2: SECTION heading ("SECTION 1.", "Section 2.3")
- (2, re.compile(r"^SECTION\s+\d+", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
- table = node.get("table")
- if not isinstance(table, dict):
- return ""
- parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
- return "\n".join(parts)
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^.*\b(AGREEMENT|PLAN)\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def _promote_text_blob(
- text: str,
- key_prefix: str,
-) -> list[tuple[str, dict[str, Any]]]:
- """Split a single text blob on section markers, return virtual nodes.
-
- The portion of *text* before the first section marker (the preamble)
- is returned as a special entry with ``_preamble`` set to ``True`` so
- the caller can route it as body-direct instead of a standalone row.
-
- Only matches section markers that begin a logical segment —
- preceded by start-of-string, ``\\n``, ``. ``, or ``: ``.
- This avoids false positives like ``(d)`` inside body text
- (e.g. "described in Section 3(d) of this Agreement").
- """
- if not text or not text.strip():
- return []
- _MARKER_RE = re.compile(
- r"(?:(?:^|(?<=[.:\"'\u201d)]))\s+|(?<=\s)|^)"
- r"((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z])))"
- )
- markers = [(m.start(1), m.end(1)) for m in _MARKER_RE.finditer(text)]
- if not markers:
- return []
-
- promoted: list[tuple[str, dict[str, Any]]] = []
-
- for idx, (mk_start, mk_end) in enumerate(markers):
- next_mk_start = markers[idx + 1][0] if idx + 1 < len(markers) else len(text)
- chunk = text[mk_start:next_mk_start].strip()
- if not chunk:
- continue
-
- # Split heading from body: first "sentence" up to ". " / ".\n" is heading
- # If no period found, first line is heading
- # heading_match looks for the marker + text up to a period+space boundary
- hm = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r"[^.]*?)(?:\.\s|\.\n|\.\xa0)",
- chunk,
- )
- if hm:
- heading = hm.group(1).strip().rstrip(".")
- body = chunk[hm.end():].strip()
- elif len(chunk) > 80:
- _TITLE_SPLIT = re.match(
- r"^((?:\d+\.(?:\s|[A-Z])|\([a-z]\)(?:\s|[A-Z])|\([ivx]+\)(?:\s|[A-Za-z])|\([A-Z]\)(?:\s|[a-z])|\(\d+\)(?:\s|[A-Z]))"
- r".*?)"
- r"(?:\s+[A-Z][a-z]+)?"
- r"\s+(?=(?:[a-z]+\s+){1,}[a-z]+)",
- chunk,
- )
- if _TITLE_SPLIT:
- heading = _TITLE_SPLIT.group(1).strip()
- body = chunk[_TITLE_SPLIT.end():].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0][:80].strip()
- body = lines[0][80:].strip() if len(lines[0]) > 80 else ""
- if len(lines) > 1:
- body = (body + "\n" + lines[1]).strip() if body else lines[1].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
-
- promoted.append((f"{key_prefix}_t{idx}", {
- "title": heading,
- "class": "promoted table text",
- "contents": {},
- "_body_text": body or "",
- "_full_text": chunk,
- }))
-
- first_mk_start = markers[0][0]
- preamble_text = text[:first_mk_start].strip()
- if preamble_text:
- promoted.insert(0, (f"{key_prefix}_pre", {
- "title": "",
- "class": "table preamble",
- "contents": {},
- "_body_text": preamble_text,
- "_full_text": preamble_text,
- "_preamble": True,
- }))
-
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
- l0_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
-
- `l0_seen` is a one-element list that flips True after the first
- agreement-root (level-0) record is emitted. Any subsequent title
- matching the AGREEMENT/PLAN pattern is demoted to level 1 and its
- descendants get +1 subdoc_penalty — it's a bundled sub-agreement,
- not a second root.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- if l0_seen is None:
- l0_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument. Also absorb
- # introduction pseudo-nodes whose body is just an exhibit tag
- # (e.g. body_direct="Exhibit 10.9") — SEC filing metadata.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
- elif (
- not envelope_seen[0]
- and body_direct.strip()
- and re.match(r"^EXHIBIT\s+\d+", body_direct.strip(), re.IGNORECASE)
- ):
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
-
- # Second AGREEMENT-root in the same filing → bundled sub-agreement,
- # not a second L0. Demote to level 1 and push +1 penalty to descendants.
- # Only track/apply at the top document level (subdoc_penalty == 0).
- # Subdoc-internal agreement roots are scoped to their subdoc and
- # should not pollute the top-level L0 tracker.
- is_secondary_agreement = False
- if subdoc_penalty == 0 and not is_envelope:
- if remapped == 0 and l0_seen[0]:
- remapped = 1
- is_secondary_agreement = True
- if remapped == 0:
- l0_seen[0] = True
-
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope) or a secondary
- # bundled agreement (is_secondary_agreement).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) or is_secondary_agreement else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- l0_seen=l0_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- prom_penalty = child_penalty if is_secondary_agreement else subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
-
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def _fix_post_signature_envelope(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Fix envelope nodes that appear after agreement content.
-
- doc2dict sometimes strips the EXHIBIT tag from the HTML, so walk_sections
- never detects the real envelope and misidentifies the first post-content
- annex as the SEC envelope. Heuristic: if an envelope node shares a parent
- with section/article siblings that appear BEFORE it, the envelope is really
- a post-agreement attachment — un-mark it and bump descendant penalties.
- """
- envelope_rows = [r for r in rows if r.get("is_envelope")]
- if not envelope_rows:
- return rows
-
- by_node_id = {r["node_id"]: r for r in rows}
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- children_of.setdefault(r.get("parent_node_id"), []).append(r)
-
- _BODY_CLASSES = frozenset({"section", "article"})
- fixed = False
-
- for env_row in envelope_rows:
- parent_id = env_row.get("parent_node_id")
- siblings = children_of.get(parent_id, [])
- has_prior_body = False
- for sib in siblings:
- if sib["node_id"] == env_row["node_id"]:
- break
- if (sib.get("cls") or "") in _BODY_CLASSES:
- has_prior_body = True
- break
- if not has_prior_body:
- continue
-
- env_row["is_envelope"] = False
- fixed = True
-
- if not fixed:
- return rows
-
- def _bump_penalty(nid: int, extra: int) -> None:
- node = by_node_id.get(nid)
- if node is None:
- return
- node["subdoc_penalty"] += extra
- node["depth"] += extra
- for ch in children_of.get(nid, []):
- _bump_penalty(ch["node_id"], extra)
-
- for env_row in envelope_rows:
- if env_row.get("is_envelope"):
- continue
- cls = env_row.get("cls") or ""
- if cls in _SUBDOC_CLASSES:
- for ch in children_of.get(env_row["node_id"], []):
- _bump_penalty(ch["node_id"], 1)
-
- return rows
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _fix_post_signature_envelope(sections)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_1_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_1_attempt1_snapshot.py
deleted file mode 100644
index 8b2bbb8..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_1_attempt1_snapshot.py
+++ /dev/null
@@ -1,907 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. Also handles doc2dict's
- title split (e.g. parent="SCHEDULE 1.33", child="CALCULATION OF...").
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- if _REAL_SUBDOC_TITLE_RE.match(stripped):
- return True
- bare_id_re = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-()]+\s*$",
- re.IGNORECASE,
- )
- if bare_id_re.match(stripped) and first_child_title and first_child_title.strip():
- return True
- return False
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
- if sig_parent_id is not None:
- sig_parent = by_node_id.get(sig_parent_id)
- if sig_parent is not None:
- sig_grandparent_id = sig_parent.get("parent_node_id")
- if sig_grandparent_id is not None:
- siblings = children_of.get(sig_grandparent_id, [])
- after_sig_parent = False
- for sib in siblings:
- if sib["node_id"] == sig_parent_id:
- after_sig_parent = True
- continue
- if after_sig_parent:
- # This sibling and all its descendants are post-signature
- post_sig_node_ids.add(sib["node_id"])
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
- _collect_descendants(sib["node_id"])
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- node_id = counter[0]
- counter[0] += 1
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_1_attempt2_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_1_attempt2_snapshot.py
deleted file mode 100644
index bf5ca62..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_1_attempt2_snapshot.py
+++ /dev/null
@@ -1,912 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return parent_level
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. Also handles doc2dict's
- title split (e.g. parent="SCHEDULE 1.33", child="CALCULATION OF...").
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- if _REAL_SUBDOC_TITLE_RE.match(stripped):
- return True
- bare_id_re = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-()]+\s*$",
- re.IGNORECASE,
- )
- if bare_id_re.match(stripped) and first_child_title and first_child_title.strip():
- return True
- return False
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- if sig_parent_id is not None:
- sig_parent = by_node_id.get(sig_parent_id)
- if sig_parent is not None:
- sig_grandparent_id = sig_parent.get("parent_node_id")
- # siblings are the grandparent's children (or root-level if
- # grandparent is None — top-level sections under the document root)
- siblings = children_of.get(sig_grandparent_id, [])
- after_sig_parent = False
- for sib in siblings:
- if sib["node_id"] == sig_parent_id:
- after_sig_parent = True
- continue
- if after_sig_parent:
- # This sibling and all its descendants are post-signature
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- node_id = counter[0]
- counter[0] += 1
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_2_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_2_attempt1_snapshot.py
deleted file mode 100644
index f767132..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_2_attempt1_snapshot.py
+++ /dev/null
@@ -1,917 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return parent_level
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- if sig_parent_id is not None:
- sig_parent = by_node_id.get(sig_parent_id)
- if sig_parent is not None:
- sig_grandparent_id = sig_parent.get("parent_node_id")
- # siblings are the grandparent's children (or root-level if
- # grandparent is None — top-level sections under the document root)
- siblings = children_of.get(sig_grandparent_id, [])
- after_sig_parent = False
- for sib in siblings:
- if sib["node_id"] == sig_parent_id:
- after_sig_parent = True
- continue
- if after_sig_parent:
- # This sibling and all its descendants are post-signature
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_3_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_3_attempt1_snapshot.py
deleted file mode 100644
index ad1619b..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_3_attempt1_snapshot.py
+++ /dev/null
@@ -1,932 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return parent_level
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_4_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_4_attempt1_snapshot.py
deleted file mode 100644
index 58e1802..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_4_attempt1_snapshot.py
+++ /dev/null
@@ -1,951 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_5_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_5_attempt1_snapshot.py
deleted file mode 100644
index 58e1802..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_5_attempt1_snapshot.py
+++ /dev/null
@@ -1,951 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_6_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_6_attempt1_snapshot.py
deleted file mode 100644
index 51314c4..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_6_attempt1_snapshot.py
+++ /dev/null
@@ -1,968 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_7_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_7_attempt1_snapshot.py
deleted file mode 100644
index 51314c4..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_7_attempt1_snapshot.py
+++ /dev/null
@@ -1,968 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + child_penalty, 4 + child_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": child_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_7_attempt2_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_7_attempt2_snapshot.py
deleted file mode 100644
index e7020cf..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_7_attempt2_snapshot.py
+++ /dev/null
@@ -1,976 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- # Promoted text leaves should NOT inherit the subdoc-class
- # penalty bump. Regular section children propagate the bump
- # via walk_sections recursion; promoted leaves are content
- # fragments that happened to land under a subdoc-class node
- # (often a page-header/footer artefact), not true subdoc
- # children. Using subdoc_penalty (without the +1 bump)
- # keeps their depth at the rubric-correct structural level.
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_8_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_8_attempt1_snapshot.py
deleted file mode 100644
index e7020cf..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_8_attempt1_snapshot.py
+++ /dev/null
@@ -1,976 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if not isinstance(contents, dict):
- return ""
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- # Promoted text leaves should NOT inherit the subdoc-class
- # penalty bump. Regular section children propagate the bump
- # via walk_sections recursion; promoted leaves are content
- # fragments that happened to land under a subdoc-class node
- # (often a page-header/footer artefact), not true subdoc
- # children. Using subdoc_penalty (without the +1 bump)
- # keeps their depth at the rubric-correct structural level.
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_8_attempt2_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_8_attempt2_snapshot.py
deleted file mode 100644
index e2c32af..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_8_attempt2_snapshot.py
+++ /dev/null
@@ -1,1103 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
- table = node.get("table")
- if not isinstance(table, dict):
- return ""
- parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
- return "\n".join(parts)
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def _promote_text_blob(
- text: str,
- key_prefix: str,
-) -> list[tuple[str, dict[str, Any]]]:
- """Split a single text blob on section markers, return virtual nodes.
-
- The portion of *text* before the first section marker (the preamble)
- is returned as a special entry with ``_preamble`` set to ``True`` so
- the caller can route it as body-direct instead of a standalone row.
-
- Only matches section markers that begin a logical segment —
- preceded by start-of-string, ``\\n``, ``. ``, or ``: ``.
- This avoids false positives like ``(d)`` inside body text
- (e.g. "described in Section 3(d) of this Agreement").
- """
- if not text or not text.strip():
- return []
- _MARKER_RE = re.compile(
- r"(?:^|(?<=[.:\"'\u201d])\s+)"
- r"((?:\d+\.\s|\([a-z]\)\s|\([ivx]+\)\s|\([A-Z]\)\s|\(\d+\)\s))"
- )
- markers = [(m.start(1), m.end(1)) for m in _MARKER_RE.finditer(text)]
- if not markers:
- return []
-
- promoted: list[tuple[str, dict[str, Any]]] = []
-
- for idx, (mk_start, mk_end) in enumerate(markers):
- next_mk_start = markers[idx + 1][0] if idx + 1 < len(markers) else len(text)
- chunk = text[mk_start:next_mk_start].strip()
- if not chunk:
- continue
-
- # Split heading from body: first "sentence" up to ". " / ".\n" is heading
- # If no period found, first line is heading
- # heading_match looks for the marker + text up to a period+space boundary
- hm = re.match(
- r"^((?:\d+\.\s|\([a-z]\)\s|\([ivx]+\)\s|\([A-Z]\)\s|\(\d+\)\s)"
- r"[^.]*?)(?:\.\s|\.\n|\.\xa0)",
- chunk,
- )
- if hm:
- heading = hm.group(1).strip().rstrip(".")
- body = chunk[hm.end():].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
-
- promoted.append((f"{key_prefix}_t{idx}", {
- "title": heading,
- "class": "promoted table text",
- "contents": {},
- "_body_text": body or "",
- "_full_text": chunk,
- }))
-
- first_mk_start = markers[0][0]
- preamble_text = text[:first_mk_start].strip()
- if preamble_text:
- promoted.insert(0, (f"{key_prefix}_pre", {
- "title": "",
- "class": "table preamble",
- "contents": {},
- "_body_text": preamble_text,
- "_full_text": preamble_text,
- "_preamble": True,
- }))
-
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- # Promoted text leaves should NOT inherit the subdoc-class
- # penalty bump. Regular section children propagate the bump
- # via walk_sections recursion; promoted leaves are content
- # fragments that happened to land under a subdoc-class node
- # (often a page-header/footer artefact), not true subdoc
- # children. Using subdoc_penalty (without the +1 bump)
- # keeps their depth at the rubric-correct structural level.
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
- # Promote section-marked text from table nodes that doc2dict
- # places inside keyless containers (no title/class keys).
- # The preamble portion stays as body_direct (already collected
- # by _collect_direct_text); only section-marked chunks become
- # standalone rows.
- table_blob_parts: list[str] = []
- if isinstance(contents, dict) and cls == "predicted header":
- for tk, tv in contents.items():
- if isinstance(tv, dict) and "table" in tv:
- if "title" in tv or "class" in tv:
- continue
- table_blob_parts.append(_collect_table_text(tv))
- if table_blob_parts:
- table_blob = "\n".join(table_blob_parts)
- table_promoted = _promote_text_blob(table_blob, str(section_key))
- for tp_key, tp_node in table_promoted:
- if tp_node.get("_preamble"):
- continue
- tp_id = counter[0]
- counter[0] += 1
- tp_title = tp_node["title"]
- tp_cls = tp_node["class"]
- tp_body = tp_node.get("_body_text", "")
- tp_full = tp_node.get("_full_text", tp_body)
- tp_remapped = _remap_depth(tp_title, tp_cls, depth + 1, parent_level=effective)
- rows.append(
- {
- "node_id": tp_id,
- "parent_node_id": node_id,
- "depth": min(tp_remapped + subdoc_penalty, 4 + subdoc_penalty),
- "doc2dict_section_key": tp_key,
- "cls": tp_cls,
- "title": tp_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(tp_body),
- "body_recursive_chars": len(tp_full),
- "body_direct": tp_body,
- "body_recursive": tp_full,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": False,
- }
- )
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/attempts/idx_9_attempt1_snapshot.py b/data/auto_parse/level_freeze/attempts/idx_9_attempt1_snapshot.py
deleted file mode 100644
index 44361a8..0000000
--- a/data/auto_parse/level_freeze/attempts/idx_9_attempt1_snapshot.py
+++ /dev/null
@@ -1,1061 +0,0 @@
-#!/usr/bin/env -S uv run --script
-# /// script
-# requires-python = ">=3.12"
-# dependencies = [
-# "polars>=1.18",
-# "pyarrow>=18",
-# "doc2dict>=0.7.1",
-# "huggingface-hub>=0.27",
-# "loguru>=0.7",
-# "typer>=0.15",
-# "rich>=13.9",
-# ]
-# ///
-"""doc2dict parser using the validated EX-10 mapping_dict.
-
-Same parsing core as `parse_doc2dict_baseline.py`, except it passes
-`make_agreement_config()` as the mapping_dict. That config is the
-lexnlp-informed `levels` regex set living in
-`src/clause_extract/agreement_config.py` — locked, validated, AGPLv3.
-
-Why this isn't just "the same script with a switch":
- - With the config, headers matching the level patterns get a real `class`
- (article, section, exhibit, schedule, appendix, annex, subsection, ...)
- plus a `standardized_title` (article1, section2.3, exhibit10.7, ...).
- - Visual-only headers that don't match any pattern still get
- `class="predicted header"` as a fallback. So this script's output is a
- SUPERSET of the baseline's information — typed where possible, fallback
- elsewhere.
-
-Outputs
--------
-Three files written to --output-dir:
-
- parse_doc2dict_with_config_docs.parquet One row per source document.
- parse_doc2dict_with_config_nodes.parquet One row per section node.
- parse_doc2dict_with_config_nodes.jsonl ONE LINE PER PARSED UNIT,
- only 3 keys per line.
-
-JSONL schema (the ONLY 3 keys per line)
----------------------------------------
- idx int Source corpus row index.
- level int doc2dict tree depth (0 = top of document body, increases
- going down). doc2dict's NATIVE 0-indexed depth; lexnlp
- uses 1-indexed `level` instead — not normalized so each
- parser's view is preserved.
- span str The parsed unit's content: heading + body. Specifically
- `\n` for normal sections; just
- `` for doc2dict's synthetic `introduction`
- pseudo-node. Strings longer than 4000 chars truncated to
- `[TRUNCATED]`.
-
-Concatenating all `span` values for one `idx` in document order should
-approximately reconstruct the agreement text. Compare against the
-matching reconstruction from the other two parsers (baseline + lexnlp)
-to find places where each parser is missing or duplicating content.
-
-The parquet contains FULL body text and ALL fields. The JSONL is the
-inspection-ready shape; parquet is the source of truth.
-
-Body extraction
----------------
-Identical to `parse_doc2dict_baseline.py`. See that script for the
-body_direct vs body_recursive explanation.
-
-Usage
------
- uv run scripts/parse_doc2dict_with_config.py --limit 5
- HF_TOKEN=hf_xxx uv run scripts/parse_doc2dict_with_config.py \\
- --output-dir data/runs/doc2dict_with_config
-"""
-
-from __future__ import annotations
-
-import json
-import re
-import sys
-import time
-from collections import Counter
-from pathlib import Path
-from typing import Any
-
-import polars as pl
-import typer
-from doc2dict import html2dict
-from loguru import logger
-from rich.progress import (
- BarColumn,
- Progress,
- SpinnerColumn,
- TextColumn,
- TimeElapsedColumn,
- TimeRemainingColumn,
-)
-
-# Make our locked agreement_config importable without installing the package
-_REPO_SRC = Path(__file__).resolve().parent.parent / "src"
-if str(_REPO_SRC) not in sys.path:
- sys.path.insert(0, str(_REPO_SRC))
-
-from clause_extract.agreement_config import make_agreement_config # noqa: E402
-
-CORPUS_URL = (
- "hf://datasets/arthrod/new3_results_master22017_274.59mb/data/train-00000-of-00001.parquet"
-)
-
-_HTML_OPEN = re.compile(r"]", re.IGNORECASE)
-_HTML_CLOSE = re.compile(r"", re.IGNORECASE)
-_IMG_TAG = re.compile(r"
]+>")
-
-# ---------------------------------------------------------------------------
-# Level-remapping: rubric-compliant depth from title patterns
-# ---------------------------------------------------------------------------
-# doc2dict's tree depth reflects HTML nesting, not legal hierarchy.
-# These patterns assign the correct rubric level based on how EX-10
-# agreements number their sections.
-#
-# Level 0 → agreement root title + preamble
-# Level 1 → exhibit metadata, party names, WITNESSETH/WHEREAS, signatures
-# Level 2 → numbered sections: "1.", "2.", "10.", "Section 1.1"
-# Level 3 → lettered subsections: "(a)", "(b)", "(c)"
-# Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
-
-# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
-_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
- # common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
-]
-
-
-def _infer_level_from_title(title: str) -> int | None:
- """Return the rubric level for *title* if it matches a known pattern."""
- if not title:
- return None
- # Strip leading/trailing whitespace for matching.
- stripped = title.strip()
- for level, pat in _LEVEL_PATTERNS:
- if pat.match(stripped):
- return level
- return None
-
-
-def extract_html(raw: str) -> str | None:
- m_open = _HTML_OPEN.search(raw)
- if not m_open:
- return None
- last = None
- for m in _HTML_CLOSE.finditer(raw):
- last = m
- if last is None:
- return None
- return raw[m_open.start() : last.end()]
-
-
-def is_image_only(html: str) -> bool:
- visible = _TAG_STRIP.sub(" ", html)
- visible = re.sub(r"\s+", " ", visible).strip()
- return len(visible) < 200 and len(_IMG_TAG.findall(html)) >= 1
-
-
-# JSONL truncation: long fields get summarized for inspection-friendly output.
-# Parquet keeps the full text — this only affects the JSONL writer.
-_JSONL_TRUNCATE_THRESHOLD = 1000
-_JSONL_TRUNCATE_HEAD = 800
-_JSONL_TRUNCATE_TAIL = 200
-
-
-def _truncate_for_jsonl(value: Any) -> Any:
- """If `value` is a string longer than the threshold, return
- `[TRUNCATED]`. Otherwise return the value unchanged."""
- if not isinstance(value, str) or len(value) <= _JSONL_TRUNCATE_THRESHOLD:
- return value
- return value[:_JSONL_TRUNCATE_HEAD] + "[TRUNCATED]" + value[-_JSONL_TRUNCATE_TAIL:]
-
-
-def _build_jsonl_span(title: str | None, body_direct: str | None, cls: str | None) -> str:
- """Combine a section's heading and direct body into the JSONL `span`.
-
- For doc2dict's synthetic `introduction` pseudo-node, emit only
- `body_direct`. The literal word "introduction" is a doc2dict class
- label, not document content; including it would pollute reconstruction.
-
- For all other sections, concatenate `\\n`,
- skipping either part if it's empty.
- """
- body = body_direct or ""
- if cls == "introduction":
- return body
- title = title or ""
- parts = [p for p in (title, body) if p]
- return "\n".join(parts)
-
-
-def _is_section_node(d: Any) -> bool:
- if not isinstance(d, dict):
- return False
- if "text" in d and len(d) == 1:
- return False
- return ("title" in d) or ("class" in d) or ("contents" in d)
-
-
-def _is_text_leaf(d: Any) -> bool:
- return isinstance(d, dict) and "text" in d and "contents" not in d
-
-
-def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
- table = node.get("table")
- if not isinstance(table, dict):
- return ""
- parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
- return "\n".join(parts)
-
-
-def _collect_direct_text(section: dict[str, Any]) -> str:
- out: list[str] = []
- contents = section.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- if _is_text_leaf(child):
- t = child.get("text")
- if isinstance(t, str):
- out.append(t)
- return "\n".join(out)
-
-
-def _collect_recursive_text(section: dict[str, Any]) -> str:
- out: list[str] = []
-
- def walk(node: Any) -> None:
- if not isinstance(node, dict):
- return
- if "text" in node and isinstance(node["text"], str):
- out.append(node["text"])
- contents = node.get("contents")
- if isinstance(contents, dict):
- for child in contents.values():
- walk(child)
-
- walk(section)
- return "\n".join(out)
-
-
-# Structural titles → rubric level mapping. Matches are against stripped title.
-# Agreement root → 0, exhibit/recitals/signatures → 1.
-_STRUCTURAL_LEVELS: list[tuple[re.Pattern[str], int]] = [
- (re.compile(r"^EXHIBIT\s+", re.IGNORECASE), 1),
- (re.compile(r"^WITNESSETH", re.IGNORECASE), 1),
- (re.compile(r"^IN\s+WITNESS\s+WHEREOF", re.IGNORECASE), 1),
- (re.compile(r"^SIGNATURE\s+PAGE", re.IGNORECASE), 1),
- (re.compile(r"^[A-Z]+\.?\s*(Inc|Corp|LLC|Ltd|Company|Co)\.?\b", re.IGNORECASE), 1),
- (re.compile(r"^INDEMNITEE$", re.IGNORECASE), 1),
- (re.compile(r"^/s/\s"), 1),
- (re.compile(r"^SCHEDULE\s+", re.IGNORECASE), 1),
- (re.compile(r"^APPENDIX\s+", re.IGNORECASE), 1),
- (re.compile(r"^ANNEX\s+", re.IGNORECASE), 1),
- # AGREEMENT root must be LAST so EXHIBIT/SCHEDULE/APPENDIX/ANNEX patterns
- # match first for subdoc titles (e.g. "SCHEDULE A ... AGREEMENT").
- (re.compile(r"^[\w\s]+\bAGREEMENT\s*$", re.IGNORECASE), 0),
- (re.compile(r"^(?:FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH|TENTH)\s+AMENDMENT\s+TO\s+", re.IGNORECASE), 0),
-]
-
-
-def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_level: int | None = None) -> int:
- """Remap doc2dict tree depth to rubric-compliant level.
-
- Section-marker patterns take priority, then structural titles,
- then raw tree depth as fallback. If *parent_level* is 1
- (exhibit/recitals/signatures) and no pattern matches, clamp to 1
- to avoid nesting inside metadata blocks.
- """
- inferred = _infer_level_from_title(title or "")
- if inferred is not None:
- return inferred
- stripped = (title or "").strip()
- if stripped:
- for pat, level in _STRUCTURAL_LEVELS:
- if pat.match(stripped):
- return level
- if parent_level is not None and parent_level <= 1:
- return max(parent_level, 1)
- if parent_level is not None and tree_depth < parent_level:
- return parent_level
- return tree_depth
-
-
-# Subdocument classes — exhibit/schedule/appendix/annex containers, when
-# they have actual children, are treated as nested subdocuments. Their
-# DESCENDANTS get a +1 level penalty applied on top of `_remap_depth`'s
-# inferred level. Penalty stacks for nested subdocs (annex inside schedule
-# inside main → +2 to deepest descendants). The subdoc HEADER itself is
-# unaffected — `_remap_depth` already maps EXHIBIT/SCHEDULE/etc. to 1, and
-# a nested subdoc title gets the parent's penalty added to its own remap.
-#
-# A lead-in exhibit envelope marker like "EXHIBIT 10.25" with empty body
-# is NOT a subdocument — it's metadata from the SEC envelope and is dropped
-# from JSONL output (kept in parquet); the JSONL writer in `main` handles
-# that drop, this constant is for the penalty-propagation logic.
-_SUBDOC_CLASSES = frozenset({"exhibit", "schedule", "appendix", "annex"})
-
-# ---------------------------------------------------------------------------
-# Structural scope rule (task_rules/scope_rule.md)
-# ---------------------------------------------------------------------------
-# A section is OUT OF SCOPE for JSONL if BOTH:
-# 1. It appears AFTER the SIGNATURE BLOCK, AND
-# 2. It is NOT a descendant of a REAL SUBDOCUMENT.
-# Otherwise it is IN SCOPE.
-#
-# This replaces phrase-based filtering. No keyword blocklists.
-
-# Real subdoc title: has a descriptive part after the bare identifier.
-_REAL_SUBDOC_TITLE_RE = re.compile(
- r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*[—\-:]\s*\S+",
- re.IGNORECASE,
-)
-
-# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
-_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
-
-# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg"
-_SIG_LINE_RE = re.compile(r"/s/\s+\w+")
-
-# Heuristic for "still part of signature block": content matching these
-# patterns at the start of the span indicates a signature-block continuation.
-_SIG_CONTINUATION_RE = re.compile(
- r"(?i)(?:by:\s|name:\s|title:\s|address:\s|address:$|/s/\s)",
- re.MULTILINE,
-)
-
-_SIG_PAGE_TITLE_RE = re.compile(
- r"^\[?\s*SIGNATURE\s+PAGE", re.IGNORECASE
-)
-
-
-def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool, first_child_title: str | None = None) -> bool:
- """Return True if this section is a REAL subdocument (not the SEC envelope).
-
- Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
- """
- if is_envelope:
- return False
- if (cls or "") not in _SUBDOC_CLASSES:
- return False
- if not title:
- return False
- stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
-
-
-def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
- """Find the node_id of the LAST record in the signature-block cluster.
-
- Heuristic:
- 1. Find the LAST section whose span contains a /s/ signature line.
- 2. Extend forward while consecutive same-depth records still match
- signature-block continuation patterns (By:/Name:/Title:/Address:/s/).
- 3. Return the node_id of the last record in that cluster.
- 4. If no /s/ lines found, fall back to the last SIGNATURE PAGE or
- IN WITNESS WHEREOF structural title.
-
- Returns None if no signature block is found.
- """
- last_sig_idx: int | None = None
- for i, r in enumerate(rows):
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if _SIG_LINE_RE.search(span):
- last_sig_idx = i
-
- if last_sig_idx is None:
- for i, r in enumerate(rows):
- title = (r.get("title") or "").strip()
- if not title:
- continue
- if _SIG_PAGE_TITLE_RE.match(title):
- last_sig_idx = i
- continue
- for pat, _ in _STRUCTURAL_LEVELS:
- if pat.match(title) and "WITNESS" in pat.pattern and "WHEREOF" in pat.pattern:
- last_sig_idx = i
- if last_sig_idx is None:
- return None
-
- cutoff_idx = last_sig_idx
- sig_depth = rows[last_sig_idx].get("depth", 1)
- for i in range(last_sig_idx + 1, len(rows)):
- r = rows[i]
- if r.get("depth", 0) != sig_depth:
- break
- span = _build_jsonl_span(r.get("title"), r.get("body_direct"), r.get("cls"))
- if not _SIG_CONTINUATION_RE.search(span[:300]):
- title = (r.get("title") or "").strip()
- if title and len(title.split()) <= 3 and title.isupper():
- if (r.get("cls") or "") not in _SUBDOC_CLASSES:
- cutoff_idx = i
- continue
- break
- cutoff_idx = i
-
- return rows[cutoff_idx]["node_id"]
-
-
-def _apply_scope_rule(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
- """Apply the structural scope rule to mark each row's scope.
-
- Adds a ``scope`` key to each row: ``"agreement"`` or ``"trailer"``.
- Rules (per scope_rule.md):
- - A section S is OUT OF SCOPE if BOTH:
- 1. S appears AFTER the SIGNATURE BLOCK, AND
- 2. S is NOT a descendant of a REAL SUBDOCUMENT.
- - Otherwise S is IN SCOPE.
-
- "After the signature block" is determined by tree structure, not flat
- list index. doc2dict interleaves signature lines with agreement body
- content (e.g. Section 13.3 provisions as siblings of /s/ lines under
- the same MISCELLANEOUS parent). Using flat index would wrongly mark
- those agreement provisions as trailer. Instead: the signature block's
- containing parent defines the boundary. Only nodes that are siblings
- of the signature parent AND come after it in document order, or are
- descendants of such siblings, are "after the signature block."
- """
- by_node_id: dict[int, dict[str, Any]] = {r["node_id"]: r for r in rows}
-
- sig_cutoff_node_id = _find_signature_cutoff(rows)
- if sig_cutoff_node_id is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- real_subdoc_ids: set[int] = set()
- children_of: dict[int | None, list[dict[str, Any]]] = {}
- for r in rows:
- pid = r.get("parent_node_id")
- children_of.setdefault(pid, []).append(r)
- for r in rows:
- children = children_of.get(r["node_id"], [])
- first_child_title = children[0]["title"] if children else None
- if _is_real_subdoc_title(r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title):
- real_subdoc_ids.add(r["node_id"])
-
- def _is_descendant_of_subdoc(row: dict[str, Any]) -> bool:
- current_id = row.get("parent_node_id")
- visited: set[int | None] = set()
- while current_id is not None and current_id not in visited:
- visited.add(current_id)
- parent = by_node_id.get(current_id)
- if parent is None:
- break
- if parent["node_id"] in real_subdoc_ids:
- return True
- current_id = parent.get("parent_node_id")
- return False
-
- # Find the signature record's parent, then find all nodes that are
- # "after" the signature block in tree order. The signature block's
- # parent's children are the boundary: any sibling of the signature
- # parent that appears AFTER the signature parent in child-order is
- # "post-signature." The signature parent's own descendants are still
- # agreement scope.
- sig_record = by_node_id.get(sig_cutoff_node_id)
- if sig_record is None:
- for r in rows:
- r["scope"] = "agreement"
- return rows
-
- sig_parent_id = sig_record.get("parent_node_id")
- post_sig_node_ids: set[int] = set()
-
- def _collect_descendants(nid: int) -> None:
- for child in children_of.get(nid, []):
- post_sig_node_ids.add(child["node_id"])
- _collect_descendants(child["node_id"])
-
- # Mark later siblings of the signature cutoff node as post-signature,
- # but ONLY when those siblings are structural subdocuments (schedule,
- # exhibit, appendix, annex). Body text provisions interleaved after
- # signature lines under the same parent are still agreement content.
- cutoff_siblings = children_of.get(sig_parent_id, [])
- after_cutoff = False
- for sib in cutoff_siblings:
- if sib["node_id"] == sig_cutoff_node_id:
- after_cutoff = True
- continue
- if after_cutoff:
- sib_cls = (sib.get("cls") or "")
- if sib_cls in _SUBDOC_CLASSES:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
-
- # Walk from the signature node up to its root-level ancestor. Mark
- # all siblings of each ancestor that appear AFTER the ancestor's
- # child-on-the-path-to-the-signature as post-signature. This ensures
- # that top-level annexes/exhibits after the signature's containing
- # article are detected even when the signature is deeply nested.
- current_child_id: int | None = sig_cutoff_node_id
- current_id: int | None = sig_parent_id
- while current_id is not None and current_child_id is not None:
- current_node = by_node_id.get(current_id)
- if current_node is None:
- break
- current_parent_id = current_node.get("parent_node_id")
- siblings = children_of.get(current_parent_id, [])
- after = False
- for sib in siblings:
- if sib["node_id"] == current_id:
- after = True
- continue
- if after:
- post_sig_node_ids.add(sib["node_id"])
- _collect_descendants(sib["node_id"])
- current_child_id = current_id
- current_id = current_parent_id
-
- for r in rows:
- if r["node_id"] not in post_sig_node_ids:
- r["scope"] = "agreement"
- elif r["node_id"] in real_subdoc_ids:
- r["scope"] = "agreement"
- elif _is_descendant_of_subdoc(r):
- r["scope"] = "agreement"
- else:
- r["scope"] = "trailer"
-
- return rows
-
-
-# Detects text leaves starting with a section marker for promotion.
-_TEXT_LEAF_SECTION_RE = re.compile(
- r"^\s*"
- r"(?:"
- r"\d+\.\s"
- r"|\([a-z]\)\s"
- r"|\([ivx]+\)\s"
- r"|\([A-Z]\)\s"
- r"|\(\d+\)\s"
- r")"
-)
-
-
-def _promote_text_leaves(
- contents: dict[Any, Any],
-) -> list[tuple[str, dict[str, Any]]]:
- """Scan *contents* for text leaves starting with a section marker.
-
- Returns a list of ``(key, virtual_section_node)`` pairs in document
- order. Each virtual node has ``title`` set to the marker-prefixed
- heading (first line or first N chars up to a period/space break)
- and ``body`` set to the remaining text.
- """
- promoted: list[tuple[str, dict[str, Any]]] = []
- if not isinstance(contents, dict):
- return promoted
- for key, child in contents.items():
- if not _is_text_leaf(child):
- continue
- text = child.get("text", "")
- if not text or not _TEXT_LEAF_SECTION_RE.match(text):
- continue
- # Heuristic: heading = text up to first ". " or ".\xa0" break.
- m = re.match(r"^\s*((?:\d+\.|\([a-z]\)|\([ivx]+\)|\([A-Z]\)|\(\d+\))[^\n]*?)(?:\.\s|\.\xa0)", text)
- if m:
- heading = m.group(1).strip()
- body = text[m.end():].strip()
- else:
- lines = text.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
- promoted.append((str(key), {
- "title": heading,
- "class": "promoted text leaf",
- "contents": {},
- "_body_text": body or "",
- "_full_text": text,
- }))
- return promoted
-
-
-def _promote_text_blob(
- text: str,
- key_prefix: str,
-) -> list[tuple[str, dict[str, Any]]]:
- """Split a single text blob on section markers, return virtual nodes.
-
- The portion of *text* before the first section marker (the preamble)
- is returned as a special entry with ``_preamble`` set to ``True`` so
- the caller can route it as body-direct instead of a standalone row.
-
- Only matches section markers that begin a logical segment —
- preceded by start-of-string, ``\\n``, ``. ``, or ``: ``.
- This avoids false positives like ``(d)`` inside body text
- (e.g. "described in Section 3(d) of this Agreement").
- """
- if not text or not text.strip():
- return []
- _MARKER_RE = re.compile(
- r"(?:^|(?<=[.:\"'\u201d])\s+)"
- r"((?:\d+\.\s|\([a-z]\)\s|\([ivx]+\)\s|\([A-Z]\)\s|\(\d+\)\s))"
- )
- markers = [(m.start(1), m.end(1)) for m in _MARKER_RE.finditer(text)]
- if not markers:
- return []
-
- promoted: list[tuple[str, dict[str, Any]]] = []
-
- for idx, (mk_start, mk_end) in enumerate(markers):
- next_mk_start = markers[idx + 1][0] if idx + 1 < len(markers) else len(text)
- chunk = text[mk_start:next_mk_start].strip()
- if not chunk:
- continue
-
- # Split heading from body: first "sentence" up to ". " / ".\n" is heading
- # If no period found, first line is heading
- # heading_match looks for the marker + text up to a period+space boundary
- hm = re.match(
- r"^((?:\d+\.\s|\([a-z]\)\s|\([ivx]+\)\s|\([A-Z]\)\s|\(\d+\)\s)"
- r"[^.]*?)(?:\.\s|\.\n|\.\xa0)",
- chunk,
- )
- if hm:
- heading = hm.group(1).strip().rstrip(".")
- body = chunk[hm.end():].strip()
- else:
- lines = chunk.split("\n", 1)
- heading = lines[0].strip()
- body = lines[1].strip() if len(lines) > 1 else ""
-
- promoted.append((f"{key_prefix}_t{idx}", {
- "title": heading,
- "class": "promoted table text",
- "contents": {},
- "_body_text": body or "",
- "_full_text": chunk,
- }))
-
- first_mk_start = markers[0][0]
- preamble_text = text[:first_mk_start].strip()
- if preamble_text:
- promoted.insert(0, (f"{key_prefix}_pre", {
- "title": "",
- "class": "table preamble",
- "contents": {},
- "_body_text": preamble_text,
- "_full_text": preamble_text,
- "_preamble": True,
- }))
-
- return promoted
-
-
-def walk_sections(
- container: dict[Any, Any],
- *,
- depth: int = 0,
- parent_id: int | None = None,
- parent_level: int | None = None,
- counter: list[int] | None = None,
- subdoc_penalty: int = 0,
- envelope_seen: list[bool] | None = None,
-) -> list[dict[str, Any]]:
- """Walk doc2dict's section tree and emit flat row records.
-
- `subdoc_penalty` is the cumulative count of ancestor subdocument
- containers (exhibit/schedule/appendix/annex) above this node, EXCLUDING
- the SEC envelope wrapper. The penalty is added to each row's
- `depth` so subdocument internals shift one level deeper per ancestor.
-
- `envelope_seen` is a one-element list (mutable across recursion) that
- flips True the first time we encounter a subdoc-class section per
- document. SEC EX-10 filings wrap the entire contract in an empty-body
- `EXHIBIT ` envelope; that's metadata, not a real subdocument, so its
- descendants must NOT inherit the +1 penalty. Subsequent subdoc-class
- sections (e.g. "EXHIBIT A — FORM OF NOTICE" deeper in the body) ARE
- real subdocuments and DO push the penalty.
- """
- if counter is None:
- counter = [0]
- if envelope_seen is None:
- envelope_seen = [False]
- rows: list[dict[str, Any]] = []
- if not isinstance(container, dict):
- return rows
-
- for section_key, section in container.items():
- if not _is_section_node(section):
- continue
- title = section.get("title")
- cls = section.get("class")
- std = section.get("standardized_title")
- body_direct = _collect_direct_text(section)
- if (
- title
- and not body_direct.strip()
- and _TOC_PAGE_MARKER_RE.match(title.strip())
- ):
- continue
- node_id = counter[0]
- counter[0] += 1
- body_recursive = _collect_recursive_text(section)
- contents = section.get("contents") or {}
- n_direct_children = (
- sum(1 for c in contents.values() if _is_section_node(c))
- if isinstance(contents, dict)
- else 0
- )
- # Identify and absorb the SEC envelope: first subdoc-class node per
- # doc is the wrapper, not a real subdocument.
- is_envelope = False
- if (cls or "") in _SUBDOC_CLASSES and not envelope_seen[0]:
- envelope_seen[0] = True
- is_envelope = True
-
- remapped = _remap_depth(title, cls, depth, parent_level=parent_level)
- if remapped == 0 and not body_direct.strip():
- is_agreement_root = False
- stripped = (title or "").strip()
- if stripped and n_direct_children > 0:
- for _pat, _lvl in _STRUCTURAL_LEVELS:
- if _lvl == 0 and _pat.match(stripped):
- is_agreement_root = True
- break
- if not is_agreement_root:
- remapped = 1
- effective = remapped + subdoc_penalty
- effective = min(effective, 4 + subdoc_penalty)
- rows.append(
- {
- "node_id": node_id,
- "parent_node_id": parent_id,
- "depth": effective,
- "doc2dict_section_key": str(section_key),
- "cls": cls,
- "title": title,
- "standardized_title": std,
- "n_direct_section_children": n_direct_children,
- "body_direct_chars": len(body_direct),
- "body_recursive_chars": len(body_recursive),
- "body_direct": body_direct,
- "body_recursive": body_recursive,
- "subdoc_penalty": subdoc_penalty,
- "is_envelope": is_envelope,
- }
- )
- # Penalty bumps for descendants only when this section is a REAL
- # subdocument (subdoc class AND not the envelope).
- child_penalty = subdoc_penalty + (
- 1 if ((cls or "") in _SUBDOC_CLASSES and not is_envelope) else 0
- )
- if isinstance(contents, dict):
- child_sections = {k: v for k, v in contents.items() if _is_section_node(v)}
- if child_sections:
- rows.extend(
- walk_sections(
- child_sections,
- depth=depth + 1,
- parent_id=node_id,
- parent_level=effective,
- counter=counter,
- subdoc_penalty=child_penalty,
- envelope_seen=envelope_seen,
- )
- )
- promoted = _promote_text_leaves(contents)
- for prom_key, prom_node in promoted:
- prom_id = counter[0]
- counter[0] += 1
- prom_title = prom_node["title"]
- prom_cls = prom_node["class"]
- prom_body = prom_node.get("_body_text", "")
- prom_full = prom_node.get("_full_text", prom_body)
- prom_remapped = _remap_depth(prom_title, prom_cls, depth + 1, parent_level=effective)
- # Promoted text leaves should NOT inherit the subdoc-class
- # penalty bump. Regular section children propagate the bump
- # via walk_sections recursion; promoted leaves are content
- # fragments that happened to land under a subdoc-class node
- # (often a page-header/footer artefact), not true subdoc
- # children. Using subdoc_penalty (without the +1 bump)
- # keeps their depth at the rubric-correct structural level.
- prom_penalty = subdoc_penalty
- rows.append(
- {
- "node_id": prom_id,
- "parent_node_id": node_id,
- "depth": min(prom_remapped + prom_penalty, 4 + prom_penalty),
- "doc2dict_section_key": prom_key,
- "cls": prom_cls,
- "title": prom_title,
- "standardized_title": None,
- "n_direct_section_children": 0,
- "body_direct_chars": len(prom_body),
- "body_recursive_chars": len(prom_full),
- "body_direct": prom_body,
- "body_recursive": prom_full,
- "subdoc_penalty": prom_penalty,
- "is_envelope": False,
- }
- )
-
- return rows
-
-
-# Build the config ONCE per process. make_agreement_config() does a deep copy
-# of STANDARD_CONFIG internally so we don't risk leaking mutation across docs.
-_AGREEMENT_CONFIG = make_agreement_config()
-
-
-def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
- size_kb = round(len(raw) / 1024, 2)
- base: dict[str, Any] = {
- "idx": idx,
- "size_kb": size_kb,
- "parse_status": None,
- "parse_error": None,
- "elapsed_ms": None,
- "n_section_nodes": 0,
- "n_typed_headers": 0,
- "max_depth": 0,
- "total_body_chars": 0,
- "class_counts_json": "{}",
- }
-
- html = extract_html(raw)
- if html is None:
- base["parse_status"] = "no_html_block"
- return base, []
- if is_image_only(html):
- base["parse_status"] = "image_only"
- return base, []
-
- t0 = time.perf_counter()
- try:
- # ← passes the validated EX-10 mapping_dict instead of the library default
- result = html2dict(html, mapping_dict=_AGREEMENT_CONFIG)
- except Exception as e:
- base["parse_status"] = "error"
- base["parse_error"] = f"{type(e).__name__}: {e}"
- base["elapsed_ms"] = round((time.perf_counter() - t0) * 1000, 2)
- return base, []
- elapsed = (time.perf_counter() - t0) * 1000
- base["elapsed_ms"] = round(elapsed, 2)
-
- document_tree = result.get("document", {}) if isinstance(result, dict) else {}
- sections = walk_sections(document_tree, depth=0)
- sections = _apply_scope_rule(sections)
-
- base["parse_status"] = "ok"
- base["n_section_nodes"] = len(sections)
- base["max_depth"] = max((s["depth"] for s in sections), default=0)
- base["total_body_chars"] = sum(s["body_direct_chars"] for s in sections)
- cls_counter: Counter[str | None] = Counter(s["cls"] for s in sections)
- base["class_counts_json"] = json.dumps({str(k): v for k, v in cls_counter.items()})
- untyped = {"predicted header", "introduction", None}
- base["n_typed_headers"] = sum(c for k, c in cls_counter.items() if k not in untyped)
- return base, sections
-
-
-def main(
- output_dir: Path = typer.Option(
- Path("data/runs/doc2dict_with_config"),
- help="Where to write parse_doc2dict_with_config_{docs,nodes}.parquet.",
- ),
- limit: int = typer.Option(0, help="Parse only the first N rows. 0 = all."),
- no_truncate: bool = typer.Option(
- False,
- "--no-truncate",
- help=(
- "Disable JSONL truncation. By default, strings longer than "
- f"{_JSONL_TRUNCATE_THRESHOLD} chars are summarized to "
- f"[TRUNCATED]. "
- "With this flag, JSONL spans are written full-length — useful "
- "when the JSONL feeds reconstruction-quality measurement."
- ),
- ),
- hf_token: str | None = typer.Option(
- None,
- envvar="HF_TOKEN",
- help="HuggingFace token. Reads /home/claude/.hf_token as fallback.",
- ),
-) -> None:
- """Run doc2dict + agreement_config over the full corpus."""
- if hf_token is None:
- fallback = Path("/home/claude/.hf_token")
- if fallback.exists():
- hf_token = fallback.read_text().strip()
- else:
- logger.error("Set HF_TOKEN env var or place a token at /home/claude/.hf_token")
- raise typer.Exit(code=2)
-
- output_dir.mkdir(parents=True, exist_ok=True)
- logger.info(f"Streaming corpus: {CORPUS_URL}")
- lf = pl.scan_parquet(CORPUS_URL, storage_options={"token": hf_token})
- n_total = lf.select(pl.len()).collect().item()
- logger.info(f"Corpus has {n_total} rows")
-
- if limit > 0:
- lf = lf.head(limit)
- n_total = min(limit, n_total)
- logger.info(f"Limiting to first {n_total} rows")
-
- df = lf.with_row_index("idx").collect()
- logger.info(f"Materialized {len(df)} rows")
-
- doc_records: list[dict[str, Any]] = []
- all_section_records: list[dict[str, Any]] = []
-
- # JSONL is written streamingly so a long-running corpus parse leaves a
- # readable partial file even if it crashes mid-loop. Parquet still
- # accumulates in memory and is written at the end (matches the existing
- # pattern; switching parquet to streaming would need a different writer).
- nodes_jsonl_path = output_dir / "parse_doc2dict_with_config_nodes.jsonl"
- with (
- nodes_jsonl_path.open("w", encoding="utf-8") as nodes_jsonl,
- Progress(
- SpinnerColumn(),
- TextColumn("[bold green]doc2dict + agreement_config[/bold green]"),
- BarColumn(),
- TextColumn("{task.completed}/{task.total}"),
- TimeElapsedColumn(),
- TimeRemainingColumn(),
- TextColumn("{task.description}"),
- transient=False,
- ) as progress,
- ):
- task = progress.add_task("starting...", total=len(df))
- for row in df.iter_rows(named=True):
- idx = int(row["idx"])
- sub = row.get("submission") or {}
- meta = row.get("document_metadata") or {}
- company = (sub.get("company_name") or "?")[:60]
- doc_type = meta.get("document_type") or "?"
- raw = row.get("raw_document_content") or ""
-
- doc, sections = parse_one(idx, raw)
- doc["company"] = company
- doc["doc_type"] = doc_type
- doc_records.append(doc)
- # SEC envelope drop: the section flagged `is_envelope` by
- # walk_sections is the SEC wrapper (e.g. "EXHIBIT
- # 10.25") — filing metadata, not contract content. Drop from
- # JSONL only; the full record stays in the parquet via
- # all_section_records so downstream tools can still see the
- # envelope class and ID if they care.
- for s in sections:
- s["idx"] = idx
- all_section_records.append(s)
- if s.get("is_envelope"):
- continue
- if s.get("scope") == "trailer":
- continue
- span = _build_jsonl_span(s.get("title"), s.get("body_direct"), s.get("cls"))
- if not span:
- continue
- jsonl_record = {
- "idx": s["idx"],
- "level": s["depth"],
- "span": span if no_truncate else _truncate_for_jsonl(span),
- }
- nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
-
- progress.update(
- task,
- advance=1,
- description=(
- f"idx={idx} {company[:24]:<24} "
- f"{doc['parse_status']:<12} "
- f"sections={doc['n_section_nodes']:>4} typed={doc['n_typed_headers']:>3} "
- f"body_kb={doc['total_body_chars'] / 1024:>6.1f}"
- ),
- )
-
- docs_df = pl.DataFrame(doc_records).select(
- pl.col("idx"),
- pl.col("company"),
- pl.col("doc_type"),
- pl.col("size_kb"),
- pl.col("parse_status"),
- pl.col("parse_error"),
- pl.col("elapsed_ms"),
- pl.col("n_section_nodes"),
- pl.col("n_typed_headers"),
- pl.col("max_depth"),
- pl.col("total_body_chars"),
- pl.col("class_counts_json"),
- )
- docs_path = output_dir / "parse_doc2dict_with_config_docs.parquet"
- docs_df.write_parquet(docs_path, compression="zstd")
- logger.info(f"wrote {docs_path}: {len(docs_df)} doc rows")
-
- nodes_df = pl.DataFrame(all_section_records).select(
- pl.col("idx"),
- pl.col("node_id"),
- pl.col("parent_node_id"),
- pl.col("depth"),
- pl.col("subdoc_penalty"),
- pl.col("is_envelope"),
- pl.col("scope"),
- pl.col("doc2dict_section_key"),
- pl.col("cls"),
- pl.col("title"),
- pl.col("standardized_title"),
- pl.col("n_direct_section_children"),
- pl.col("body_direct_chars"),
- pl.col("body_recursive_chars"),
- pl.col("body_direct"),
- pl.col("body_recursive"),
- )
- nodes_path = output_dir / "parse_doc2dict_with_config_nodes.parquet"
- nodes_df.write_parquet(nodes_path, compression="zstd")
- logger.info(f"wrote {nodes_path}: {len(nodes_df)} section rows")
- truncation_note = (
- "no truncation (--no-truncate)"
- if no_truncate
- else f"strings >{_JSONL_TRUNCATE_THRESHOLD} chars truncated"
- )
- logger.info(
- f"wrote {nodes_jsonl_path}: {len(all_section_records)} JSONL lines "
- f"(streamed during parsing; {truncation_note})"
- )
-
- status_counts = Counter(d["parse_status"] for d in doc_records)
- logger.info("=== status breakdown ===")
- for s, n in status_counts.most_common():
- logger.info(f" {s:<15} {n:>4}")
-
- if status_counts.get("ok", 0):
- ok = [d for d in doc_records if d["parse_status"] == "ok"]
- n = len(ok)
- avg_secs = sum(d["n_section_nodes"] for d in ok) / n
- avg_typed = sum(d["n_typed_headers"] for d in ok) / n
- avg_body = sum(d["total_body_chars"] for d in ok) / n / 1024
- avg_depth = sum(d["max_depth"] for d in ok) / n
- avg_ms = sum(d["elapsed_ms"] for d in ok) / n
- logger.info("=== ok-doc averages ===")
- logger.info(f" avg sections: {avg_secs:>7.1f}")
- logger.info(f" avg typed headers: {avg_typed:>7.2f}")
- logger.info(f" avg body kb: {avg_body:>7.1f}")
- logger.info(f" avg max depth: {avg_depth:>7.2f}")
- logger.info(f" avg parse time (ms): {avg_ms:>7.1f}")
-
-
-if __name__ == "__main__":
- typer.run(main)
diff --git a/data/auto_parse/level_freeze/frozen/idx_0.jsonl b/data/auto_parse/level_freeze/frozen/idx_0.jsonl
index 936d05f..99db87f 100644
--- a/data/auto_parse/level_freeze/frozen/idx_0.jsonl
+++ b/data/auto_parse/level_freeze/frozen/idx_0.jsonl
@@ -1,66 +1,75 @@
-{"idx": 0, "level": 1, "span": "ULURU Inc."}
-{"idx": 0, "level": 0, "span": "INDEMNIFICATION AGREEMENT\nTHIS INDEMNIFICATION AGREEMENT (the “Agreement”) is made and entered into as of February 27, 2017 between ULURU Inc., a Nevada corporation (the “Company”), and Vaidehi Shah (“Indemnitee”)."}
-{"idx": 0, "level": 1, "span": "WITNESSETH THAT:\nWHEREAS, highly competent persons have become more reluctant to serve corporations as directors and officers or in other capacities unless they are provided with adequate protection through insurance or adequate indemnification against inordinate risks of claims and actions against them arising out of their service to and activities on behalf of the corporation;\nWHEREAS, the Board of Directors of the Company (the “Board”) has determined that, in order to attract and retain qualified individuals, the Company will attempt to maintain on an ongoing basis, at its sole expense, liability insurance to protect persons serving the Company and its subsidiaries from certain liabilities. Although the furnishing of such insurance has been a customary and widespread practice among United States-based corporations and other business enterprises, the Company believes that, given current market conditions and trends, such insurance may be available to it in the future only at higher premiums and with more exclusions. At the same time, directors, officers, and other persons in service to corporations or business enterprises are being increasingly subjected to expensive and time-consuming litigation relating to, among other things, matters that traditionally would have been brought only against the Company or business enterprise itself. The By-laws of the Company require indemnification of the directors, officers, employees, fiduciaries and agents of the Company. Indemnitee may also be entitled to indemnification pursuant to Chapter 78 - Private Corporations, of the Nevada Revised Statutes (the “NRS”). The NRS expressly provides that the indemnification provisions set forth therein are not exclusive, and thereby contemplate that contracts may be entered into between the Company and members of the Board with respect to indemnification;\nWHEREAS, the uncertainties relating to such insurance and to indemnification have increased the difficulty of attracting and retaining such persons;\nWHEREAS, the Board has determined that the increased difficulty in attracting and retaining such persons is detrimental to the best interests of the Company's stockholders and that the Company should act to assure such persons that there will be increased certainty of such protection in the future;\nWHEREAS, it is reasonable, prudent and necessary for the Company contractually to obligate itself to indemnify, and to advance expenses on behalf of, such persons to the fullest extent permitted by applicable law so that they will serve or continue to serve the Company free from undue concern that they will not be so indemnified;\nWHEREAS, this Agreement is a supplement to and in furtherance of any indemnification provisions in the Articles of Incorporation and/or the By-laws of the Company and any resolutions adopted pursuant thereto, and shall not be deemed a substitute therefore, nor to diminish or abrogate any rights of Indemnitee thereunder;\nWHEREAS, Indemnitee does not regard the protection available under the NRS, the Company's By-laws and insurance as adequate in the present circumstances, and may not be willing to serve as an officer or a director without adequate protection, and the Company desires Indemnitee to serve in such capacity. Indemnitee is willing to serve, continue to serve and to take on additional services for or on behalf of the Company on the condition that he be so indemnified; and\nNOW, THEREFORE, in consideration of Indemnitee’s agreement to serve as a director from and after the date hereof, the parties hereto agree as follows:\n1. Indemnity of Indemnitee. The Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:\n(a) Proceedings Other Than Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful.\n(b) Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made.\n(c) Indemnification under NRS 78.138. Indemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138.\n(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter.\n2. Additional Indemnity. In addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful.\n3. Contribution.\n(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee. The Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee.\n(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered. The relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 0, "level": 2, "span": "1. Indemnity of Indemnitee\nThe Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:"}
-{"idx": 0, "level": 3, "span": "(a) Proceedings Other Than Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful."}
-{"idx": 0, "level": 3, "span": "(b) Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made."}
-{"idx": 0, "level": 3, "span": "(c) Indemnification under NRS 78.138\nIndemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138."}
-{"idx": 0, "level": 3, "span": "(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter."}
-{"idx": 0, "level": 2, "span": "2. Additional Indemnity\nIn addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful."}
-{"idx": 0, "level": 2, "span": "3. Contribution."}
-{"idx": 0, "level": 3, "span": "(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee\nThe Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee."}
-{"idx": 0, "level": 3, "span": "(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered\nThe relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 0, "level": 3, "span": "(c) The Company hereby agrees to fully indemnify and hold Indemnitee harmless from any claims of contribution which may be brought by officers, directors or employees of the Company, other than Indemnitee, who may be jointly liable with Indemnitee.\n(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s).\n4. Indemnification for Expenses of a Witness. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith.\n5. Advancement of Expenses. Notwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement.\n6. Procedures and Presumptions for Determination of Entitlement to Indemnification. It is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:\n(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification. The Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure.\n(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 0, "level": 3, "span": "(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s)."}
-{"idx": 0, "level": 2, "span": "4. Indemnification for Expenses of a Witness\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith."}
-{"idx": 0, "level": 2, "span": "5. Advancement of Expenses\nNotwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement."}
-{"idx": 0, "level": 2, "span": "6. Procedures and Presumptions for Determination of Entitlement to Indemnification\nIt is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:"}
-{"idx": 0, "level": 3, "span": "(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification\nThe Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure."}
-{"idx": 0, "level": 3, "span": "(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 0, "level": 3, "span": "(c) \nNotwithstanding anything to the contrary set forth in this Agreement, if a request for indemnification is made after a Change in Control, at the election of Indemnitee made in writing to the Company, any determination required to be made pursuant to Section 6(b) above as to whether Indemnitee is entitled to indemnification shall be made by Independent Counsel selected as provided in this Section 6(c). The Independent Counsel shall be selected by Indemnitee, unless Indemnitee shall request that such selection be made by the Board. The party making the selection shall give written notice to the other party advising it of the identity of the Independent Counsel so selected. The party receiving such notice may, within seven (7) days after such written notice of selection shall have been given, deliver to the other party a written objection to such selection. Such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 hereof, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made, the Independent Counsel so selected may not serve as Independent Counsel unless and until a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by the Company or Indemnitee to the other’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(c) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof. The Company shall pay any and all reasonable and necessary fees and expenses incident to the procedures of this Section 6(c), regardless of the manner in which such Independent Counsel was selected or appointed.\n(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d). The Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 0, "level": 3, "span": "(e) \nIn making a determination with respect to entitlement to indemnification hereunder, the person or persons or entity making such determination shall presume that Indemnitee is entitled to indemnification under this Agreement. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence. Neither the failure of the Company (including by its directors or independent legal counsel) to have made a determination prior to the commencement of any action pursuant to this Agreement that indemnification is proper in the circumstances because Indemnitee has met the applicable standard of conduct, nor an actual determination by the Company (including by its directors or independent legal counsel) that Indemnitee has not met such applicable standard of conduct, shall be a defense to the action or create a presumption that Indemnitee has not met the applicable standard of conduct."}
-{"idx": 0, "level": 3, "span": "(f) \nIndemnitee shall be deemed to have acted in good faith if Indemnitee’s action is based on the records or books of account of the Enterprise (as hereinafter defined), including financial statements, or on information supplied to Indemnitee by the officers of the Enterprise in the course of their duties, or on the advice of legal counsel for the Enterprise or on information or records given or reports made to the Enterprise by an independent certified public accountant or by an appraiser or other expert selected with reasonable care by the Enterprise. In addition, the knowledge and/or actions, or failure to act, of any director, officer, agent or employee of the Enterprise shall not be imputed to Indemnitee for purposes of determining the right to indemnification under this Agreement. Whether or not the foregoing provisions of this Section 6(f) are satisfied, it shall in any event be presumed that Indemnitee has at all times acted in good faith and in a manner he reasonably believed to be in or not opposed to the best interests of the Company. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence."}
-{"idx": 0, "level": 3, "span": "(g) \nNotwithstanding anything to the contrary set forth in this Agreement, if the person, persons or entity empowered or selected under Section 6 to determine whether Indemnitee is entitled to indemnification shall not have been appointed or shall not have made a determination within sixty (60) days after receipt by the Company of the request therefore, the requisite determination of entitlement to indemnification shall be deemed to have been made and Indemnitee shall be entitled to such indemnification, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s statement not materially misleading, in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law; provided, however, that such 60-day period may be extended for a reasonable time, not to exceed an additional thirty (30) days, if the person, persons or entity making such determination with respect to entitlement to indemnification in good faith requires such additional time to obtain or evaluate documentation and/or information relating thereto; and provided, further, that the foregoing provisions of this Section 6(g) shall not apply if the determination of entitlement to indemnification is to be made by the stockholders pursuant to Section 6(b) of this Agreement and if (A) within fifteen (15) days after receipt by the Company of the request for such determination, the Disinterested Directors resolve as required by Section 6(b)(iii) of this Agreement to submit such determination to the stockholders for their consideration at an annual meeting thereof to be held within seventy-five (75) days after such receipt and such determination is made thereat, or (B) a special meeting of stockholders is called within fifteen (15) days after such receipt for the purpose of making such determination, such meeting is held for such purpose within sixty (60) days after having been so called and such determination is made thereat."}
-{"idx": 0, "level": 3, "span": "(h) \nIndemnitee shall cooperate with the person, persons or entity making such determination with respect to Indemnitee’s entitlement to indemnification, including providing to such person, persons or entity upon reasonable advance request any documentation or information which is not privileged or otherwise protected from disclosure and which is reasonably available to Indemnitee and reasonably necessary to such determination. Any Independent Counsel or member of the Board or stockholder of the Company shall act reasonably and in good faith in making a determination regarding Indemnitee’s entitlement to indemnification under this Agreement. Any costs or expenses (including attorneys’ fees and disbursements) incurred by Indemnitee in so cooperating with the person, persons or entity making such determination shall be borne by the Company (irrespective of the determination as to Indemnitee’s entitlement to indemnification) and the Company hereby indemnifies and agrees to hold Indemnitee harmless therefrom."}
-{"idx": 0, "level": 4, "span": "(i) \nThe Company acknowledges that a settlement or other disposition, including a conviction or a plea of nolo contendere, short of final judgment may be successful if it permits a party to avoid expense, delay, distraction, disruption and uncertainty. In the event that any action, claim or proceeding to which Indemnitee is a party is resolved in any manner other than by adverse judgment against Indemnitee (including, without limitation, settlement of such action, claim or proceeding with or without payment of money or other consideration) it shall be presumed that Indemnitee has been successful on the merits or otherwise in such action, suit or proceeding, and it shall not create a presumption that the Indemnitee did not act in good faith and in a manner reasonably believed to be in or not opposed to the best interest of the Company or that, with respect to any criminal Proceeding, the Indemnitee had reasonable cause to believe that his conduct unlawful. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence.\n(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful.\n7. Remedies of Indemnitee.\n(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association. The Company shall not oppose Indemnitee’s right to seek any such adjudication.\n(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement.\n(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law.\n(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery.\n(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement. The Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be.\n8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation.\n(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing. No amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise.\n(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies. If, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies.\n(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 0, "level": 3, "span": "(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful."}
-{"idx": 0, "level": 2, "span": "7. Remedies of Indemnitee."}
-{"idx": 0, "level": 3, "span": "(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association\nThe Company shall not oppose Indemnitee’s right to seek any such adjudication."}
-{"idx": 0, "level": 3, "span": "(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement."}
-{"idx": 0, "level": 3, "span": "(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law."}
-{"idx": 0, "level": 3, "span": "(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery."}
-{"idx": 0, "level": 3, "span": "(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement\nThe Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be."}
-{"idx": 0, "level": 2, "span": "8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation."}
-{"idx": 0, "level": 3, "span": "(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing\nNo amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise."}
-{"idx": 0, "level": 3, "span": "(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies\nIf, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies."}
-{"idx": 0, "level": 3, "span": "(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 0, "level": 3, "span": "(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d)\nThe Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 0, "level": 3, "span": "(d) \nThe Company shall not be liable under this Agreement to make any payment of amounts otherwise indemnifiable hereunder if and to the extent that Indemnitee has otherwise actually received such payment under any insurance policy, contract, agreement or otherwise.\n(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise.\n9. Exception to Right of Indemnification. Notwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:\n(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or\n(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or\n(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 0, "level": 2, "span": "10. "}
-{"idx": 0, "level": 4, "span": "Retroactive Effect; Duration of Agreement; Successors and Binding Agreement. All agreements and obligations of the Company contained herein shall be deemed to have become effective upon the date Indemnitee first became an officer or director of the Company; shall continue during the period Indemnitee is an officer or a director of the Company (or is or was serving at the request of the Company as a director, officer, employee or agent of another corporation, partnership, joint venture, trust or other enterprise); and shall continue thereafter so long as Indemnitee may be subject to any Proceeding (or any proceeding commenced under Section 7 hereof) by reason of his Corporate Status, whether or not he is acting or serving in any such capacity at the time any liability or expense is incurred for which indemnification can be provided under this Agreement. This Agreement shall be binding upon and inure to the benefit of and be enforceable by the parties hereto and their respective successors (including any direct or indirect successor by purchase, merger, consolidation, reorganization or otherwise to all or substantially all of the business or assets of the Company), assigns, spouses, heirs, executors and personal and legal representatives. The Company shall require any such successor to all or substantially all of the business or assets of the Company, by agreement in form and substance satisfactory to Indemnitee and his counsel, expressly to assume and agree to perform this Agreement in the same manner and to the same extent the Company would be required to perform if no such succession had taken place. Except as otherwise set forth in this Section 10, this Agreement shall not be assignable or delegable by the Company.\n11. Security. To the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee.\n12. Enforcement.\n(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company.\n(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof.\n13. Definitions. For purposes of this Agreement:\n(a) “Change in Control” means the occurrence of any one of the following events:\n(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);\n(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;\n(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);\n(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or\n(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company.\nNotwithstanding the foregoing, a Change in Control shall not be deemed to occur solely because any person acquires beneficial ownership of 35% or more of the Company Voting Securities as a result of the acquisition of Company Voting Securities by the Company which reduces the number of Company Voting Securities outstanding; provided, that, if after such acquisition by the Company such person becomes the beneficial owner of additional Company Voting Securities that increases the percentage of outstanding Company Voting Securities beneficially owned by such person, a Change in Control shall then occur.\n(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company.\n(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee.\n(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary.\n(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding. Expenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee.\n(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder. Notwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 0, "level": 1, "span": "SIGNATURE PAGE TO FOLLOW\nIN WITNESS WHEREOF, the parties hereto have executed this Indemnification Agreement on and as of the day and year first above written."}
-{"idx": 0, "level": 2, "span": "11. Security\nTo the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee."}
-{"idx": 0, "level": 2, "span": "12. Enforcement."}
-{"idx": 0, "level": 3, "span": "(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company."}
-{"idx": 0, "level": 3, "span": "(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof."}
-{"idx": 0, "level": 2, "span": "13. Definitions\nFor purposes of this Agreement:"}
-{"idx": 0, "level": 3, "span": "(a) “Change in Control” means the occurrence of any one of the following events:"}
-{"idx": 0, "level": 4, "span": "(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);"}
-{"idx": 0, "level": 4, "span": "(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;"}
-{"idx": 0, "level": 4, "span": "(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);"}
-{"idx": 0, "level": 4, "span": "(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or"}
-{"idx": 0, "level": 4, "span": "(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company."}
-{"idx": 0, "level": 3, "span": "(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company."}
-{"idx": 0, "level": 3, "span": "(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee."}
-{"idx": 0, "level": 3, "span": "(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary."}
-{"idx": 0, "level": 3, "span": "(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding\nExpenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee."}
-{"idx": 0, "level": 3, "span": "(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder\nNotwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 0, "level": 3, "span": "(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise."}
-{"idx": 0, "level": 2, "span": "9. Exception to Right of Indemnification\nNotwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:"}
-{"idx": 0, "level": 3, "span": "(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or"}
-{"idx": 0, "level": 3, "span": "(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or"}
-{"idx": 0, "level": 3, "span": "(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 0, "level": 1, "span": "ULURU Inc.\nBy: /s/ Terrance K. Wallberg \nName: Terrance K. Wallberg \nTitle: Vice President and Chief Financial Officer"}
-{"idx": 0, "level": 1, "span": "INDEMNITEE"}
-{"idx": 0, "level": 1, "span": "/s/ Vaidehi Shah"}
-{"idx": 0, "level": 1, "span": "Vaidehi Shah\nAddress:"}
+{"idx": 0, "order": 0, "level": 0, "span": "INDEMNIFICATION AGREEMENT"}
+{"idx": 0, "order": 1, "level": 1, "span": "THIS INDEMNIFICATION AGREEMENT (the “Agreement”) is made and entered into as of February 27, 2017 between ULURU Inc., a Nevada corporation (the “Company”), and Vaidehi Shah (“Indemnitee”)."}
+{"idx": 0, "order": 2, "level": 1, "span": "WITNESSETH THAT:\nWHEREAS, highly competent persons have become more reluctant to serve corporations as directors and officers or in other capacities unless they are provided with adequate protection through insurance or adequate indemnification against inordinate risks of claims and actions against them arising out of their service to and activities on behalf of the corporation;\nWHEREAS, the Board of Directors of the Company (the “Board”) has determined that, in order to attract and retain qualified individuals, the Company will attempt to maintain on an ongoing basis, at its sole expense, liability insurance to protect persons serving the Company and its subsidiaries from certain liabilities. Although the furnishing of such insurance has been a customary and widespread practice among United States-based corporations and other business enterprises, the Company believes that, given current market conditions and trends, such insurance may be available to it in the future only at higher premiums and with more exclusions. At the same time, directors, officers, and other persons in service to corporations or business enterprises are being increasingly subjected to expensive and time-consuming litigation relating to, among other things, matters that traditionally would have been brought only against the Company or business enterprise itself. The By-laws of the Company require indemnification of the directors, officers, employees, fiduciaries and agents of the Company. Indemnitee may also be entitled to indemnification pursuant to Chapter 78 - Private Corporations, of the Nevada Revised Statutes (the “NRS”). The NRS expressly provides that the indemnification provisions set forth therein are not exclusive, and thereby contemplate that contracts may be entered into between the Company and members of the Board with respect to indemnification;\nWHEREAS, the uncertainties relating to such insurance and to indemnification have increased the difficulty of attracting and retaining such persons;\nWHEREAS, the Board has determined that the increased difficulty in attracting and retaining such persons is detrimental to the best interests of the Company's stockholders and that the Company should act to assure such persons that there will be increased certainty of such protection in the future;\nWHEREAS, it is reasonable, prudent and necessary for the Company contractually to obligate itself to indemnify, and to advance expenses on behalf of, such persons to the fullest extent permitted by applicable law so that they will serve or continue to serve the Company free from undue concern that they will not be so indemnified;\nWHEREAS, this Agreement is a supplement to and in furtherance of any indemnification provisions in the Articles of Incorporation and/or the By-laws of the Company and any resolutions adopted pursuant thereto, and shall not be deemed a substitute therefore, nor to diminish or abrogate any rights of Indemnitee thereunder;\nWHEREAS, Indemnitee does not regard the protection available under the NRS, the Company's By-laws and insurance as adequate in the present circumstances, and may not be willing to serve as an officer or a director without adequate protection, and the Company desires Indemnitee to serve in such capacity. Indemnitee is willing to serve, continue to serve and to take on additional services for or on behalf of the Company on the condition that he be so indemnified; and\nNOW, THEREFORE, in consideration of Indemnitee’s agreement to serve as a director from and after the date hereof, the parties hereto agree as follows:"}
+{"idx": 0, "order": 3, "level": 1, "span": "1. Indemnity of Indemnitee\nThe Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:"}
+{"idx": 0, "order": 4, "level": 2, "span": "(a) Proceedings Other Than Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful."}
+{"idx": 0, "order": 5, "level": 2, "span": "(b) Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made."}
+{"idx": 0, "order": 6, "level": 2, "span": "(c) Indemnification under NRS 78.138\nIndemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138."}
+{"idx": 0, "order": 7, "level": 2, "span": "(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter."}
+{"idx": 0, "order": 8, "level": 1, "span": "2. Additional Indemnity\nIn addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful."}
+{"idx": 0, "order": 9, "level": 1, "span": "3. Contribution."}
+{"idx": 0, "order": 10, "level": 2, "span": "(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee\nThe Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee."}
+{"idx": 0, "order": 11, "level": 2, "span": "(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered\nThe relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
+{"idx": 0, "order": 12, "level": 2, "span": "(c) The Company hereby agrees to fully indemnify and hold Indemnitee harmless from any claims of contribution which may be brought by officers, directors or employees of the Company, other than Indemnitee, who may be jointly liable with Indemnitee."}
+{"idx": 0, "order": 13, "level": 2, "span": "(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s)."}
+{"idx": 0, "order": 14, "level": 1, "span": "4. Indemnification for Expenses of a Witness\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith."}
+{"idx": 0, "order": 15, "level": 1, "span": "5. Advancement of Expenses\nNotwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement."}
+{"idx": 0, "order": 16, "level": 1, "span": "6. Procedures and Presumptions for Determination of Entitlement to Indemnification\nIt is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:"}
+{"idx": 0, "order": 17, "level": 2, "span": "(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification\nThe Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure."}
+{"idx": 0, "order": 18, "level": 2, "span": "(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
+{"idx": 0, "order": 19, "level": 2, "span": "(c) \nNotwithstanding anything to the contrary set forth in this Agreement, if a request for indemnification is made after a Change in Control, at the election of Indemnitee made in writing to the Company, any determination required to be made pursuant to Section 6(b) above as to whether Indemnitee is entitled to indemnification shall be made by Independent Counsel selected as provided in this Section 6(c). The Independent Counsel shall be selected by Indemnitee, unless Indemnitee shall request that such selection be made by the Board. The party making the selection shall give written notice to the other party advising it of the identity of the Independent Counsel so selected. The party receiving such notice may, within seven (7) days after such written notice of selection shall have been given, deliver to the other party a written objection to such selection. Such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 hereof, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made, the Independent Counsel so selected may not serve as Independent Counsel unless and until a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by the Company or Indemnitee to the other’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(c) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof. The Company shall pay any and all reasonable and necessary fees and expenses incident to the procedures of this Section 6(c), regardless of the manner in which such Independent Counsel was selected or appointed."}
+{"idx": 0, "order": 20, "level": 2, "span": "(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d)\nThe Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
+{"idx": 0, "order": 21, "level": 2, "span": "(e) \nIn making a determination with respect to entitlement to indemnification hereunder, the person or persons or entity making such determination shall presume that Indemnitee is entitled to indemnification under this Agreement. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence. Neither the failure of the Company (including by its directors or independent legal counsel) to have made a determination prior to the commencement of any action pursuant to this Agreement that indemnification is proper in the circumstances because Indemnitee has met the applicable standard of conduct, nor an actual determination by the Company (including by its directors or independent legal counsel) that Indemnitee has not met such applicable standard of conduct, shall be a defense to the action or create a presumption that Indemnitee has not met the applicable standard of conduct."}
+{"idx": 0, "order": 22, "level": 2, "span": "(f) \nIndemnitee shall be deemed to have acted in good faith if Indemnitee’s action is based on the records or books of account of the Enterprise (as hereinafter defined), including financial statements, or on information supplied to Indemnitee by the officers of the Enterprise in the course of their duties, or on the advice of legal counsel for the Enterprise or on information or records given or reports made to the Enterprise by an independent certified public accountant or by an appraiser or other expert selected with reasonable care by the Enterprise. In addition, the knowledge and/or actions, or failure to act, of any director, officer, agent or employee of the Enterprise shall not be imputed to Indemnitee for purposes of determining the right to indemnification under this Agreement. Whether or not the foregoing provisions of this Section 6(f) are satisfied, it shall in any event be presumed that Indemnitee has at all times acted in good faith and in a manner he reasonably believed to be in or not opposed to the best interests of the Company. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence."}
+{"idx": 0, "order": 23, "level": 2, "span": "(g) \nNotwithstanding anything to the contrary set forth in this Agreement, if the person, persons or entity empowered or selected under Section 6 to determine whether Indemnitee is entitled to indemnification shall not have been appointed or shall not have made a determination within sixty (60) days after receipt by the Company of the request therefore, the requisite determination of entitlement to indemnification shall be deemed to have been made and Indemnitee shall be entitled to such indemnification, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s statement not materially misleading, in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law; provided, however, that such 60-day period may be extended for a reasonable time, not to exceed an additional thirty (30) days, if the person, persons or entity making such determination with respect to entitlement to indemnification in good faith requires such additional time to obtain or evaluate documentation and/or information relating thereto; and provided, further, that the foregoing provisions of this Section 6(g) shall not apply if the determination of entitlement to indemnification is to be made by the stockholders pursuant to Section 6(b) of this Agreement and if (A) within fifteen (15) days after receipt by the Company of the request for such determination, the Disinterested Directors resolve as required by Section 6(b)(iii) of this Agreement to submit such determination to the stockholders for their consideration at an annual meeting thereof to be held within seventy-five (75) days after such receipt and such determination is made thereat, or (B) a special meeting of stockholders is called within fifteen (15) days after such receipt for the purpose of making such determination, such meeting is held for such purpose within sixty (60) days after having been so called and such determination is made thereat."}
+{"idx": 0, "order": 24, "level": 2, "span": "(h) \nIndemnitee shall cooperate with the person, persons or entity making such determination with respect to Indemnitee’s entitlement to indemnification, including providing to such person, persons or entity upon reasonable advance request any documentation or information which is not privileged or otherwise protected from disclosure and which is reasonably available to Indemnitee and reasonably necessary to such determination. Any Independent Counsel or member of the Board or stockholder of the Company shall act reasonably and in good faith in making a determination regarding Indemnitee’s entitlement to indemnification under this Agreement. Any costs or expenses (including attorneys’ fees and disbursements) incurred by Indemnitee in so cooperating with the person, persons or entity making such determination shall be borne by the Company (irrespective of the determination as to Indemnitee’s entitlement to indemnification) and the Company hereby indemnifies and agrees to hold Indemnitee harmless therefrom."}
+{"idx": 0, "order": 25, "level": 2, "span": "(i) \nThe Company acknowledges that a settlement or other disposition, including a conviction or a plea of nolo contendere, short of final judgment may be successful if it permits a party to avoid expense, delay, distraction, disruption and uncertainty. In the event that any action, claim or proceeding to which Indemnitee is a party is resolved in any manner other than by adverse judgment against Indemnitee (including, without limitation, settlement of such action, claim or proceeding with or without payment of money or other consideration) it shall be presumed that Indemnitee has been successful on the merits or otherwise in such action, suit or proceeding, and it shall not create a presumption that the Indemnitee did not act in good faith and in a manner reasonably believed to be in or not opposed to the best interest of the Company or that, with respect to any criminal Proceeding, the Indemnitee had reasonable cause to believe that his conduct unlawful. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence."}
+{"idx": 0, "order": 26, "level": 2, "span": "(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful."}
+{"idx": 0, "order": 27, "level": 1, "span": "7. Remedies of Indemnitee."}
+{"idx": 0, "order": 28, "level": 2, "span": "(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association\nThe Company shall not oppose Indemnitee’s right to seek any such adjudication."}
+{"idx": 0, "order": 29, "level": 2, "span": "(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement."}
+{"idx": 0, "order": 30, "level": 2, "span": "(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law."}
+{"idx": 0, "order": 31, "level": 2, "span": "(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery."}
+{"idx": 0, "order": 32, "level": 2, "span": "(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement\nThe Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be."}
+{"idx": 0, "order": 33, "level": 1, "span": "8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation."}
+{"idx": 0, "order": 34, "level": 2, "span": "(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing\nNo amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise."}
+{"idx": 0, "order": 35, "level": 2, "span": "(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies\nIf, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies."}
+{"idx": 0, "order": 36, "level": 2, "span": "(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
+{"idx": 0, "order": 37, "level": 2, "span": "(d) \nThe Company shall not be liable under this Agreement to make any payment of amounts otherwise indemnifiable hereunder if and to the extent that Indemnitee has otherwise actually received such payment under any insurance policy, contract, agreement or otherwise."}
+{"idx": 0, "order": 38, "level": 2, "span": "(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise."}
+{"idx": 0, "order": 39, "level": 1, "span": "9. Exception to Right of Indemnification\nNotwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:"}
+{"idx": 0, "order": 40, "level": 2, "span": "(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or"}
+{"idx": 0, "order": 41, "level": 2, "span": "(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or"}
+{"idx": 0, "order": 42, "level": 2, "span": "(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
+{"idx": 0, "order": 43, "level": 1, "span": "10. Retroactive Effect; Duration of Agreement; Successors and Binding Agreement. All agreements and obligations of the Company contained herein shall be deemed to have become effective upon the date Indemnitee first became an officer or director of the Company; shall continue during the period Indemnitee is an officer or a director of the Company (or is or was serving at the request of the Company as a director, officer, employee or agent of another corporation, partnership, joint venture, trust or other enterprise); and shall continue thereafter so long as Indemnitee may be subject to any Proceeding (or any proceeding commenced under Section 7 hereof) by reason of his Corporate Status, whether or not he is acting or serving in any such capacity at the time any liability or expense is incurred for which indemnification can be provided under this Agreement. This Agreement shall be binding upon and inure to the benefit of and be enforceable by the parties hereto and their respective successors (including any direct or indirect successor by purchase, merger, consolidation, reorganization or otherwise to all or substantially all of the business or assets of the Company), assigns, spouses, heirs, executors and personal and legal representatives. The Company shall require any such successor to all or substantially all of the business or assets of the Company, by agreement in form and substance satisfactory to Indemnitee and his counsel, expressly to assume and agree to perform this Agreement in the same manner and to the same extent the Company would be required to perform if no such succession had taken place. Except as otherwise set forth in this Section 10, this Agreement shall not be assignable or delegable by the Company."}
+{"idx": 0, "order": 44, "level": 1, "span": "11. Security\nTo the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee."}
+{"idx": 0, "order": 45, "level": 1, "span": "12. Enforcement."}
+{"idx": 0, "order": 46, "level": 2, "span": "(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company."}
+{"idx": 0, "order": 47, "level": 2, "span": "(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof."}
+{"idx": 0, "order": 48, "level": 1, "span": "13. Definitions\nFor purposes of this Agreement:"}
+{"idx": 0, "order": 49, "level": 2, "span": "(a) “Change in Control” means the occurrence of any one of the following events:"}
+{"idx": 0, "order": 50, "level": 3, "span": "(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);"}
+{"idx": 0, "order": 51, "level": 3, "span": "(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;"}
+{"idx": 0, "order": 52, "level": 3, "span": "(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);"}
+{"idx": 0, "order": 53, "level": 3, "span": "(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or"}
+{"idx": 0, "order": 54, "level": 3, "span": "(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company."}
+{"idx": 0, "order": 55, "level": 3, "span": "Notwithstanding the foregoing, a Change in Control shall not be deemed to occur solely because any person acquires beneficial ownership of 35% or more of the Company Voting Securities as a result of the acquisition of Company Voting Securities by the Company which reduces the number of Company Voting Securities outstanding; provided, that, if after such acquisition by the Company such person becomes the beneficial owner of additional Company Voting Securities that increases the percentage of outstanding Company Voting Securities beneficially owned by such person, a Change in Control shall then occur."}
+{"idx": 0, "order": 56, "level": 2, "span": "(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company."}
+{"idx": 0, "order": 57, "level": 2, "span": "(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee."}
+{"idx": 0, "order": 58, "level": 2, "span": "(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary."}
+{"idx": 0, "order": 59, "level": 2, "span": "(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding\nExpenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee."}
+{"idx": 0, "order": 60, "level": 2, "span": "(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder\nNotwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
+{"idx": 0, "order": 61, "level": 2, "span": "(g) “Proceeding” includes any threatened, pending or completed action, suit, arbitration, alternate dispute resolution mechanism, investigation, inquiry, admini\nstrative hearing or any other actual, threatened or completed proceeding, whether brought by or in the right of the Company or otherwise and whether civil, criminal, administrative or investigative, in which Indemnitee was, is or will be involved as a party or otherwise, by reason of the fact that Indemnitee is or was an officer or a director of the Company, by reason of any action taken by him or of any inaction on his part while acting as an officer or a director of the Company, or by reason of the fact that he is or was serving at the request of the Company as a director, officer, employee, agent or fiduciary of another corporation, partnership, joint venture, trust or other Enterprise; in each case whether or not he is acting or serving in any such capacity at the time any liability or expense is incurred for which indemnification can be provided under this Agreement; including one pending on or before the date of this Agreement, but excluding one initiated by an Indemnitee pursuant to Section 7 of this Agreement to enforce his rights under this Agreement."}
+{"idx": 0, "order": 62, "level": 1, "span": "14. Severability\nThe invalidity or unenforceability of any provision hereof shall in no way affect the validity or enforceability of any other provision. Without limiting the generality of the foregoing, this Agreement is intended to confer upon Indemnitee indemnification rights to the fullest extent permitted by applicable laws. In the event any provision hereof conflicts with any applicable law, such provision shall be deemed modified, consistent with the aforementioned intent, to the extent necessary to resolve such conflict."}
+{"idx": 0, "order": 63, "level": 1, "span": "15. Modification and Waiver\nNo supplement, modification, termination or amendment of this Agreement shall be binding unless executed in writing by both of the parties hereto. No waiver of any of the provisions of this Agreement shall be deemed or shall constitute a waiver of any other provisions hereof (whether or not similar) nor shall such waiver constitute a continuing waiver."}
+{"idx": 0, "order": 64, "level": 1, "span": "16. Notice By Indemnitee\nIndemnitee agrees promptly to notify the Company in writing upon being served with or otherwise receiving any summons, citation, subpoena, complaint, indictment, information or other document relating to any Proceeding or matter which may be subject to indemnification covered hereunder. The failure to so notify the Company shall not relieve the Company of any obligation which it may have to Indemnitee under this Agreement unless, and only to the extent that, the Company is actually and materially prejudiced as a direct result of such delay or failure."}
+{"idx": 0, "order": 65, "level": 1, "span": "17. Notices\nAll notices and other communications given or made pursuant to this Agreement shall be in writing and shall be deemed effectively given: (a) upon personal delivery to the party to be notified, (b) when sent by confirmed electronic mail or facsimile if sent during normal business hours of the recipient, and if not so confirmed, then on the next business day, (c) five (5) days after having been sent by registered or certified mail, return receipt requested, postage prepaid, or (d) one (1) day after deposit with a nationally recognized overnight courier, specifying next day delivery, with written verification of receipt. All communications shall be sent: (a) To Indemnitee at the address set forth below Indemnitee’s signature hereto. (b) To the Company at:\nULURU Inc.\n\n\n4452 Beltway Drive\nAddison, Texas 75001\n\n\nAttention: Chief Financial Officer\nor to such other address as may have been furnished to Indemnitee by the Company or to the Company by Indemnitee, as the case may be."}
+{"idx": 0, "order": 66, "level": 1, "span": "18. Counterparts\nThis Agreement may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one and the same Agreement. Executed counterparts may be delivered by facsimile and shall be deemed an original, but all of such counterparts together shall constitute one and the same instrument."}
+{"idx": 0, "order": 67, "level": 1, "span": "19. Headings\nThe headings of the paragraphs of this Agreement are inserted for convenience only and shall not be deemed to constitute part of this Agreement or to affect the construction thereof."}
+{"idx": 0, "order": 68, "level": 1, "span": "20. Successors and Assigns\nThe terms of this Agreement shall be binding upon the Company and its successors and assigns and shall inure to the benefit of Indemnitee and Indemnitee’s spouse, assigns, heirs, devisees, executors, administrators and other legal representatives."}
+{"idx": 0, "order": 69, "level": 1, "span": "21. Governing Law and Consent to Jurisdiction\nThis Agreement and the legal relations among the parties shall be governed by, and construed and enforced in accordance with, the laws of the State of Nevada, without regard to its conflict of laws rules. The Company and Indemnitee hereby irrevocably and unconditionally (i) agree that any action or proceeding arising out of or in connection with this Agreement (other than an arbitration pursuant to Section 7 hereof) shall be brought only in the appropriate court of the State of Nevada (the “Nevada Court”), and not in any other state or federal court in the United States of America or any court in any other country, (ii) consent to submit to the exclusive jurisdiction of the Nevada Court for purposes of such action or proceeding, (iii) waive any objection to the laying of venue of any such action or proceeding in the Nevada Court, and (iv) waive, and agree not to plead or to make, any claim that any such action or proceeding brought in the Nevada Court has been brought in an improper or inconvenient forum."}
+{"idx": 0, "order": 70, "level": 1, "span": "IN WITNESS WHEREOF, the parties hereto have executed this Indemnification Agreement on and as of the day and year first above written."}
+{"idx": 0, "order": 71, "level": 2, "span": "ULURU Inc.\nBy: /s/ Terrance K. Wallberg \nName: Terrance K. Wallberg \nTitle: Vice President and Chief Financial Officer"}
+{"idx": 0, "order": 72, "level": 2, "span": "INDEMNITEE"}
+{"idx": 0, "order": 73, "level": 2, "span": "/s/ Vaidehi Shah"}
+{"idx": 0, "order": 74, "level": 2, "span": "Vaidehi Shah\nAddress:"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_1.jsonl b/data/auto_parse/level_freeze/frozen/idx_1.jsonl
deleted file mode 100644
index 6d56384..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_1.jsonl
+++ /dev/null
@@ -1,304 +0,0 @@
-{"idx": 1, "level": 1, "span": "LICENSE AND OPTION AGREEMENT"}
-{"idx": 1, "level": 1, "span": "BY AND BETWEEN"}
-{"idx": 1, "level": 1, "span": "MOMENTA PHARMACEUTICALS, INC."}
-{"idx": 1, "level": 1, "span": "AND"}
-{"idx": 1, "level": 1, "span": "CSL BEHRING RECOMBINANT FACILITY AG"}
-{"idx": 1, "level": 1, "span": "DATED AS OF JANUARY 4, 2017"}
-{"idx": 1, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 1, "level": 0, "span": "LICENSE AND OPTION AGREEMENT\nThis License and Option Agreement (the “Agreement”), executed as of January 4, 2017 (the “Execution Date”), is made by and between Momenta Pharmaceuticals, Inc., a Delaware corporation (“Momenta”), with its principal place of business at 675 West Kendall Street, Cambridge, MA 02142 USA, and CSL Behring Recombinant Facility AG, a Swiss company (“CSL”), with its principal place of business at Wankdorfstrasse 10, 3000 Bern 22, Switzerland. Momenta and CSL may each be referred to individually as a “Party” or, collectively, the “Parties”."}
-{"idx": 1, "level": 1, "span": "RECITALS"}
-{"idx": 1, "level": 1, "span": "A.Momenta is performing research in the area of recombinant Fc multimeric proteins to treat autoimmune disorders and invented the Initial Products."}
-{"idx": 1, "level": 1, "span": "B.CSL is engaged in the research, development, manufacture and commercialization of biotherapeutic products."}
-{"idx": 1, "level": 1, "span": "C.Momenta desires to grant to CSL and CSL desires to receive exclusive, worldwide licenses to research the Research Products and develop, manufacture and commercialize the Products."}
-{"idx": 1, "level": 1, "span": "D.CSL desires to grant to Momenta and Momenta desires to receive, by way of alternative consideration for the exclusive licenses granted herein, options to co-fund global development and U.S. commercialization costs for the Products and the Research Products in exchange for a share of the U.S. profits and losses for the Products on the terms and conditions set forth in this Agreement."}
-{"idx": 1, "level": 1, "span": "E.Momenta further desires to receive, and CSL desires to grant an option for Momenta to co-promote in the United States the Products for which it is co-funding global development and U.S. commercialization costs, on the terms and conditions set forth in this Agreement.\nIn consideration of the premises set forth above and the mutual covenants contained herein, and other good and valuable consideration, the receipt and sufficiency of which is hereby acknowledged, Momenta and CSL agree as follows:"}
-{"idx": 1, "level": 2, "span": "ARTICLE 1."}
-{"idx": 1, "level": 2, "span": "DEFINITIONS\nThe capitalized terms used in this Agreement (other than the headings of the Sections or Articles) have the following meanings set forth in this Article 1, or, if not listed in this Article 1, the meanings as designated in the text of this Agreement.\n1.1 “30% Co-Funding Option” shall have the meaning set forth in Section 4.1(b).\n1.2 “50% Co-Funding Option” shall have the meaning set forth in Section 4.1(a).\n1.3 “Accounting Standards” means Generally Accepted Accounting Principles, as applicable, as consistently applied by a Party and its Affiliates, across product lines and in accordance with internal policies and procedures and Applicable Law (including the requirements of any securities exchange on which such Party is listed).\n1.4 “Acquirer” – see “Change of Control”.\n1.5 “Activities” means Research Activities, Development Activities, Manufacturing Activities and Commercialization Activities, collectively.\n1.6 “[***]” means, with respect to the [***], any event which is a [***] that would [***] of Development of the [***] for [***], or any [***] or [***] reasonably and objectively [***] to indicate a [***] of [***] for such Product that is detected prior to the date which is [***] after the [***] of such Product administered to the [***] in the [***].\n1.7 “Affiliate” means any corporation, company, partnership, joint venture and/or firm that controls, is controlled by, or is under common control with, a Party. For purposes of the foregoing sentence, “control” means: (a) in the case of corporate entities, direct or indirect ownership of at least fifty percent (50%) of the stock or shares having the right to vote for the election of directors; and (b) in the case of non-corporate entities, direct or indirect ownership of at least fifty percent (50%) of the equity interest with the power to direct the management and policies of such non-corporate entities.\n1.8 “Agreement” means this License and Option Agreement.\n1.9 “Alleged Breaching Party” shall have the meaning set forth in Section 11.5(b)(i).\n1.10 “Alleging Party” shall have the meaning set forth in Section 11.5(b)(i).\n1.11 “Alliance Manager” means an individual appointed by each Party to act as a primary point of contact between the Parties.\n1.12 “Annual Net Sales” means, with respect to a Product, the Net Sales in a given calendar year in the Territory.\n1.13 “Anti-Corruption Laws” shall have the meaning set forth in Section 12.7.\n1.14 “Applicable Law” means all applicable provisions of any and all federal, national, state, provincial, and local statutes, laws, rules, regulations, administrative codes, ordinances, decrees, orders, decisions, injunctions, awards, judgments, permits and licenses of or from any governmental authorities (including Regulatory Authorities) relating to or governing a Party’s obligations and rights under this Agreement.\n1.15 “[***]” shall have the meaning set forth in Section 7.6(c).\n1.16 “Assigning Party” shall have the meaning set forth in Section 13.3(a).\n1.17 “Bankruptcy Code” means Title 11, United States Code.\n1.18 “Biosimilar Product” means, with respect to a Product, any pharmaceutical product that: (a) receives marketing authorization pursuant to a Biosimilar Application made with respect to such Product and (b) is being sold by a Third Party (other than where such pharmaceutical product being sold by such Third Party is a Product which such Third Party is authorized to sell and is properly selling under this Agreement, including Section 2.5 but not including products Commercialized following agreement pursuant to Section 5.12, unless the parties have agreed otherwise); and (c) is not purchased from or manufactured by CSL or any of its Affiliates or Sublicensees.\n1.19 “Biosimilar Application” means, with respect to a Product, a submission to a Regulatory Authority for marketing authorization for a product claimed to be biosimilar or interchangeable to such Product, in the US under Section 351(k) of the BPCIA, or otherwise relying on the approval of such Product or data submitted in support of the prior approval of such Product, or any equivalent abbreviated regulatory process in another jurisdiction, in each case in accordance with Applicable Law in the jurisdiction in which the product is sought to be marketed and sold.\n1.20 “BLA” means, with respect to a Product, a biologics license application that would satisfy the requirements of 21 C.F.R. § 601.2, as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.21 “BPCIA” means the Biologics Price Competition and Innovation Act of 2009, § 351(k) of the PHS Act, as may be amended, supplemented, or replaced.\n1.22 “Business Day” a day other than Saturday or Sunday on which banking institutions in both New York, New York and Zurich, Switzerland are open for business.\n1.23 “Calendar Quarter” means each of the three (3) month periods ending March 31, June 30, September 30 and December 31; provided, however, that: (a) the first Calendar Quarter of the Term shall extend from the Effective Date to the end of the first complete Calendar Quarter thereafter; and (b) the last Calendar Quarter shall extend from the beginning of the Calendar Quarter in which this Agreement expires or terminates until the effective date of such expiration or termination.\n1.24 “C.F.R.” means the U.S. Code of Federal Regulations.\n1.25 “Change of Control” means, with respect to a Party, (a) a merger or consolidation of such Party with a Third Party (“Acquirer”) that results in the voting securities of such Party outstanding immediately prior thereto, or any securities into which such voting securities have been converted or exchanged, ceasing to represent more than fifty percent (50%) of the combined voting power of the surviving entity or the parent of the surviving entity immediately after such merger or consolidation, or (b) a transaction or series of related transactions in which an Acquirer, alone or together with its Affiliates, becomes the beneficial owner of more than fifty percent (50%) of the combined voting power of the outstanding securities of such Party, or (c) the sale or other transfer to an Acquirer of all or substantially all of such Party’s business to which the subject matter of this Agreement relates.\n1.26 “Co-Funding” means, with respect to any Product and at any particular time, that Momenta has exercised one of its Co-Funding Options and has not opted out of co-funding such Product as a result of (i) [***] out of co-funding [***] pursuant to Section 4.2(a); (ii) [***] out of co-funding [***] (including [***]) pursuant to Section 4.2(b); or (iii) [***] out of co-funding [***] specifically pursuant to Section 5.2(g), and “Co-Fund” and “Co-Funded” are to be similarly construed.\n1.27 “Co-Funding Options” means the 30% Co-Funding Option together with the 50% Co-Funding Option, and each a “Co-Funding Option”.\n1.28 “Co-Funding Option Effective Date” means:\n(a) in respect of the 50% Co-Funding Option, the date on which Momenta exercises its 50% Co-Funding Option in respect of the Products; and\n(b) in respect of the 30% Co-Funding Option, the earlier of the date on which Momenta exercises its 30% Co-Funding Option and the date which is [***] after the date on which the [***] is [***] with the [***] of the Product in the [***] or [***] in respect of a Product.\n1.29 “Co-Promotion Agreement” means a separate agreement setting out the Parties’ rights and obligations with respect to co-promotion of Products which Momenta is Co-Funding, to be negotiated in good faith by the Parties within [***] after the date on which Momenta exercises its Co-Promotion Option.\n1.30 “Co-Promotion Option” means an option to participate in the promotion of the Products in the United States.\n1.31 “[***]” means any multimeric Fc construct comprising [***] or more Fc domains, optionally having [***] or more [***] and/or other [***] as compared to the [***] or [***] Fc constructs, provided that such construct may not consist of or incorporate a [***].\n1.32 “Commercialization” and “Commercialization Activities” means all activities of using, marketing, promoting, distributing, importing, exporting, offering for sale and/or selling a pharmaceutical product\nthat has obtained Marketing Authorization (noting that some such activities may occur prior to the actual grant of Marketing Authorization) in the Territory. Commercialization Activities may include: (a) the creation and implementation of: (i) a [***] that is compliant with Applicable Law; (ii) a [***] including creation of [***] and initiatives; (iii) a [***], including selection and sequencing of [***] for [***] (but not the actual [***] and [***] of [***] pursuant to such strategy); (iv) development of a [***], including [***] and [***] (v) a [***], [***] and [***]; (vi) a [***] and [***]; (vii) a [***], including all [***] and [***] associated with the products; and (viii) a [***], including a product [***] and [***]; (b) [***] related to the product including [***], [***], management of [***]; (c) the design, creation and implementation of [***] and mechanisms; (d) the administration, operation and maintenance of [***] for promotion of product(s) in the Territory, sales bulletins and other [***] and [***] and [***], and [***] who support [***], including any activities of Momenta under the Co-Promotion Agreement; and (e) [***] (directly or indirectly) by the marketing authorization holder and [***]. For avoidance of doubt, (a) through (e) above sets forth examples of activities that may constitute “Commercialization Activities” rather than a [***] of [***] to be [***] by a Party. Commercialization does not include Research, Development or Manufacturing. When used as a verb, “Commercialize” means to engage in Commercialization.\n1.33 “Commercialization Expenses” means, with respect to a Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs and out-of-pocket costs (including relevant payments under [***] and/or [***] determined in accordance with Section 7.6) paid by a Party or its Affiliates to a Third Party or allocated to such Product after the Effective Date in connection with Commercialization of such Product in accordance with the applicable Product Work Plan, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. For clarity, a Product’s Commercialization Expenses excludes the Cost of Goods Sold for such Product and includes applicable expenses that are incurred by a Party pursuant to a Co-Promotion Agreement. Labor costs will be determined and allocation of expenses to any Product will be made as provided in Schedule 1.33.\n1.34 “Commercialization Plan” means, with respect to a Product, a plan setting out, in detail that is [***] to the [***] of [***] or [***] of such Product, the Commercialization Activities and Manufacturing Activities that will be conducted in respect of such Product over the subsequent [***], where such plan shall set forth an [***] for [***] and Commercialization of such Product including, at the appropriate time, [***] by [***]; provided that such Commercialization Plan shall contain [***] of Commercialization Activities and Manufacturing Activities, and [***] therefore, for the [***] of the period covered and [***] for the [***] of such period, as adopted and revised as provided in Section 5.3.\n1.35 “Commercially Reasonable Efforts” means, with respect to the performing Party, the carrying out of obligations of such Party in a diligent, expeditious and sustained manner as commonly practiced in the biopharmaceutical industry, including the [***] of a [***] of [***] and [***], and, in the case of [***] efforts to Develop and Commercialize Products, means a level of resources and efforts no less than the [***] and [***] that an [***] to products of [***] at a [***] of [***] or [***] in its [***], taking into account [***], [***] and [***] factors such as the [***], [***] of the [***] (including [***]), the [***] or other [***] of the Product or [***] Product, and the [***] involved, but without regard to other products (other than [***]) then being Developed or Commercialized [***]. In all cases, a Party’s Commercially Reasonable Efforts requires that such Party: (a) [***] for [***] in a [***] to [***] who are [***] for [***] and [***] such [***] on an [***] basis; (b) [***] and [***] to [***] and [***] for carrying out such tasks; and (c) [***] and [***] decisions and [***] resources designed to [***] with respect to such [***]; in each case [***] with such Party’s [***].\n1.36 “Confidential Information” means: (a) all proprietary information and materials, patentable or otherwise, of a Party that is disclosed by or on behalf of such Party to the other Party pursuant to and in contemplation of this Agreement, including, without limitation, biological substances, sequences, formulations, techniques, methodology, equipment, data, reports, know-how, sources of supply, information disclosed in unpublished patent applications, patent positioning and business plans; and (b) any other information designated by the disclosing Party to the other Party in writing as confidential or proprietary, whether or not related to making, using or selling a Product. Notwithstanding the foregoing, the term “Confidential Information” shall not include information that: (w) is or becomes generally available to the public other than as a result of disclosure thereof by the receiving Party; (x) is lawfully received by the receiving Party on a non-confidential basis from a Third Party that is not, to the\nreceiving Party’s knowledge, itself under any obligation of confidentiality or nondisclosure to the disclosing Party or any other Person with respect to such information; (y) is already known to the receiving Party at the time of disclosure by the disclosing Party; or (z) can be shown by the receiving Party to have been independently developed by the receiving Party without reference to the disclosing Party’s Confidential Information.\n1.37 “Control” or “Controlled” means, with respect to any Intellectual Property of a Party or any of its Affiliates that the Party or its Affiliates (a) owns, has an interest in, or, other than pursuant to this Agreement, has a license to such Intellectual Property and (b) has the ability to grant access, a license or a sublicense to such Intellectual Property to the other Party as provided in this Agreement without violating an agreement with any Third Party. Notwithstanding anything in this Agreement to the contrary, a Party shall be deemed not to Control any Intellectual Property that is Controlled by an [***], or such [***] Affiliates (other than an Affiliate of such Party [***] to the [***]) (a) prior to the [***] of such [***], except to the extent that any such Intellectual Property was developed [***] such [***] through the use of the [***] technology, or (b) after such [***] to the extent that such Patents or know-how are developed or conceived by the [***] or its Affiliates [***] such [***] without using or incorporating any Intellectual Property of the [***] or its Affiliates [***] to such [***].\n1.38 “Cost of Goods Sold” means, with respect to a Product, the aggregate of each Party’s and its Affiliates’ cost to Manufacture, perform quality control and assurance activities, test, package and label and release such Product for commercial use, in all cases determined from the books and records of such Party or its Affiliates maintained in accordance with the Accounting Standards, which costs may include (but not necessarily be limited to) the following:\n(a) the [***] of [***]; variable and fixed production costs, including factory overhead; purchase price variances; [***] revaluations, including [***] destroyed or written-off; change in value of [***] provisions; production variances; Manufacturing plant labor; a [***] of plant overhead expenses (including insurance, facility, and support staff personnel); materials and supplies; maintenance; discards; depreciation and amortization;\n(b) payments to Third Parties for [***] or [***] necessary for, or [***] and/or [***] determined in accordance with [***], for the commercial Manufacture, performance of quality control and assurance activities, testing, releasing, packaging and/or labeling may be treated as part of the Costs of Goods Sold for such Product and then such amounts shall not be included in any [***] payable under [***]; and\n(c) with respect to any newly constructed or other dedicated Manufacturing facility, whether such facility is owned by a Party or a Third Party, that will be utilized in the Manufacture of a Product, if a Party determines it will build or utilize a facility with [***] relative to the [***] for the Product(s) to be Manufactured in such facility, any decision to account for plant [***] for such facility [***] such [***] in the computation of Cost of Goods Sold must be approved by the Parties.\n1.39 “Cover”, “Covering” or “Covered” means, with respect to any Patent Right, that the manufacture, use, offer for sale, sale or import of any article or composition of matter, or the practice of any process or method, infringes at least one (1) Valid Claim of such Patent Right (or, in the case of a Valid Claim that has not yet issued, would infringe such Valid Claim if it were to issue without modification).\n1.40 “[***]” means the [***].\n1.41 “CSL” means CSL Behring Recombinant Facility AG, a Swiss company, with its principal place of business at Wankdorfstrasse 10, 3000 Bern 22, Switzerland.\n1.42 “CSL Indemnitees” shall have the meaning set forth in Section 9.2.\n1.43 “CSL Intellectual Property” means CSL Know-How and CSL Patent Rights, collectively.\n1.44 “CSL Know-How” means any Know-How that either (a) is Controlled by CSL or its Affiliates on the Effective Date or (b) comes within CSL’s or its Affiliates’ Control during the Term, including CSL’s or its Affiliates’ rights in Joint Know-How and CSL Sole Inventions.\n1.45 “CSL Losses” shall have the meaning set forth in Section 9.2.\n1.46 “CSL Patent Rights” means Patent Rights, including CSL’s or its Affiliates’ rights in Joint Patent Rights, to the extent that they (a) Cover CSL Know-How, a Product or a [***] Product, and (b) are Controlled by CSL or its Affiliates.\n1.47 “CSL Sole Inventions” means Sole Inventions made solely by CSL or its Affiliates, or CSL’s or its Affiliates’ employees, agents or consultants.\n1.48 “Development” and “Development Activities” means all activities either related to or in furtherance of the creation or scientific or technical improvement of a pharmaceutical product, or which are related to or in furtherance of obtaining regulatory approvals of such product anywhere in the Territory, whether such activities are conducted prior to the filing of an application for marketing authorization of such product or thereafter. Development Activities may include but are not limited to (a) all activities related to [***] (including [***] to [***] any [***]), (b) [***]; (c) [***], (d) [***] and [***], (e) [***], (f) all [***] activities including [***] development, (g) [***], (h) [***], (i) [***] including [***] and [***], (j) submission and management of [***], (k) [***] or [***], including [***] of [***] or [***] for [***], maintaining such [***] and otherwise handling [***], (l) [***], and (m) [***]. For avoidance of doubt, (a) through (m) above sets forth examples of activities that would constitute “Development Activities” [***] a list of [***]. Development does not include Research, Manufacturing or Commercialization. When used as a verb, “Develop” means to engage in Development.\n1.49 “Development Expenses” means, with respect to a Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs and out-of-pocket costs paid by a Party or its Affiliates to a Third Party (including relevant payments under [***] and/or [***] determined in accordance with Section 7.6) or [***] to such Product after the Effective Date in connection with the Development of such Product in accordance with the applicable Product Work Plan, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. Labor costs will be determined and [***] to any Product will be made as provided in Schedule 1.33.\n1.50 “Development Plan” means, with respect to a Product, a Development plan that sets forth, [***] that is [***] to the [***] of [***] of such Product and otherwise in accordance with [***] and [***] and [***], the Development Activities that will be undertaken in respect of such Product in order to obtain Marketing Authorization; provided that such Development Plan shall contain [***] at any [***] that is [***] the [***] of [***] that [***] has [***] for its [***] and [***], as adopted and revised as provided in Section 5.2. A written description of those [***] has been provided by CSL to Momenta prior to the Execution Date.\n1.51 “Development Approval Date” means, with respect to any [***] Product, the date on which CSL gives notice of its decision to select such [***] Product for Development as a Product under this Agreement, as provided in Section 5.1(d).\n1.52 “Disputed Matter” means a bona fide dispute that arises in relation to the Parties’ rights and obligations under this Agreement.\n1.53 “Dollars” or “$” means the legal tender of the United States.\n1.54 “[***]” means the [***] of a [***] of [***].\n1.55 “Effective Date” means the HSR Clearance Date.\n1.56 “EMA” or “European Medicines Agency” means the EU agency for the evaluation of medicinal products, or any successor entity.\n1.57 “Enforcement Intellectual Property Rights” shall have the meaning set forth in Section 7.4(a).\n1.58 “EU” means the European Union.\n1.59 “Execution Date” shall have the meaning set forth in the Preamble.\n1.60 “FDA” or “Food and Drug Administration” means the U.S. Food and Drug Administration, or any successor entity.\n1.61 “Final Decision-Making Authority” means the authority to make final decisions granted to CSL by the final sentence of Section 6.7 (Review and Approval by JSC).\n1.62 “First Commercial Sale” means, with respect to any Product, the [***] sale of such Product by CSL, its Sublicensee or any of their respective Affiliates to a Third Party in a country in the Territory for use or consumption by the general public in such country following receipt of Marketing Authorization for such Product in such country.\n1.63 “[***] Product” means that Collaboration Compound under development by Momenta designated as “M230”, a [***] human [***] Fc construct more specifically described, and having the [***] set out, in written disclosure from Momenta to CSL on or before the Execution Date.\n1.64 “[***]” shall have the meaning set forth in Section 11.2(a).\n1.65 “[***] Product” means that [***] under development by Momenta as a [***] form of the [***] as more specifically described, and having the [***] set out, in written disclosure from Momenta to CSL on or before the Execution Date.\n1.66 “GCP” or “Good Clinical Practice” means the standards of good clinical practice as are required by governmental agencies in countries in which the Products are intended to be sold under this Agreement.\n1.67 “GLP” or “Good Laboratory Practice” means the standards of good laboratory practice as a required by governmental agencies in countries in which the Products are intended to be sold under this Agreement.\n1.68 “GLP Toxicology Commencement” means, with respect to a Product or a [***] Product, [***] of the [***] with such Product or [***] Product in an [***] intended to support the safety of such Product or [***] Product in accordance with GLP as is required to [***] a [***].\n1.69 “GMP” or “Good Manufacturing Practice” means the standards of good manufacturing practice as are required by governmental agencies in countries in which the Products are intended to be sold under this Agreement.\n1.70 “HSR Act” shall have the meaning set forth in Section 13.12.\n1.71 “HSR Clearance Date” means the date on which the antitrust clearance under the HSR Act has been obtained which, for the avoidance of doubt, means that the waiting period provided by the HSR Act has terminated or expired without any action by any government agency or challenge to the termination.\n1.72 “Indication” means a distinct condition in humans for which a separate Marketing Authorization is required.\n1.73 “Infringement” means (i) any actual or threatened infringement or misappropriation of any CSL Intellectual Property, Momenta Intellectual Property or Joint Intellectual Property by a Third Party in the Territory, or (ii) any CSL Intellectual Property, Momenta Intellectual Property or Joint Intellectual Property is subject to an invalidation, cancellation, opposition or other similar action (including any administrative or judicial action whether or not there is current or anticipated infringement or misappropriation), or a declaratory judgment action arising from such infringement or misappropriation.\n1.74 “Initial Press Release” shall have the meaning set forth at Section 8.2.\n1.75 “Initial Products” means the First Product and the [***] Product from and after its Development Approval Date, collectively.\n1.76 “Intellectual Property” means Know-How and Patent Rights.\n1.77 “Joint Intellectual Property” means Joint Know-How and Joint Patent Rights, collectively.\n1.78 “Joint Inventions” means all inventions made jointly by both (a) one or more employees, agents and consultants of CSL and its Affiliates (or any Third Party or Third Parties acting on any of their behalf), and (b) one or more employees, agents and consultants of Momenta and its Affiliates (or any Third Party or Third Parties acting on any of their behalf).\n1.79 “Joint Know-How” means any Know-How that is developed or acquired jointly by the Parties in connection with their collaborative activities pursuant to this Agreement, including Joint Inventions.\n1.80 “Joint Patent Rights” means Patent Rights that Cover Joint Know-How.\n1.81 “Joint Steering Committee” or “JSC” means the joint steering committee established pursuant to Section 6.1 composed of senior members from each Party, including one Alliance Manager, to oversee and manage the Research of [***] Products and the Development, Manufacturing and Commercialization of Products.\n1.82 “Know-How” means all inventions, discoveries, data, processes, methods, techniques, materials, technology, results, analyses, laboratory, non-clinical and clinical data, commercial materials, information, materials or other know-how, whether proprietary or not and whether patentable or not, including without limitation ideas, concepts, formulae, methods, procedures, designs, compositions, plans, documents, works of authorship, compounds, biological materials, pharmacology, toxicology, drug stability, manufacturing and formulation methodologies and techniques, absorption, distribution, metabolism and excretion studies, clinical and non-clinical safety and efficacy studies, marketing studies and materials (including patient marketing materials), training materials and digital content from product websites.\n1.83 “Losses” means any and all liabilities, penalties, damages costs, fines, and expenses (including reasonable attorneys’ fees and other litigation expenses) associated with Products to the extent such Losses are not otherwise allocated either to CSL under Section 9.1 as Momenta Losses or to Momenta as CSL Losses under Section 9. 2.\n1.84 “Major Countries” means the U.S., [***] and [***].\n1.85 “Manufacturing” and “Manufacturing Activities” means, with respect to a product, to make or have made such product, including without limitation, all activities involved in the [***], and [***] of the product for [***], development of a [***], the manufacture of the [***] for the product, the [***] of the [***] for the product and the cost of any [***] or [***] of the biopharmaceutical product. For avoidance of doubt, the foregoing set forth examples of activities that would constitute “Manufacturing Activities” rather than a list of [***] to be [***] a [***]. Manufacturing does not include Research, Development or Commercialization. When used as a verb, “Manufacture” means to engage in Manufacturing.\n1.86 “Manufacturing Expenses” means, with respect to a Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs, depreciation costs, and out-of-pocket costs paid to a Third Party or allocated to such Product after the Effective Date, in connection with Manufacturing of such Product by or on behalf of a Party, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. Manufacturing Expenses includes expenses under [***] and [***] determined in accordance with [***]. In addition, with respect to any newly constructed or other dedicated Manufacturing facility, whether such facility is owned by a Party or a Third Party, that will be utilized in the Manufacture of a Product, if a Party determines it will [***] or [***] a [***] with [***] to the [***] for the Product(s) to be Manufactured in such facility, any decision to account for plant [***] for such [***] in [***] of such [***] in the [***] of [***] must be [***] the [***], For clarity, a Product’s Manufacturing Expenses includes the Cost of Goods Sold for such Product.\n1.87 “Marketing Authorization” means the grant of registration approval or license for the selling or marketing of a Product in any particular country or region in the Territory by the responsible Regulatory Authority.\n1.88 “Momenta” means Momenta Pharmaceuticals, Inc., a Delaware corporation, with its principal place of business at 675 West Kendall Street, Cambridge, MA 02142 USA.\n1.89 “Momenta Indemnitees” shall have the meaning set forth in Section 9.1.\n1.90 “Momenta Intellectual Property” means Momenta Know-How and Momenta Patent Rights, collectively.\n1.91 “Momenta Know-How” means any Know-How that either (a) is Controlled by Momenta or its Affiliates on the Effective Date or (b) comes within Momenta’s or its Affiliates’ Control during the Term, including Momenta’s or its Affiliates’ rights in Joint Know-How and Momenta Sole Inventions.\n1.92 “Momenta Losses” shall have the meaning set forth in Section 9.1.\n1.93 “Momenta Patent Rights” means (i) Patent Rights listed in Schedule 1.93 and (ii) any other Patent Rights, including Momenta’s or its Affiliates’ rights in Joint Patent Rights, to the extent that they (a) Cover Momenta Know-How, a Product or a [***] Product, and (b) are Controlled by Momenta or its Affiliates.\n1.94 “Momenta Sole Inventions” means Sole Inventions made solely by Momenta or its Affiliates, or Momenta’s or its Affiliates’ employees, agents or consultants.\n1.95 “[***]” has the meaning given to it in Section 7.6(b).\n1.96 “Net Sales” means, with respect to a Product, the [***] by a Party or its Affiliates or Sublicensees to Third Parties (whether an end-user, a distributor or otherwise) for sales of such Product within the Territory, less the following deductions, all as determined from the books and records of a Party, its Affiliates or Sublicensees maintained in accordance with the Accounting Standards:\n(a) customary trade and quantity discounts incurred and customary distribution rebates;\n(b) amounts incurred due to returns of Products previously sold as reflected in written invoices (and not to exceed the original invoice amount);\n(c) shipping, freight and insurance, to the extent separately invoiced and charged;\n(d) credits, allowances and rebates actually given pursuant to federal, state and/or government-mandated programs that require a manufacturer or distributor rebate (including Medicare and Medicaid); and\n(e) value added or import/export taxes, sales taxes, excise taxes or customs duties, to the extent applicable to such sale, and included in the invoice in respect of such sale and actually paid.\nIn the case of any sale of a Product between or among a Party or its Affiliates or Sublicensees for resale, Net Sales shall be calculated as above only on the [***] on the first arm’s length sale thereafter to a Third Party other than a Sublicensee. If no such separate sales are made, Net Sales shall be determined by the Parties in good faith. If the consideration for Products includes any non-cash element, or if Products are transferred by the selling Party, its Affiliate, or a respective Sublicensee in any manner other than an arms-length, [***] sale, then, in any such transaction, the Net Sales applicable to such transaction shall be the fair market value for the applicable quantity for the period in question in the applicable country of the Territory. The fair market value shall be determined, wherever possible, by reference to the average selling price of the relevant Product in arm’s length transactions in the relevant country in the Territory. Any Product transferred in connection with clinical and non-clinical research or clinical trials, Product promotional samples, compassionate sales or use, or indigent patient programs shall not be counted toward Net Sales; except that any Product sold as part of a named patient use program (or similar program where a Product can be sold in a country prior to Regulatory Approval being obtained for such Product in such country) will be counted toward Net Sales.\nEach Party agrees, on behalf of itself and its Affiliates and Sublicensees, not to use any Product as a loss leader. Each Party also agrees that if it or its Affiliate or Sublicensee prices a Product in order to gain or maintain sales of other products, then for purposes of calculating the payments due hereunder, the Net Sales shall be adjusted for any discount which was given to a customer that was in excess of customary discounts for such Product (or, in the absence of relevant data for such Product, other similar products under similar market conditions) by reversing such excess discount, if such discount was given in order to gain or maintain sales of other products.\nIf any Product is sold in combination with one or more other products (e.g., a delivery device) or active ingredients which are not the subject of this Agreement (as used in this definition of Net Sales, a “Combination”), then the [***] for that Product shall be calculated by multiplying the [***] for such Combination by the fraction A/(A+B), where “A” is the [***] for the Product sold separately and “B” is the [***] for the other product or active ingredient(s) sold separately. If the other product or active ingredient is not sold separately, then the [***] for that Product shall be calculated by multiplying the [***] for the Combination by the fraction A/C, where “A” is the [***] for the Product, if sold separately, and “C” is the [***] for the Combination.\n1.97 “Net Sales Statement” means a written report reflecting the accrual of Net Sales during the just-ended Calendar Quarter on a country-by-country and Product-by-Product basis [***] a [***] of Net Sales of such Product from [***], including [***] on [***] to be [***] in determining Net Sales pursuant to Section 1.96, [***] a [***] of the applicable [***], [***] and [***] for such [***].\n1.98 “New Intellectual Property” means all CSL Intellectual Property and all Momenta Intellectual Property that is not Joint Intellectual Property (a) arising out of the Parties’ Activities conducted pursuant to the Research Plan and (b) in the event of a termination under the provisions of Section 11.2(b) or Section 11.3, arising out of the Development Plan prior to the [***] of the [***] for the [***].\n1.99 “Opt-Out Effective Date” means the date on which an Opt-Out Notice given by Momenta to CSL becomes effective.\n1.100 “Opt-Out Notice” shall have the meaning set forth in Section 4.2(a).\n1.101 “Party” means CSL or Momenta, and or “Parties” means both of them.\n1.102 “Patent Rights” means any and all rights provided by (a) U.S. or non-U.S. patent applications, including all provisional applications, substitutions, continuations, continuations-in-part, divisions, renewals, and all patents granted thereon, (b) all U.S. or non-U.S. patents, reissues, reexaminations and extensions or restorations by existing or future extension or restoration mechanisms, including supplementary protection certificates or the equivalent thereof, and (c) any other form of government-issued right substantially similar to any of the foregoing.\n1.103 “Person” means any individual, partnership, joint venture, limited liability company, corporation, firm, trust, association, unincorporated organization, Regulatory Authority or any other entity not specifically listed herein.\n1.104 “Phase I” in reference to a clinical trial means a trial defined in 21 C.F.R. § 312.21(a), as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.105 “Phase II” in reference to a clinical trial means a trial defined in 21 C.F.R. § 312.21(b), as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.106 “Phase III” in reference to a clinical trial means a trial defined in 21 C.F.R. § 312.21(c), as may be amended from time to time, or any non-U.S. equivalent thereof, or if any Phase II clinical trial is a registration enabling pivotal clinical trial and a Phase III trial is not needed, then “Phase III” in reference to a clinical trial shall be deemed to refer to such Phase II registration enabling pivotal clinical trial.\n1.107 “Phase IV” in reference to a clinical trial means a trial defined in 21 CFR § 312.85, as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.108 “PHS Act” means the U.S. Public Health Service Act, as may be amended from time to time.\n1.109 “Prior Confidentiality Agreement” means the Confidentiality Agreement dated [***] between Momenta and [***], as amended.\n1.110 “Prior Material Transfer Agreement” means the Material Transfer Agreement dated [***] between Momenta and [***].\n1.111 “Product” means the First Product or any [***] Product from and after its Development Approval Date.\n1.112 “Product Domain Name” means a domain name selected by CSL for the purpose of Commercializing a Product in the Territory.\n1.113 “Product Trademark” means a trademark selected by CSL for the purpose of Commercializing a Product in the Territory.\n1.114 “Product Work Plan” means, with respect to a Product, the Development Plan together with the Commercialization Plan.\n1.115 “Profit(s)” means [***] plus [***] minus [***], provided that should any expense fall within the definition of [***] and [***] a permitted deduction for the purpose of calculating [***], such expense shall only be [***].\n1.116 “Program Expenses” means Research Expenses, Development Expenses, Manufacturing Expenses and Commercialization Expenses.\n1.117 “Regulatory Approval” means, with respect to a country, [***], [***] and regulatory authorizations [***] to [***], market and sell a Product in such country as granted by the relevant Regulatory Authority, and includes Marketing Authorization.\n1.118 “Regulatory Authority” means, in a country, any applicable government authority, agency, legislative body, commission or other instrumentality of any national or territorial government or any supranational body which is responsible for granting approvals for the sale, use and/or manufacture of pharmaceutical products in that country or region, including the FDA, the EMA and any corresponding national or regional regulatory authorities.\n1.119 “Regulatory Exclusivity” means data, market or other regulatory exclusivity (as distinct from and excluding any exclusivity arising under Patent Rights) for an [***] Product in a country or region in the Territory under applicable laws, rules and regulations in such country or region, including, without limitation, (a) any such exclusivity provided in countries in the EU under national laws and regulations implementing EC Directives 2004/27/EC and 2001/83/EC, (b) U.S. exclusivity periods such as U.S. biologic exclusivity, pediatric exclusivity, orphan drug exclusivity, and the Hatch-Waxman data exclusivity or (c) any analogous laws or regulations in other countries in the Territory.\n1.120 “Regulatory Submission” means any application for Regulatory Approval, notification, and other submission made to or with a Regulatory Authority that is [***] to Develop, Manufacture, distribute or Commercialize the Product in a particular country, whether made before or after a Regulatory Approval in the country. Regulatory Submissions include, without limitation, investigational new drug applications, clinical trial applications and BLAs or imported drug license (IDL) applications, and amendments, renewals and supplements to any of the foregoing and their non-U.S. counterparts, [***] for [***] and [***], and all proposed labels, labeling, package inserts, monographs, and packaging for the Product.\n1.121 “Reimbursement and Co-Funding Report” means a cost reimbursement and/or cost/profit share report meeting the requirements set out in Section 4.3(c), and accompanied [***] and [***] to [***] each Party’s financial reporting obligations, independent auditor requirements and obligations under the Sarbanes-Oxley Act (or any equivalent law of another country) that calculates the share of each Party’s aggregate [***] and the [***] and [***] to be allocated to each Party for each Product for such Calendar Quarter.\n1.122 “Research” or “Research Activities” means all activities either related to or in furtherance of the creation or scientific or technical improvement of a biopharmaceutical product up to [***] for such product (and, for the avoidance of doubt, may include activities that would otherwise be defined as Manufacturing and Development activities if they were performed after [***]).\n1.123 “Research Expenses” means, with respect to a [***] Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs and out-of-pocket costs paid by a Party or its Affiliates to a Third Party or allocated to such [***] Product after the Effective Date in connection with the Research of such [***] Product in accordance with the applicable Research Plan, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. Labor costs will be determined and allocation of expenses to any [***] Product will be made as provided in Schedule 1.33. Research Expenses includes expenses under [***] and [***] determined in accordance with Section 7.6. \n1.124 “Research Plan” means the plan setting out the Parties’ Research Activities, adopted and revised as provided in Section 5.1(a).\n1.125 “Research Product” means the [***] Product and any other [***] which is generated out of or otherwise forms a part of the activities to be undertaken pursuant to the Research Plan.\n1.126 “Royalty Period” means, with respect to an Initial Product, the longer of the following periods, in each case on a [***] basis: (A) the period during which the sale or use of such Initial Product [***] would infringe a granted Valid Claim of [***] or [***] in [***] where (i) the Valid Claim is part of the [***] of [***] set out in the [***] in the [***] of [***] and (ii) for the purpose of determining whether such Valid Claim is infringed, no effect is given to any license granted under this Agreement or to [***] of [***] with respect to any Joint Patent Right, (B) the period during which such Product is [***] by [***] in [***]; and (C) [***] from First Commercial Sale of such Product in [***].\n1.127 “Sarbanes-Oxley Act” means the U.S. Sarbanes-Oxley Act of 2002, as may be amended from time to time.\n1.128 “[***]” means a multimeric Fc construct that consists of [***] or [***] to [***] or [***], wherein the Fc construct [***] or [***] or [***] and the [***] or [***] or [***] the [***] to a [***] and/or [***] other than a [***]. For the purpose of this definition, [***] means a [***] of an [***] that contains [***], and part of [***].\n1.129 “Sole Inventions” means all inventions made solely by a Party or its Affiliates, or such Party’s or its Affiliates’ employees, agents or consultants.\n1.130 “Sub-Committee” means a sub-committee formed by the JSC, with an equal number of representatives from CSL and Momenta, to address specific issues in greater detail.\n1.131 “Sublicense Revenue” means all consideration received by a Party or its Affiliates with respect to rights granted to a Third Party(ies) to Develop or Commercialize any Product for sale in the relevant country in the Territory, but excluding: (a) consideration received by such Party or its Affiliates as payments [***] for performing [***] or [***] undertaken by such Party or its Affiliates for, or in collaboration with, such Third Party(ies) or their Affiliates; (b) consideration received by such Party and/or its Affiliates from such Third Party(ies) or their Affiliates as the [***] for such Party’s or any of its Affiliates’ [***] or [***], except that consideration that [***] the [***] of [***] or [***]; and (c) consideration paid by such Third Party(ies) to such Party or its Affiliates to [***] of such Product (provided, however, that any consideration [***] the [***].\n1.132 “Sublicensee” means a Third Party that is granted a license, sublicense, covenant not to sue, or other grant of rights under this Agreement pursuant to the terms of this Agreement or otherwise granted rights with respect to any Product.\n1.133 “Summary Statement” means a written report provided in accordance with Section 4.3(b) reflecting the accrual of Program Expenses and Net Sales, as applicable, during the just-ended Calendar Quarter on a [***] Product-by-[***] Product (where possible) and Product-by-Product basis.\n1.134 “Technology Package” means all relevant documents relating to the Intellectual Property, regulatory information, biological materials, manufacturing and CMC and other materials owned and/or Controlled by Momenta, necessary for CSL to exercise its rights under the license, to be included in the Technology Transfer Plan.\n1.135 “Technology Transfer Plan” means the written transfer plan, an outline of the CMC elements of which is attached hereto as Schedule 1.135, [***] will be [***] to [***] after the [***] and which will form [***], which sets forth the activities of each Party relating to the transfer of the Technology Package and the timelines thereof, as may be updated from time to time until completion of all contemplated activities.\n1.136 “Term” shall have the meaning set forth in Section 11.1.\n1.137 “Termination Date” means the date this Agreement is terminated as provided for under each circumstance of termination in Article 11.\n1.138 “Territory” means all countries of the world.\n1.139 “Third Party” means any Person other than Momenta or CSL or any Affiliate of either Party.\n1.140 “Third Party Intellectual Property” means Third Party Patent Rights, Know-How, Trademarks, domain names or other intellectual property rights.\n1.141 “Third Party License” shall have the meaning set forth in Section 7.6.\n1.142 “Trademark” means all trademarks, service marks, trade names, brand names, sub-brand names, trade dress rights, product configuration rights, certification marks, collective marks, logos, taglines, slogans, designs or business symbols and all words, names, symbols, colors, shapes, designations or any combination thereof that\nfunction as an identifier of source or origin or quality, whether or not registered, and all statutory and common law rights therein, and all registrations and applications therefor, together with all goodwill associated with, or symbolized by, any of the foregoing.\n1.143 “Transferee” shall have the meaning set forth in Section 13.3(a).\n1.144 “United States” or “U.S.” means the United States of America, and its territories, districts and possessions.\n1.145 “U.S.C.” means the United States Code.\n1.146 “Valid Claim” means: (a) a claim in issued Patent Rights that has not: (i) expired or been canceled; (ii) been declared invalid by an unreversed and unappealable (or unappealed) decision of a court or other appropriate body of competent jurisdiction; (iii) been admitted to be invalid or unenforceable through reissue, disclaimer or otherwise; or (iv) been abandoned by mutual written agreement of the Parties; or (b) a claim under an application for Patent Rights that has not been canceled, withdrawn from consideration, finally determined to be unallowable by the applicable governmental authority or court for whatever reason (and from which no appeal is or can be taken) or abandoned.\nFor the purposes of the definition of [***] and for [***] to [***], Valid Claims [***] to the subset of Patent Rights Controlled by a Party to the extent such Patent Rights are owned by, are [***] or are exclusive license rights, held by a Party or the Parties with respect to the [***] of [***] or [***] of [***] of the relevant Product.\nIn the case of the First Product, the subset of Patent Rights Controlled by Momenta meeting these criteria at the Execution Date are the Patent Rights listed in Schedule 1.93 and listed under the Momenta internal references of [***] and [***]."}
-{"idx": 1, "level": 3, "span": "(a) in respect of the 50% Co-Funding Option, the date on which Momenta exercises its 50% Co-Funding Option in respect of the Products; and"}
-{"idx": 1, "level": 3, "span": "(b) in respect of the 30% Co-Funding Option, the earlier of the date on which Momenta exercises its 30% Co-Funding Option and the date which is [***] after the date on which the [***] is [***] with the [***] of the Product in the [***] or [***] in respect of a Product."}
-{"idx": 1, "level": 3, "span": "(a) the [***] of [***]; variable and fixed production costs, including factory overhead; purchase price variances; [***] revaluations, including [***] destroyed or written-off; change in value of [***] provisions; production variances; Manufacturing plant labor; a [***] of plant overhead expenses (including insurance, facility, and support staff personnel); materials and supplies; maintenance; discards; depreciation and amortization;"}
-{"idx": 1, "level": 3, "span": "(b) payments to Third Parties for [***] or [***] necessary for, or [***] and/or [***] determined in accordance with [***], for the commercial Manufacture, performance of quality control and assurance activities, testing, releasing, packaging and/or labeling may be treated as part of the Costs of Goods Sold for such Product and then such amounts shall not be included in any [***] payable under [***]; and"}
-{"idx": 1, "level": 3, "span": "(c) with respect to any newly constructed or other dedicated Manufacturing facility, whether such facility is owned by a Party or a Third Party, that will be utilized in the Manufacture of a Product, if a Party determines it will build or utilize a facility with [***] relative to the [***] for the Product(s) to be Manufactured in such facility, any decision to account for plant [***] for such facility [***] such [***] in the computation of Cost of Goods Sold must be approved by the Parties."}
-{"idx": 1, "level": 3, "span": "(a) customary trade and quantity discounts incurred and customary distribution rebates;"}
-{"idx": 1, "level": 3, "span": "(b) amounts incurred due to returns of Products previously sold as reflected in written invoices (and not to exceed the original invoice amount);"}
-{"idx": 1, "level": 3, "span": "(c) shipping, freight and insurance, to the extent separately invoiced and charged;"}
-{"idx": 1, "level": 3, "span": "(d) credits, allowances and rebates actually given pursuant to federal, state and/or government-mandated programs that require a manufacturer or distributor rebate (including Medicare and Medicaid); and"}
-{"idx": 1, "level": 3, "span": "(e) value added or import/export taxes, sales taxes, excise taxes or customs duties, to the extent applicable to such sale, and included in the invoice in respect of such sale and actually paid."}
-{"idx": 1, "level": 2, "span": "ARTICLE 2."}
-{"idx": 1, "level": 2, "span": "LICENSES\n2.1 Licenses to CSL. Subject to the terms and conditions of this Agreement, as of the Effective Date, Momenta hereby grants to CSL the following:\n(a) Product License. A royalty-bearing, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property to Research, Develop, Manufacture and Commercialize Products in the Territory.\n(b) Research License. A royalty-free, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property for purposes of researching (i) potential [***] Products and (ii) the [***] Products in the Territory.\n(c) [***]. The Parties acknowledge and agree that the license and sublicense rights granted by Momenta to CSL and CSL to Momenta under this Agreement [***] be [***] a [***] the [***] in [***] between the Parties or the [***] or [***] when exercised in compliance with the terms of this Agreement.\n2.2 Licenses to Momenta. Subject to the terms and conditions of this Agreement, as of the Effective Date, CSL hereby grants to Momenta: a limited, royalty-free, non-exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property, the CSL Intellectual Property and CSL’s rights in the Joint Intellectual Property to the extent necessary and for the purpose of enabling Momenta (i) to research potential [***] Products (ii) to perform Activities pursuant to the Research Plan or a Product Work Plan and (iii) to undertake research pursuant to Section 5.14. In addition,\nCSL grants to Momenta a limited, non-exclusive, non-transferrable license solely relating to the New Intellectual Property to engage in non-commercial research and development subject to the terms of this Agreement.\n2.3 Joint Intellectual Property. Subject to the terms and conditions of this Agreement including in relation to management and enforcement of Intellectual Property as set out in Article 7 and, as applicable, any Co-Promotion Agreement, as of the Effective Date, each Party hereby grants the other Party a world-wide, non-exclusive, perpetual, royalty-free, fully paid up, freely sublicensable right and license under its interest in the Joint Intellectual Property to exploit products other than Products (a) anywhere in the world and (b) without compensating or accounting to the other Party.\n2.4 Use of Third Party Contractors. Subject to the terms of this Agreement, either Party may perform any specific Activities for which it is responsible under this Agreement through subcontracting to a Third Party contractor and may grant a sublicense of the rights granted hereunder to any such Third Party contractor; provided that where [***] seeks to engage such subcontractor, [***] shall first obtain [***] to the appointing of such sub-contractor and, where necessary, the granting of such sublicense, provided further, that if a Third Party contractor is specified or otherwise authorized generally for categories of activity in an approved Product Work Plan, then [***] to [***] the [***] and [***] of a [***] to such Third Party contractor solely for the purposes set forth in such Product Work Plan.\n2.5 [***]. Except as permitted in [***] in respect of [***], each Party may only [***] the [***] to such Party under [***], and [***] with the other Party’s [***]. Any [***] granted by either Party pursuant to this Agreement will be [***] the [***] of [***]. In addition, each Party will [***], with respect to the Products and the [***] Products or [***], to [***] or [***] the [***] that such [***] may [***] in connection with its activities with respect to the Products and the [***] Products that would constitute [***] or [***] if arising [***] or [***] activities, respectively, so that any such Intellectual Property will be Controlled by the [***] Party for purposes and to the extent of the [***] to the other Party provided by Sections 2.1 and 2.2 above. [***], either Party may grant [***] of its rights hereunder to any Affiliate; provided that such Party remains primarily liable for the performance hereunder of any of its Affiliates.\n2.6 Technology Transfer.\n(a) General. Momenta will use Commercially Reasonable Efforts to transfer the Technology Package to CSL:\n(i) in accordance with the outline of the Technology Transfer Plan attached hereto as Schedule 1.135 where both activities and timeframes are specified in that Schedule; and\n(ii) otherwise in accordance with the Technology Transfer Plan, and both Parties will perform their respective activities under and in accordance with the Technology Transfer Plan (with the Technology Transfer Plan to prevail over the outline in the event of any inconsistency).\n(iii) In exercising such Commercially Reasonable Efforts a Party shall not be responsible for any delay or failure to achieve an objective to the extent such delay or failure is caused by the actions of the other Party.\n(b) Technology Transfer Plan. Momenta will use Commercially Reasonable Efforts to execute the Technology Transfer Plan in an [***] and [***] and in accordance with Schedule 1.135 (as modified (if applicable) by the agreed Technology Transfer Plan) In [***] the [***], Momenta will use Commercially Reasonable Efforts to transfer to CSL [***] under the Technology Package which are specified in Schedule 1.135 within [***] after the Effective Date and the Parties shall use Commercially Reasonable Efforts to complete the Technology Transfer Plan [***] with the goal of completing all activities under the Technology Transfer Plan no later than [***] after the Effective Date.\n2.7 Retained Rights. Any rights of Momenta not expressly granted to CSL under the provisions of this Agreement shall be retained by Momenta and any rights of CSL not expressly granted to Momenta under the provisions of this Agreement shall be retained by CSL.\n2.8 [***]. For the avoidance of doubt, in the event either Party [***] or [***], or has an opportunity to [***] or [***], directly or by way of an [***] to a product or product [***] which falls within the [***] of [***] (each, an “[***]”), the [***] is obligated to deliver to the other Party a [***] at least [***] prior to the [***] of such [***] or [***] (the date on which such notice is given, the “[***]”), and the [***] Party shall have [***] following the [***], upon written notice to the [***] Party, to require [***] a [***] or [***] or [***] the [***] of [***] and [***] A failure to comply with this provision shall be considered a [***] of [***].\n2.9 No Additional Licenses. Except as expressly provided in Sections 2.1, 2.2, 2.3, 2.5, 3.1(e)(vi) and Article 11, nothing in this Agreement grants either Party any right, title or interest in and to the intellectual property rights of the other Party (either expressly, by implication or by estoppel).\n2.10 Bankruptcy.\n(a) All rights and licenses to Intellectual Property granted under or pursuant to any Section of this Agreement are, and shall otherwise be deemed to be, for the purposes of Section 365(n) of the Bankruptcy Code, licenses of rights to “intellectual property” as defined under Section 101(35A) of the Bankruptcy Code. The Parties shall retain and may fully exercise all of their respective rights and elections under the Bankruptcy Code. Upon the bankruptcy of a Party, the non-bankrupt Party shall further be entitled to a complete duplicate of (or complete access to, as appropriate) any such Intellectual Property, and such, if not already in its possession, shall be promptly delivered to the non-bankrupt Party.\n(b) Notwithstanding any other provision of this Agreement, for purposes of Section 365(n)(2)(B) of the Bankruptcy Code, “royalty payments” shall mean solely (i) those amounts payable in Section 3.1(c), 3.1(d), and 3.1(e), in respect of Initial Products, (ii) any incremental royalty payments payable to Momenta in connection with an Opt-Out of Co-Funding with respect to the applicable Products, and (iii) any development milestones, sales milestones and royalties that may be negotiated and agreed pursuant to Section 3.1(g) in respect of [***] Products other than the [***] Product. Where, [***], [***] does not meet its [***] in respect of [***] shall automatically terminate and [***] and [***] in [***] shall be payable in respect of Products Commercialized and sold in the U.S."}
-{"idx": 1, "level": 3, "span": "(a) Product License\nA royalty-bearing, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property to Research, Develop, Manufacture and Commercialize Products in the Territory."}
-{"idx": 1, "level": 3, "span": "(b) Research License\nA royalty-free, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property for purposes of researching (i) potential [***] Products and (ii) the [***] Products in the Territory."}
-{"idx": 1, "level": 3, "span": "(c) [***]\nThe Parties acknowledge and agree that the license and sublicense rights granted by Momenta to CSL and CSL to Momenta under this Agreement [***] be [***] a [***] the [***] in [***] between the Parties or the [***] or [***] when exercised in compliance with the terms of this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) General\nMomenta will use Commercially Reasonable Efforts to transfer the Technology Package to CSL:"}
-{"idx": 1, "level": 4, "span": "(i) in accordance with the outline of the Technology Transfer Plan attached hereto as Schedule 1.135 where both activities and timeframes are specified in that Schedule; and"}
-{"idx": 1, "level": 4, "span": "(ii) otherwise in accordance with the Technology Transfer Plan, and both Parties will perform their respective activities under and in accordance with the Technology Transfer Plan (with the Technology Transfer Plan to prevail over the outline in the event of any inconsistency)."}
-{"idx": 1, "level": 4, "span": "(iii) In exercising such Commercially Reasonable Efforts a Party shall not be responsible for any delay or failure to achieve an objective to the extent such delay or failure is caused by the actions of the other Party."}
-{"idx": 1, "level": 3, "span": "(b) Technology Transfer Plan\nMomenta will use Commercially Reasonable Efforts to execute the Technology Transfer Plan in an [***] and [***] and in accordance with Schedule 1.135 (as modified (if applicable) by the agreed Technology Transfer Plan) In [***] the [***], Momenta will use Commercially Reasonable Efforts to transfer to CSL [***] under the Technology Package which are specified in Schedule 1.135 within [***] after the Effective Date and the Parties shall use Commercially Reasonable Efforts to complete the Technology Transfer Plan [***] with the goal of completing all activities under the Technology Transfer Plan no later than [***] after the Effective Date."}
-{"idx": 1, "level": 3, "span": "(a) All rights and licenses to Intellectual Property granted under or pursuant to any Section of this Agreement are, and shall otherwise be deemed to be, for the purposes of Section 365(n) of the Bankruptcy Code, licenses of rights to “intellectual property” as defined under Section 101(35A) of the Bankruptcy Code\nThe Parties shall retain and may fully exercise all of their respective rights and elections under the Bankruptcy Code. Upon the bankruptcy of a Party, the non-bankrupt Party shall further be entitled to a complete duplicate of (or complete access to, as appropriate) any such Intellectual Property, and such, if not already in its possession, shall be promptly delivered to the non-bankrupt Party."}
-{"idx": 1, "level": 3, "span": "(b) Notwithstanding any other provision of this Agreement, for purposes of Section 365(n)(2)(B) of the Bankruptcy Code, “royalty payments” shall mean solely (i) those amounts payable in Section 3.1(c), 3.1(d), and 3.1(e), in respect of Initial Products, (ii) any incremental royalty payments payable to Momenta in connection with an Opt-Out of Co-Funding with respect to the applicable Products, and (iii) any development milestones, sales milestones and royalties that may be negotiated and agreed pursuant to Section 3.1(g) in respect of [***] Products other than the [***] Product\nWhere, [***], [***] does not meet its [***] in respect of [***] shall automatically terminate and [***] and [***] in [***] shall be payable in respect of Products Commercialized and sold in the U.S."}
-{"idx": 1, "level": 2, "span": "ARTICLE 3."}
-{"idx": 1, "level": 2, "span": "FINANCIAL TERMS"}
-{"idx": 1, "level": 2, "span": "Payment for Milestone [***] where [***] after [***] of [***].\n In the case of both the First Product and the [***] Product, in the event that Momenta is [***] the [***] the [***] by such Product but Momenta [***] the [***] of [***] prior to [***] by such Product, the amount that would have been paid on [***] of [***] by such Product had [***] at [***] by such Product shall be paid on: \n(i) the [***] of [***] by such Product if the [***] of [***] by such Product occurs after [***] to [***] such Product; or\n(ii) the [***] of [***] by such Product if the [***] of [***] by such Product occurs [***] such Product."}
-{"idx": 1, "level": 4, "span": "(i) the [***] of [***] by such Product if the [***] of [***] by such Product occurs after [***] to [***] such Product; or"}
-{"idx": 1, "level": 4, "span": "(ii) the [***] of [***] by such Product if the [***] of [***] by such Product occurs [***] such Product."}
-{"idx": 1, "level": 2, "span": "Payment for Milestone [***] where [***] after [***] of [***]."}
-{"idx": 1, "level": 2, "span": "ARTICLE 4."}
-{"idx": 1, "level": 2, "span": "CO-FUNDING OPTIONS; REPORTING AND RECORD KEEPING\n4.1 In General. CSL hereby grants to Momenta the following co-funding options in respect of the Products and the [***] Products; provided that Momenta may exercise only one of the following co-funding options:\n(a) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive fifty percent (50%) of all Profits and Losses for the Products and Research Products in the United States (the “50% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1. Momenta may exercise its 50% Co-Funding Option by written notice to CSL [***] after the [***] for the [***].\n(b) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive thirty percent (30%) of all Profits and Losses for the Products and [***] Products in the United States (the “30% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1. Momenta may exercise its 30% Co-Funding Option by written notice to CSL at any time prior to [***] after the date on which Momenta receives [***] the [***] of the [***] or [***], in each case in respect [***] the [***] is [***] and [***] to [***] (taking into account any [***] of any [***] with respect [***] may be made [***]).\n4.2 Opt-Out of Co-Funding.\n(a) Total Opt-Out. At any time on and after the Co-Funding Option Effective Date, Momenta has the right, in its sole discretion, to cease Co-Funding for all current and future Products upon [***] written notice to CSL (the “Opt-Out Notice”); provided that, following the effective date of such Opt-Out Notice:\n(i) Momenta shall have no further obligation to co-fund Research, Development or Commercialization of any Product or [***] Product and shall have no right to share in the applicable Profit percentage; and\n(ii) Momenta will be entitled to receive all royalty and milestone payments, for all Products, that are achieved following the Opt-Out Notice Effective Date. For the avoidance of doubt, Momenta will not be eligible to receive any payment under Section 3.1(c) for a Development Milestone achieved prior to the Opt-Out Notice Effective Date except to the extent expressly provided with respect to Milestones 1 and 2 in Section 3.1(c); and\n(iii) CSL shall make [***] ([***] provided for below) to Momenta in a [***] to [***] (the [***]), [***] follows:\n(1) all [***], excluding [***] or [***] the [***] for which it [***], [***] reference to the [***] and [***] and taking into account both [***] and [***] the [***] to the [***] following preparation of each such [***];\n(2) [***] any [***] to Momenta as [***] of [***].\nThe [***] shall be [***] by way of [***] in the [***] of [***] up to a [***] of a [***] in such [***] on [***], in the form of such [***] the [***]. In addition, CSL shall [***] to [***] within [***] of the Opt-Out Notice Effective Date, [***] or [***] by [***] for which it has [***] any [***].\n(b) Future Product Opt-Out. If Momenta is Co-Funding any Product at the time the [***] for a [***] is [***], Momenta has the right[***], upon giving written notice to CSL within [***] after the [***] for such [***] is [***], to opt out of Co-Funding that Product and all future Products and future [***] Products. In such event, Momenta would continue to [***] to the [***] to [***] under this section. [***] that were [***] or [***] for [***] which it will no longer be Co-Funding (that is, excluding those which were incurred in respect of [***] which Momenta is continuing to Co-Fund) shall be [***] the [***] of [***] in such [***] on [***] until Momenta [***], in the form of [***], the relevant [***].\n4.3 Cost Share and Profit Share for Co-Funding of Products and [***] Products. If, and during the period for which, Momenta is Co-Funding, the Parties shall comply with the following financial reporting requirements:\n(a) Initial Payment of Program Expenses. Except as expressly provided otherwise in this Agreement, the Party initially incurring Program Expenses will be responsible for and pay for all Program Expenses so incurred. Each Party will accrue all Program Expenses for [***] Products and Products and maintain books and records for same in accordance with the terms and conditions hereof and in accordance with applicable Accounting Standards. Within [***] after the end of each [***], each Party will submit to the other Party a non-binding, good faith estimate of such Program Expenses accrued and Net Sales, as applicable, during the just-ended [***].\n(b) Summary Statements. Within [***] after the end of each Calendar Quarter, each Party will submit to the other Party a Summary Statement. Such Summary Statements shall:\n(i) specify in reasonable detail all expenses included in such Program Expenses during such Calendar Quarter and, upon the reasonable request of the other Party, shall be accompanied by invoices, and/or other appropriate supporting documentation; or\n(ii) report Program Expenses and Losses which are subject to Momenta’s current Co-Funding on a [***] (e.g., [***] costs and [***] costs); and\n(iii) contain a separate summary of the Program Expenses and Losses which Momenta is required to share pursuant to its Co-Funding.\nIn order to accomplish this, the Parties shall seek to resolve any questions related to the non-binding, good faith estimate of such Program Expenses [***] and Net Sales provided pursuant to section 4.3(a) above, as applicable, within [***] following receipt by each Party of the other Party’s estimate. Thereafter, the JSC shall facilitate the finalization of the Parties’ Summary Statements, as applicable, hereunder and the resolution of any questions concerning such Summary Statements. Upon the request of either Party from time to time, the Parties’ [***] personnel will discuss any reasonable questions or reasonably arising issues in relation to the Summary Statements, including the basis for the accrual of specific Program Expenses (provided that where such Program Expenses were [***] or [***] and are within the amount most recently budgeted for the relevant Activity, the [***] that any question or issue is [***] shall be on the Party [***] such question or issue).\n(c) Reimbursement and Co-Funding Report. Within [***] after the last day of each Calendar Quarter, CSL will prepare a Reimbursement and Co-Funding Report. Without limiting the foregoing, the Reimbursement and Co-Funding Report for each such Product shall include:\n(i) the [***] and [***] which are to be shared by the Parties pursuant to Momenta’s Co-Funding (to be drawn from the Parties’ respective Summary Statements and setting out details of [***] and [***] pursuant to Section 4.3(b) and [***]);\n(ii) following the First Commercial Sale of any Product, the [***] sales of Product on a country-by-country and Product-by-Product basis, sold by each Party, its Affiliates and Sublicensees during the Calendar Quarter, including the amount of such Product sold and the [***] invoiced for such Product;\n(iii) a calculation of Net Sales of such Product from [***], including [***] on [***] allowed to be taken pursuant to [***], along with a description of the [***], [***] and [***] for such [***]; and\n(iv) The calculation, for the relevant period, of the US Profits (which, for the avoidance of doubt, the Parties agree could be [***]) and Losses, including [***] on the (A) [***] including [***], including [***] on [***] of [***], [***] and [***] variances, [***] reevaluations and [***] and any other applicable components, along with applicable accounting policies, methodologies and calculations for such components; (B) [***], including itemized information on applicable components of such costs, along with applicable accounting policies, methodologies and calculations for such components; (C) [***]; and (D) all [***] Program [***].\n(d) Payments of Cost Share and Profit Share. Based on the Reimbursement and Co-Funding Report, the applicable Party (to whom a net amount is owed to achieve the applicable Profit and Loss share percentage as set forth in Section 4.1) will invoice the other Party after such Reimbursement and Co-Funding Reports are complete, and the receiving Party will pay such invoice within [***] of receipt of invoice.\n4.4 Semi-Annual Reports when Momenta not Co-Funding. For Products which Momenta is not Co-Funding, CSL must deliver to Momenta, via the JSC, a [***] report (within [***] after [***] and [***]) that sets out, in summary form, the material elements of its Development and Commercialization plans for the preceding [***] and the [***] and shall include [***] or [***] of such plans which it [***] or [***] in the [***] and [***] or [***] of such plans which it did [***] or [***] including [***] for such [***] or [***], together with an [***] for any changes in related [***]. For the purpose of the semi-annual report provided under this Section, the Commercial plan summary shall contain the information provided under clauses (a)(iii), (iv), (v), (vi) and (viii) of Section 1.32.\n4.5 Overdue Payments. If any payment owed to a Party under this Agreement is not made when due, such outstanding payment shall accrue interest (from the date such payment is due through and including the date upon which full payment is made) at a rate of [***] per month from the due date until paid in full; provided that in no event shall said annual rate exceed the maximum interest rate permitted by Applicable Law in regard to\nsuch payments. Such payment, when made, shall be accompanied by all interest so accrued. Said interest and the payment and acceptance thereof shall not negate nor waive the right of a Party to any other remedy, legal or equitable, to which it is entitled because of the delinquency of the payment.\n4.6 Taxes. The royalties and milestones payable under Article 3, and other amounts due to either Party hereunder (“Payments”) shall not be reduced by any value-added tax or any other sales tax or duties unless required by Applicable Law; provided, however, that the Parties shall cooperate to minimize any tax liability. Each Party alone shall be responsible for paying any and all taxes (other than withholding taxes required by Applicable Law to be paid by the other Party) levied on account of, or measured in whole or in part by reference to, any Payments it receives; provided, however, that the payer shall deduct or withhold any applicable withholding taxes or similar mandatory governmental charges levied by any governmental jurisdiction from the amount due to the other Party hereunder which the payer is required by Applicable Law to deduct or withhold. CSL and Momenta will cooperate in obtaining any necessary documentation required under applicable tax law, regulation, or intergovernmental agreement. Notwithstanding the foregoing, if the Party receiving the Payment is entitled under any applicable tax treaty to a reduction of rate of, or the elimination of, applicable withholding tax, it may deliver to the payer or the appropriate governmental authority (with the assistance of the payer to the extent that this is reasonably required and is expressly requested in writing) the prescribed forms necessary to reduce the applicable rate of withholding or to relieve the payer of its obligation to withhold tax, and the payer shall apply the reduced rate of withholding, or dispense with withholding, as the case may be, provided that the payer has received evidence, in a form reasonably satisfactory to it, of the other Party’s delivery of all applicable forms (and, if necessary, its receipt of appropriate governmental authorization) at least [***] prior to the time that the Payments are due. If, in accordance with the foregoing, the payer withholds any amount, it shall pay to the other Party the balance when due, make timely payment to the proper taxing authority of the withheld amount, and send to the other Party proof of such payment within [***] following that payment. Without limiting the generality of the foregoing, the Parties acknowledge and agree that: (i) [***] is [***] and [***] is [***]; (ii) under current [***] and [***], no amount contemplated to be payable under this Agreement by [***] is subject to any [***] or [***]; and (iii) [***] a [***] in [***], [***] from the amounts payable pursuant under this Agreement [***] in respect of [***], provided that Momenta delivers a properly [***] and duly [***].\n4.7 Audits; Records and Inspection. CSL shall keep, and where Momenta has exercised a Co-Funding Option or a Co-Promotion Option or Momenta is performing Activities under a Research Plan or Product Work Plan, Momenta shall keep with respect to all relevant Products and [***] Products, complete, true and accurate books of account and records for the purpose of determining, as applicable, any reimbursement or the sharing of Program Expenses, Profits and Losses, and any royalty payable under this Agreement. Each Party shall also require its Affiliates and Sublicensees to keep all such books and records. Such books and records shall be kept at the principal place of business of each Party or its Affiliates or authorized Sublicensees, for at least [***] following the end of the Calendar Quarter to which they pertain. Upon [***] prior written notice from a Party, the other Party shall permit, and shall ensure that its Affiliates and Sublicensees shall permit, an independent certified public accounting firm of recognized international standing, selected by the requesting Party and reasonably acceptable to the other Party, at the requesting Party’s expense, to have access to such Party’s (or its Affiliates’ or Sublicensees’) records, specific to a country in the Territory, as may be reasonably necessary to verify the accuracy of any amounts reported, actually paid or payable under this Agreement for [***] to the date of such request. Such audits may be made no more than once each calendar year, during normal business hours at reasonable times mutually agreed by the Parties. If such accounting firm concludes that additional amounts were owed to the requesting Party during such period with respect to such country, or if the requesting Party overpaid for any rates or fees for products or services with respect to such country, the other Party shall pay such additional amounts or refund such overpayment (including interest on such additional sums with respect to such country of the Territory in accordance with Section 4.5) within [***] after the date the requesting Party delivers to the other Party such accounting firm’s written report so concluding. The fees charged by such accounting firm shall be paid by the requesting Party; provided, however, that if the audit discloses that the amounts payable to such Party for the audited period are more than [***] of the amounts actually paid for such period in such country of the Territory as applicable, or if the audit discloses that the other Party has [***] the [***] or [***] or [***] in the period in such country of the Territory as applicable, [***] then the other Party shall pay the reasonable fees and expenses charged by such accounting firm. Upon the\nexpiration of [***] the end of any calendar year, the calculation of any amounts payable with respect to such calendar year, or rates or fees charged for such year shall be binding and conclusive upon the Parties."}
-{"idx": 1, "level": 3, "span": "(a) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive fifty percent (50%) of all Profits and Losses for the Products and Research Products in the United States (the “50% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1\nMomenta may exercise its 50% Co-Funding Option by written notice to CSL [***] after the [***] for the [***]."}
-{"idx": 1, "level": 3, "span": "(b) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive thirty percent (30%) of all Profits and Losses for the Products and [***] Products in the United States (the “30% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1\nMomenta may exercise its 30% Co-Funding Option by written notice to CSL at any time prior to [***] after the date on which Momenta receives [***] the [***] of the [***] or [***], in each case in respect [***] the [***] is [***] and [***] to [***] (taking into account any [***] of any [***] with respect [***] may be made [***])."}
-{"idx": 1, "level": 3, "span": "(a) Total Opt-Out\nAt any time on and after the Co-Funding Option Effective Date, Momenta has the right, in its sole discretion, to cease Co-Funding for all current and future Products upon [***] written notice to CSL (the “Opt-Out Notice”); provided that, following the effective date of such Opt-Out Notice:"}
-{"idx": 1, "level": 4, "span": "(i) Momenta shall have no further obligation to co-fund Research, Development or Commercialization of any Product or [***] Product and shall have no right to share in the applicable Profit percentage; and"}
-{"idx": 1, "level": 4, "span": "(ii) Momenta will be entitled to receive all royalty and milestone payments, for all Products, that are achieved following the Opt-Out Notice Effective Date\nFor the avoidance of doubt, Momenta will not be eligible to receive any payment under Section 3.1(c) for a Development Milestone achieved prior to the Opt-Out Notice Effective Date except to the extent expressly provided with respect to Milestones 1 and 2 in Section 3.1(c); and"}
-{"idx": 1, "level": 4, "span": "(iii) CSL shall make [***] ([***] provided for below) to Momenta in a [***] to [***] (the [***]), [***] follows:"}
-{"idx": 1, "level": 4, "span": "(1) all [***], excluding [***] or [***] the [***] for which it [***], [***] reference to the [***] and [***] and taking into account both [***] and [***] the [***] to the [***] following preparation of each such [***];"}
-{"idx": 1, "level": 4, "span": "(2) [***] any [***] to Momenta as [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(b) Future Product Opt-Out\nIf Momenta is Co-Funding any Product at the time the [***] for a [***] is [***], Momenta has the right[***], upon giving written notice to CSL within [***] after the [***] for such [***] is [***], to opt out of Co-Funding that Product and all future Products and future [***] Products. In such event, Momenta would continue to [***] to the [***] to [***] under this section. [***] that were [***] or [***] for [***] which it will no longer be Co-Funding (that is, excluding those which were incurred in respect of [***] which Momenta is continuing to Co-Fund) shall be [***] the [***] of [***] in such [***] on [***] until Momenta [***], in the form of [***], the relevant [***]."}
-{"idx": 1, "level": 3, "span": "(a) Initial Payment of Program Expenses\nExcept as expressly provided otherwise in this Agreement, the Party initially incurring Program Expenses will be responsible for and pay for all Program Expenses so incurred. Each Party will accrue all Program Expenses for [***] Products and Products and maintain books and records for same in accordance with the terms and conditions hereof and in accordance with applicable Accounting Standards. Within [***] after the end of each [***], each Party will submit to the other Party a non-binding, good faith estimate of such Program Expenses accrued and Net Sales, as applicable, during the just-ended [***]."}
-{"idx": 1, "level": 3, "span": "(b) Summary Statements\nWithin [***] after the end of each Calendar Quarter, each Party will submit to the other Party a Summary Statement. Such Summary Statements shall:"}
-{"idx": 1, "level": 4, "span": "(i) specify in reasonable detail all expenses included in such Program Expenses during such Calendar Quarter and, upon the reasonable request of the other Party, shall be accompanied by invoices, and/or other appropriate supporting documentation; or"}
-{"idx": 1, "level": 4, "span": "(ii) report Program Expenses and Losses which are subject to Momenta’s current Co-Funding on a [***] (e.g., [***] costs and [***] costs); and"}
-{"idx": 1, "level": 4, "span": "(iii) contain a separate summary of the Program Expenses and Losses which Momenta is required to share pursuant to its Co-Funding."}
-{"idx": 1, "level": 3, "span": "(c) Reimbursement and Co-Funding Report\nWithin [***] after the last day of each Calendar Quarter, CSL will prepare a Reimbursement and Co-Funding Report. Without limiting the foregoing, the Reimbursement and Co-Funding Report for each such Product shall include:"}
-{"idx": 1, "level": 4, "span": "(i) the [***] and [***] which are to be shared by the Parties pursuant to Momenta’s Co-Funding (to be drawn from the Parties’ respective Summary Statements and setting out details of [***] and [***] pursuant to Section 4.3(b) and [***]);"}
-{"idx": 1, "level": 4, "span": "(ii) following the First Commercial Sale of any Product, the [***] sales of Product on a country-by-country and Product-by-Product basis, sold by each Party, its Affiliates and Sublicensees during the Calendar Quarter, including the amount of such Product sold and the [***] invoiced for such Product;"}
-{"idx": 1, "level": 4, "span": "(iii) a calculation of Net Sales of such Product from [***], including [***] on [***] allowed to be taken pursuant to [***], along with a description of the [***], [***] and [***] for such [***]; and"}
-{"idx": 1, "level": 4, "span": "(iv) The calculation, for the relevant period, of the US Profits (which, for the avoidance of doubt, the Parties agree could be [***]) and Losses, including [***] on the (A) [***] including [***], including [***] on [***] of [***], [***] and [***] variances, [***] reevaluations and [***] and any other applicable components, along with applicable accounting policies, methodologies and calculations for such components; (B) [***], including itemized information on applicable components of such costs, along with applicable accounting policies, methodologies and calculations for such components; (C) [***]; and (D) all [***] Program [***]."}
-{"idx": 1, "level": 3, "span": "(d) Payments of Cost Share and Profit Share\nBased on the Reimbursement and Co-Funding Report, the applicable Party (to whom a net amount is owed to achieve the applicable Profit and Loss share percentage as set forth in Section 4.1) will invoice the other Party after such Reimbursement and Co-Funding Reports are complete, and the receiving Party will pay such invoice within [***] of receipt of invoice."}
-{"idx": 1, "level": 2, "span": "ARTICLE 5."}
-{"idx": 1, "level": 2, "span": "RESEARCH, DEVELOPMENT, MANUFACTURING AND COMMERCIALIZATION\n5.1 Research Collaboration.\n(a) [***] Products. During the Term or a part thereof, the Parties will undertake research in respect of [***], which may include the [***] Product, in accordance with the Research Plan, which will be discussed and [***] by the Parties, and reviewed [***] by the JSC no less frequently than [***]. Selection of each [***] to be included as a [***] Product in the Research Plan shall be subject to the [***] the [***]. In selecting [***] for inclusion in the Research Plan, the Parties will have regard to [***] and [***] and [***] obtained in respect of such [***] and shall bear in mind the best interests of the collaboration and their mutual desire to Develop and Commercialize Products.\n(b) The initial Research Plan, including its duration and the [***] to be included as [***] Products, will be [***] by the Parties [***] of the Effective Date.\n(c) The Research Plan, as in effect at any time, shall identify, at a minimum:\n(i) the [***] to be subject to Research as [***] Products under the Research Plan;\n(ii) the Research Activities to be conducted by each Party with respect to such [***] Products, including which Party will be responsible for the manufacture of [***] Products;\n(iii) the estimated budget for such Research Activities on a [***] Product by [***] Product basis; and\n(iv) any preliminary research that a Party may conduct at its own expense to facilitate the proposal of future Research Activities.\n(d) [***] Product Development and Commercialization Decision for [***] Products. [***], at any time, [***], and shall so notify [***] and the notice provisions of this Agreement upon making such [***]. The date of such notice shall be the “Development Approval Date” for such [***] Product. From and after the Development Approval Date for such [***] Product, such [***] Product shall be deemed to be a “Product” under this Agreement. \n5.2 Development of Products\nCSL shall be responsible for Development of Products and for the [***] and [***] of Development Plans.\n(a) Development of each Product, including the First Product and any [***] Product which becomes a Product under this Agreement as provided in Section 5.1(d), shall be conducted pursuant to a Development Plan.\n(b) CSL shall prepare an initial Development Plan for the First Product on a basis consistent with the outline attached as Schedule 5.2(b). [***] in the [***] the [***] and [***] to [***]. Such initial Development Plan shall be [***] by the JSC on or before [***] after the Effective Date, or at such other time that is mutually agreed in writing by the Parties.\n(i) Momenta shall, unless otherwise provided for in the initial Development Plan for the First Product, use Commercially Reasonable Efforts to exercise Momenta’s rights under its [***] and [***], at [***], to [***] of the First Product for the [***] for the First Product. The expenses of [***] such [***] incurred on and from [***] shall be included in the Development Plan and [***] in accordance with the provisions of this Agreement [***] of [***] they were incurred [***] of the Development Plan, and provided that they are [***] with [***] and [***] by email or correspondence.\n(ii) The initial Development Plan and the initial Research Plan shall similarly provide for the [***] of [***] after the Effective Date regardless of whether such [***] to [***] the [***] or the [***] and provided that they are [***] with [***] and [***] by email or correspondence.\n(c) CSL shall prepare an initial Development Plan for each [***] Product that becomes a Product under this Agreement. [***] in the [***] and [***] to [***]. Such initial Development Plan for such Product shall be [***] the JSC on or before [***] after the Development Approval Date for such [***] Product.\n(d) During the [***] and [***] of any initial Development Plan, the Parties, through the JSC, shall [***] the following (subject to [***]): (1) [***] for the [***] of [***] for clinical development and potential [***], (2) [***] for [***] of clinical program [***], and (3) research efforts to [***] and [***] CSL agrees [***] to [***] related to (1), (2) and (3), which may involve activities to be performed at Momenta, including [***] for the [***] of [***].\n(e) Each Development Plan shall be updated [***] and shall contain a [***] covering at least the [***], with [***] estimates for [***] to [***] along with a [***] of [***] and [***] and [***] expected to be [***] the [***] and [***] of development, in all cases consistent with [***] and [***] processes [***]. Without limiting CSL’s general obligation to [***] as provided for in [***], [***] may [***] and [***] the Development Plan after [***] of the [***] Development Plan. [***] shall [***] through JSC meetings, Activity Reports and Annual Program Reviews provided for in Sections 5.7, 5.8 and Article 4. [***] will [***] of [***] or [***] to the Development Plan and [***] the [***] with [***] CSL will provide an [***] to Momenta via the JSC at least each [***].\n(f) As provided in [***] and [***]; CSL’s [***], if [***] cannot [***] on the [***] of any initial Development Plan for any Product within the timeframe specified above, the Parties shall [***] the [***] to [***] in accordance with [***]. If the matter remains unresolved [***] after [***] to [***], the matter may be resolved by [***] in [***] to the [***] of [***].\n(g) If Momenta is Co-Funding and CSL elects to take a [***] Product into Development and [***] the [***] and/or Commercialized are a [***] the [***] to [***] for such Product such that [***] with respect to such initial Development Plan, Momenta shall have the right to [***] such Product. Momenta shall [***] by written notice to CSL within [***] of [***]. Upon such notice, Momenta will be [***] to have [***] of [***] such Product and [***] (i.e., [***] of [***] or [***]), on the same basis and with the same consequences with respect to such Products (but no other Products) as provided with respect to all Products in [***] \n5.3 Commercialization of Products\nCSL shall be [***] and for the [***] and [***] of Commercialization Plans.\n(a) Commercialization of each Product shall be conducted pursuant to a Commercialization Plan.\n(b) CSL shall be [***] a Commercialization Plan for each Product.\n(c) CSL shall [***] Commercialization Plan for each Product no later than [***] the first [***] seeking [***] for such Product in a Major Country.\n(d) CSL shall [***], through [***], regarding the initial Commercialization Plan for any Product, but [***] the [***] by the JSC shall [***].\n(e) CSL [***] may [***] and [***] the Commercialization Plan for any Product [***], and will provide an [***] Commercialization Plan to Momenta via the JSC at least each [***].\n(f) The Commercialization Plan for each Product shall include [***] of [***] that is [***] to [***] Commercialization of such Product and [***] and [***].\n5.4 CSL’s Obligation to Share Commercialization Plans. CSL shall provide Commercialization Plans to the JSC [***] of [***] which Momenta [***], on a [***] basis, for [***] Momenta is [***] such Product.\n5.5 Manufacture of Products\n(a) CSL shall have the sole responsibility for Manufacturing strategy and shall be [***] all Products, including [***] and [***] of any [***].\n(b) Notwithstanding the foregoing, Momenta will use Commercially Reasonable Efforts to assist with [***] from [***] to CSL and Momenta [***] that it has no knowledge, at the Execution Date, of any contractual or commercial objection, either of Momenta or of its [***] to [***].\n5.6 Responsibility; Diligence.\n(a) Subject to the terms of this Agreement, each Party and its Affiliates shall use Commercially Reasonable Efforts to undertake the Activities assigned to it under each Product Work Plan and the Research Plan.\n(b) CSL shall use Commercially Reasonable Efforts to Develop, Manufacture and Commercialize Products in the Territory. Notwithstanding any other provision of this Section 5.6, CSL shall be deemed to have satisfied this obligation if CSL is [***] to (i) [***] for [***] for human use in [***] and (ii) to Commercialize each Product for human use [***] in which [***] is achieved.\n(c) The Parties recognize and agree that commercial or scientific circumstances may mean that it [***] to continue Research, Development or Commercialization of a specific Product or [***] Product, and that [***] in such circumstances [***] a [***] to satisfy its [***] hereunder provided that [***] to use Commercially Reasonable Efforts to Research, Develop or Commercialize [***] or [***] for human use or [***] for human use in satisfaction of [***].\n(d) CSL shall promptly notify Momenta of [***] of [***] on any Product or Research Product by means of a written report setting out in reasonably informative detail the reasons for [***] to [***], as applicable, Research, Development or Commercialization of such Product or [***] Product.\n5.7 Activity Reports. Each Party shall report on Activities undertaken by it in accordance with and in performance of the Product Work Plans and the Research Plan. Such reports shall be provided in connection with meetings of the JSC or as otherwise required under this Agreement.\n5.8 Annual Program Review. At the request of either Party, the JSC shall conduct an overall program review once each calendar year during the Term.\n5.9 Regulatory Matters\n(a) From and after the Effective Date, on a country-by-country basis, [***] for seeking Regulatory Approvals for the Products in each country in the Territory, in accordance with Product Work Plans. All Regulatory Submissions will be filed, [***] the [***] of [***] or its nominee, which entity will be the holder of all resulting Regulatory Approvals.\n(b) CSL will keep the JSC [***] regarding the [***] relating to the [***] or [***] of any Regulatory Approval in the Territory, which include, but are not limited to, [***] and [***] of Regulatory Submissions, [***] and [***] and [***] with Regulatory Authorities.\n(c) CSL agrees to [***] and to [***] in relation to [***] likely to be relevant to the Development and Commercialization of Products, including but not limited to [***], and further agrees that, [***] the Parties will, through the JSC, [***] and [***] and [***] from time to time.\n5.10 Momenta’s Co-Promotion Option.\n(a) In General. Subject to [***] CSL hereby grants to Momenta an option, on the terms and subject to the conditions of this Agreement, to participate in the promotion, in the U.S., of those Products which it is Co-Funding.\n(b) Exercise. Momenta may exercise its Co-Promotion Option with respect to a Product by written notice to CSL [***] prior to the [***] of the [***] for such Product as determined by reference to the most recent Development Plan for that Product reviewed by the JSC. On Momenta’s request, CSL [***] the [***] be [***] and shall [***] to [***]. Momenta shall exercise its Co-Promotion Option by written notice to CSL, following which the Parties will [***] and [***], by [***] to [***] of the [***] (as determined by reference to the most recent Development Plan for that Product reviewed by the JSC) the Commercialization Activities which Momenta will undertake (determined taking into account [***] and [***] to [***] the [***]) and the terms of a Co-Promotion Agreement to govern such Activities and the parties’ rights and obligations with respect thereto. The terms of such Co-Promotion Agreement shall be [***] and [***]. If the Parties cannot agree, the Parties shall [***] the [***] in [***], and [***] in [***] and [***] in [***] is [***]. If any inconsistency arises between the terms of this Agreement and the terms of the applicable Co-Promotion Agreement, the terms of this Agreement shall prevail. Momenta shall not have the right to promote any Product, unless and until a Co-Promotion Agreement, which permits the promotion by Momenta of such Product in the United States, is entered into by the Parties.\n(c) Co-Funding not affected by Co-Promotion. The Parties shall continue to share Profits and Losses in accordance with Article 4 with respect to each Co-Funded Product, regardless of whether Momenta exercises or does not exercise its Co-Promotion Option with respect to the Products.\n(d) CSL to book all sales. CSL will book (directly itself or indirectly through any of its Affiliates and Sublicensees) all sales revenue of the Products in the Territory.\n(e) Consequences for Co-Promotion of decision by Momenta not to exercise its Co-Funding Option or of Co-Funding Opt-Out. Momenta’s rights under this Section 5.10 will cease as of:\n(i) the deadline for Momenta’s exercise of its 30% Co-Funding Option, if Momenta fails to exercise its Co-Funding Option; or\n(ii) the Opt-Out Effective Date for each Product in respect of which Momenta has exercised, or still maintains, a Co-Funding Option and subsequently exercises its right to opt out of such Co-Funding Option,\nand any Co-Promotion Agreement shall automatically terminate in accordance with its terms.\n5.11 Exclusive Collaboration. For as long as there is [***], each Party shall collaborate exclusively with respect to any [***] with the other Party regarding Research or Development and shall not, and shall ensure that its respective Affiliates and Sublicensees shall not, independently undertake, or collaborate with or license any Third Party or any [***] who has Intellectual Property and activities [***] the [***] the [***] of [***] to [***] and/or Development of any [***] without the other Party`s prior written consent (which may be granted or withheld in such other Party’s absolute discretion). During the Term each Party shall collaborate exclusively with respect to any [***] with the other Party regarding Manufacture or Commercialization and shall not, and shall ensure that its respective Affiliates and Sublicensees shall not independently undertake, or collaborate with or license any Third Party or any [***] who has Intellectual Property and activities [***] the [***] the [***] of [***] to [***] or [***] of any [***] without the other Party’s prior written consent (which may be granted or withheld in such other Party’s absolute discretion). Exceptions from these obligations apply as follows:\n(a) To perform such [***] as may be required to [***] and [***] a [***] for [***] as a [***] Product under this Agreement as provided in Section 5.1 (Research Collaboration);\n(b) To conduct [***] or [***] with respect to an Acquired Product in compliance with Section 2.8; and\n(c) As provided in Section 5.12 ([***]) and Section 5.14 ([***] on the [***] in Certain Circumstances).\nThe provisions of this Section 5.11 shall not apply to any activity by an [***] of a Party following a [***] or any Affiliate of such [***] (other than an Affiliate of such Party prior to the [***]) to the extent that such activity is engaged in without using or incorporating any Collaboration Technology Controlled by such Party or otherwise licensed to such Party under this Agreement, where [***] or [***] the [***] or [***] of [***] or [***] of [***] of [***].\n5.12 [***]. In respect of any Product [***] is [***] or [***], or any [***] to [***], CSL will reasonably consider and discuss [***] of [***] and/or [***] such Product or [***] Product. Momenta may initiate discussions regarding such [***] at any time by written notice to CSL. Following such discussion, CSL will notify Momenta [***] to [***] and [***], such [***] to [***], and [***] of its [***]. In no circumstances shall it be [***] to [***] to any [***] and/or [***] of a Product or [***] Product in [***] which is included in [***] or [***]. For the avoidance of doubt, the provisions of this Section do not [***].\n5.13 Development or Commercialization other than for Human Use. Neither Party will be required to Co-Fund or invest any amounts in respect of activities (including Activities) aimed at exploitation, Development or Commercialization of Products or [***] other than for human use unless it has provided prior written consent to such activities. Should [***] to initiate Development or Commercialization of a [***] in a field other than for human use, [***] and [***] and [***] of a [***]. The Parties shall [***] and [***] to [***] on such terms within [***] of [***] the [***]. If after [***], the Parties are [***], then the Parties shall resolve the dispute first through [***], and if the [***] are unable to resolve the dispute, the Parties will try, in [***], to resolve the dispute by [***] pursuant to the [***] of the [***]). The [***] or [***] the [***]. The place of [***] will be [***]. If the dispute cannot be resolved by [***] within [***], such dispute will be resolved by [***].\n5.14 Further Research on the First Product by Momenta in Certain Circumstances. Where the [***] is [***], and CSL has not [***] after the [***] the [***], of [***] either to [***] the [***] Clinical Trial or of [***] to [***] to [***] the [***] (which the Parties agree could [***] prior to [***] or [***]), Momenta may [***] with respect to the [***] with a view to [***] and [***] the [***]. Following such [***], Momenta may present the [***] to CSL [***] and if, following [***] of [***], CSL [***] of the [***], Momenta’s [***] the [***] into the [***] shall be considered [***] under this Agreement. "}
-{"idx": 1, "level": 3, "span": "(a) [***] Products\nDuring the Term or a part thereof, the Parties will undertake research in respect of [***], which may include the [***] Product, in accordance with the Research Plan, which will be discussed and [***] by the Parties, and reviewed [***] by the JSC no less frequently than [***]. Selection of each [***] to be included as a [***] Product in the Research Plan shall be subject to the [***] the [***]. In selecting [***] for inclusion in the Research Plan, the Parties will have regard to [***] and [***] and [***] obtained in respect of such [***] and shall bear in mind the best interests of the collaboration and their mutual desire to Develop and Commercialize Products."}
-{"idx": 1, "level": 3, "span": "(b) The initial Research Plan, including its duration and the [***] to be included as [***] Products, will be [***] by the Parties [***] of the Effective Date."}
-{"idx": 1, "level": 3, "span": "(c) The Research Plan, as in effect at any time, shall identify, at a minimum:"}
-{"idx": 1, "level": 4, "span": "(i) the [***] to be subject to Research as [***] Products under the Research Plan;"}
-{"idx": 1, "level": 4, "span": "(ii) the Research Activities to be conducted by each Party with respect to such [***] Products, including which Party will be responsible for the manufacture of [***] Products;"}
-{"idx": 1, "level": 4, "span": "(iii) the estimated budget for such Research Activities on a [***] Product by [***] Product basis; and"}
-{"idx": 1, "level": 4, "span": "(iv) any preliminary research that a Party may conduct at its own expense to facilitate the proposal of future Research Activities."}
-{"idx": 1, "level": 3, "span": "(d) [***] Product Development and Commercialization Decision for [***] Products\n[***], at any time, [***], and shall so notify [***] and the notice provisions of this Agreement upon making such [***]. The date of such notice shall be the “Development Approval Date” for such [***] Product. From and after the Development Approval Date for such [***] Product, such [***] Product shall be deemed to be a “Product” under this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) Development of each Product, including the First Product and any [***] Product which becomes a Product under this Agreement as provided in Section 5.1(d), shall be conducted pursuant to a Development Plan."}
-{"idx": 1, "level": 3, "span": "(b) CSL shall prepare an initial Development Plan for the First Product on a basis consistent with the outline attached as Schedule 5.2(b)\n[***] in the [***] the [***] and [***] to [***]. Such initial Development Plan shall be [***] by the JSC on or before [***] after the Effective Date, or at such other time that is mutually agreed in writing by the Parties."}
-{"idx": 1, "level": 4, "span": "(i) Momenta shall, unless otherwise provided for in the initial Development Plan for the First Product, use Commercially Reasonable Efforts to exercise Momenta’s rights under its [***] and [***], at [***], to [***] of the First Product for the [***] for the First Product\nThe expenses of [***] such [***] incurred on and from [***] shall be included in the Development Plan and [***] in accordance with the provisions of this Agreement [***] of [***] they were incurred [***] of the Development Plan, and provided that they are [***] with [***] and [***] by email or correspondence."}
-{"idx": 1, "level": 4, "span": "(ii) The initial Development Plan and the initial Research Plan shall similarly provide for the [***] of [***] after the Effective Date regardless of whether such [***] to [***] the [***] or the [***] and provided that they are [***] with [***] and [***] by email or correspondence."}
-{"idx": 1, "level": 3, "span": "(c) CSL shall prepare an initial Development Plan for each [***] Product that becomes a Product under this Agreement\n[***] in the [***] and [***] to [***]. Such initial Development Plan for such Product shall be [***] the JSC on or before [***] after the Development Approval Date for such [***] Product."}
-{"idx": 1, "level": 3, "span": "(d) During the [***] and [***] of any initial Development Plan, the Parties, through the JSC, shall [***] the following (subject to [***]): (1) [***] for the [***] of [***] for clinical development and potential [***], (2) [***] for [***] of clinical program [***], and (3) research efforts to [***] and [***] CSL agrees [***] to [***] related to (1), (2) and (3), which may involve activities to be performed at Momenta, including [***] for the [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(e) Each Development Plan shall be updated [***] and shall contain a [***] covering at least the [***], with [***] estimates for [***] to [***] along with a [***] of [***] and [***] and [***] expected to be [***] the [***] and [***] of development, in all cases consistent with [***] and [***] processes [***]\nWithout limiting CSL’s general obligation to [***] as provided for in [***], [***] may [***] and [***] the Development Plan after [***] of the [***] Development Plan. [***] shall [***] through JSC meetings, Activity Reports and Annual Program Reviews provided for in Sections 5.7, 5.8 and Article 4. [***] will [***] of [***] or [***] to the Development Plan and [***] the [***] with [***] CSL will provide an [***] to Momenta via the JSC at least each [***]."}
-{"idx": 1, "level": 3, "span": "(f) As provided in [***] and [***]; CSL’s [***], if [***] cannot [***] on the [***] of any initial Development Plan for any Product within the timeframe specified above, the Parties shall [***] the [***] to [***] in accordance with [***]\nIf the matter remains unresolved [***] after [***] to [***], the matter may be resolved by [***] in [***] to the [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(g) If Momenta is Co-Funding and CSL elects to take a [***] Product into Development and [***] the [***] and/or Commercialized are a [***] the [***] to [***] for such Product such that [***] with respect to such initial Development Plan, Momenta shall have the right to [***] such Product\nMomenta shall [***] by written notice to CSL within [***] of [***]. Upon such notice, Momenta will be [***] to have [***] of [***] such Product and [***] (i.e., [***] of [***] or [***]), on the same basis and with the same consequences with respect to such Products (but no other Products) as provided with respect to all Products in [***]"}
-{"idx": 1, "level": 3, "span": "(a) Commercialization of each Product shall be conducted pursuant to a Commercialization Plan."}
-{"idx": 1, "level": 3, "span": "(b) CSL shall be [***] a Commercialization Plan for each Product."}
-{"idx": 1, "level": 3, "span": "(c) CSL shall [***] Commercialization Plan for each Product no later than [***] the first [***] seeking [***] for such Product in a Major Country."}
-{"idx": 1, "level": 3, "span": "(d) CSL shall [***], through [***], regarding the initial Commercialization Plan for any Product, but [***] the [***] by the JSC shall [***]."}
-{"idx": 1, "level": 3, "span": "(e) CSL [***] may [***] and [***] the Commercialization Plan for any Product [***], and will provide an [***] Commercialization Plan to Momenta via the JSC at least each [***]."}
-{"idx": 1, "level": 3, "span": "(f) The Commercialization Plan for each Product shall include [***] of [***] that is [***] to [***] Commercialization of such Product and [***] and [***]."}
-{"idx": 1, "level": 3, "span": "(a) CSL shall have the sole responsibility for Manufacturing strategy and shall be [***] all Products, including [***] and [***] of any [***]."}
-{"idx": 1, "level": 3, "span": "(b) Notwithstanding the foregoing, Momenta will use Commercially Reasonable Efforts to assist with [***] from [***] to CSL and Momenta [***] that it has no knowledge, at the Execution Date, of any contractual or commercial objection, either of Momenta or of its [***] to [***]."}
-{"idx": 1, "level": 3, "span": "(a) Subject to the terms of this Agreement, each Party and its Affiliates shall use Commercially Reasonable Efforts to undertake the Activities assigned to it under each Product Work Plan and the Research Plan."}
-{"idx": 1, "level": 3, "span": "(b) CSL shall use Commercially Reasonable Efforts to Develop, Manufacture and Commercialize Products in the Territory\nNotwithstanding any other provision of this Section 5.6, CSL shall be deemed to have satisfied this obligation if CSL is [***] to (i) [***] for [***] for human use in [***] and (ii) to Commercialize each Product for human use [***] in which [***] is achieved."}
-{"idx": 1, "level": 3, "span": "(c) The Parties recognize and agree that commercial or scientific circumstances may mean that it [***] to continue Research, Development or Commercialization of a specific Product or [***] Product, and that [***] in such circumstances [***] a [***] to satisfy its [***] hereunder provided that [***] to use Commercially Reasonable Efforts to Research, Develop or Commercialize [***] or [***] for human use or [***] for human use in satisfaction of [***]."}
-{"idx": 1, "level": 3, "span": "(d) CSL shall promptly notify Momenta of [***] of [***] on any Product or Research Product by means of a written report setting out in reasonably informative detail the reasons for [***] to [***], as applicable, Research, Development or Commercialization of such Product or [***] Product."}
-{"idx": 1, "level": 3, "span": "(a) From and after the Effective Date, on a country-by-country basis, [***] for seeking Regulatory Approvals for the Products in each country in the Territory, in accordance with Product Work Plans\nAll Regulatory Submissions will be filed, [***] the [***] of [***] or its nominee, which entity will be the holder of all resulting Regulatory Approvals."}
-{"idx": 1, "level": 3, "span": "(b) CSL will keep the JSC [***] regarding the [***] relating to the [***] or [***] of any Regulatory Approval in the Territory, which include, but are not limited to, [***] and [***] of Regulatory Submissions, [***] and [***] and [***] with Regulatory Authorities."}
-{"idx": 1, "level": 3, "span": "(c) CSL agrees to [***] and to [***] in relation to [***] likely to be relevant to the Development and Commercialization of Products, including but not limited to [***], and further agrees that, [***] the Parties will, through the JSC, [***] and [***] and [***] from time to time."}
-{"idx": 1, "level": 3, "span": "(a) In General\nSubject to [***] CSL hereby grants to Momenta an option, on the terms and subject to the conditions of this Agreement, to participate in the promotion, in the U.S., of those Products which it is Co-Funding."}
-{"idx": 1, "level": 3, "span": "(b) Exercise\nMomenta may exercise its Co-Promotion Option with respect to a Product by written notice to CSL [***] prior to the [***] of the [***] for such Product as determined by reference to the most recent Development Plan for that Product reviewed by the JSC. On Momenta’s request, CSL [***] the [***] be [***] and shall [***] to [***]. Momenta shall exercise its Co-Promotion Option by written notice to CSL, following which the Parties will [***] and [***], by [***] to [***] of the [***] (as determined by reference to the most recent Development Plan for that Product reviewed by the JSC) the Commercialization Activities which Momenta will undertake (determined taking into account [***] and [***] to [***] the [***]) and the terms of a Co-Promotion Agreement to govern such Activities and the parties’ rights and obligations with respect thereto. The terms of such Co-Promotion Agreement shall be [***] and [***]. If the Parties cannot agree, the Parties shall [***] the [***] in [***], and [***] in [***] and [***] in [***] is [***]. If any inconsistency arises between the terms of this Agreement and the terms of the applicable Co-Promotion Agreement, the terms of this Agreement shall prevail. Momenta shall not have the right to promote any Product, unless and until a Co-Promotion Agreement, which permits the promotion by Momenta of such Product in the United States, is entered into by the Parties."}
-{"idx": 1, "level": 3, "span": "(c) Co-Funding not affected by Co-Promotion\nThe Parties shall continue to share Profits and Losses in accordance with Article 4 with respect to each Co-Funded Product, regardless of whether Momenta exercises or does not exercise its Co-Promotion Option with respect to the Products."}
-{"idx": 1, "level": 3, "span": "(d) CSL to book all sales\nCSL will book (directly itself or indirectly through any of its Affiliates and Sublicensees) all sales revenue of the Products in the Territory."}
-{"idx": 1, "level": 3, "span": "(e) Consequences for Co-Promotion of decision by Momenta not to exercise its Co-Funding Option or of Co-Funding Opt-Out\nMomenta’s rights under this Section 5.10 will cease as of:"}
-{"idx": 1, "level": 4, "span": "(i) the deadline for Momenta’s exercise of its 30% Co-Funding Option, if Momenta fails to exercise its Co-Funding Option; or"}
-{"idx": 1, "level": 4, "span": "(ii) the Opt-Out Effective Date for each Product in respect of which Momenta has exercised, or still maintains, a Co-Funding Option and subsequently exercises its right to opt out of such Co-Funding Option,"}
-{"idx": 1, "level": 3, "span": "(a) To perform such [***] as may be required to [***] and [***] a [***] for [***] as a [***] Product under this Agreement as provided in Section 5.1 (Research Collaboration);"}
-{"idx": 1, "level": 3, "span": "(b) To conduct [***] or [***] with respect to an Acquired Product in compliance with Section 2.8; and"}
-{"idx": 1, "level": 3, "span": "(c) As provided in Section 5.12 ([***]) and Section 5.14 ([***] on the [***] in Certain Circumstances)."}
-{"idx": 1, "level": 2, "span": "ARTICLE 6."}
-{"idx": 1, "level": 2, "span": "GOVERNANCE\n6.1 In General. The Parties will establish a JSC. The structure, scope of responsibility and authority of the JSC shall be as set forth in this Article 6 and are subject to the terms of this Agreement.\n6.2 Structure. The JSC shall initially consist of four (4) representatives from each of CSL and Momenta, including each Party’s Alliance Manager. The JSC shall appoint a chairperson from among its members, who shall be a representative from CSL. The chairperson shall be responsible for notifying the Parties’ representatives of JSC meetings and for leading the meetings. The initial JSC representatives for each Party shall be set forth in writing within [***] after the Effective Date. Each Party may replace its representatives by providing written notice to the other Party. Employees and other representatives of each Party who are not members of the JSC may attend meetings of the JSC and any Sub-Committees as requested by that Party’s members of the JSC.\n6.3 Time and Location of Meetings. The JSC (and all Sub-Committees thereof) shall meet at such times and in such manner (either in person or remotely) as the JSC shall determine; provided, however, that the initial meeting of the JSC shall be held no later than [***] after the Effective Date. Thereafter, the JSC shall meet at least once per [***] and in any event within [***] of receiving [***] which requires [***] the [***] and either a [***] the [***] or [***], the timing of which [***] on the JSC meeting. [***] of [***] meetings of the JSC, determined on an annual basis, shall be held in the [***] or [***].\n6.4 Minutes. The JSC and all Sub-Committees thereof shall designate for each meeting one (1) person who shall be responsible for drafting and issuing minutes of the meeting reflecting all material items discussed and any agreements of the JSC, which minutes shall be distributed to all JSC members for review and approval. Such minutes shall provide a description in reasonable detail of the discussions held at the meeting and a list of any actions, or determinations arising out of the meeting. Minutes of each JSC meeting shall be distributed to all JSC members [***] of such meeting and shall be finalized and approved [***] after each such meeting. Approval of minutes may be indicated by email and by signature by one (1) JSC member from each Party; provided that if a Party’s JSC members have not notified the JSC of such members’ disapproval of such minutes prior to [***] after the meeting, such minutes shall be deemed approved by, and binding on, such Party’s JSC members. Final minutes of each meeting shall be distributed to the members of the JSC by the chairperson.\n6.5 Sub-Committees. The JSC may agree upon the formation of certain Sub-Committees to assist it to discharge its functions under this Agreement. Sub-Committees shall not have decision-making authority and may only provide advice, guidance and recommendations to the JSC, or provide oversight of particular activities undertaken by the Parties pursuant to the Agreement and report back to the JSC to enable it to perform its [***] and [***] functions.\n6.6 Scope of Authority; Responsibilities.\n(a) The JSC shall perform the functions and assume the responsibilities and have such authority only as set forth in this Agreement. The JSC shall perform [***] and [***], including reviewing and providing input on the [***] and [***] and [***] the [***] performed under the Product Work Plans and the Research Plan and facilitating the sharing of information and reporting of [***] between the Parties.\n(b) For the avoidance of doubt, the JSC shall have no authority to: (i) amend any of the terms of this Agreement, including by means of JSC minutes, Product Work Plans, Research Plans or otherwise; (ii) waive any rights that either Party may otherwise have pursuant to this Agreement or otherwise; (iii) allocate the ownership of any Patent Rights or rights to any Know-How or the Parties’ rights to apply for Patent(s); or (iv) interpret this Agreement, or determine whether or not a Party has met its diligence or other obligations under the Agreement or whether or not a breach of this Agreement has occurred. Notwithstanding the foregoing, the JSC may make recommendations to the Parties for amendment of this Agreement.\n6.7 Review and approval by JSC; CSL’s Final Decision-Making Authority. If a provision of this Agreement requires the approval of the JSC, such approval must be unanimous, with representatives of CSL having one (1) collective vote and representatives of Momenta having one (1) collective vote; provided that if the JSC fails to reach such approval, the Parties shall refer the dispute to their respective senior management representatives in accordance with Section 13.11(a). If the matter remains unresolved [***] referral to such senior management representatives, the matter may be resolved [***].\n6.8 Concerns regarding costs of Activities in respect of Products which Momenta is Co-Funding. If Momenta is Co-Funding a Product (a “Co-Funded Product”) and the actual Program Expenses of Development and/or Commercialization of such Co-Funded Product exceed the budgeted amounts for such Co-Funded Product by more than [***] over [***] and the [***] for [***] for the [***] also [***] the [***] in the [***] by more than [***], and such [***] does [***] to [***] to [***] in [***] or [***] by [***], in each case in relation to the relevant Co-Funded Product then the following process shall apply:\n(a) At least thirty (30) days prior to the next scheduled meeting of the JSC, Momenta may notify CSL in writing [***] in [***] detail [***] of [***] in [***] to the [***] with [***] to [***]. The matter will then be discussed at the next meeting of the JSC, at which meeting CSL [***] a [***] of [***] in [***] to [***], including any [***] its [***] and [***].\n(b) If Momenta is [***] that CSL’s [***] its [***], Momenta may, [***] the [***] each [***] for resolution under [***].\n(c) If Momenta’s [***] after [***] to [***], Momenta may [***] the [***] for [***] as [***] in [***], and then [***] in [***] for [***] in [***] with [***] to determine whether [***] and, if so, [***] the [***] by [***] in [***] of the [***] a [***] in [***] to [***] the [***]. The [***] shall have at least [***] has [***] the [***] or [***] of a [***] or [***]. In determining whether [***] were [***] of [***], the [***] shall have regard to the Activities set out in the current and previous Product Work Plans for such Co-Funded Product, any changes in the scope of such Activities [***] were [***] or [***] by [***] for the [***] or [***] of the relevant Product, the [***] for such [***], any [***] to the [***] of [***] which [***] the [***] of [***] be [***] to the [***] of [***] that [***] to [***] on [***] the [***]. If, following [***], it is determined that [***] are [***] and the [***] by [***] were [***] of [***] by [***] shall be [***] for [***] by the [***] to be [***] of [***] and [***] to [***] of [***] by [***] after such [***].\n6.9 Costs and Expenses of JSC. Each Party shall be responsible for all travel costs, labor costs and out-of-pocket expenses incurred by its respective representatives in connection with attending the meetings and otherwise being part of the JSC and of any Sub-Committee.\n6.10 Term of the JSC and Sub-Committees. The JSC shall, unless otherwise mutually agreed by the Parties, continue through the Term.\n6.11 Alliance Managers.\n(a) Appointment. Each of the Parties shall appoint an Alliance Manager. Each Party may change its designated Alliance Manager from time to time upon written notice to the other Party.\n(b) Responsibilities. The Alliance Managers shall be appointed members of the JSC and each Sub-Committee and shall attend all JSC and Sub-Committee meetings and support the chairpersons of JSC and Sub-Committees in the discharge of their responsibilities. In addition to the Alliance Managers’ duties as members of the JSC, each Alliance Manager: (i) will be the point of first referral in all matters of conflict resolution; (ii) will identify and bring disputes to the attention of the JSC in a timely manner; and (iii) will take responsibility for ensuring that governance activities, such as the conduct of required JSC and Sub-Committee meetings and production of meeting minutes, occur as set forth in this Agreement, and that relevant action items resulting from such meetings are appropriately carried out or otherwise addressed."}
-{"idx": 1, "level": 3, "span": "(a) The JSC shall perform the functions and assume the responsibilities and have such authority only as set forth in this Agreement\nThe JSC shall perform [***] and [***], including reviewing and providing input on the [***] and [***] and [***] the [***] performed under the Product Work Plans and the Research Plan and facilitating the sharing of information and reporting of [***] between the Parties."}
-{"idx": 1, "level": 3, "span": "(b) For the avoidance of doubt, the JSC shall have no authority to: (i) amend any of the terms of this Agreement, including by means of JSC minutes, Product Work Plans, Research Plans or otherwise; (ii) waive any rights that either Party may otherwise have pursuant to this Agreement or otherwise; (iii) allocate the ownership of any Patent Rights or rights to any Know-How or the Parties’ rights to apply for Patent(s); or (iv) interpret this Agreement, or determine whether or not a Party has met its diligence or other obligations under the Agreement or whether or not a breach of this Agreement has occurred\nNotwithstanding the foregoing, the JSC may make recommendations to the Parties for amendment of this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) At least thirty (30) days prior to the next scheduled meeting of the JSC, Momenta may notify CSL in writing [***] in [***] detail [***] of [***] in [***] to the [***] with [***] to [***]\nThe matter will then be discussed at the next meeting of the JSC, at which meeting CSL [***] a [***] of [***] in [***] to [***], including any [***] its [***] and [***]."}
-{"idx": 1, "level": 3, "span": "(b) If Momenta is [***] that CSL’s [***] its [***], Momenta may, [***] the [***] each [***] for resolution under [***]."}
-{"idx": 1, "level": 3, "span": "(c) If Momenta’s [***] after [***] to [***], Momenta may [***] the [***] for [***] as [***] in [***], and then [***] in [***] for [***] in [***] with [***] to determine whether [***] and, if so, [***] the [***] by [***] in [***] of the [***] a [***] in [***] to [***] the [***]\nThe [***] shall have at least [***] has [***] the [***] or [***] of a [***] or [***]. In determining whether [***] were [***] of [***], the [***] shall have regard to the Activities set out in the current and previous Product Work Plans for such Co-Funded Product, any changes in the scope of such Activities [***] were [***] or [***] by [***] for the [***] or [***] of the relevant Product, the [***] for such [***], any [***] to the [***] of [***] which [***] the [***] of [***] be [***] to the [***] of [***] that [***] to [***] on [***] the [***]. If, following [***], it is determined that [***] are [***] and the [***] by [***] were [***] of [***] by [***] shall be [***] for [***] by the [***] to be [***] of [***] and [***] to [***] of [***] by [***] after such [***]."}
-{"idx": 1, "level": 3, "span": "(a) Appointment\nEach of the Parties shall appoint an Alliance Manager. Each Party may change its designated Alliance Manager from time to time upon written notice to the other Party."}
-{"idx": 1, "level": 3, "span": "(b) Responsibilities\nThe Alliance Managers shall be appointed members of the JSC and each Sub-Committee and shall attend all JSC and Sub-Committee meetings and support the chairpersons of JSC and Sub-Committees in the discharge of their responsibilities. In addition to the Alliance Managers’ duties as members of the JSC, each Alliance Manager: (i) will be the point of first referral in all matters of conflict resolution; (ii) will identify and bring disputes to the attention of the JSC in a timely manner; and (iii) will take responsibility for ensuring that governance activities, such as the conduct of required JSC and Sub-Committee meetings and production of meeting minutes, occur as set forth in this Agreement, and that relevant action items resulting from such meetings are appropriately carried out or otherwise addressed."}
-{"idx": 1, "level": 2, "span": "ARTICLE 7."}
-{"idx": 1, "level": 2, "span": "INTELLECTUAL PROPERTY\n7.1 Ownership. The following ownership arrangements will apply unless the Parties [***] in and agree to varying them in respect of any particular Intellectual Property.\n(a) Ownership of Intellectual Property. Determinations as to which Party owns any Patent Right or Know-How developed pursuant to this Agreement will be made in accordance with the standards of inventorship under [***]. Subject to the license grants under Article 2, as between the Parties (i) CSL or its Affiliates will own all Intellectual Property invented solely by or on behalf of CSL, and (ii) Momenta will own all Intellectual Property invented solely by or on behalf of Momenta. Each Party or its designated Affiliate, will own an undivided one-half interest in and to the Joint Intellectual Property. In the event inventorship and ownership of any Intellectual Property cannot be resolved by the Parties with advice of their respective intellectual property counsel, such dispute will be resolved through [***] to [***] at [***] in [***] and [***] and [***] and [***] or [***]. Each Party shall make such assignments as are required to effect the ownership allocations set forth in this Section 7.1(a). Subject to the licenses granted to the other Party under this Agreement and the other terms of this Agreement, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; provided that, neither Party may assign its right, title, or interest in the Joint Intellectual Property to any Person, except (a) in connection with a permitted transaction under Section 13.3, or (b) to an Affiliate; and further provided that, neither Party may [***] or [***] in [***] that [***] and [***] to a [***] or [***] in [***] with [***]. For avoidance of doubt, assertion of Momenta Patent Rights that are infringed by a third party with respect to a product that is not a [***] Product or a Product [***] is outside the scope of this Agreement.\n(b) Employee Assignment. Each Party shall procure from each of its employees and permitted assignees and subcontractors who are conducting work under this Agreement, rights to any and all Intellectual Property such that it is properly secured as CSL Intellectual Property, Momenta Intellectual Property, and Joint Intellectual Property, as applicable, such that each Party shall receive from the other Party, without payments beyond those contemplated by this Agreement, the rights granted to such Party to use such CSL Intellectual Property (in the case of CSL), Momenta Intellectual Property (in the case of Momenta), Joint Intellectual Property, as applicable, pursuant to this Agreement. In the event such rights have not been secured or any original holder challenges such procurement, the Party responsible for procuring such rights shall bear the entire costs or damages arising from the failure of or challenge to such procurement.\n7.2 Prosecution and Maintenance of Patent Rights.\n(a) Patent Prosecution and Maintenance.\n(i) Momenta will have the first right, but not the obligation, to prepare, file, prosecute and maintain the Momenta Patent Rights at Momenta’s cost. Where Momenta Patent Rights Cover or, if issued would Cover, a Product or a [***] Product, Momenta will provide CSL with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***] and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Momenta Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***].\n(ii) CSL will have the first right, but not the obligation, to prepare, file, prosecute and maintain the CSL Patent Rights in the Territory at CSL’s cost. In respect of CSL Patents which arise out of the Research Plan or Product Work Plan, and only during the period in which Momenta retains a Co-Funding Option or is Co-Funding, CSL will provide Momenta with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the CSL Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action\nbefore a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***].\n(iii) On a case by case basis, the Parties will discuss, for a period not to [***], and agree which of them is best placed to prepare, file, prosecute and maintain the Joint Patent Rights in the Territory. Absent agreement, the Party which contributed the Product or [***] Product in the context of which the invention claimed in the Joint Patent Rights was invented or, if that [***] the [***] which [***] the [***] or [***] the [***] will [***] the [***] the [***] to manage such Patent Rights. The Party responsible for the prosecution of Joint Patent Rights shall bear the external costs of such Joint Patent Rights, and each Party shall be responsible for its own internal costs. The responsible Party shall provide the other Party with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***], and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Joint Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***].\n(iv) A Party providing comments in accordance with this Section 7.2(a) will provide such comments, if any, expeditiously and in any event in reasonably sufficient time to meet any filing deadline communicated to it by the other Party. The Party receiving any such patent application and correspondence will maintain such information in confidence, except for patent applications that have been published and official correspondence that is publicly available.\n(b) Second Rights. If a Party decides not to file, prosecute or maintain a Patent Right pursuant to this Section 7.2(a), to the extent such Patent Right Covers the Development, Manufacture or Commercialization of a Product or a [***] Product, such Party will give the other Party reasonable notice to that effect sufficiently in advance of any deadline for any filing with respect to such Patent Right to permit the other Party to carry out such activity. After such notice, such other Party may, subject to the terms of any applicable license, file, prosecute and maintain the Patent Right, and perform such acts as may be reasonably necessary for such other Party to file, prosecute or maintain such Patent Right at its own cost. If a Party does elect to file, prosecute and maintain a Patent Right pursuant to this Section 7.2(b), then the non-electing Party shall provide such cooperation to the electing Party, including the execution and filing of appropriate instruments, as may reasonably be requested to facilitate the transition of such patent activities.\n(c) Patent Term Extensions.\n(i) Regardless of which Party is filing, prosecuting and maintaining any Patent Right pursuant to this Article 7, the Parties shall discuss all opportunities for patent term extensions with respect to the Momenta Patent Rights, the CSL Patent Rights and the Joint Patent Rights in the Territory, and seek to reach agreement on which Patent Rights to seek to extend.\n(ii) Unless otherwise agreed under clause (i) above, in any country where only a single patent can be extended for a given Product, [***] the [***] to [***] to [***] that [***] for [***] in [***] or [***] that [***] for [***] in [***] for [***] for [***] and shall cooperate with [***] to allow [***] to [***] for [***] at [***].\n(iii) The Parties will cooperate with each other including without limitation to provide necessary information and assistance as the other Party may reasonably request in obtaining patent term extension (including any supplemental protection certificates or the like) or any similar rights in any country in the Territory.\n(iv) Except as provided in Section 7.2(c)(ii) above, CSL shall be responsible for the cost of seeking any extensions.\n(d) CREATE Act. Notwithstanding anything to the contrary in this Article 7, the Parties have agreed to elect under the Cooperative Research and Technology Enhancement Act of 2004, (Public Law 108-453, 118 Stat. 3596 (2004)), as codified in 35 U.S.C. § 103(c)(2)-(c)(3) or 35 U.S.C. § 102(c), as applicable,\nwith respect to their rights under this Article 7. The Parties acknowledge and agree that this Agreement is a “joint research agreement” as defined in 35 U.S.C. § 100(h).\n7.3 Trademarks and Domain Names.\n(a) Each Party and its Affiliates shall retain all right, title and interest in and to its and their respective corporate names and logos.\n(b) All Products are to be Commercialized in the Territory under the Product Trademark and the Product Domain Names. CSL will own all Product Trademarks and Product Domain Names, and is responsible for the filing, prosecution, registration and maintenance of such Product Trademarks and the registration and maintenance of such Product Domain Names. The expenses of the selection, filing, prosecution and maintenance of the Product Trademarks and obtaining and maintaining the Product Domain Name shall be borne by CSL.\n(c) In the event either Party becomes aware of any actual or threatened infringement of any Product Trademark or Product Domain Name by a Third Party, such Party shall promptly notify the other Party and the Parties shall consult with each other and jointly determine the best way to prevent such infringement, including, without limitation, by the institution of legal proceedings against such Third Party. CSL shall have the first right to initiate, to control and to resolve (including by way of settlement) any such legal proceedings.\n7.4 Enforcement and Defense of Enforcement Intellectual Property.\n(a) Notice of Infringement by a Third Party. Each Party shall provide to the other Party prompt written notice of any Infringement of the subset of Patent Rights and Know-How Controlled by a Party (x) to the extent such Patent Rights or Know How are exclusively owned by, are Joint Intellectual Property or exclusive license rights are held by, a Party or the Parties with respect to the relevant Product or for the class of [***], other than under a license under this Agreement; and (y) to the extent such claims are directed to inventions Covering the manufacture, sale, import or use of a Product or a [***] Product (the “Enforcement Intellectual Property Rights”), in all cases prior to initiating any legal proceedings with respect to such Infringement.\n(b) Initial Right to Enforce. Subject to Section 7.4(d) and the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, (i) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce (x) CSL Intellectual Property and Joint Intellectual Property in the Territory and (y) any [***] to [***] where the alleged Infringement involves manufacture or sale, or threatened manufacture or sale, of a product that is, or will, compete with a Product under this Agreement and (ii) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce [***] in the Territory except as set out in (i). The other Party shall have the right to participate in such suit or action as provided for in Section 7.4(d).\n(c) Step-In Right. Subject to the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, if the Party with the first right to enforce (the “Initial Enforcement Rights Party”) Momenta Intellectual Property, CSL Intellectual Property or Joint Intellectual Property fails to initiate a suit or take other appropriate action that it has the initial right to initiate or take pursuant to Section 7.4(b) with respect to an Infringement within ninety (90) days after becoming aware of the basis for such suit or action, then the other Party (the “Secondary Enforcement Rights Party”) may, in its discretion, provide the Initial Enforcement Rights Party with written notice of such Secondary Enforcement Rights Party’s intent to initiate a suit and control or take other appropriate action with respect to such Infringement in the Territory. If the Secondary Enforcement Rights Party provides such notice and the Initial Enforcement Rights Party fails to initiate a suit or take such other\nappropriate action within thirty (30) days after receipt of such notice from the Secondary Enforcement Rights Party, then the Secondary Enforcement Rights Party shall have the right to initiate a suit and to control or take other appropriate action that it believes is reasonably required to protect Momenta Intellectual Property, CSL Intellectual Property or Joint Intellectual Property, as applicable, from such Infringement in the Territory.\n(d) Participation; Conduct of Certain Actions; Costs. The Party initiating suit shall have the sole and exclusive right to select counsel for any suit initiated by it pursuant to Section 7.4(b) or Section 7.4(c) and to control such suit or other action; provided that:\n(i) The other Party shall have the right to participate, and upon request, review pleadings and discuss strategy with the Party initiating suit, including discussions with [***] counsel. The other Party shall have the right to be represented in any such suit that is based on an Infringement by its own counsel at its own expense;\n(ii) The initiating Party shall be solely responsible for the costs associated with the posting of security for any injunctions, without the prior written consent of the other Party, which absent such consent shall not constitute Commercial Expenses under this Agreement and shall be reimbursed from any recoveries under Section 7.4(e); and\n(iii) The initiating Party shall not resolve or settle any action taken pursuant to this Section 7.4 where such settlement would affect the other Party’s entitlement to receive payments under this Agreement or the validity of the other Party’s Intellectual Property Rights without the prior written consent of the other Party which shall not be unreasonably withheld or delayed.\n(iv) If required under applicable law in order for the initiating Party to initiate and/or maintain such suit, the other Party shall join as a party to the suit. Such other Party shall offer reasonable assistance to the initiating Party in connection therewith at no charge to the initiating Party except for reimbursement of reasonable out-of-pocket expenses incurred in rendering such assistance. The initiating Party shall assume and pay all of its own out-of-pocket costs incurred in connection with any litigation or proceedings initiated by it pursuant to Section 7.4(b) or Section 7.4(c), including without limitation the fees and expenses of the counsel selected by it.\n(e) Costs Reimbursement and Recoveries. The out-of-pocket costs paid by a Party in connection any litigation or proceedings initiated under this Section 7.4 shall be reimbursed to such Party by the proceeds of any awards, judgments or settlements obtained in connection with an Infringement in the Territory, and the remainder of such proceeds shall be treated as Net Sales for the purpose of determining royalties or Profit share under this Agreement.\n7.5 Third Party Claims and Suits.\nIn the event that a Party becomes aware of any claim that the research of any [***] Product or the Development, Manufacture or Commercialization of any Product infringes or misappropriates the Intellectual Property rights of any Third Party, such Party shall promptly notify the other Party. In any such instance the [***] of [***] or [***] the [***] the [***] the [***] to [***] and to [***] of [***]. Expenses of such litigation shall be deemed to be [***] the [***] and [***] the [***]. If the [***] of [***], the [***] shall have the right to [***], to be [***] by its [***], at its [***], or where feasible [***] with the [***]. Each Party shall provide to the other Party copies of any notices it receives from Third Parties regarding any such alleged infringement or misappropriation or the agreed upon course of action. Such notices shall be provided promptly, but in no event after more than [***] following receipt thereof.\n7.6 Third Party Licenses.\n(a) Where a Party, its Affiliates or its Sublicensees identifies the need or is otherwise offered a license, covenant not to sue or similar rights to Third Party Intellectual Property that are (i) [***] to\n[***] or [***] of such Third Party Intellectual Property based on the Research of a Research Product or the Development, Manufacture or Commercialization of a Product or (ii) [***] the Research of a [***] Product or the Development, Manufacture or Commercialization of a Product, [***] to [***] or [***] with [***] to [***] or [***], such Party shall promptly notify the other Party. The Parties shall thereafter [***], regarding whether such Third Party Intellectual Property is [***] the Research of a [***] Product or the Development, Manufacturing and Commercialization of a Product. Subject to the provisions in this Section 7.6, CSL [***] to [***] in [***] of such Third Party Intellectual Property or any other Third Party Intellectual Property which it [***] to [***] the Development and/or Commercialization of Products. The Parties agree to allocate the risk and opportunity associated with such future licenses entered into with Third Parties (“Third Party Licenses”) as provided for herein.\n(b) [***]: In the event such Third Party License is [***] (but not [***] or [***]) any Intellectual Property [***] Momenta to CSL under this Agreement (a “[***]”), CSL, its Affiliates or Sublicensees [***] the [***] to [***] the [***] of [***]. In such event, then:\n(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] and [***] to the [***] in the calculation of Research Expenses, Costs of Goods Sold and/or Manufacturing Expenses, as provided for in the definition of such expenses;\n(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments solely attributable to or [***] to [***], and [***] to the [***] to [***] to the [***] to [***] up to [***] of the amount of such license fees, milestones or royalties paid to such Third Party under any such [***] License; provided that such reduction [***] in any given [***] in the Royalty Term;\n(c) [***]: In the event CSL, any of its Affiliates or Sublicensees enters into a [***] that CSL determines is [***] for the Development and Commercialization of a Product (“[***]”), then the Parties agree that the following provisions will apply unless the Parties specifically agree, in writing, to the contrary:\n(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] to [***], and [***] to the [***] shall be included in the calculation of [***], as provided for in the [***] of [***];\n(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product under such Approved Third Party License and (2) any licensee fees and milestone payments [***] to or [***] to [***] and [***] to the [***] shall be [***] to Momenta for such Product under Section 3.1(e) [***] to the [***] to [***] to the [***] the [***] or [***] to such Third Party under any such [***]; provided that [***] shall [***] the [***] in any Calendar Quarter by more than [***] (e.g., no more than a reduction from [***] of the then-applicable royalty rate.\nFor this purpose of this Section, “[***]” shall mean the percentage calculated by dividing (X) the [***] in a Calendar Quarter before any deduction in respect of such Approved Third Party License by (Y) which shall be calculated by [***] (1) [***] to [***] in a Calendar Quarter before any [***] in [***] of [***] (2) [***] in [***] of [***].\n(d) Other Third Party Licenses: Subject always to the obligations of Section 7.6(a), each Party is free to enter into any Third Party Licenses that do not impose obligations on the other Party, and the Parties may elect to discuss and seek to agree to alternative allocation of Third Party License arrangements in lieu of the provisions provided for in subsections (b) and (c) of this Section 7.6.\n7.7 Patent Marking. Each Party agrees to mark or virtually mark and have its Affiliates and all Sublicensees mark or virtually mark all Products (or their containers or labels) sold pursuant to this Agreement in accordance with the applicable statutes or regulations in the country or countries of manufacture and sale thereof.\n7.8 Biosimilar or Interchangeable Biological Product Patent Exchange. If the Party that is the reference product sponsor of a Product within the meaning of § 351(l)(1)(A) of the PHS Act receives notice of a Biosimilar Application filed by a § 351(k) applicant that references such Product and related manufacturing information in accordance with § 351(l)(2)(A) of the PHS Act or receives a notice of commercial marketing in accordance with § 351(l)(8)(A) of the PHS Act, then such Party will provide notice to the other Party, and the Parties will discuss and cooperate with each other in determining such Party’s course of action with regard to (a) engaging in the information exchange provisions of the BPCIA, including providing a list of patents that relate to the relevant Product, (b) engaging in the patent resolution provisions of the BPCIA, and (c) determining which patents will be the subject of immediate patent infringement action under § 351(l)(6) of the BPCIA. In the event that the Parties do not agree with respect to the exercise of any such rights, [***] with [***] the [***] with [***] with [***] and [***]. If any patent litigation commences with respect to a Biosimilar Application filed by a § 351(k) applicant that references such Product, then the provisions of Section 7.4 will thereafter apply as if such § 351(k) applicant were an infringer or suspected infringer.\n7.9 Privileged Communications. In furtherance of this Agreement, it is expected that Momenta and CSL will, from time to time, disclose to one another privileged communications with counsel, including opinions, memoranda, letters and other written, electronic and verbal communications. Such disclosures are made with the understanding that they will remain confidential, they will not be deemed to waive any applicable attorney-client privilege and that they are made in connection with the shared community of legal interests existing between CSL and Momenta, including the community of legal interests in avoiding infringement of any valid, enforceable patents of Third Parties and maintaining the validity of CSL Patent Rights, Momenta Patent Rights and Joint Patent Rights."}
-{"idx": 1, "level": 3, "span": "(a) Ownership of Intellectual Property\nDeterminations as to which Party owns any Patent Right or Know-How developed pursuant to this Agreement will be made in accordance with the standards of inventorship under [***]. Subject to the license grants under Article 2, as between the Parties (i) CSL or its Affiliates will own all Intellectual Property invented solely by or on behalf of CSL, and (ii) Momenta will own all Intellectual Property invented solely by or on behalf of Momenta. Each Party or its designated Affiliate, will own an undivided one-half interest in and to the Joint Intellectual Property. In the event inventorship and ownership of any Intellectual Property cannot be resolved by the Parties with advice of their respective intellectual property counsel, such dispute will be resolved through [***] to [***] at [***] in [***] and [***] and [***] and [***] or [***]. Each Party shall make such assignments as are required to effect the ownership allocations set forth in this Section 7.1(a). Subject to the licenses granted to the other Party under this Agreement and the other terms of this Agreement, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; provided that, neither Party may assign its right, title, or interest in the Joint Intellectual Property to any Person, except (a) in connection with a permitted transaction under Section 13.3, or (b) to an Affiliate; and further provided that, neither Party may [***] or [***] in [***] that [***] and [***] to a [***] or [***] in [***] with [***]. For avoidance of doubt, assertion of Momenta Patent Rights that are infringed by a third party with respect to a product that is not a [***] Product or a Product [***] is outside the scope of this Agreement."}
-{"idx": 1, "level": 3, "span": "(b) Employee Assignment\nEach Party shall procure from each of its employees and permitted assignees and subcontractors who are conducting work under this Agreement, rights to any and all Intellectual Property such that it is properly secured as CSL Intellectual Property, Momenta Intellectual Property, and Joint Intellectual Property, as applicable, such that each Party shall receive from the other Party, without payments beyond those contemplated by this Agreement, the rights granted to such Party to use such CSL Intellectual Property (in the case of CSL), Momenta Intellectual Property (in the case of Momenta), Joint Intellectual Property, as applicable, pursuant to this Agreement. In the event such rights have not been secured or any original holder challenges such procurement, the Party responsible for procuring such rights shall bear the entire costs or damages arising from the failure of or challenge to such procurement."}
-{"idx": 1, "level": 3, "span": "(a) Patent Prosecution and Maintenance."}
-{"idx": 1, "level": 4, "span": "(i) Momenta will have the first right, but not the obligation, to prepare, file, prosecute and maintain the Momenta Patent Rights at Momenta’s cost\nWhere Momenta Patent Rights Cover or, if issued would Cover, a Product or a [***] Product, Momenta will provide CSL with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***] and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Momenta Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***]."}
-{"idx": 1, "level": 4, "span": "(ii) CSL will have the first right, but not the obligation, to prepare, file, prosecute and maintain the CSL Patent Rights in the Territory at CSL’s cost\nIn respect of CSL Patents which arise out of the Research Plan or Product Work Plan, and only during the period in which Momenta retains a Co-Funding Option or is Co-Funding, CSL will provide Momenta with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the CSL Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action"}
-{"idx": 1, "level": 4, "span": "(iii) On a case by case basis, the Parties will discuss, for a period not to [***], and agree which of them is best placed to prepare, file, prosecute and maintain the Joint Patent Rights in the Territory\nAbsent agreement, the Party which contributed the Product or [***] Product in the context of which the invention claimed in the Joint Patent Rights was invented or, if that [***] the [***] which [***] the [***] or [***] the [***] will [***] the [***] the [***] to manage such Patent Rights. The Party responsible for the prosecution of Joint Patent Rights shall bear the external costs of such Joint Patent Rights, and each Party shall be responsible for its own internal costs. The responsible Party shall provide the other Party with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***], and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Joint Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***]."}
-{"idx": 1, "level": 4, "span": "(iv) A Party providing comments in accordance with this Section 7.2(a) will provide such comments, if any, expeditiously and in any event in reasonably sufficient time to meet any filing deadline communicated to it by the other Party\nThe Party receiving any such patent application and correspondence will maintain such information in confidence, except for patent applications that have been published and official correspondence that is publicly available."}
-{"idx": 1, "level": 3, "span": "(b) Second Rights\nIf a Party decides not to file, prosecute or maintain a Patent Right pursuant to this Section 7.2(a), to the extent such Patent Right Covers the Development, Manufacture or Commercialization of a Product or a [***] Product, such Party will give the other Party reasonable notice to that effect sufficiently in advance of any deadline for any filing with respect to such Patent Right to permit the other Party to carry out such activity. After such notice, such other Party may, subject to the terms of any applicable license, file, prosecute and maintain the Patent Right, and perform such acts as may be reasonably necessary for such other Party to file, prosecute or maintain such Patent Right at its own cost. If a Party does elect to file, prosecute and maintain a Patent Right pursuant to this Section 7.2(b), then the non-electing Party shall provide such cooperation to the electing Party, including the execution and filing of appropriate instruments, as may reasonably be requested to facilitate the transition of such patent activities."}
-{"idx": 1, "level": 3, "span": "(c) Patent Term Extensions."}
-{"idx": 1, "level": 4, "span": "(i) Regardless of which Party is filing, prosecuting and maintaining any Patent Right pursuant to this Article 7, the Parties shall discuss all opportunities for patent term extensions with respect to the Momenta Patent Rights, the CSL Patent Rights and the Joint Patent Rights in the Territory, and seek to reach agreement on which Patent Rights to seek to extend."}
-{"idx": 1, "level": 4, "span": "(ii) Unless otherwise agreed under clause (i) above, in any country where only a single patent can be extended for a given Product, [***] the [***] to [***] to [***] that [***] for [***] in [***] or [***] that [***] for [***] in [***] for [***] for [***] and shall cooperate with [***] to allow [***] to [***] for [***] at [***]."}
-{"idx": 1, "level": 4, "span": "(iii) The Parties will cooperate with each other including without limitation to provide necessary information and assistance as the other Party may reasonably request in obtaining patent term extension (including any supplemental protection certificates or the like) or any similar rights in any country in the Territory."}
-{"idx": 1, "level": 4, "span": "(iv) Except as provided in Section 7.2(c)(ii) above, CSL shall be responsible for the cost of seeking any extensions."}
-{"idx": 1, "level": 3, "span": "(d) CREATE Act\nNotwithstanding anything to the contrary in this Article 7, the Parties have agreed to elect under the Cooperative Research and Technology Enhancement Act of 2004, (Public Law 108-453, 118 Stat. 3596 (2004)), as codified in 35 U.S.C. § 103(c)(2)-(c)(3) or 35 U.S.C. § 102(c), as applicable,"}
-{"idx": 1, "level": 3, "span": "(a) Each Party and its Affiliates shall retain all right, title and interest in and to its and their respective corporate names and logos."}
-{"idx": 1, "level": 3, "span": "(b) All Products are to be Commercialized in the Territory under the Product Trademark and the Product Domain Names\nCSL will own all Product Trademarks and Product Domain Names, and is responsible for the filing, prosecution, registration and maintenance of such Product Trademarks and the registration and maintenance of such Product Domain Names. The expenses of the selection, filing, prosecution and maintenance of the Product Trademarks and obtaining and maintaining the Product Domain Name shall be borne by CSL."}
-{"idx": 1, "level": 3, "span": "(c) In the event either Party becomes aware of any actual or threatened infringement of any Product Trademark or Product Domain Name by a Third Party, such Party shall promptly notify the other Party and the Parties shall consult with each other and jointly determine the best way to prevent such infringement, including, without limitation, by the institution of legal proceedings against such Third Party\nCSL shall have the first right to initiate, to control and to resolve (including by way of settlement) any such legal proceedings."}
-{"idx": 1, "level": 3, "span": "(a) Notice of Infringement by a Third Party\nEach Party shall provide to the other Party prompt written notice of any Infringement of the subset of Patent Rights and Know-How Controlled by a Party (x) to the extent such Patent Rights or Know How are exclusively owned by, are Joint Intellectual Property or exclusive license rights are held by, a Party or the Parties with respect to the relevant Product or for the class of [***], other than under a license under this Agreement; and (y) to the extent such claims are directed to inventions Covering the manufacture, sale, import or use of a Product or a [***] Product (the “Enforcement Intellectual Property Rights”), in all cases prior to initiating any legal proceedings with respect to such Infringement."}
-{"idx": 1, "level": 3, "span": "(b) Initial Right to Enforce\nSubject to Section 7.4(d) and the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, (i) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce (x) CSL Intellectual Property and Joint Intellectual Property in the Territory and (y) any [***] to [***] where the alleged Infringement involves manufacture or sale, or threatened manufacture or sale, of a product that is, or will, compete with a Product under this Agreement and (ii) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce [***] in the Territory except as set out in (i). The other Party shall have the right to participate in such suit or action as provided for in Section 7.4(d)."}
-{"idx": 1, "level": 3, "span": "(c) Step-In Right\nSubject to the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, if the Party with the first right to enforce (the “Initial Enforcement Rights Party”) Momenta Intellectual Property, CSL Intellectual Property or Joint Intellectual Property fails to initiate a suit or take other appropriate action that it has the initial right to initiate or take pursuant to Section 7.4(b) with respect to an Infringement within ninety (90) days after becoming aware of the basis for such suit or action, then the other Party (the “Secondary Enforcement Rights Party”) may, in its discretion, provide the Initial Enforcement Rights Party with written notice of such Secondary Enforcement Rights Party’s intent to initiate a suit and control or take other appropriate action with respect to such Infringement in the Territory. If the Secondary Enforcement Rights Party provides such notice and the Initial Enforcement Rights Party fails to initiate a suit or take such other"}
-{"idx": 1, "level": 3, "span": "(d) Participation; Conduct of Certain Actions; Costs\nThe Party initiating suit shall have the sole and exclusive right to select counsel for any suit initiated by it pursuant to Section 7.4(b) or Section 7.4(c) and to control such suit or other action; provided that:"}
-{"idx": 1, "level": 4, "span": "(i) The other Party shall have the right to participate, and upon request, review pleadings and discuss strategy with the Party initiating suit, including discussions with [***] counsel\nThe other Party shall have the right to be represented in any such suit that is based on an Infringement by its own counsel at its own expense;"}
-{"idx": 1, "level": 4, "span": "(ii) The initiating Party shall be solely responsible for the costs associated with the posting of security for any injunctions, without the prior written consent of the other Party, which absent such consent shall not constitute Commercial Expenses under this Agreement and shall be reimbursed from any recoveries under Section 7.4(e); and"}
-{"idx": 1, "level": 4, "span": "(iii) The initiating Party shall not resolve or settle any action taken pursuant to this Section 7.4 where such settlement would affect the other Party’s entitlement to receive payments under this Agreement or the validity of the other Party’s Intellectual Property Rights without the prior written consent of the other Party which shall not be unreasonably withheld or delayed."}
-{"idx": 1, "level": 4, "span": "(iv) If required under applicable law in order for the initiating Party to initiate and/or maintain such suit, the other Party shall join as a party to the suit\nSuch other Party shall offer reasonable assistance to the initiating Party in connection therewith at no charge to the initiating Party except for reimbursement of reasonable out-of-pocket expenses incurred in rendering such assistance. The initiating Party shall assume and pay all of its own out-of-pocket costs incurred in connection with any litigation or proceedings initiated by it pursuant to Section 7.4(b) or Section 7.4(c), including without limitation the fees and expenses of the counsel selected by it."}
-{"idx": 1, "level": 3, "span": "(e) Costs Reimbursement and Recoveries\nThe out-of-pocket costs paid by a Party in connection any litigation or proceedings initiated under this Section 7.4 shall be reimbursed to such Party by the proceeds of any awards, judgments or settlements obtained in connection with an Infringement in the Territory, and the remainder of such proceeds shall be treated as Net Sales for the purpose of determining royalties or Profit share under this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) Where a Party, its Affiliates or its Sublicensees identifies the need or is otherwise offered a license, covenant not to sue or similar rights to Third Party Intellectual Property that are (i) [***] to"}
-{"idx": 1, "level": 3, "span": "(b) [***]: In the event such Third Party License is [***] (but not [***] or [***]) any Intellectual Property [***] Momenta to CSL under this Agreement (a “[***]”), CSL, its Affiliates or Sublicensees [***] the [***] to [***] the [***] of [***]\nIn such event, then:"}
-{"idx": 1, "level": 4, "span": "(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] and [***] to the [***] in the calculation of Research Expenses, Costs of Goods Sold and/or Manufacturing Expenses, as provided for in the definition of such expenses;"}
-{"idx": 1, "level": 4, "span": "(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments solely attributable to or [***] to [***], and [***] to the [***] to [***] to the [***] to [***] up to [***] of the amount of such license fees, milestones or royalties paid to such Third Party under any such [***] License; provided that such reduction [***] in any given [***] in the Royalty Term;"}
-{"idx": 1, "level": 3, "span": "(c) [***]: In the event CSL, any of its Affiliates or Sublicensees enters into a [***] that CSL determines is [***] for the Development and Commercialization of a Product (“[***]”), then the Parties agree that the following provisions will apply unless the Parties specifically agree, in writing, to the contrary:"}
-{"idx": 1, "level": 4, "span": "(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] to [***], and [***] to the [***] shall be included in the calculation of [***], as provided for in the [***] of [***];"}
-{"idx": 1, "level": 4, "span": "(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product under such Approved Third Party License and (2) any licensee fees and milestone payments [***] to or [***] to [***] and [***] to the [***] shall be [***] to Momenta for such Product under Section 3.1(e) [***] to the [***] to [***] to the [***] the [***] or [***] to such Third Party under any such [***]; provided that [***] shall [***] the [***] in any Calendar Quarter by more than [***] (e.g., no more than a reduction from [***] of the then-applicable royalty rate."}
-{"idx": 1, "level": 3, "span": "(d) Other Third Party Licenses: Subject always to the obligations of Section 7.6(a), each Party is free to enter into any Third Party Licenses that do not impose obligations on the other Party, and the Parties may elect to discuss and seek to agree to alternative allocation of Third Party License arrangements in lieu of the provisions provided for in subsections (b) and (c) of this Section 7.6."}
-{"idx": 1, "level": 2, "span": "ARTICLE 8."}
-{"idx": 1, "level": 2, "span": "CONFIDENTIAL INFORMATION\n8.1 Confidentiality. Except as contemplated by this Agreement, each Party shall hold in confidence and shall not publish or otherwise disclose and shall not use for any purpose (except for the purposes of carrying out its obligations or exercising its rights under this Agreement): (a) any Confidential Information of the other Party disclosed to it pursuant to the terms of this Agreement, (b) the terms of this Agreement (subject to Section 8.4) until [***] after the expiration or termination of this Agreement. The members of the JSC and any Sub-Committees shall use pricing and other competitive commercial information provided by the other Party solely for purposes contemplated by this Agreement and shall not share such information more broadly within their organizations. All Confidential Information of a Party, including all copies and derivations thereof, is and shall remain the sole and exclusive property of the disclosing Party and subject to the restrictions provided for herein. Subject to Sections 8.2, 8.3, 8.4 and 8.5, neither Party shall disclose any Confidential Information of the other Party other than to those of its directors, officers, Affiliates, employees, actual or potential licensors, independent contractors, actual or potential licensees or Sublicensees (if permitted), actual or potential investors, lenders, assignees, agents, and external advisors directly involved in or concerned with the carrying out of this Agreement, on a strictly applied “need to know” basis; provided, however, that such persons and entities are subject to confidentiality and non-use obligations at least as stringent as the confidentiality and non-use obligations provided for in this Article 8.\n8.2 Public Disclosure. The Parties have attached hereto as Exhibit 8.2, a mutually acceptable press release announcing this Agreement (the “Initial Press Release”). The JSC shall review, from time to time, proposed disclosures of the Parties relating specifically to this Agreement (or related activities, results or events) and consent for such disclosures shall not be unreasonably withheld, delayed or conditioned. Except: (a) as determined by a Party to be reasonably necessary to comply with Applicable Law (including applicable securities laws and the rules and regulations of exchanges upon which a Party’s securities are traded); (b) with respect to JSC approved disclosures; and (c) with respect to the Initial Press Release as agreed upon between the Parties, neither Party shall issue a press release or make any other public disclosure of the terms of this Agreement or the progress of Research, Development or Commercialization of any Product, [***] Product or [***] without the prior approval of such press release or\npublic disclosure by the other Party. Each Party shall submit any such press release or public disclosure to the other Party, and the receiving Party shall have [***] from receipt to review and approve any such press release or public disclosure, which approval shall not be unreasonably withheld, delayed or conditioned, and provided that should the requesting Party request earlier review, the receiving Party shall use reasonable efforts to respond within a shorter timeframe. If the receiving Party does not respond to the other Party within such [***] period, the press release or public disclosure shall be deemed approved. Notwithstanding the preceding requirements related to a press release or other public disclosure, if a public disclosure is required by Applicable Law, including without limitation in a filing with the Securities and Exchange Commission or any securities exchange on which such Party’s securities are traded, the disclosing Party shall provide copies of the disclosure reasonably in advance of such filing or other disclosure for the non-disclosing Party’s prior review and comment. The first approval of the contents of a press release or public disclosure shall constitute permission to use such contents subsequently without submission of the press release or public disclosure to the other Party for approval.\n8.3 Legally Required Disclosures. If the receiving Party or any of its representatives is required by law, rule or regulation or by order of a court of law, administrative agency, or other governmental body or any securities exchange on which such Party’s securities are traded, to disclose any of the Confidential Information, the receiving Party will (a) promptly, and if practicable, provide the disclosing Party with reasonable advance written notice to enable the disclosing Party the opportunity to seek, where appropriate, a protective order or to otherwise prevent or limit such legally required disclosure, (b) use reasonable efforts to cooperate with the disclosing Party to obtain such protection, and (c) disclose only the legally required portion of the Confidential Information. Any such legally required disclosure will not relieve the receiving Party from its obligations under this Agreement to otherwise limit the disclosure and use of such information as Confidential Information.\n8.4 Confidential Terms. Except as expressly provided herein, each Party agrees not to disclose any terms of this Agreement to any Third Party without the consent of the other Party; provided, however, that disclosures may be made on a strict need to know basis to actual or prospective investors, acquirers, financing sources or licensees, or to a Party’s accountants, attorneys and other professional advisors; provided, further, that such persons and entities are subject to confidentiality and non-use obligations at least as stringent as the confidentiality and non-use obligations provided for in this Article 8.\n8.5 Prior Agreements. All Confidential Information (as that term is defined in the Prior Confidentiality Agreement and the Prior Material Transfer Agreement) disclosed pursuant to the Prior Confidentiality Agreement or the Prior Material Transfer Agreement, respectively, shall be considered Confidential Information under this Agreement, subject to the exceptions in Section 1.36.\n8.6 Return of Confidential Information. Each Party shall return or destroy, at the other Party’s instruction, all Confidential Information of the other Party in its possession upon termination or expiration of this Agreement, The receiving Party shall provide a written confirmation of such destruction within thirty (30) days after such destruction; provided that the foregoing shall not apply to any Confidential Information that is legally required to be retained (including by any Regulatory Authority) or necessary to allow such Party to perform its obligations or exercise any of its rights that expressly survive the termination or expiration of this Agreement."}
-{"idx": 1, "level": 2, "span": "ARTICLE 9."}
-{"idx": 1, "level": 2, "span": "INDEMNIFICATION AND LIMITATION OF LIABILITY\n9.1 CSL Indemnification. CSL agrees to defend Momenta and its Affiliates, and their respective agents, directors, officers and employees (the “Momenta Indemnitees”), at CSL’s cost and expense, and will indemnify and hold harmless the Momenta Indemnitees from and against any and all [***] a [***] or [***] or [***] that [***] (collectively, “Momenta Losses”) arising out of any act or omission of CSL, its Affiliates, Sublicensees, contractors or agents in connection with the development, use, manufacture, distribution or sale of a Product, including, but not limited to, any actual or alleged injury, damage, death or other consequence occurring to any Person claimed to result, directly or indirectly, from the possession, use or consumption of, or treatment with, a Product, whether claimed by reason of breach of warranty, negligence, product defect or otherwise, and regardless of the form in which any such claim is made; provided that the foregoing indemnity shall not apply to the extent\nthat any such Momenta Losses are attributable to: (a) Momenta’s breach of this Agreement, including any warranty; or (b) Momenta’s or any Momenta Indemnitee’s, Momenta subcontractor’s or Momenta Sublicensee’s failure adequately to perform its designated Activities pursuant to any applicable Product Work Plan; or (c) Momenta’s or any Momenta Indemnitee’s, Momenta subcontractor’s or Momenta Sublicensee’s performance of any action or activity not designated to it under this Agreement or any applicable Product Work Plan; or (d) the negligence, gross negligence or willful misconduct of Momenta, the Momenta Indemnitees or of any Momenta subcontractor or Momenta Sublicensee. If any such claim against any Momenta Indemnitee arises, Momenta shall promptly notify CSL in writing of the claim and CSL shall manage and control, at its sole expense, the defense of the claim and its settlement. Notwithstanding the foregoing, no settlements shall be finalized without obtaining Momenta’s prior written consent, which shall not be unreasonably withheld, delayed or conditioned, except that in the case of a settlement that does not require an admission or action on the part of Momenta, and does not harm Momenta or its ability to comply with its obligations hereunder, Momenta’s consent shall not be required so long as Momenta is unconditionally released from all liability in such settlement. Momenta shall cooperate with CSL and may, at its discretion and expense, be represented in any such action or proceeding. CSL shall not be liable for any settlements, litigation costs or expenses incurred by Momenta Indemnitees without CSL’s written authorization.\n9.2 Momenta Indemnification. Momenta agrees to defend CSL and its Affiliates, and their respective agents, directors, officers and employees (the “CSL Indemnitees”), at Momenta’s cost and expense, and will indemnify and hold harmless the CSL Indemnitees from and against any and [***] on [***] or [***] or [***] that [***], (collectively, “CSL Losses”) arising out of any act or omission of Momenta, its Affiliates, Sublicensees, contractors or agents in connection with the development, use, manufacture, distribution or sale of a Product, including, but not limited to, any actual or alleged injury, damage, death or other consequence occurring to any Person claimed to result, directly or indirectly, from the possession, use or consumption of, or treatment with, a Product, whether claimed by reason of breach of warranty, negligence, product defect or otherwise, and regardless of the form in which any such claim is made; provided that the foregoing indemnity shall not apply to the extent that any such CSL Losses are attributable to: (a) CSL’s breach of this Agreement; or (b) CSL’s, or any CSL Indemnitee’s, CSL’s subcontractor’s or CSL’s Sublicensee’s failure adequately to perform its designated Activities pursuant to any applicable Product Work Plan; or (c) CSL’s or any or any CSL Indemnitee’s, CSL’s subcontractor’s or CSL’s Sublicensee’s performance of any action or activity not designated to it under this Agreement or any applicable Product Work Plan; or (d) the negligence, gross negligence or willful misconduct of CSL, the CSL Indemnitees or of any CSL subcontractor or CSL Sublicensee. If any such claim against any CSL Indemnitee arises, CSL shall promptly notify Momenta in writing of the claim, and Momenta shall manage and control, at its sole expense, the defense of the claim and its settlement. Notwithstanding the foregoing, no settlements shall be finalized without obtaining CSL’s prior written consent, which shall not be unreasonably withheld, delayed or conditioned, except that in the case of a settlement that does not require an admission or action on the part of CSL, and does not harm CSL or its ability to comply with its obligations hereunder, CSL’s consent shall not be required so long as CSL is unconditionally released from all liability in such settlement. CSL shall cooperate with Momenta and may, at its discretion and expense, be represented in any such action or proceeding. Momenta shall not be liable for any settlements, litigation costs or expenses incurred by CSL Indemnitees without Momenta’s written authorization.\n9.3 Joint Loss Liability. To the extent that any Third Party product liability related losses, costs, liabilities, damages, fees or expenses remain unallocated to an Indemnifying Party under Sections 9.1 and 9.2, after following the procedures for such indemnification thereof and any dispute arising in connection with such claims for indemnification, such unallocated Third Party product liability related losses, costs, liabilities, damages, fees or expenses [***] to [***].\n9.4 Insurance.\n(a) Each Party shall maintain insurance or self-insurance (including a captive insurance company), including product liability insurance, with respect to its activities under this Agreement. Such insurance or self-insurance shall be in such amounts and subject to such deductibles as are prevailing in the industry from time to time, provided that, each Party and its Affiliates and Sublicensees shall maintain a minimum of an aggregate of (a) [***] in general comprehensive liability insurance, (b) [***] in product liability\ninsurance [***] of [***], and (c) [***] in product liability insurance no later than [***] following [***] of [***].\n(b) Each party may self-insure all or any portion of the required insurance as long as, together with its Affiliates, its US GAAP net worth is greater than [***] or [***] and [***] is greater than [***]\n9.5 No Consequential Damages. UNLESS RESULTING FROM A PARTY’S WILLFUL MISCONDUCT OR FROM A PARTY’S BREACH OF ARTICLE 2 OR ARTICLE 8, NO PARTY WILL BE LIABLE TO THE OTHER PARTY OR ITS AFFILIATES FOR SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, PUNITIVE, MULTIPLE OR OTHER INDIRECT DAMAGES ARISING OUT OF THIS AGREEMENT OR THE EXERCISE OF ITS RIGHTS HEREUNDER, OR FOR LOSS OF PROFITS, LOSS OF DATA OR LOSS OF USE DAMAGES ARISING FROM OR RELATING TO ANY BREACH OF THIS AGREEMENT WHETHER BASED UPON WARRANTY, CONTRACT, TORT, STRICT LIABILITY OR OTHERWISE, REGARDLESS OF ANY NOTICE OF SUCH DAMAGES. NOTHING IN THIS SECTION 9.5 IS INTENDED TO LIMIT OR RESTRICT THE INDEMNIFICATION RIGHTS OR OBLIGATIONS OF ANY PARTY UNDER THIS AGREEMENT."}
-{"idx": 1, "level": 3, "span": "(a) Each Party shall maintain insurance or self-insurance (including a captive insurance company), including product liability insurance, with respect to its activities under this Agreement\nSuch insurance or self-insurance shall be in such amounts and subject to such deductibles as are prevailing in the industry from time to time, provided that, each Party and its Affiliates and Sublicensees shall maintain a minimum of an aggregate of (a) [***] in general comprehensive liability insurance, (b) [***] in product liability"}
-{"idx": 1, "level": 3, "span": "(b) Each party may self-insure all or any portion of the required insurance as long as, together with its Affiliates, its US GAAP net worth is greater than [***] or [***] and [***] is greater than [***]"}
-{"idx": 1, "level": 2, "span": "ARTICLE 10."}
-{"idx": 1, "level": 2, "span": "EXPORT\n10.1 General. The Parties acknowledge that the exportation from the United States of materials, products and related technical data (and the re-export from elsewhere of items of U.S. origin) may be subject to compliance with U.S. export laws, including without limitation the U.S. Bureau of Export Administration’s Export Administration Regulations, the Federal Food, Drug and Cosmetic Act and regulations of the FDA issued thereunder, and the U.S. Department of State’s International Traffic and Arms Regulations, which restrict export, re-export, and release of materials, products and their related technical data, and the direct products of such technical data. The Parties agree to comply with all export laws and to commit no act that, directly or indirectly, would violate any U.S. law, regulation, or treaty, or any other international treaty or agreement, relating to the export, re-export, or release of any materials, products or their related technical data to which the U.S. adheres or with which the U.S. complies.\n10.2 Delays. The Parties acknowledge that they are not responsible for any delays attributable to export controls that are beyond the reasonable control of either Party.\n10.3 Assistance. The Parties agree to provide assistance to one another in connection with each Party’s efforts to fulfill its obligations under this Article 10.\n10.4 Other. The Parties agree not to export, re-export, or release any item that may be used in the design, development, production, stockpiling or use of chemical or biological weapons in or by a country listed in Country Group D: 3 of Part 370 to Title 15 of the U.S. Code of Federal Regulations as it may be updated from time to time."}
-{"idx": 1, "level": 2, "span": "ARTICLE 11."}
-{"idx": 1, "level": 2, "span": "TERM AND TERMINATION\n11.1 Term. This Agreement shall be binding upon the Parties as of the Effective Date. The term of this Agreement (the “Term”) shall commence on the Execution Date, and, unless earlier terminated as provided in this Article 11, shall continue in full force and effect until the later of:\n(a) the expiration of all payment obligations with respect to Products; and\n(b) if Momenta exercises a Co-Funding Option, the [***] of [***] to [***] or [***] on [***] it [***] ceases to Co-Fund any Product; and\n(c) the date on which there are no active Product Work Plans.\n11.2 Termination by CSL:\n(a) Prior to achievement of [***]. CSL may terminate the Agreement in its [***] or [***] to the [***] at any time prior to the date on which the [***] would become payable for the [***], by giving [***] to Momenta ([***] period between the notice and the Termination Date, the [***]); provided that CSL shall be obligated to pay to Momenta the [***] as set forth in [***] within [***] of giving Momenta such termination notice regardless of whether such [***] is [***]\n(b) After Failure to Achieve [***]. If the [***] with respect to the [***] is not met, CSL may terminate the Agreement [***] or [***] to the [***] by giving [***] Momenta within [***] after the [***] with respect to the [***] is not achieved.\n(c) Termination Prior to [***]. CSL may, by giving not less than (x) [***] if a Product does not achieve [***] in [***] in the Development Plan, or (y) [***] written notice otherwise, to Momenta, terminate the Agreement:\n(i) [***] or [***] to the [***] (A) at any time after the [***] is [***] but before the [***] of the [***], or (B) more than [***] after the [***] with respect to the [***] is not achieved but before the [***] of the [***] or\n(ii) with respect to a Product other than [***], at any time before the [***] of [***].\n(d) Termination After [***]. CSL may terminate the Agreement in its entirety or with respect to a Product at any time after the [***] in [***] to Momenta.\n11.3 Termination by Momenta. If CSL elects to terminate the Agreement with respect to the [***], then Momenta may terminate the Agreement [***] by providing written notice to CSL [***] of the [***] of the [***], with such termination becoming effective the date on which [***].\n11.4 Termination for [***]. Either Party may terminate this Agreement on a Product-by-Product basis and on a [***] Product-by-[***] Product basis, on not less than [***] written notice to the other Party if the non-terminating Party or its Affiliates (directly or indirectly, [***] or in [***] with any other [***]) [***] the [***] or [***] of any [***] the [***] of [***] or [***] of [***] of such Product or [***] Product (if the terminating Party is CSL) or [***] the [***] or [***] of such Product or [***] Product (if the terminating Party is Momenta) or any of the [***] the [***] or [***] of such Product or [***] Product, provided however that, subject to the termination rights set out herein, each Party acknowledges and agrees that nothing in this clause [***] the [***] or [***] any of the [***] referred to in this Section 11.4 and provided further that:\n(a) CSL shall not have the right to terminate this Agreement [***] or [***]:\n(i) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement, in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or\n(ii) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement [***] a [***] in [***] by [***] of such [***].\n(b) Momenta shall not have the right to terminate this Agreement [***] or [***]:\n(i) [***] a [***] that is [***] the [***] in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or\n(ii) [***] a [***] that is [***] the [***] a [***] in [***] by [***] of [***]\n11.5 Termination for Material Breach. \n(a) Subject to Section 11.5(b), a Party may terminate this Agreement entirely or with respect to a Product upon written notice specifying a date of immediate or future effectiveness if the other Party has materially breached this Agreement (provided that, if such material breach relates only to a Product, then the Party’s right to terminate is limited to such Product), and such breach is not cured by that Party [***] of [***] of such breach and the non-breaching Party’s intent to terminate; provided that if such breach is not susceptible of cure within such period and the Party in breach uses diligent good faith efforts to cure such breach, the stated period will be extended by an additional [***].\n(b) If an alleged material breach pertains to a failure to exercise Commercially Reasonable Efforts, the following process will apply:\n(i) If a Party believes that the other Party is not exercising Commercially Reasonable Efforts with respect to a Product or as otherwise required under this Agreement, that Party (the “Alleging Party”) may notify the other Party (the “Alleged Breaching Party”) in writing as to what [***] for the [***] to [***] its obligations to exercise such Commercially Reasonable Efforts, taking into account any [***] undertaken by the Alleged Breaching Party to date in relation to such obligations. Within [***] of receipt of such notice, the Alleged Breaching Party must either:\n(1) inform the Alleging Party that it agrees that such expectations are reasonable, in which case it will also provide a [***] that [***] the [***] the [***] to [***]; or\n(2) provide the Alleging Party with a detailed written explanation as to why the Alleged Breaching Party is [***] to [***] and [***] the [***].\n(ii) If the Alleging Party is satisfied that the [***] under [***] the allegations, notwithstanding any other provisions of this Agreement to the contrary, the Alleged Breaching Party [***] and [***] to [***] the [***] a [***]. If the Alleged Breaching Party fails to take such steps in a timely manner, the Alleging Party may [***] the [***] or [***] the [***] by [***] (provided that, if the [***] to [***] relates only to a Product, the Alleging Party’s right to terminate is limited to such Product).\n(iii) If the Alleging Party is [***] that the [***] provided under Section 11.5(b)(i)(1) resolves the allegations, or if the Alleged Breaching Party provides notice under Section 11.5(b)(i)(2), the Alleging Party may, acting reasonably, [***] the [***] to [***] the [***] and, if necessary, [***] in [***] with [***] to determine whether the [***] has [***] its [***] to use Commercially Reasonable Efforts and/or whether any [***] provided under [***], if implemented, would [***] any [***] to [***] such [***].\n(iv) If the matter is referred to [***] and following such [***]:\n(1) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***], no [***] shall be taken with respect to such [***];\n(2) it is determined that the Alleged Breaching Party has [***] its [***] to exercise such [***] and the [***] provided under [***] (if any) [***] the [***], the [***] shall take [***] and [***] to [***] the [***] in a timely manner; provided however that if the Alleged Breaching Party [***] to [***] such [***] in a timely manner, the [***] may terminate the Agreement entirely or with respect to the relevant Product by immediate written notice (provided that, if the failure to exercise Commercially Reasonable Efforts relates to a Product, the Alleging Party’s right to terminate is limited to that Product);\n(3) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***] and either [***] was provided under [***], or the [***] provided under that [***] does [***] the [***], the Alleging Party may terminate the Agreement entirely or with respect to the relevant Product by immediate written\nnotice (provided that, if the failure to exercise Commercially Reasonable Efforts relates to a Product, the Alleging Party’s right to terminate is limited to that Product).\n11.6 Termination for Bankruptcy. To the extent permitted under Applicable Law, either Party may terminate this Agreement immediately upon written notice to the other Party, if, at any time: (a) the other Party files in any court or agency pursuant to any statute or regulation of any state or country, a petition in bankruptcy or insolvency or for reorganization or for an arrangement or for the appointment of a receiver or trustee of the Party or of substantially all of its assets; (b) the other Party is served with an involuntary petition against it, filed in any insolvency proceeding, and such petition shall not be dismissed within [***] after the filing thereof; (c) the other Party shall propose or be a party to any dissolution or liquidation; or (d) the other Party shall make an assignment of substantially all of its assets for the benefit of creditors. The Parties shall retain and may fully exercise all of their respective rights and elections under the Bankruptcy Code.\n11.7 Consequences of Termination. Consequences of Termination are described with respect to three categories of termination: (1) where Momenta has the right to the return of the Product(s), and (2) where CSL has the right to continue and retain the Product(s), and (3) where the Agreement is terminated [***] the [***].\n(a) Termination Where Momenta Has the Right to the Return of the Product(s). Without limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:\n•by CSL under [***] for [***] other than where the [***] is [***] in its [***] by CSL [***],\n•by Momenta under [***] for [***],\n•by Momenta for [***] under [***],\n•by Momenta for [***] or [***] under [***], or\n•by Momenta for [***] under [***],\nthe following provisions will take effect as of the Termination Date (or upon the giving of a termination notice where indicated) with respect to the Product(s) for which the Agreement has been terminated:\n(i) CSL will use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee: (A) possession and ownership of all governmental and regulatory correspondence, conversation logs, filings and approvals (including all Regulatory Approvals) [***] or [***] that [***] and [***] related to the Development, Manufacture or Commercialization of the terminated Product(s); (B) copies of all data, reports, records and materials [***] or [***] and [***] to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s); (C) all inventory of terminated Product(s) [***]; and (D) all records and materials [***] or [***] containing Confidential Information of Momenta relating [***] to the [***] provided, however, that CSL shall be entitled to retain one copy of all such Confidential Information for purposes of determining its obligations under this Agreement. Effective as of the date of the termination notice, CSL will, [***], and [***] and [***] cooperate with Momenta, either to transition all Development activities initiated prior to the Termination Date with respect to the terminated Products and wind down, transition, and end such Development activities in an orderly manner;\n(ii) CSL will, [***] in [***]: (A) [***] Momenta as CSL’s and/or its Affiliates’ [***] for all terminated Product-related matters involving Regulatory Authorities; or (B) appoint a mutually [***] to [***] as a [***] for [***] on [***] behalf for the period of time after termination necessary to allow for an [***] of the regulatory file or Regulatory Approval. Momenta agrees to use [***] to the [***] the [***];\n(iii) If, at the time of termination, CSL is performing process development or Manufacturing activities for the terminated Product(s), CSL shall upon [***] and [***] to [***] to [***] and [***]\nassociated therewith, [***] to effect a transfer of such activities to Momenta or a Third Party nominated by Momenta. If Momenta so requests, CSL will assign to Momenta any agreements with Third Parties reasonably necessary for and primarily relating to the Development, Manufacture or Commercialization of the terminated Product(s) to which CSL is a party to the extent permitted by the terms of such agreements; provided, however, that CSL [***] to [***] or to [***]. In addition, effective upon the giving of a notice of termination, (A) CSL shall meet with Momenta to immediately discuss and plan transfer and transition activities; (B) CSL shall use Commercially Reasonable Efforts to manufacture Products [***] the [***] of [***] that [***] to [***] to [***] to [***] or [***] of [***] is [***]; and (C) CSL shall use Commercially Reasonable Efforts to cooperate with Momenta in initiating the post-Termination transition activities provided for in this Section 11.7(a);\n(iv) the licenses granted to CSL and Momenta pursuant to Article 2 (other than the licenses granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated) (except to the extent necessary to enable CSL to perform its obligations under this Section 11.7 with respect to the terminated Products); provided, however, that CSL shall grant Momenta a [***] license under CSL Intellectual Property and CSL’s interest in the Joint Intellectual Property existing as of the Termination Date to make, have made, use, develop, import, offer for sale, sell and have sold the terminated Product(s). Where Momenta does not have control or hold the first right to enforce Momenta Patent Rights or Joint Patent Rights under Section 7.4 or to defend litigation brought against Momenta under Section 7.5, CSL shall transfer control of such litigation to Momenta and CSL shall assume the rights and obligations previously held by Momenta in such litigation proceedings.\n(v) Momenta shall pay to CSL:\n(1) a royalty of [***] on Net Sales of the terminated Product(s) until [***] of [***] incurred with respect to such Product through the Termination Date are reimbursed, provided, however, that if such termination occurs with respect to [***] to [***] to [***] or [***] to [***] the [***] the only royalty payable shall be the royalty specified in [***]; and\n(2) commencing only after the royalty payable pursuant to Section 11.7(a)(v)(1) is no longer payable, a royalty of [***] of each terminated Product that, but, for the licenses granted hereunder, would infringe a Valid Claim in a CSL Patent Right or a Joint Patent Right existing as of the Termination Date;\n(vi) Until the expiry of Momenta’s obligation to pay royalties under Section 11.7(a)(v), Momenta shall provide CSL with Quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to that required in respect of Net Sales Statements;\n(vii) CSL will assign to Momenta all right, title and interest in the Product Trademarks and Product Domain Names for the terminated Product(s) and [***] Product(s) and all goodwill associated therewith;\n(viii) Subject to any surviving licenses granted to the other Party under this Agreement (including the license to Momenta in Section 11.7(a)(iv)) and any other terms of this Agreement that survive termination, each Party may exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party;\n(ix) CSL shall submit payment to Momenta for any amounts paid by Momenta related to Commercialization Expenses incurred through the Termination Date for which CSL is responsible under the Agreement with respect to the terminated Product(s) and [***] Product(s), and any milestones achieved and royalty payments pursuant to Section 3.1 with respect to the terminated Product(s), as of the Termination Date within sixty (60) days following receipt from Momenta of a detailed invoice therefore;\n(x) Momenta shall reimburse CSL for [***] and [***] with the [***] of the [***]; and\n(xi) If this Agreement is terminated in its entirety only:\n(1) Momenta shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights covered by the license in Section 11.7(a)(iv);\n(2) CSL shall use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee (A) copies of all data, reports, records and materials in CSL’s possession or control which relate to any Momenta Intellectual Property comprised in the [***] Products; (B) all records and materials in CSL’s possession or control containing Confidential Information of Momenta which relates to Momenta Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] reasonable costs and expenses [***] or [***] which relate to Momenta Intellectual Property comprised in the [***]; and\n(3) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to any CSL Intellectual Property comprised in the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information of CSL which relates to CSL Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] and [***] or [***] which relate to CSL Intellectual Property comprised in the [***].\n(b) Termination Where CSL Has the Right to Continue and Retain Rights to the Product(s). Without limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:\n•by CSL under [***],\n•by CSL [***] under [***],\n•by CSL [***] or [***] under [***]; or\n•by CSL [***] under [***],\nthe following provisions will take effect as of the effective date of the Termination Date with respect to the Product(s) for which the Agreement has terminated:\n(i) Momenta will, as soon as practicable, transfer to CSL or its designee: (A) copies of all data, reports, records and [***] in [***] relating to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s), [***] (B) all inventory of terminated Product(s) [***] or [***]; and (C) all records and materials [***] or [***] Confidential Information of CSL relating solely to the terminated Product(s);\n(ii) If, at the time of termination, Momenta is performing Manufacturing activities for the terminated Product(s), Momenta shall upon [***] and [***] to [***] to [***] and [***] associated therewith, [***] to effect a transfer of such activities to CSL or a Third Party nominated by CSL. If CSL so requests, Momenta will assign to CSL any agreements with Third Parties reasonably necessary for and primarily relating to the Development, Manufacture or Commercialization of the terminated Product(s) to which Momenta is a party to the extent permitted by the terms of such agreements; provided, however, that Momenta shall not be [***] to [***] to [***] or [***];\n(iii) If Momenta is Co-Funding one or more Products, Momenta shall submit payment to CSL for any amounts paid by CSL related to Program Expenses incurred through the Termination Date for which Momenta is responsible for under the Agreement with respect to the terminated Product(s), within [***] receipt from CSL of a detailed invoice therefore;\n(iv) the licenses granted to Momenta in Article 2 (other than the license granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated);\n(v) CSL shall, with respect to the terminated Products, continue to exercise the licenses and rights granted to CSL under Article 2, subject to the revised royalty rates set forth below, replacing the royalty rates set out in Section 3.1(e)(i), and with the same reporting obligations and other obligations related to the payment of such royalties as would have applied under this Agreement. No other royalties or milestones will be payable with respect to the terminated Product(s). CSL shall have the right to terminate such licenses at any time. The revised royalty rates are as follows:\n(1) If the Agreement is terminated prior to the [***] a [***] Trial for a terminated Product(s), CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product(s) during the Royalty Period;\n(2) If the Agreement is terminated after [***] a [***] and [***] the [***] a [***], CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period; and.\n(3) If the Agreement is terminated on or after the [***] terminated Product, CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period;\n(vi) until the expiry of CSL’s obligation to pay royalties under Section 11.7(b)(v), CSL shall provide Momenta with quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to Net Sales Statements; and.\n(vii) if this Agreement is terminated in its entirety only:\n(1) CSL shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights; and.\n(2) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information which relates to the [***] Products; and (C) [***] and [***] to [***] to [***] and [***] of [***] associated therewith, [***] or [***] which relate to [***].\n(c) Termination Prior to the [***] the [***]. Without limiting any other legal or equitable remedies that either Party may have, if this Agreement is terminated:\n•by CSL [***] its [***] under [***] (Prior to [***]), or\n•by Momenta under [***] terminates prior to [***] of [***]),\nthe following provisions will take effect as of the Termination Date with respect to the Agreement:\n(i) the consequences set out in Section 11.7(a) shall apply, provided that the license specified in Section 11.7(a)(iv) shall not be granted by CSL to Momenta;\n(ii) Each Party shall grant to the other Party and its Affiliates a [***] to [***] in which it or its Affiliates has an ownership interest at the termination date [***] the [***] the [***] to [***];\n(iii) despite anything to the contrary in Section 11.7(a), the provisions of this Agreement relating to the [***] of [***] to [***];\n(iv) subject to the licenses granted to the other Party under this Agreement and any other terms of this Agreement that survive termination, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; and\n(v) no further royalties or milestones will be payable by either Party except for the royalty payable under Section 11.7(a)(v).\n(d) [***] Products. [***] Products are not subject to separate termination on a [***] Product by [***] Product basis under this Agreement. Subject to the provisions of any licenses granted or surviving on termination, on termination of the Agreement in its entirety, each Party will be free to exploit any Intellectual Property owned by it comprised in the [***] Products.\n11.8 Non-Exclusive Remedy. Termination of this Agreement shall be in addition to, and shall not prejudice, the Parties’ remedies at law or in equity, including, without limitation, the Parties’ ability to receive legal damages and/or equitable relief with respect to any breach of this Agreement, regardless of whether or not such breach was the reason for the termination.\n11.9 Survival of Liability. Expiration or termination of this Agreement for any reason shall not release either Party from any liability that, at the time of such expiration or termination, has already accrued or that is attributable to a period prior to such expiration or termination, nor preclude either Party from pursuing any right or remedy it may have hereunder or at law or in equity with respect to any breach of this Agreement.\n11.10 Survival. Termination or expiration of this Agreement for any reason will be without prejudice to any rights that have accrued to the benefit of a Party prior to such termination or expiration. Such termination or expiration will not relieve a Party from obligations that are expressly indicated to survive the termination or expiration of this Agreement or prevent a Party from exercising any rights that are expressly indicated to survive such termination or expiration. Upon termination or expiration of this Agreement as provided for in this Article 11, the following Articles and Sections of this Agreement shall survive:\n(a) Article 1 (Definitions);\n(b) Article 2 (Licenses), but solely with respect to the subject matter of the following provisions, and solely to the extent required to give effect to and subject to the provisions of:\n(i) Section 11.7(b)(v) (CSL’s right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);\n(ii) Section 11.7(a)(iv) (licenses to CSL survive solely to the extent necessary to enable CSL to perform its obligations under Section 11.7 with respect to the terminated Products on termination by Momenta where Momenta has right to return of the Product(s));\n(iii) Section 2.1(c) (providing for exercise of rights by Affiliates);\n(iv) Section 2.3 (Joint Intellectual Property);\n(v) Section 2.7 (Retained Rights);\n(vi) Section 2.9 (No Additional Licenses);\n(vii) Section 2.10(a) (Bankruptcy); and\n(viii) The limited license granted by CSL to Momenta with respect to New Intellectual Property, as provided in the final sentence of Section 2.2;\n(c) Section 3.5 (Currency);\n(d) Section 4.5(Overdue Payments);\n(e) Article 3 (Financial Terms) (with respect to earned payments and royalties as of the effective date of termination and the reporting of Net Sales and payments thereof under royalties payable post-termination under Section 11.7);\n(f) Section 4.3 (Cost Share and Profit Share for Co-Funding of Products and [***] Products) (solely with respect to unreported, unreconciled and Program Expenses, Profits and Losses as of the effective date of termination to facilitate the final payment and Reimbursement to a Party related thereto);\n(g) Section 4.6 (Taxes);\n(h) Section 4.7 (Audits; Records and Inspections);\n(i) Section 7.1 (Ownership of Intellectual Property);\n(j) Section 7.4 (Enforcement and Defense of Enforcement Intellectual Property) (but solely where, pursuant to Section 11.7(b)(v), CSL has the right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);\n(k) Section 7.3(a) (Trademarks and Domain Names) (ownership of provision); \n(l) Article 8 (Confidential Information) other than Section 8.2 (Public Disclosure);\n(m) Article 9 (Indemnification and Limitation of Liability) other than Section 9.4(Insurance);\n(n) Article 11 (Term and Termination); and\n(o) Article 13 (Miscellaneous) other than Sections 13.3(b) (Change of Control); Section 13.8 (Quality Agreement); Section 13.11 (Dispute Resolution); Section 13.12 (HSR Act); and Section 13.13 (Anti-Corruption Audits and Inspections). \nFor the avoidance of doubt, if CSL has obtained, under Section 3.1(e)(vi), upon the expiration of the Royalty Period with respect to any Product in any particular country in the Territory, a fully paid-up, perpetual, irrevocable, exclusive license in such country to the Momenta Intellectual Property to research, Develop, make, use, import, sell, have made, have sold and otherwise Commercialize such Product, such license shall not be affected by the subsequent termination or expiration of this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) the expiration of all payment obligations with respect to Products; and"}
-{"idx": 1, "level": 3, "span": "(b) if Momenta exercises a Co-Funding Option, the [***] of [***] to [***] or [***] on [***] it [***] ceases to Co-Fund any Product; and"}
-{"idx": 1, "level": 3, "span": "(c) the date on which there are no active Product Work Plans."}
-{"idx": 1, "level": 3, "span": "(a) Prior to achievement of [***]\nCSL may terminate the Agreement in its [***] or [***] to the [***] at any time prior to the date on which the [***] would become payable for the [***], by giving [***] to Momenta ([***] period between the notice and the Termination Date, the [***]); provided that CSL shall be obligated to pay to Momenta the [***] as set forth in [***] within [***] of giving Momenta such termination notice regardless of whether such [***] is [***]"}
-{"idx": 1, "level": 3, "span": "(b) After Failure to Achieve [***]\nIf the [***] with respect to the [***] is not met, CSL may terminate the Agreement [***] or [***] to the [***] by giving [***] Momenta within [***] after the [***] with respect to the [***] is not achieved."}
-{"idx": 1, "level": 3, "span": "(c) Termination Prior to [***]\nCSL may, by giving not less than (x) [***] if a Product does not achieve [***] in [***] in the Development Plan, or (y) [***] written notice otherwise, to Momenta, terminate the Agreement:"}
-{"idx": 1, "level": 4, "span": "(i) [***] or [***] to the [***] (A) at any time after the [***] is [***] but before the [***] of the [***], or (B) more than [***] after the [***] with respect to the [***] is not achieved but before the [***] of the [***] or"}
-{"idx": 1, "level": 4, "span": "(ii) with respect to a Product other than [***], at any time before the [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(d) Termination After [***]\nCSL may terminate the Agreement in its entirety or with respect to a Product at any time after the [***] in [***] to Momenta."}
-{"idx": 1, "level": 3, "span": "(a) CSL shall not have the right to terminate this Agreement [***] or [***]:"}
-{"idx": 1, "level": 4, "span": "(i) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement, in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or"}
-{"idx": 1, "level": 4, "span": "(ii) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement [***] a [***] in [***] by [***] of such [***]."}
-{"idx": 1, "level": 3, "span": "(b) Momenta shall not have the right to terminate this Agreement [***] or [***]:"}
-{"idx": 1, "level": 4, "span": "(i) [***] a [***] that is [***] the [***] in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or"}
-{"idx": 1, "level": 4, "span": "(ii) [***] a [***] that is [***] the [***] a [***] in [***] by [***] of [***]"}
-{"idx": 1, "level": 3, "span": "(a) Subject to Section 11.5(b), a Party may terminate this Agreement entirely or with respect to a Product upon written notice specifying a date of immediate or future effectiveness if the other Party has materially breached this Agreement (provided that, if such material breach relates only to a Product, then the Party’s right to terminate is limited to such Product), and such breach is not cured by that Party [***] of [***] of such breach and the non-breaching Party’s intent to terminate; provided that if such breach is not susceptible of cure within such period and the Party in breach uses diligent good faith efforts to cure such breach, the stated period will be extended by an additional [***]."}
-{"idx": 1, "level": 3, "span": "(b) If an alleged material breach pertains to a failure to exercise Commercially Reasonable Efforts, the following process will apply:"}
-{"idx": 1, "level": 4, "span": "(i) If a Party believes that the other Party is not exercising Commercially Reasonable Efforts with respect to a Product or as otherwise required under this Agreement, that Party (the “Alleging Party”) may notify the other Party (the “Alleged Breaching Party”) in writing as to what [***] for the [***] to [***] its obligations to exercise such Commercially Reasonable Efforts, taking into account any [***] undertaken by the Alleged Breaching Party to date in relation to such obligations\nWithin [***] of receipt of such notice, the Alleged Breaching Party must either:"}
-{"idx": 1, "level": 4, "span": "(1) inform the Alleging Party that it agrees that such expectations are reasonable, in which case it will also provide a [***] that [***] the [***] the [***] to [***]; or"}
-{"idx": 1, "level": 4, "span": "(2) provide the Alleging Party with a detailed written explanation as to why the Alleged Breaching Party is [***] to [***] and [***] the [***]."}
-{"idx": 1, "level": 4, "span": "(ii) If the Alleging Party is satisfied that the [***] under [***] the allegations, notwithstanding any other provisions of this Agreement to the contrary, the Alleged Breaching Party [***] and [***] to [***] the [***] a [***]\nIf the Alleged Breaching Party fails to take such steps in a timely manner, the Alleging Party may [***] the [***] or [***] the [***] by [***] (provided that, if the [***] to [***] relates only to a Product, the Alleging Party’s right to terminate is limited to such Product)."}
-{"idx": 1, "level": 4, "span": "(iii) If the Alleging Party is [***] that the [***] provided under Section 11.5(b)(i)(1) resolves the allegations, or if the Alleged Breaching Party provides notice under Section 11.5(b)(i)(2), the Alleging Party may, acting reasonably, [***] the [***] to [***] the [***] and, if necessary, [***] in [***] with [***] to determine whether the [***] has [***] its [***] to use Commercially Reasonable Efforts and/or whether any [***] provided under [***], if implemented, would [***] any [***] to [***] such [***]."}
-{"idx": 1, "level": 4, "span": "(iv) If the matter is referred to [***] and following such [***]:"}
-{"idx": 1, "level": 4, "span": "(1) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***], no [***] shall be taken with respect to such [***];"}
-{"idx": 1, "level": 4, "span": "(2) it is determined that the Alleged Breaching Party has [***] its [***] to exercise such [***] and the [***] provided under [***] (if any) [***] the [***], the [***] shall take [***] and [***] to [***] the [***] in a timely manner; provided however that if the Alleged Breaching Party [***] to [***] such [***] in a timely manner, the [***] may terminate the Agreement entirely or with respect to the relevant Product by immediate written notice (provided that, if the failure to exercise Commercially Reasonable Efforts relates to a Product, the Alleging Party’s right to terminate is limited to that Product);"}
-{"idx": 1, "level": 4, "span": "(3) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***] and either [***] was provided under [***], or the [***] provided under that [***] does [***] the [***], the Alleging Party may terminate the Agreement entirely or with respect to the relevant Product by immediate written"}
-{"idx": 1, "level": 3, "span": "(a) Termination Where Momenta Has the Right to the Return of the Product(s)\nWithout limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:"}
-{"idx": 1, "level": 4, "span": "(i) CSL will use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee: (A) possession and ownership of all governmental and regulatory correspondence, conversation logs, filings and approvals (including all Regulatory Approvals) [***] or [***] that [***] and [***] related to the Development, Manufacture or Commercialization of the terminated Product(s); (B) copies of all data, reports, records and materials [***] or [***] and [***] to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s); (C) all inventory of terminated Product(s) [***]; and (D) all records and materials [***] or [***] containing Confidential Information of Momenta relating [***] to the [***] provided, however, that CSL shall be entitled to retain one copy of all such Confidential Information for purposes of determining its obligations under this Agreement\nEffective as of the date of the termination notice, CSL will, [***], and [***] and [***] cooperate with Momenta, either to transition all Development activities initiated prior to the Termination Date with respect to the terminated Products and wind down, transition, and end such Development activities in an orderly manner;"}
-{"idx": 1, "level": 4, "span": "(ii) CSL will, [***] in [***]: (A) [***] Momenta as CSL’s and/or its Affiliates’ [***] for all terminated Product-related matters involving Regulatory Authorities; or (B) appoint a mutually [***] to [***] as a [***] for [***] on [***] behalf for the period of time after termination necessary to allow for an [***] of the regulatory file or Regulatory Approval\nMomenta agrees to use [***] to the [***] the [***];"}
-{"idx": 1, "level": 4, "span": "(iii) If, at the time of termination, CSL is performing process development or Manufacturing activities for the terminated Product(s), CSL shall upon [***] and [***] to [***] to [***] and [***]"}
-{"idx": 1, "level": 4, "span": "(iv) the licenses granted to CSL and Momenta pursuant to Article 2 (other than the licenses granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated) (except to the extent necessary to enable CSL to perform its obligations under this Section 11.7 with respect to the terminated Products); provided, however, that CSL shall grant Momenta a [***] license under CSL Intellectual Property and CSL’s interest in the Joint Intellectual Property existing as of the Termination Date to make, have made, use, develop, import, offer for sale, sell and have sold the terminated Product(s)\nWhere Momenta does not have control or hold the first right to enforce Momenta Patent Rights or Joint Patent Rights under Section 7.4 or to defend litigation brought against Momenta under Section 7.5, CSL shall transfer control of such litigation to Momenta and CSL shall assume the rights and obligations previously held by Momenta in such litigation proceedings."}
-{"idx": 1, "level": 4, "span": "(v) Momenta shall pay to CSL:"}
-{"idx": 1, "level": 4, "span": "(1) a royalty of [***] on Net Sales of the terminated Product(s) until [***] of [***] incurred with respect to such Product through the Termination Date are reimbursed, provided, however, that if such termination occurs with respect to [***] to [***] to [***] or [***] to [***] the [***] the only royalty payable shall be the royalty specified in [***]; and"}
-{"idx": 1, "level": 4, "span": "(2) commencing only after the royalty payable pursuant to Section 11.7(a)(v)(1) is no longer payable, a royalty of [***] of each terminated Product that, but, for the licenses granted hereunder, would infringe a Valid Claim in a CSL Patent Right or a Joint Patent Right existing as of the Termination Date;"}
-{"idx": 1, "level": 4, "span": "(vi) Until the expiry of Momenta’s obligation to pay royalties under Section 11.7(a)(v), Momenta shall provide CSL with Quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to that required in respect of Net Sales Statements;"}
-{"idx": 1, "level": 4, "span": "(vii) CSL will assign to Momenta all right, title and interest in the Product Trademarks and Product Domain Names for the terminated Product(s) and [***] Product(s) and all goodwill associated therewith;"}
-{"idx": 1, "level": 4, "span": "(viii) Subject to any surviving licenses granted to the other Party under this Agreement (including the license to Momenta in Section 11.7(a)(iv)) and any other terms of this Agreement that survive termination, each Party may exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party;"}
-{"idx": 1, "level": 4, "span": "(ix) CSL shall submit payment to Momenta for any amounts paid by Momenta related to Commercialization Expenses incurred through the Termination Date for which CSL is responsible under the Agreement with respect to the terminated Product(s) and [***] Product(s), and any milestones achieved and royalty payments pursuant to Section 3.1 with respect to the terminated Product(s), as of the Termination Date within sixty (60) days following receipt from Momenta of a detailed invoice therefore;"}
-{"idx": 1, "level": 4, "span": "(x) Momenta shall reimburse CSL for [***] and [***] with the [***] of the [***]; and"}
-{"idx": 1, "level": 4, "span": "(xi) If this Agreement is terminated in its entirety only:"}
-{"idx": 1, "level": 4, "span": "(1) Momenta shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights covered by the license in Section 11.7(a)(iv);"}
-{"idx": 1, "level": 4, "span": "(2) CSL shall use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee (A) copies of all data, reports, records and materials in CSL’s possession or control which relate to any Momenta Intellectual Property comprised in the [***] Products; (B) all records and materials in CSL’s possession or control containing Confidential Information of Momenta which relates to Momenta Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] reasonable costs and expenses [***] or [***] which relate to Momenta Intellectual Property comprised in the [***]; and"}
-{"idx": 1, "level": 4, "span": "(3) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to any CSL Intellectual Property comprised in the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information of CSL which relates to CSL Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] and [***] or [***] which relate to CSL Intellectual Property comprised in the [***]."}
-{"idx": 1, "level": 3, "span": "(b) Termination Where CSL Has the Right to Continue and Retain Rights to the Product(s)\nWithout limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:"}
-{"idx": 1, "level": 4, "span": "(i) Momenta will, as soon as practicable, transfer to CSL or its designee: (A) copies of all data, reports, records and [***] in [***] relating to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s), [***] (B) all inventory of terminated Product(s) [***] or [***]; and (C) all records and materials [***] or [***] Confidential Information of CSL relating solely to the terminated Product(s);"}
-{"idx": 1, "level": 4, "span": "(ii) If, at the time of termination, Momenta is performing Manufacturing activities for the terminated Product(s), Momenta shall upon [***] and [***] to [***] to [***] and [***] associated therewith, [***] to effect a transfer of such activities to CSL or a Third Party nominated by CSL\nIf CSL so requests, Momenta will assign to CSL any agreements with Third Parties reasonably necessary for and primarily relating to the Development, Manufacture or Commercialization of the terminated Product(s) to which Momenta is a party to the extent permitted by the terms of such agreements; provided, however, that Momenta shall not be [***] to [***] to [***] or [***];"}
-{"idx": 1, "level": 4, "span": "(iii) If Momenta is Co-Funding one or more Products, Momenta shall submit payment to CSL for any amounts paid by CSL related to Program Expenses incurred through the Termination Date for which Momenta is responsible for under the Agreement with respect to the terminated Product(s), within [***] receipt from CSL of a detailed invoice therefore;"}
-{"idx": 1, "level": 4, "span": "(iv) the licenses granted to Momenta in Article 2 (other than the license granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated);"}
-{"idx": 1, "level": 4, "span": "(v) CSL shall, with respect to the terminated Products, continue to exercise the licenses and rights granted to CSL under Article 2, subject to the revised royalty rates set forth below, replacing the royalty rates set out in Section 3.1(e)(i), and with the same reporting obligations and other obligations related to the payment of such royalties as would have applied under this Agreement\nNo other royalties or milestones will be payable with respect to the terminated Product(s). CSL shall have the right to terminate such licenses at any time. The revised royalty rates are as follows:"}
-{"idx": 1, "level": 4, "span": "(1) If the Agreement is terminated prior to the [***] a [***] Trial for a terminated Product(s), CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product(s) during the Royalty Period;"}
-{"idx": 1, "level": 4, "span": "(2) If the Agreement is terminated after [***] a [***] and [***] the [***] a [***], CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period; and."}
-{"idx": 1, "level": 4, "span": "(3) If the Agreement is terminated on or after the [***] terminated Product, CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period;"}
-{"idx": 1, "level": 4, "span": "(vi) until the expiry of CSL’s obligation to pay royalties under Section 11.7(b)(v), CSL shall provide Momenta with quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to Net Sales Statements; and."}
-{"idx": 1, "level": 4, "span": "(vii) if this Agreement is terminated in its entirety only:"}
-{"idx": 1, "level": 4, "span": "(1) CSL shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights; and."}
-{"idx": 1, "level": 4, "span": "(2) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information which relates to the [***] Products; and (C) [***] and [***] to [***] to [***] and [***] of [***] associated therewith, [***] or [***] which relate to [***]."}
-{"idx": 1, "level": 3, "span": "(c) Termination Prior to the [***] the [***]\nWithout limiting any other legal or equitable remedies that either Party may have, if this Agreement is terminated:"}
-{"idx": 1, "level": 4, "span": "(i) the consequences set out in Section 11.7(a) shall apply, provided that the license specified in Section 11.7(a)(iv) shall not be granted by CSL to Momenta;"}
-{"idx": 1, "level": 4, "span": "(ii) Each Party shall grant to the other Party and its Affiliates a [***] to [***] in which it or its Affiliates has an ownership interest at the termination date [***] the [***] the [***] to [***];"}
-{"idx": 1, "level": 4, "span": "(iii) despite anything to the contrary in Section 11.7(a), the provisions of this Agreement relating to the [***] of [***] to [***];"}
-{"idx": 1, "level": 4, "span": "(iv) subject to the licenses granted to the other Party under this Agreement and any other terms of this Agreement that survive termination, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; and"}
-{"idx": 1, "level": 4, "span": "(v) no further royalties or milestones will be payable by either Party except for the royalty payable under Section 11.7(a)(v)."}
-{"idx": 1, "level": 3, "span": "(d) [***] Products\n[***] Products are not subject to separate termination on a [***] Product by [***] Product basis under this Agreement. Subject to the provisions of any licenses granted or surviving on termination, on termination of the Agreement in its entirety, each Party will be free to exploit any Intellectual Property owned by it comprised in the [***] Products."}
-{"idx": 1, "level": 3, "span": "(a) Article 1 (Definitions);"}
-{"idx": 1, "level": 3, "span": "(b) Article 2 (Licenses), but solely with respect to the subject matter of the following provisions, and solely to the extent required to give effect to and subject to the provisions of:"}
-{"idx": 1, "level": 4, "span": "(i) Section 11.7(b)(v) (CSL’s right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);"}
-{"idx": 1, "level": 4, "span": "(ii) Section 11.7(a)(iv) (licenses to CSL survive solely to the extent necessary to enable CSL to perform its obligations under Section 11.7 with respect to the terminated Products on termination by Momenta where Momenta has right to return of the Product(s));"}
-{"idx": 1, "level": 4, "span": "(iii) Section 2.1(c) (providing for exercise of rights by Affiliates);"}
-{"idx": 1, "level": 4, "span": "(iv) Section 2.3 (Joint Intellectual Property);"}
-{"idx": 1, "level": 4, "span": "(v) Section 2.7 (Retained Rights);"}
-{"idx": 1, "level": 4, "span": "(vi) Section 2.9 (No Additional Licenses);"}
-{"idx": 1, "level": 4, "span": "(vii) Section 2.10(a) (Bankruptcy); and"}
-{"idx": 1, "level": 4, "span": "(viii) The limited license granted by CSL to Momenta with respect to New Intellectual Property, as provided in the final sentence of Section 2.2;"}
-{"idx": 1, "level": 3, "span": "(c) Section 3.5 (Currency);"}
-{"idx": 1, "level": 3, "span": "(d) Section 4.5(Overdue Payments);"}
-{"idx": 1, "level": 3, "span": "(e) Article 3 (Financial Terms) (with respect to earned payments and royalties as of the effective date of termination and the reporting of Net Sales and payments thereof under royalties payable post-termination under Section 11.7);"}
-{"idx": 1, "level": 3, "span": "(f) Section 4.3 (Cost Share and Profit Share for Co-Funding of Products and [***] Products) (solely with respect to unreported, unreconciled and Program Expenses, Profits and Losses as of the effective date of termination to facilitate the final payment and Reimbursement to a Party related thereto);"}
-{"idx": 1, "level": 3, "span": "(g) Section 4.6 (Taxes);"}
-{"idx": 1, "level": 3, "span": "(h) Section 4.7 (Audits; Records and Inspections);"}
-{"idx": 1, "level": 4, "span": "(i) Section 7.1 (Ownership of Intellectual Property);"}
-{"idx": 1, "level": 3, "span": "(j) Section 7.4 (Enforcement and Defense of Enforcement Intellectual Property) (but solely where, pursuant to Section 11.7(b)(v), CSL has the right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);"}
-{"idx": 1, "level": 3, "span": "(k) Section 7.3(a) (Trademarks and Domain Names) (ownership of provision);"}
-{"idx": 1, "level": 3, "span": "(l) Article 8 (Confidential Information) other than Section 8.2 (Public Disclosure);"}
-{"idx": 1, "level": 3, "span": "(m) Article 9 (Indemnification and Limitation of Liability) other than Section 9.4(Insurance);"}
-{"idx": 1, "level": 3, "span": "(n) Article 11 (Term and Termination); and"}
-{"idx": 1, "level": 3, "span": "(o) Article 13 (Miscellaneous) other than Sections 13.3(b) (Change of Control); Section 13.8 (Quality Agreement); Section 13.11 (Dispute Resolution); Section 13.12 (HSR Act); and Section 13.13 (Anti-Corruption Audits and Inspections)"}
-{"idx": 1, "level": 2, "span": "ARTICLE 12."}
-{"idx": 1, "level": 2, "span": "REPRESENTATIONS, WARRANTIES AND COVENANTS\n12.1 Momenta. Momenta represents and warrants that, as of the Execution Date: (a) it has the full right, power and authority to enter into this Agreement and to grant the rights and licenses granted by it hereunder; (b) to the knowledge of Momenta, there are no existing or threatened actions, suits or claims pending with respect to the subject matter hereof or the right of Momenta to enter into and perform its obligations under this Agreement; (c) it has taken all necessary action on its part to authorize the execution and delivery of this Agreement and the performance of its obligations hereunder; (d) this Agreement has been duly executed and delivered on behalf of it, and constitutes a legal, valid, binding obligation, enforceable against it in accordance with the terms hereof; and (e) the execution and delivery of this Agreement and the performance of its obligations hereunder do not conflict with or violate any requirement of Applicable Law or regulations and do not conflict with, or constitute a default under, any contractual obligation of Momenta.\n12.2 CSL. CSL represents and warrants that as of the Execution Date: (a) it has the full right, power and authority to enter into this Agreement and to grant the rights and licenses granted by it hereunder; (b) to the knowledge of CSL, there are no existing or threatened actions, suits or claims pending with respect to the subject\nmatter hereof or the right of CSL to enter into and perform its obligations under this Agreement; (c) it has taken all necessary action on its part to authorize the execution and delivery of this Agreement and the performance of its obligations hereunder; (d) this Agreement has been duly executed and delivered on behalf of it, and constitutes a legal, valid, binding obligation, enforceable against it in accordance with the terms hereof; and (e) the execution and delivery of this Agreement and the performance of its obligations hereunder do not conflict with or violate any requirement of Applicable Law or regulations and do not conflict with, or constitute a default under, any contractual obligation of CSL.\n12.3 Additional Representations and Warranties by Momenta. In addition to the representations and warranties given by Momenta elsewhere in this Article 12, Momenta hereby also represents, warrants, and covenants to CSL that, to the best of its actual knowledge at the Execution Date, and other than those matters which have been disclosed, in writing, by Momenta to CSL prior to the signing of this Agreement:\n(a) it has not previously assigned or transferred its right, title and interest in any item of Momenta Patent Rights listed in Schedule 1.93;\n(b) it has the right to grant the license and rights herein to CSL and it has not granted any license, right or interest in, to or under the Momenta Patent Rights listed in Schedule 1.93 or any Momenta Know-How that is [***] and [***] the [***] the [***] under this Agreement to any Third Party;\n(c) the Development, use, sale and importation of Products [***] or [***] and does not [***] of [***] or [***] a [***];\n(d) there are no claims, judgments or settlements against or owed by Momenta and there are no pending or threatened claims or litigation; in each case relating to the Momenta Patents or Momenta Know-How;\n(e) [***] the [***] and [***] the [***] or [***] as of, the Execution Date have been and are being conducted in accordance with Applicable Laws;\n(f) [***] the [***] and, are [***] or [***], in whole or in part;\n(g) it has and will have the full right, power and authority to grant all of the right, title and interest in the licenses granted or to be granted to CSL under this Agreement; with the acknowledgement that non-exclusive license that held by Momenta can only be granted exclusively as to CSL and are not exclusive as to Third Parties;\n(h) Schedule 1.93 contains a complete and correct list of all Momenta Patents related to [***] existing as of the Execution Date, including any exclusive license rights, and the Momenta Patent Rights listed in Schedule 1.93 are existing and, with respect to any patents listed in Schedule 1.93 Momenta (i) is not aware of any claim made against it asserting the invalidity, misuse, unregisterability, unenforceability or non-infringement of any of such Momenta Patent Rights and (ii) is not aware of any claim made against it challenging Momenta’ Control of such Momenta Patent Rights or making any adverse claim of ownership or the rights of Momenta to such Momenta Patent Rights;\n(i) are not aware of any Third Party that is infringing any of the Momenta Patents;\n(j) other than as set out in Schedule 1.93 there are no exclusive license rights held by Momenta with respect to the composition, method of making, or method of use of the [***] Product;\n(k) the Momenta Patent Rights listed in Schedule 1.93 and any Momenta Know-how that is material to and would interfere with the exercise of the licenses granted under this Agreement existing as of the Execution Date are not subject to any funding agreement with any government or government agency which is inconsistent with the rights granted to CSL under this Agreement;\n(l) with regard to any invention claimed in the Momenta Patent Rights which was conceived, reduced to practice, developed, made or created by Momenta’s employees, Momenta has:\n(i) [***] or [***] on [***] on [***] to [***] to [***] the [***] or [***] of [***]\n(ii) [***] and [***] to [***] to [***] or [***] or [***] the [***] and [***] or [***] the [***] or [***] the [***] or [***] or [***] of [***].\n12.4 No Debarment. Each Party represents and warrants to the other Party that such Party, and such Party’s employees, officers, independent contractors, consultants, or agents who will render services relating to the Products and the [***] Products: (a) have not been debarred and are not subject to debarment or convicted of a crime for which an entity or person could be debarred under 21 U.S.C. § 335a (or its equivalent under Applicable Law); and (b) have never been under indictment for a crime for which a person or entity could be debarred under said § 335a (or its equivalent under Applicable Law). If during the Term, a Party has reason to believe that it or any of its employees, officers, independent contractors, consultants, or agents rendering services relating to the Products and the [***] Products: (x) is or will be debarred or convicted of a crime under 21 U.S.C. § 335a (or its equivalent under Applicable Law); or (y) is or will be under indictment under said § 335a (or its equivalent under Applicable Law), then such Party shall immediately so notify the other Party in writing.\n12.5 Compliance with Applicable Law. Each Party shall carry out all work assigned to such Party in the applicable Product Work Plan(s) and its other obligations under this Agreement in material compliance with all Applicable Law, including: (a) the Food, Drug, and Cosmetic Act and any applicable implementing regulations, and relevant non-U.S. equivalents thereof; (b) GMPs; (c) GCPs, (d) all other applicable FDA guidelines and relevant guidelines of applicable regulatory authorities; (e) all other Applicable Laws and regulations, including all applicable federal, national, multinational, state, provincial and local environmental, health and safety laws and regulations in effect at the time and place of Manufacture of a Product or a Research Product; (f) all applicable export and import control laws and regulations; and (g) all applicable anti-bribery and anti-corruption laws and regulations.\n12.6 Commercialization of Products. Each Party agrees, on behalf of itself and its Affiliates and Sublicensees, not to materially and artificially discount the price of a Product solely to generate sales of other products commercialized by such Party (either its own products or those of its Affiliates or Sublicensees).\n12.7 Anti-Corruption Laws. Each Party represents, warrants and covenants that it will comply with the U.S. Customs & Trade Partnership Against Terrorism and with the laws and regulations relating to anti-corruption and anti-bribery including the U.S. Foreign Corrupt Practices Act (collectively, the “Anti-Corruption Laws”). Each Party further represents and warrants that no one acting on its behalf will give, offer, agree or promise to give, or authorize the giving directly or indirectly, of any money or other thing of value to anyone as an inducement or reward for favorable action or forbearance from action or the exercise of influence (a) to any governmental official or employee (including employees of government-owned and government-controlled corporations or agencies), (b) to any political party, official of a political party, or candidate, (c) to an intermediary for payment to any of the foregoing, or (d) to any other person or entity in a corrupt or improper effort to obtain or retain business or any commercial advantage, such as receiving a permit or license.\n(a) Each Party understands that the other Party may immediately suspend payment, in its sole discretion and without notice, if the actions or inactions of such Party become subject to an investigation of potential violations of the Anti-Corruption Laws. Moreover, each Party understands that if it fails to comply with the provisions of the Anti-Corruption Laws, the other Party may terminate this Agreement, and any payments due thereunder, pursuant to Section 11.5.\n(b) Each Party warrants that all persons acting on its behalf will comply with all Anti-Corruption Laws in connection with all work performed hereunder prevailing in the country(ies) in which each Party has its principal places of business or performs such work.\n12.8 Disclaimer. EXCEPT AS OTHERWISE EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER PARTY MAKES ANY REPRESENTATIONS OR EXTENDS ANY WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR VALIDITY OF TECHNOLOGY OR PATENT CLAIMS, WHETHER ISSUED OR PENDING."}
-{"idx": 1, "level": 3, "span": "(a) it has not previously assigned or transferred its right, title and interest in any item of Momenta Patent Rights listed in Schedule 1.93;"}
-{"idx": 1, "level": 3, "span": "(b) it has the right to grant the license and rights herein to CSL and it has not granted any license, right or interest in, to or under the Momenta Patent Rights listed in Schedule 1.93 or any Momenta Know-How that is [***] and [***] the [***] the [***] under this Agreement to any Third Party;"}
-{"idx": 1, "level": 3, "span": "(c) the Development, use, sale and importation of Products [***] or [***] and does not [***] of [***] or [***] a [***];"}
-{"idx": 1, "level": 3, "span": "(d) there are no claims, judgments or settlements against or owed by Momenta and there are no pending or threatened claims or litigation; in each case relating to the Momenta Patents or Momenta Know-How;"}
-{"idx": 1, "level": 3, "span": "(e) [***] the [***] and [***] the [***] or [***] as of, the Execution Date have been and are being conducted in accordance with Applicable Laws;"}
-{"idx": 1, "level": 3, "span": "(f) [***] the [***] and, are [***] or [***], in whole or in part;"}
-{"idx": 1, "level": 3, "span": "(g) it has and will have the full right, power and authority to grant all of the right, title and interest in the licenses granted or to be granted to CSL under this Agreement; with the acknowledgement that non-exclusive license that held by Momenta can only be granted exclusively as to CSL and are not exclusive as to Third Parties;"}
-{"idx": 1, "level": 3, "span": "(h) Schedule 1.93 contains a complete and correct list of all Momenta Patents related to [***] existing as of the Execution Date, including any exclusive license rights, and the Momenta Patent Rights listed in Schedule 1.93 are existing and, with respect to any patents listed in Schedule 1.93 Momenta (i) is not aware of any claim made against it asserting the invalidity, misuse, unregisterability, unenforceability or non-infringement of any of such Momenta Patent Rights and (ii) is not aware of any claim made against it challenging Momenta’ Control of such Momenta Patent Rights or making any adverse claim of ownership or the rights of Momenta to such Momenta Patent Rights;"}
-{"idx": 1, "level": 4, "span": "(i) are not aware of any Third Party that is infringing any of the Momenta Patents;"}
-{"idx": 1, "level": 3, "span": "(j) other than as set out in Schedule 1.93 there are no exclusive license rights held by Momenta with respect to the composition, method of making, or method of use of the [***] Product;"}
-{"idx": 1, "level": 3, "span": "(k) the Momenta Patent Rights listed in Schedule 1.93 and any Momenta Know-how that is material to and would interfere with the exercise of the licenses granted under this Agreement existing as of the Execution Date are not subject to any funding agreement with any government or government agency which is inconsistent with the rights granted to CSL under this Agreement;"}
-{"idx": 1, "level": 3, "span": "(l) with regard to any invention claimed in the Momenta Patent Rights which was conceived, reduced to practice, developed, made or created by Momenta’s employees, Momenta has:"}
-{"idx": 1, "level": 4, "span": "(i) [***] or [***] on [***] on [***] to [***] to [***] the [***] or [***] of [***]"}
-{"idx": 1, "level": 4, "span": "(ii) [***] and [***] to [***] to [***] or [***] or [***] the [***] and [***] or [***] the [***] or [***] the [***] or [***] or [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(a) Each Party understands that the other Party may immediately suspend payment, in its sole discretion and without notice, if the actions or inactions of such Party become subject to an investigation of potential violations of the Anti-Corruption Laws\nMoreover, each Party understands that if it fails to comply with the provisions of the Anti-Corruption Laws, the other Party may terminate this Agreement, and any payments due thereunder, pursuant to Section 11.5."}
-{"idx": 1, "level": 3, "span": "(b) Each Party warrants that all persons acting on its behalf will comply with all Anti-Corruption Laws in connection with all work performed hereunder prevailing in the country(ies) in which each Party has its principal places of business or performs such work."}
-{"idx": 1, "level": 2, "span": "ARTICLE 13."}
-{"idx": 1, "level": 2, "span": "MISCELLANEOUS\n13.1 Governing Law. This Agreement shall be governed by, interpreted and construed in accordance with the substantive laws of the State of New York in the United States, without regard to conflicts of law principles.\n13.2 Amendment; Waiver. This Agreement may only be amended or waived in a document that expressly states the Article or Section that is being modified or waived and that is signed by the Parties. The failure of a Party to insist upon strict performance of any provision of this Agreement or to exercise any right arising out of this Agreement shall neither impair that provision or right nor constitute a waiver of that provision or right, in whole or in part, in that instance or in any other instance.\n13.3 Assignments; Change in Control.\n(a) Assignment. Neither this Agreement nor any right or obligation hereunder may be assigned or delegated, in whole or part, by either Party without the prior written consent of the other or pursuant to subcontracting or sublicensing arrangements expressly contemplated herein; provided, however, that either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder in connection with the transfer or sale of all or substantially all of its business or in the event of its merger, consolidation, change in control or similar transaction. Notwithstanding the foregoing, either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder to an Affiliate; provided that neither Party may, [***] the [***] the [***] or [***] of [***] to [***] Any permitted assignee shall assume all obligations of its assignor under this Agreement; provided that such assignor shall remain primarily liable for the performance hereunder of such assignee. Any purported assignment in violation of this Section 13.3 shall be null and void. Notwithstanding anything to the contrary set forth herein, if a Party (the “Assigning Party”) assigns or transfers this Agreement to a Third Party (any such Third Party, a “Transferee”), whether by merger, assignment, transfer of assets, or operation of law, then the [***] that were [***] or [***] by such [***] to or [***] such assignment or [***] (other than [***] by such [***] in the course of [***] the [***] under this Agreement to the extent such [***] would [***] been so [***] had it been [***] or [***] to [***] by [***]) shall not be deemed to [***], [***] or other [***] or [***] by such [***], and shall also not be [***] or otherwise [***] in any manner, including without limitation, by being [***] to any [***] of or [***] this [***]. Furthermore, such [***] (and [***] of such [***]: (a) [***] immediately prior to such merger, acquisition, assignment or transfer; or (b) [***] or [***] such merger, acquisition, assignment or transfer, in each case which are not [***] by (as defined under the [***] definition in [***]) the [***]) shall be excluded from the [***] for purposes of determining [***] that are [***] to this [***].\n(b) Change of Control.\n(i) Momenta Change of Control. Notwithstanding anything to the contrary in Section 13.3(a), in the event that Momenta is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), Momenta shall, within [***] after the date that such Change of Control closes (the “Momenta COC Closing Date”), provide CSL with notice of such Change of Control (“Momenta COC Notice”). In the event of a Change of Control of Momenta, then:\n(1) Upon CSL’s written election after receipt of such Momenta COC Notice (which election shall be made by providing notice thereof (“CSL COC Election Notice”) no later than [***] after receipt of the Momenta COC Notice), and effective as of the Momenta COC Closing Date (or the Effective Date, if later) solely if CSL provides such CSL COC Election Notice:\n(A) CSL shall retain all licenses granted under this Agreement and shall retain the exclusive right to Develop, Manufacture and Commercialize the Products in the Territory;\n(B) If Momenta is Co-Funding prior to the Change of Control, Momenta will retain its Opt-Out Options under this Agreement. If Momenta has not exercised a Co-Funding Option, Momenta shall forfeit its Co-Funding Option if it has not expired;\n(C) Momenta shall promptly transfer to CSL or its designee all Development, Manufacturing, and Commercialization Activities under any Product Work Plan. Momenta shall also transfer its control of any Enforcement and Defense of Intellectual Property activities under Section 7.4 pertaining to CSL Intellectual Property and Joint Intellectual Property for the Products in the Territory and CSL shall assume control thereof and the provisions of Subsections 11.7(b)(i) to 11.7(b)(iv) (inclusive) shall apply;\n(D) CSL shall not be obligated to submit any further updates to the Product Work Plan or the Commercialization Plan to Momenta;\n(E) Except as provided in (F) below, Momenta shall [***] or [***] the [***] and the [***] and [***];\n(F) CSL shall have no further reporting or record-keeping obligations hereunder with respect to the Development, Manufacture or Commercialization of, and regulatory activities for, the Products other than: (x) its financial reporting and record-keeping obligations, and audit rights, to the extent necessary to verify the accuracy of the calculation of royalties, milestones or other amounts paid or payable to Momenta and to provide to Momenta, if Momenta is Co-Funding any Product, the information to be provided in the Reimbursement and Co-Funding Report provided for in Section 4.3(c), based on the then-effective terms of the Agreement, as applicable; and (y) provision of updates regarding anticipated timelines for Regulatory Approvals and Launches of the Products and budgets associated with such timelines;\n(G) CSL shall have the right to terminate any Co-Promotion Agreements and Momenta’s Co-Promotion Options in the U.S. by providing written notice of such termination to Momenta within [***] after sending the CSL COC Election Notice;\n(H) Unless CSL specifies otherwise in its Momenta COC Notice, if there is an existing Research Plan at time of Change of Control, the Research Plan shall terminate; and\n(I) All licenses of Intellectual Property granted by CSL to Momenta under this Agreement shall terminate. Except as otherwise expressly provided in this Section 13.3(b)(i), each Party shall continue to have the same rights and obligations to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control.\n(ii) CSL Change of Control. Notwithstanding anything to the contrary in Section 13.3(a), in the event that CSL is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), CSL shall, within [***] after the date that such Change of Control closes (the “CSL COC Closing Date”), provide Momenta with notice of such Change of Control (“CSL COC Notice”). In the event of a Change of Control of CSL, then:\n(1) Upon Momenta’s written election after receipt of such CSL COC Notice (which election shall be made by providing notice thereof (“Momenta COC Election Notice”) no later than [***] after receipt of the CSL COC Notice), and effective as of the CSL COC Closing Date (or the Effective Date, if later) solely if Momenta provides such Momenta COC Election Notice, Momenta shall have:\n(A) the right to terminate any Co-Promotion agreement and/or the Research Plan;\n(B) The right to opt out of Co-Funding any Product on a Product by Product basis or with regard to all Products by giving an Opt-Out Notice under Section 4.2(b); and Section 4.2(b) shall be deemed to be amended to allow for an opt-out of Co-Funding on Product-by-Product basis; and\n(C) Each Development Plan then in effect shall be subject to review and approval by the JSC in accordance with Section 5.2 in the same manner as provided for an initial Development Plan for each Product.\n(2) Except as otherwise expressly provided in this Section 13.3(b)(ii), each Party shall continue to have the same rights and obligations under the Agreement, including without limitation, the right to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control.\n13.4 Independent Contractors. The relationship of the Parties hereto is that of independent contractors. The Parties hereto are not deemed to be agents, partners or joint ventures of the others for any purpose as a result of this Agreement or the transactions contemplated thereby.\n13.5 Notices. Any notice required or permitted to be given under or in connection with this Agreement shall be deemed to have been sufficiently given if in writing and (a) sent by certified or registered mail, return receipt requested, postage prepaid, (b) sent by an internationally recognized overnight courier service, (c) sent by hand delivery, to the representative for such Party at the address set forth below for such Party, or (d) sent by electronic mail to the representative for such party at the electronic mail address set forth below for such Party. If a Party changes its representative or address, written notice shall be given promptly to the other Party of the new representative or address. Notice shall be deemed given on the third (3rd) Business Day after being sent in the case of delivery by mail, on the first (1st) Business Day after being sent in the case of delivery by overnight courier, on the date of delivery in the case of delivery by hand, and upon receipt by the Party giving notice of an electronic mail message from the Party to which notice is being given acknowledging acceptance in the case of electronic mail. The addresses of the Parties and representatives are as follows:\nIf to Momenta:Momenta Pharmaceuticals, Inc.\n675 West Kendall Street\nCambridge, MA 02142"}
-{"idx": 1, "level": 2, "span": "USA\nAttn: President and CEO\nFacsimile: [***]\nWith a copy to:Momenta Pharmaceuticals, Inc.\n675 West Kendall Street\nCambridge, MA 02142"}
-{"idx": 1, "level": 2, "span": "USA\nAttn: General Counsel\nEmail: [***]\nIf to CSL:CSL Behring Recombinant Facility AG\nWankdorfstrasse 10\n3000 Bern 22"}
-{"idx": 1, "level": 3, "span": "Switzerland\nAttention: Senior Director, Legal Affairs\nFacsimile: [***]\nWith a copy to:CSL Limited\n45 Poplar Road\nParkville Vic 3052"}
-{"idx": 1, "level": 3, "span": "Australia\nAttention: Company Secretary\nEmail: [***]\n13.6 Force Majeure. Neither Party shall be held liable or responsible to the other nor be deemed to have defaulted under or breached the Agreement for failure or delay in fulfilling or performing any term of the Agreement (excluding payment obligations) to the extent, and for so long as, such failure or delay is caused by or results from causes beyond the reasonable control of such Party including but not limited to fires, earthquakes, floods, embargoes, wars, acts of war (whether war is declared or not), terrorist acts, insurrections, riots, civil commotion, and other similar causes. Performance shall be excused only to the extent of and during the reasonable continuance of such disability. Any deadline\nor time for performance specified in a Product Work Plan that falls due during or subsequent to the occurrence of any of the disabilities referred to herein shall be automatically extended for a period of time equal to the period of such disability. Each Party shall immediately notify the other if, by reason of any of the disabilities referred to herein, it cannot meet any deadline or time for performance specified in any Exhibit to this Agreement. The Parties shall meet to discuss and negotiate in good faith what modifications to this Agreement should result from this force majeure. If a condition constituting force majeure, as defined herein, exists for more than one-hundred eighty (180) consecutive days (a) with respect to a Product or a [***] Product, then either Party may terminate the Agreement solely with respect to such Product or [***] Product, or (b) that affects all Products and [***] Products, either Party may terminate this entire Agreement. The consequences of such termination are set forth in Section 11.7.\n13.7 Complete Agreement. This Agreement constitutes the entire agreement, both written and oral, between the Parties with respect to the subject matter hereof, and all prior agreements respecting the subject matter hereof, whether written or oral, expressed or implied, shall be of no force or effect, including the Prior Confidentiality Agreement and the Prior Material Transfer Agreement (subject to Section 8.5).\n13.8 Quality Agreement. The Parties shall enter into a quality agreement relating to any GMP Product to be manufactured under a Product Work Plan by or for Momenta on behalf of CSL prior to initiating any GMP activities under the Product Work Plan.\n13.9 Severability. If any provisions of this Agreement are determined to be invalid or unenforceable by a court of competent jurisdiction, the remainder of the Agreement shall remain in full force and effect without such provision. In such event, the Parties shall in good faith negotiate a substitute clause for any provision declared invalid or unenforceable, which shall most nearly approximate the intent of the Parties in entering this Agreement.\n13.10 Counterparts. This Agreement may be executed in counterparts, each of which shall be deemed to be an original and both together shall be deemed to be one and the same agreement. Counterparts may be signed and delivered by facsimile, or electronically in PDF format, each of which will be binding when sent.\n13.11 Dispute Resolution. The Parties recognize that bona fide disputes may arise that relate to the Parties’ rights and obligations under this Agreement. Where this Agreement does not specifically provide for a mechanism to resolve such Disputed Matter, the Parties shall follow the procedure set out in this section:\n(a) Executive Resolution. In attempting to resolve any Disputed Matters, the Disputed Matter shall first be elevated through each Party’s respective executive management representatives having responsibility for the function or Activity in respect of which such dispute occurs.\n(b) Mediation. If executive management representatives are unable to resolve a Disputed Matter within [***] after such matter is referred to such executive management representatives, and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, the Parties shall, for Disputed Matters other than those arising under Section 3.1(g), then submit the matter for non-binding mediation under the [***]. The Parties will select a mediator on an expedited basis and seek to mediate the matter with in [***] of referral to mediation.\n(c) Arbitration except in respect of matters arising under Sections [***] and [***]. Subject to Sections [***] and [***], where a Disputed Matter remains unresolved [***] after referral to executive management representatives pursuant to Section 13.11(a) and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, and, following such failure of executive management resolution, mediation pursuant to Section 13.11(b) (as applicable) has been unsuccessful, a Party seeking further resolution of the Disputed Matter shall submit the Disputed Matter to resolution by final and binding arbitration in accordance with [***] in effect on the date of this Agreement and applying the substantive law specified in Section 13.1. For the purposes of this Section 13.11, these rules and supplementary procedures shall be called the “Rules”. Whenever a Party decides to institute arbitration proceedings, it shall give written notice to that effect to the other Party, and the place of arbitration will be in [***]. The arbitration will be conducted by a panel of three (3) arbitrators, who will be appointed as follows: the Parties shall attempt to jointly select such arbitrators. If the Parties cannot agree on the three arbitrators, then the arbitrators will be appointed by [***] in accordance with the Rules. Each arbitrator must have business or legal experience in the biologic pharmaceutical industry and any additional experience set forth in Section 6.8(c), if such Disputed Matter arises under such section. Decisions of the arbitrators that conform to the terms of this Section 13.11(c) shall be final and binding on the Parties, and judgment on the award so rendered may be entered in any court of competent jurisdiction.\n(d) Arbitration in relation to matters arising under Sections [***] and [***]. As explicitly provided for in Sections [***] and [***], if executive management resolution and then mediation do not resolve the relevant Disputed Matter, the Parties shall then submit the relevant Disputed Matter for arbitration pursuant to the [***], using a single arbitrator who will be agreed by the Parties or, should the Parties fail to reach agreement within [***], will be selected in accordance with the [***]. Unless otherwise agreed to by the Parties, the arbitrator shall not be the same as the mediator, and must have business or legal experience in the biologic pharmaceutical industry. The arbitrator shall have sole responsibility of resolving such Disputed Matter from a case and proposal submitted by each Party under this Section 13.11(d), and no other Disputed Matters, claims or counterclaims will be permitted by the Parties in such arbitration. Within [***] after selection of the arbitrator, each Party shall submit to the arbitrator, and exchange with the other Party in accordance with a procedure to be established by the arbitrator, its case and proposal for resolving such Disputed Matter. Within [***] after receiving each Party’s case and proposal, the arbitrator shall select, in its entirety and without modification, solely one (1) of the two (2) proposals submitted by the Parties. Decisions of the arbitrator that conform to the terms of this Section 13.11(d) shall be final and binding on the Parties for the purpose of [***] of the relevant Product; provided that it shall not affect CSL’s right under this Agreement, exercisable at any time, [***] to [***] with [***] and [***] of such [***].\n(e) The Parties shall each bear or pay [***] of the administrative costs and fees of any arbitration under Section 13.11(c) and/or 13.11(d) and the arbitrators’ award will so provide. Each Party shall also bear or pay its own attorneys’ fees, expert or witness fees, and any other fees and costs, and no such fees or costs will be shifted to the other Party. Except as may be required by Applicable Law, no Party (or its representative, witnesses or arbitrators) may disclose the existence, content or result of any arbitration under this Agreement without the prior written consent of both Parties, except that no such consent shall be required to enter and enforce the judgment in court.\n(f) Non-arbitrated Disputes. Notwithstanding anything in this Agreement to the contrary, as between the Parties, any and all issues regarding: (i) the infringement, validity and enforceability of any patent in a country, (ii) the termination of this Agreement (other than termination for failure to use Commercially Reasonable Efforts), (iii) any Disputed Matter that occurs after the termination of the Agreement and (iv) any decision of CSL under Section 5.14 not to continue with Development and/or Commercialization of the First Product (collectively “Non-Arbitrated Matters”) shall be determined in a court or other tribunal, as the case may be, of competent jurisdiction. To the extent that such Non-Arbitrated Matters are litigated in a court in the United States, the parties agree to file any such dispute in the United States District Court for the [***], with each party waiving its right to object due to lack of personal jurisdiction, improper or inconvenient venue, or other reasons. Subject to the provisions of Section 11.4 (Termination for Patent Challenge), the parties reserve the right to challenge the validity of patents in the Patent Trial and Appeal Board of the U.S. Patent Office. If such Non-Arbitrated Matters involve other related Disputed Matters, the Parties agree that all such matters shall be litigated together in court and without arbitration.\n(g) Equitable Relief. Notwithstanding anything in this Agreement to the contrary, nothing in this Agreement shall prevent either Party from seeking equitable relief from any court of competent jurisdiction to prevent immediate and irreparable injury, loss, or damage on a provisional basis, pending the decision of the arbitrators on the ultimate merits of any Disputed Matter. Any such request shall not be deemed incompatible with the agreement to arbitrate or a waiver of the right to arbitrate.\n13.12 HSR Act. The Parties shall use Commercially Reasonable Efforts to promptly obtain any clearance required under the Hart-Scott-Rodino Antitrust Improvements Act of 1976, as amended (15 U.S.C. § 18a) (the “HSR Act”) for the consummation of this Agreement and the transactions contemplated hereby. Each Party shall furnish to the other Party reasonably necessary information and reasonable assistance as the other Party may request in connection with its compliance with the HSR Act, and any inquiries or requests for additional information in connection therewith. Each Party shall pay all of its costs and expenses related to any filing by such Party pursuant to the HSR Act, save that the parties shall each pay one half of the filing fee for such filing. The Parties shall request early termination of the waiting period for clearance under the HSR Act. Each Party shall provide the other Party with notice of achievement of the HSR clearance on the HSR Clearance Date or promptly thereafter as practical. Other than the provisions of Article 12 and this Section 13.12, the rights and obligations of the Parties under this Agreement shall not become effective until the HSR Clearance Date, at which time they shall be immediately effective. If the HSR Clearance Date has not been granted within one hundred twenty (120) days after the Execution Date, either Party may terminate this Agreement by written notice to the other Party. Except for Article 8, none of the provisions of this Agreement (for clarity, including Section 11.7 and Section 11.9), shall remain in effect after such termination.\n13.13 Anti-Corruption Audits and Inspection. Upon sixty (60) days’ prior written notice from a Party, the other Party shall permit, and shall ensure that its Affiliates and Sublicensees shall permit representatives and/or agents of the requesting Party, at the requesting Party’s expense, to have access to such Party’s (or their Affiliates’ or Sublicensees’) records, as may be reasonably necessary to verify the non-requesting Party’s compliance with Section 12.7; provided that a Party may not request to conduct such an audit of the other Party more than once per calendar year.\n13.14 Captions; Certain Conventions; Construction. All captions herein are for convenience only and shall not be interpreted as having any substantive meaning. The Exhibits to this Agreement are incorporated herein by reference and shall be deemed a part of this Agreement. Unless otherwise expressly provided herein or the context of this Agreement otherwise requires: (a) words of any gender include each other gender; (b) words such as “herein”, “hereof”, and “hereunder” refer to this Agreement as a whole and not merely to the particular provision in which such words appear; (c) words using the singular shall include the plural, and vice versa; (d) the words “include,” “includes” and “including” shall be deemed to be followed by the phrase “but not limited to”, “without limitation”, “inter alia” or words of similar import; and (e) references to “Article,” “Section,” “subsection”, “clause”, or other subdivision, or Exhibit, without reference to a document are to the specified provision or Exhibit of this Agreement. If the terms of this Agreement conflict with the terms of any Exhibit, the terms of this Agreement shall prevail. References to either Party include the successors and permitted assigns of that Party. The Preamble, Recitals and Exhibits are incorporated by reference into this Agreement. The Parties have each consulted counsel of their choice regarding this Agreement, and, accordingly, no provisions of this Agreement will be construed against either Party on the basis that the Party drafted this Agreement or any provision thereof. The official text of this Agreement and any Exhibit, any notice given or accounts or statements required by this Agreement, and any dispute proceeding related to or arising hereunder, will be in English. If any dispute concerning the construction or meaning of this Agreement arises, then reference will be made only to this Agreement as written in English and not to any translation into any other language."}
-{"idx": 1, "level": 4, "span": "[Signature Page Follows]"}
-{"idx": 1, "level": 4, "span": "[Signature Page to License and Option Agreement]\nIN WITNESS WHEREOF, the Parties hereto have set their hand as of the Execution Date."}
-{"idx": 1, "level": 3, "span": "(a) Executive Resolution\nIn attempting to resolve any Disputed Matters, the Disputed Matter shall first be elevated through each Party’s respective executive management representatives having responsibility for the function or Activity in respect of which such dispute occurs."}
-{"idx": 1, "level": 3, "span": "(b) Mediation\nIf executive management representatives are unable to resolve a Disputed Matter within [***] after such matter is referred to such executive management representatives, and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, the Parties shall, for Disputed Matters other than those arising under Section 3.1(g), then submit the matter for non-binding mediation under the [***]. The Parties will select a mediator on an expedited basis and seek to mediate the matter with in [***] of referral to mediation."}
-{"idx": 1, "level": 3, "span": "(c) Arbitration except in respect of matters arising under Sections [***] and [***]\nSubject to Sections [***] and [***], where a Disputed Matter remains unresolved [***] after referral to executive management representatives pursuant to Section 13.11(a) and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, and, following such failure of executive management resolution, mediation pursuant to Section 13.11(b) (as applicable) has been unsuccessful, a Party seeking further resolution of the Disputed Matter shall submit the Disputed Matter to resolution by final and binding arbitration in accordance with [***] in effect on the date of this Agreement and applying the substantive law specified in Section 13.1. For the purposes of this Section 13.11, these rules and supplementary procedures shall be called the “Rules”. Whenever a Party decides to institute arbitration proceedings, it shall give written notice to that effect to the other Party, and the place of arbitration will be in [***]. The arbitration will be conducted by a panel of three (3) arbitrators, who will be appointed as follows: the Parties shall attempt to jointly select such arbitrators. If the Parties cannot agree on the three arbitrators, then the arbitrators will be appointed by [***] in accordance with the Rules. Each arbitrator must have business or legal experience in the biologic pharmaceutical industry and any additional experience set forth in Section 6.8(c), if such Disputed Matter arises under such section. Decisions of the arbitrators that conform to the terms of this Section 13.11(c) shall be final and binding on the Parties, and judgment on the award so rendered may be entered in any court of competent jurisdiction."}
-{"idx": 1, "level": 3, "span": "(d) Arbitration in relation to matters arising under Sections [***] and [***]\nAs explicitly provided for in Sections [***] and [***], if executive management resolution and then mediation do not resolve the relevant Disputed Matter, the Parties shall then submit the relevant Disputed Matter for arbitration pursuant to the [***], using a single arbitrator who will be agreed by the Parties or, should the Parties fail to reach agreement within [***], will be selected in accordance with the [***]. Unless otherwise agreed to by the Parties, the arbitrator shall not be the same as the mediator, and must have business or legal experience in the biologic pharmaceutical industry. The arbitrator shall have sole responsibility of resolving such Disputed Matter from a case and proposal submitted by each Party under this Section 13.11(d), and no other Disputed Matters, claims or counterclaims will be permitted by the Parties in such arbitration. Within [***] after selection of the arbitrator, each Party shall submit to the arbitrator, and exchange with the other Party in accordance with a procedure to be established by the arbitrator, its case and proposal for resolving such Disputed Matter. Within [***] after receiving each Party’s case and proposal, the arbitrator shall select, in its entirety and without modification, solely one (1) of the two (2) proposals submitted by the Parties. Decisions of the arbitrator that conform to the terms of this Section 13.11(d) shall be final and binding on the Parties for the purpose of [***] of the relevant Product; provided that it shall not affect CSL’s right under this Agreement, exercisable at any time, [***] to [***] with [***] and [***] of such [***]."}
-{"idx": 1, "level": 3, "span": "(e) The Parties shall each bear or pay [***] of the administrative costs and fees of any arbitration under Section 13.11(c) and/or 13.11(d) and the arbitrators’ award will so provide\nEach Party shall also bear or pay its own attorneys’ fees, expert or witness fees, and any other fees and costs, and no such fees or costs will be shifted to the other Party. Except as may be required by Applicable Law, no Party (or its representative, witnesses or arbitrators) may disclose the existence, content or result of any arbitration under this Agreement without the prior written consent of both Parties, except that no such consent shall be required to enter and enforce the judgment in court."}
-{"idx": 1, "level": 3, "span": "(f) Non-arbitrated Disputes\nNotwithstanding anything in this Agreement to the contrary, as between the Parties, any and all issues regarding: (i) the infringement, validity and enforceability of any patent in a country, (ii) the termination of this Agreement (other than termination for failure to use Commercially Reasonable Efforts), (iii) any Disputed Matter that occurs after the termination of the Agreement and (iv) any decision of CSL under Section 5.14 not to continue with Development and/or Commercialization of the First Product (collectively “Non-Arbitrated Matters”) shall be determined in a court or other tribunal, as the case may be, of competent jurisdiction. To the extent that such Non-Arbitrated Matters are litigated in a court in the United States, the parties agree to file any such dispute in the United States District Court for the [***], with each party waiving its right to object due to lack of personal jurisdiction, improper or inconvenient venue, or other reasons. Subject to the provisions of Section 11.4 (Termination for Patent Challenge), the parties reserve the right to challenge the validity of patents in the Patent Trial and Appeal Board of the U.S. Patent Office. If such Non-Arbitrated Matters involve other related Disputed Matters, the Parties agree that all such matters shall be litigated together in court and without arbitration."}
-{"idx": 1, "level": 3, "span": "(g) Equitable Relief\nNotwithstanding anything in this Agreement to the contrary, nothing in this Agreement shall prevent either Party from seeking equitable relief from any court of competent jurisdiction to prevent immediate and irreparable injury, loss, or damage on a provisional basis, pending the decision of the arbitrators on the ultimate merits of any Disputed Matter. Any such request shall not be deemed incompatible with the agreement to arbitrate or a waiver of the right to arbitrate."}
-{"idx": 1, "level": 2, "span": "MOMENTA PHARMACEUTICALS, INC.\nBy: /s/ Craig A. Wheeler \nName: Craig A. Wheeler\nTitle: President and Chief Executive Officer\nCSL BEHRING RECOMBINANT FACILITY AG by its duly authorized attorney\nBy: /s/ David Lamont \nName: David Lamont\nTitle: Chief Financial Officer"}
-{"idx": 1, "level": 3, "span": "(a) Assignment\nNeither this Agreement nor any right or obligation hereunder may be assigned or delegated, in whole or part, by either Party without the prior written consent of the other or pursuant to subcontracting or sublicensing arrangements expressly contemplated herein; provided, however, that either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder in connection with the transfer or sale of all or substantially all of its business or in the event of its merger, consolidation, change in control or similar transaction. Notwithstanding the foregoing, either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder to an Affiliate; provided that neither Party may, [***] the [***] the [***] or [***] of [***] to [***] Any permitted assignee shall assume all obligations of its assignor under this Agreement; provided that such assignor shall remain primarily liable for the performance hereunder of such assignee. Any purported assignment in violation of this Section 13.3 shall be null and void. Notwithstanding anything to the contrary set forth herein, if a Party (the “Assigning Party”) assigns or transfers this Agreement to a Third Party (any such Third Party, a “Transferee”), whether by merger, assignment, transfer of assets, or operation of law, then the [***] that were [***] or [***] by such [***] to or [***] such assignment or [***] (other than [***] by such [***] in the course of [***] the [***] under this Agreement to the extent such [***] would [***] been so [***] had it been [***] or [***] to [***] by [***]) shall not be deemed to [***], [***] or other [***] or [***] by such [***], and shall also not be [***] or otherwise [***] in any manner, including without limitation, by being [***] to any [***] of or [***] this [***]. Furthermore, such [***] (and [***] of such [***]: (a) [***] immediately prior to such merger, acquisition, assignment or transfer; or (b) [***] or [***] such merger, acquisition, assignment or transfer, in each case which are not [***] by (as defined under the [***] definition in [***]) the [***]) shall be excluded from the [***] for purposes of determining [***] that are [***] to this [***]."}
-{"idx": 1, "level": 3, "span": "(b) Change of Control."}
-{"idx": 1, "level": 4, "span": "(i) Momenta Change of Control\nNotwithstanding anything to the contrary in Section 13.3(a), in the event that Momenta is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), Momenta shall, within [***] after the date that such Change of Control closes (the “Momenta COC Closing Date”), provide CSL with notice of such Change of Control (“Momenta COC Notice”). In the event of a Change of Control of Momenta, then:"}
-{"idx": 1, "level": 4, "span": "(1) Upon CSL’s written election after receipt of such Momenta COC Notice (which election shall be made by providing notice thereof (“CSL COC Election Notice”) no later than [***] after receipt of the Momenta COC Notice), and effective as of the Momenta COC Closing Date (or the Effective Date, if later) solely if CSL provides such CSL COC Election Notice:"}
-{"idx": 1, "level": 4, "span": "(A) CSL shall retain all licenses granted under this Agreement and shall retain the exclusive right to Develop, Manufacture and Commercialize the Products in the Territory;"}
-{"idx": 1, "level": 4, "span": "(B) If Momenta is Co-Funding prior to the Change of Control, Momenta will retain its Opt-Out Options under this Agreement\nIf Momenta has not exercised a Co-Funding Option, Momenta shall forfeit its Co-Funding Option if it has not expired;"}
-{"idx": 1, "level": 4, "span": "(C) Momenta shall promptly transfer to CSL or its designee all Development, Manufacturing, and Commercialization Activities under any Product Work Plan\nMomenta shall also transfer its control of any Enforcement and Defense of Intellectual Property activities under Section 7.4 pertaining to CSL Intellectual Property and Joint Intellectual Property for the Products in the Territory and CSL shall assume control thereof and the provisions of Subsections 11.7(b)(i) to 11.7(b)(iv) (inclusive) shall apply;"}
-{"idx": 1, "level": 4, "span": "(D) CSL shall not be obligated to submit any further updates to the Product Work Plan or the Commercialization Plan to Momenta;"}
-{"idx": 1, "level": 4, "span": "(E) Except as provided in (F) below, Momenta shall [***] or [***] the [***] and the [***] and [***];"}
-{"idx": 1, "level": 4, "span": "(F) CSL shall have no further reporting or record-keeping obligations hereunder with respect to the Development, Manufacture or Commercialization of, and regulatory activities for, the Products other than: (x) its financial reporting and record-keeping obligations, and audit rights, to the extent necessary to verify the accuracy of the calculation of royalties, milestones or other amounts paid or payable to Momenta and to provide to Momenta, if Momenta is Co-Funding any Product, the information to be provided in the Reimbursement and Co-Funding Report provided for in Section 4.3(c), based on the then-effective terms of the Agreement, as applicable; and (y) provision of updates regarding anticipated timelines for Regulatory Approvals and Launches of the Products and budgets associated with such timelines;"}
-{"idx": 1, "level": 4, "span": "(G) CSL shall have the right to terminate any Co-Promotion Agreements and Momenta’s Co-Promotion Options in the U.S\nby providing written notice of such termination to Momenta within [***] after sending the CSL COC Election Notice;"}
-{"idx": 1, "level": 4, "span": "(H) Unless CSL specifies otherwise in its Momenta COC Notice, if there is an existing Research Plan at time of Change of Control, the Research Plan shall terminate; and"}
-{"idx": 1, "level": 4, "span": "(I) All licenses of Intellectual Property granted by CSL to Momenta under this Agreement shall terminate\nExcept as otherwise expressly provided in this Section 13.3(b)(i), each Party shall continue to have the same rights and obligations to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control."}
-{"idx": 1, "level": 4, "span": "(ii) CSL Change of Control\nNotwithstanding anything to the contrary in Section 13.3(a), in the event that CSL is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), CSL shall, within [***] after the date that such Change of Control closes (the “CSL COC Closing Date”), provide Momenta with notice of such Change of Control (“CSL COC Notice”). In the event of a Change of Control of CSL, then:"}
-{"idx": 1, "level": 4, "span": "(1) Upon Momenta’s written election after receipt of such CSL COC Notice (which election shall be made by providing notice thereof (“Momenta COC Election Notice”) no later than [***] after receipt of the CSL COC Notice), and effective as of the CSL COC Closing Date (or the Effective Date, if later) solely if Momenta provides such Momenta COC Election Notice, Momenta shall have:"}
-{"idx": 1, "level": 4, "span": "(A) the right to terminate any Co-Promotion agreement and/or the Research Plan;"}
-{"idx": 1, "level": 4, "span": "(B) The right to opt out of Co-Funding any Product on a Product by Product basis or with regard to all Products by giving an Opt-Out Notice under Section 4.2(b); and Section 4.2(b) shall be deemed to be amended to allow for an opt-out of Co-Funding on Product-by-Product basis; and"}
-{"idx": 1, "level": 4, "span": "(C) Each Development Plan then in effect shall be subject to review and approval by the JSC in accordance with Section 5.2 in the same manner as provided for an initial Development Plan for each Product."}
-{"idx": 1, "level": 4, "span": "(2) Except as otherwise expressly provided in this Section 13.3(b)(ii), each Party shall continue to have the same rights and obligations under the Agreement, including without limitation, the right to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control."}
diff --git a/data/auto_parse/level_freeze/frozen/idx_10.jsonl b/data/auto_parse/level_freeze/frozen/idx_10.jsonl
deleted file mode 100644
index 3c65402..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_10.jsonl
+++ /dev/null
@@ -1,7 +0,0 @@
-{"idx": 10, "level": 1, "span": "MYLAN N.V."}
-{"idx": 10, "level": 1, "span": "AMENDMENT TO"}
-{"idx": 10, "level": 0, "span": "AMENDED AND RESTATED 2003 LONG-TERM INCENTIVE PLAN\nThis Amendment (the “Amendment”) to the Mylan N.V. Amended and Restated 2003 Long-Term Incentive Plan (the “Plan”) is adopted as of the 23rd day of February, 2017 (the “Amendment Effective Date”) by Mylan N.V., a public limited liability company (naamloze vennootschap) incorporated under the laws of the Netherlands (the “Company”). The Company hereby amends the Plan as follows:\n1.Section 6.03(e)(iii) is hereby deleted and replaced with the following:"}
-{"idx": 10, "level": 1, "span": "Retirement.\n(A) With respect to Options and Stock Appreciation Rights granted prior to the Amendment Effective Date, unless otherwise provided in an Award Agreement, if a Participant’s employment by the Company or its Subsidiaries shall terminate because of Retirement, any Option and Stock Appreciation Right then held by the Participant, regardless of whether it was otherwise exercisable on the date of Retirement, may be exercised by the Participant at any time, or from time to time, during the balance of the exercise period as set forth in Section 6.03(b)(iii). If such a Participant dies after Retirement but before such Participant’s Options have either been exercised or otherwise expired, such Options may be exercised by the person to whom such Options pass by will or applicable law or, if no person has that right, by the Participant’s executors or administrators at any time, or from time to time, during the balance of the exercise period set forth in Section 6.03(b)(iii).\n(B) With respect to Options and Stock Appreciation Rights granted on or after the Amendment Effective Date, notwithstanding anything in this Article VI to the contrary, the Committee may, in its sole discretion, waive the forfeiture period and any other conditions set forth in any Award Agreement under appropriate circumstances (including the death, Permanent Disability or Retirement of the Participant or a material change in circumstances arising after the date of an Award) and subject to such terms and conditions (including forfeiture of a proportionate number of the Options and Stock Appreciation Rights) as the Committee shall deem appropriate provided that such waiver is done in a manner intended to comply with Section 409A of the Code.\n2. The clause “the minimum amount of any withholding or other tax required by law to be withheld” in the first sentence of Section 11.05 shall be deleted and replaced with the clause “up to the maximum amount of any withholding or other tax permitted by law to be withheld” and the clause “the minimum amount of any taxes required to be withheld” in clause (ii) of the final sentence of Section 11.05 shall be deleted and replaced with the clause “an amount equal to the withholding taxes due”.\nAll other provisions of the Plan, as amended by the foregoing, shall remain in full force and effect notwithstanding the adoption of this Amendment."}
-{"idx": 10, "level": 4, "span": "(A) With respect to Options and Stock Appreciation Rights granted prior to the Amendment Effective Date, unless otherwise provided in an Award Agreement, if a Participant’s employment by the Company or its Subsidiaries shall terminate because of Retirement, any Option and Stock Appreciation Right then held by the Participant, regardless of whether it was otherwise exercisable on the date of Retirement, may be exercised by the Participant at any time, or from time to time, during the balance of the exercise period as set forth in Section 6.03(b)(iii)\nIf such a Participant dies after Retirement but before such Participant’s Options have either been exercised or otherwise expired, such Options may be exercised by the person to whom such Options pass by will or applicable law or, if no person has that right, by the Participant’s executors or administrators at any time, or from time to time, during the balance of the exercise period set forth in Section 6.03(b)(iii)."}
-{"idx": 10, "level": 4, "span": "(B) With respect to Options and Stock Appreciation Rights granted on or after the Amendment Effective Date, notwithstanding anything in this Article VI to the contrary, the Committee may, in its sole discretion, waive the forfeiture period and any other conditions set forth in any Award Agreement under appropriate circumstances (including the death, Permanent Disability or Retirement of the Participant or a material change in circumstances arising after the date of an Award) and subject to such terms and conditions (including forfeiture of a proportionate number of the Options and Stock Appreciation Rights) as the Committee shall deem appropriate provided that such waiver is done in a manner intended to comply with Section 409A of the Code."}
-{"idx": 10, "level": 2, "span": "2. The clause “the minimum amount of any withholding or other tax required by law to be withheld” in the first sentence of Section 11.05 shall be deleted and replaced with the clause “up to the maximum amount of any withholding or other tax permitted by law to be withheld” and the clause “the minimum amount of any taxes required to be withheld” in clause (ii) of the final sentence of Section 11.05 shall be deleted and replaced with the clause “an amount equal to the withholding taxes due”."}
diff --git a/data/auto_parse/level_freeze/frozen/idx_11.jsonl b/data/auto_parse/level_freeze/frozen/idx_11.jsonl
deleted file mode 100644
index 35b65d0..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_11.jsonl
+++ /dev/null
@@ -1,30 +0,0 @@
-{"idx": 11, "level": 0, "span": "AMENDMENT NO. 11 TO CREDIT AGREEMENT\nThis Amendment No. 11 to Credit Agreement (this “Agreement”) dated as of March 15, 2017 (the “Effective Date”), is among Extraction Oil & Gas, Inc., a Delaware corporation (the “Borrower”), 7N, LLC, a Delaware limited liability company, 8 North, LLC, a Delaware limited liability company, Bison Exploration, LLC, a Delaware limited liability company, Elevation Midstream, LLC, a Delaware limited liability company, Extraction Finance Corp., a Delaware corporation, Mountaintop Minerals, LLC, a Delaware limited liability company, XOG Services, LLC, a Delaware limited liability company, XOG Services, Inc., a Colorado corporation, and XTR Midstream, LLC, a Delaware limited liability company (“XTR”; and together with the other entities listed subsequent to the Borrower above, collectively, the “Guarantors”), the undersigned Lenders (as defined below), and Wells Fargo Bank, National Association, as Administrative Agent for the Lenders (in such capacity, the “Administrative Agent”) and as Issuing Lender (the “Issuing Lender”)."}
-{"idx": 11, "level": 1, "span": "INTRODUCTION\nA. The Borrower, the financial institutions party thereto as lenders (the “Lenders”), the Issuing Lender, and the Administrative Agent have entered into the Credit Agreement dated as of September 4, 2014, as amended by the Amendment No. 1 dated as of September 24, 2014, the Amendment No. 2 and Joinder dated as of November 10, 2014, the Amendment No. 3 dated as of December 30, 2014, the Waiver dated as of February 12, 2015, the Consent Agreement dated as of February 27, 2015, the Consent Agreement dated as of March 25, 2015, the Waiver dated as of April 28, 2015, the Amendment No. 4 and Joinder dated as of May 27, 2015, the Amendment No. 5 dated as of September 1, 2015, the Amendment No. 6 dated as of September 10, 2015, the Amendment No. 7 and Joinder dated as of December 15, 2015, the Amendment No. 8 and Joinder dated as of June 13, 2016, the Amendment No. 9 dated as of August 12, 2016, and the Consent, Amendment No. 10 and Joinder dated September 14, 2016 (as so amended and modified and as may be otherwise amended, restated, or modified from time to time, the “Credit Agreement”).\nB. The Guarantors have entered into the Guaranty Agreement dated as of September 4, 2014 (as amended, restated, supplemented or otherwise modified from time to time, the “Guaranty”) in favor of the Administrative Agent for the benefit of the Secured Parties (as defined in the Credit Agreement).\nC. XTR desires to contribute cash and certain midstream assets in exchange for approximately 15% of the Equity Interest (as defined in the Credit Agreement) of Platte River Holdings LLC, a Delaware limited liability company (“PRH”), pursuant to that certain Contribution Agreement to be entered into on or about the Effective Date, among ARB Platte River, LLC, a Colorado limited liability company (“ARB”), XTR and PRH (the “Proposed Contribution”).\nD. Contemporaneously with the Proposed Contribution, (i) ARB and XTR will enter into that certain First Amended and Restated Limited Liability Company Agreement of PRH to be entered into on or about the Effective Date and (ii) Platte River Midstream, LLC, a Delaware\nlimited liability company and wholly-owned subsidiary of PRH (“PRM”), and the Borrower will enter into that certain First Amended and Restated Transportation Services Agreement to be entered into on or about the Effective Date, pursuant to which the Borrower will agree to ship or pay to ship certain committed volumes of hydrocarbons on midstream infrastructure owned and operated by PRM (the “Proposed Shipping Arrangement”).\nE. The Borrower has requested that the Lenders and the Administrative Agent, and the Administrative Agent and the Lenders have agreed, subject to the terms and conditions hereof, amend the Credit Agreement as set forth herein to permit each of the Proposed Contribution and the Proposed Shipping Arrangement.\nTHEREFORE, in fulfillment of the foregoing, the Borrower, the Guarantors, the Administrative Agent, the Issuing Lender, and the undersigned Lenders hereby agree as follows:\nSection 1. Definitions; References. Unless otherwise defined in this Agreement, each term used in this Agreement which is defined in the Credit Agreement has the meaning assigned to such term in the Credit Agreement, as amended hereby.\nSection 2. Amendments to Credit Agreement. Upon the satisfaction of the conditions specified in Section 6 of this Agreement, and effective as of the date set forth above, the Credit Agreement is amended as follows:\n(a) Section 1.1 of the Credit Agreement (Certain Defined Terms) is amended to add the following defined terms in alphabetical order:\n(1) “Amendment No. 11” means that certain Amendment No. 11 to Credit Agreement dated as of March 15, 2017, among the Loan Parties, the Administrative Agent, the Issuing Lender, and the Lenders party thereto.\n\t\t\n(2) “Amendment No. 11 Effective Date” means March 15, 2017.\n\t\t\n(3) “PRH” means Platte River Holdings LLC, a Delaware limited liability company.\n\t\t\n(4) “PRM” means Platte River Midstream, LLC, a Delaware limited liability company, and a wholly-owned subsidiary of PRH.\n\t\t\n(5) “PRH Contribution Agreement” means that certain Contribution Agreement among ARB Platte River, LLC, a Colorado limited liability company, XTR and PRH, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No. 11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders.\n\t\t\n(6) “PRH LLC Agreement” means that certain First Amended and Restated Limited Liability Company Agreement of PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No. 11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders, and as such agreement may be amended from time to time in a manner not materially adverse to the Lenders.\n\t\t\n(7) “PRM Transportation Agreement” means that certain First Amended and Restated Transportation Services Agreement, between Borrower and PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No. 11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders.\n\t\t\n(b) Section 1.1 of the Credit Agreement (Certain Defined Terms) is further amended by replacing the defined term “Approved Transportation Agreements” in its entirety with the following:"}
-{"idx": 11, "level": 1, "span": "“Approved Transportation Agreements” means the Grand Mesa Agreements, the Tallgrass Letter Agreement, the PRM Transportation Agreement and such other transportation services agreements as may be approved by the Majority Lenders in writing, in each case, together with such changes thereto as may be approved by the Administrative Agent.\n(c) Section 6.3 of the Credit Agreement (Investments) is amended by deleting the “and” at the end of clause (f) thereof and replacing clause (g) thereof with the following clause (g) and new clause (h):"}
-{"idx": 11, "level": 3, "span": "(c) Section 6.3 of the Credit Agreement (Investments) is amended by deleting the “and” at the end of clause (f) thereof and replacing clause (g) thereof with the following clause (g) and new clause (h):"}
-{"idx": 11, "level": 3, "span": "(g) the investment made by XTR in PRH pursuant to the PRH Contribution Agreement and the PRH LLC Agreement so long as (i) the aggregate amount of cash contributed by XTR to PRH pursuant thereto does not exceed $5,000,000 and (ii) the amount of cash and the fair market value of the assets contributed by XTR to PRH pursuant thereto does not exceed $10,000,000 in the aggregate; and"}
-{"idx": 11, "level": 3, "span": "(h) other investments in an aggregate amount not to exceed $5,000,000.\n(d) Section 6.8 of the Credit Agreement (Sale of Assets) is amended by replacing clause (h) thereof in its entirety with the following:"}
-{"idx": 11, "level": 3, "span": "(d) Section 6.8 of the Credit Agreement (Sale of Assets) is amended by replacing clause (h) thereof in its entirety with the following:"}
-{"idx": 11, "level": 3, "span": "(h) (i) Permitted Investments of the type described in Section 6.3(g) and (ii) other Asset Sales of Property not constituting Oil and Gas Properties and not otherwise permitted by this Section 6.8, the aggregate consideration of which shall not exceed $5,000,000 during the term of this Agreement; and\n(e) Article 6 of the Credit Agreement (Negative Covenants) is further amended by adding the following new Section 6.27 to the end thereof:"}
-{"idx": 11, "level": 3, "span": "(e) Article 6 of the Credit Agreement (Negative Covenants) is further amended by adding the following new Section 6.27 to the end thereof:"}
-{"idx": 11, "level": 2, "span": "6.27 PRH and PRM. Notwithstanding anything to the contrary contained herein, no Loan Party shall, nor shall it permit any of its Subsidiaries to, create, assume, incur or suffer to exist any Lien on or in respect of any of its Property for the benefit of PRH or PRM.\nSection 3. Reaffirmation of Liens.\n(a) Each of the Borrower and each Guarantor (i) is party to certain Security Documents securing and supporting the Borrower's and Guarantors’ obligations under the Loan\nDocuments, (ii) represents and warrants that it has no defenses to the enforcement of the Security Documents and that according to their terms the Security Documents will continue in full force and effect to secure the Borrower’s and Guarantors’ obligations under the Loan Documents, as the same may be amended, supplemented, or otherwise modified, and (iii) acknowledges, represents, and warrants that the liens and security interests created by the Security Documents are valid and subsisting and create a first and prior Lien (subject only to Permitted Liens) in the Collateral to secure the Secured Obligations.\n(b) The delivery of this Agreement does not indicate or establish a requirement that any Loan Document requires any Guarantor's approval of amendments to the Credit Agreement.\nSection 4. Reaffirmation of Guaranty. Each Guarantor hereby ratifies, confirms, and acknowledges that its obligations under the Guaranty and the other Loan Documents are in full force and effect and that such Guarantor continues to unconditionally and irrevocably guarantee the full and punctual payment, when due, whether at stated maturity or earlier by acceleration or otherwise, of all of the Guaranteed Obligations (as defined in the Guaranty), as such Guaranteed Obligations may have been amended by this Agreement. Each Guarantor hereby acknowledges that its execution and delivery of this Agreement does not indicate or establish an approval or consent requirement by such Guarantor under the Credit Agreement in connection with the execution and delivery of amendments, modifications or waivers to the Credit Agreement, the Notes or any of the other Loan Documents.\nSection 5. Representations and Warranties. Each of the Borrower and each Guarantor represents and warrants to the Administrative Agent and the Lenders that:\n(a) the representations and warranties set forth in the Credit Agreement and in the other Loan Documents are true and correct in all material respects as of the date of this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document;\n(b) (i) the execution, delivery, and performance of this Agreement are within the corporate, limited partnership or limited liability company power, as appropriate, and authority of the Borrower and Guarantors and have been duly authorized by appropriate proceedings and (ii) this Agreement constitutes a legal, valid, and binding obligation of the Borrower and Guarantors, enforceable against the Borrower and Guarantors in accordance with its terms, except as limited by applicable bankruptcy, insolvency, reorganization, moratorium, or similar laws affecting the rights of creditors generally and general principles of equity; and\n(c) as of the effectiveness of this Agreement and after giving effect thereto, no Default or Event of Default has occurred and is continuing.\nSection 6. Effectiveness. This Agreement shall become effective as of the date hereof upon the occurrence of all of the following:\n(a) Documentation. The Administrative Agent shall have received this Agreement, duly and validly executed by the Borrower, the Guarantors, the Administrative Agent, the Issuing Bank and the Majority Lenders, in form and substance reasonably satisfactory to the Administrative Agent and the Majority Lenders;\n(b) Representations and Warranties. The representations and warranties in this Agreement being true and correct in all material respects before and after giving effect to this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document.\n(c) No Default or Event of Default. There being no Default or Event of Default which has occurred and is continuing.\n(d) Expenses. The Borrower’s having paid all costs, expenses, and fees which have been invoiced and are payable pursuant to Section 9.1 of the Credit Agreement or any other agreement.\nSection 7. Post-Closing Obligations. On or before 5:00 p.m. (Houston, Texas time) on the effective date of the Proposed Contribution, the Borrower shall deliver to the Administrative Agent certified, fully executed, correct and complete copies of the PRH Contribution Agreement, the PRH LLC Agreement, and the PRM Transportation Agreement, in each case, as in effect on the Effective Date. The Borrower's failure to satisfy the obligations set forth in this Section 7 shall constitute an immediate Event of Default under this Agreement and the Credit Agreement.\nSection 8. Effect on Loan Documents. Except as amended herein, the Credit Agreement and the Loan Documents remain in full force and effect as originally executed and are hereby ratified and confirmed, and nothing herein shall act as a waiver of any of the Administrative Agent's or Lenders' rights under the Loan Documents. This Agreement is a Loan Document for the purposes of the provisions of the other Loan Documents. Without limiting the foregoing, any breach of representations, warranties, and covenants under this Agreement is a Default or Event of Default under other Loan Documents.\nSection 9. Choice of Law. This Agreement shall be governed by and construed and enforced in accordance with the laws of the State of New York without regard to conflicts of laws principles (other than Sections 5-1401 and 5-1402 of the General Obligations Law of the State of New York).\nSection 10. Counterparts. This Agreement may be signed in any number of counterparts, each of which shall be an original."}
-{"idx": 11, "level": 4, "span": "THIS WRITTEN AGREEMENT AND THE LOAN DOCUMENTS, AS DEFINED IN THE CREDIT AGREEMENT, REPRESENT THE FINAL AGREEMENT AMONG THE PARTIES AND MAY NOT BE CONTRADICTED BY EVIDENCE OF PRIOR, CONTEMPORANEOUS, OR SUBSEQUENT ORAL AGREEMENTS"}
-{"idx": 11, "level": 4, "span": "OF THE PARTIES. THERE ARE NO UNWRITTEN ORAL AGREEMENTS BETWEEN THE PARTIES."}
-{"idx": 11, "level": 3, "span": "(a) Each of the Borrower and each Guarantor (i) is party to certain Security Documents securing and supporting the Borrower's and Guarantors’ obligations under the Loan"}
-{"idx": 11, "level": 3, "span": "(b) The delivery of this Agreement does not indicate or establish a requirement that any Loan Document requires any Guarantor's approval of amendments to the Credit Agreement."}
-{"idx": 11, "level": 3, "span": "(a) the representations and warranties set forth in the Credit Agreement and in the other Loan Documents are true and correct in all material respects as of the date of this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document;"}
-{"idx": 11, "level": 3, "span": "(b) (i) the execution, delivery, and performance of this Agreement are within the corporate, limited partnership or limited liability company power, as appropriate, and authority of the Borrower and Guarantors and have been duly authorized by appropriate proceedings and (ii) this Agreement constitutes a legal, valid, and binding obligation of the Borrower and Guarantors, enforceable against the Borrower and Guarantors in accordance with its terms, except as limited by applicable bankruptcy, insolvency, reorganization, moratorium, or similar laws affecting the rights of creditors generally and general principles of equity; and"}
-{"idx": 11, "level": 3, "span": "(c) as of the effectiveness of this Agreement and after giving effect thereto, no Default or Event of Default has occurred and is continuing."}
-{"idx": 11, "level": 3, "span": "(a) Documentation\nThe Administrative Agent shall have received this Agreement, duly and validly executed by the Borrower, the Guarantors, the Administrative Agent, the Issuing Bank and the Majority Lenders, in form and substance reasonably satisfactory to the Administrative Agent and the Majority Lenders;"}
-{"idx": 11, "level": 3, "span": "(b) Representations and Warranties\nThe representations and warranties in this Agreement being true and correct in all material respects before and after giving effect to this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document."}
-{"idx": 11, "level": 3, "span": "(c) No Default or Event of Default\nThere being no Default or Event of Default which has occurred and is continuing."}
-{"idx": 11, "level": 3, "span": "(d) Expenses\nThe Borrower’s having paid all costs, expenses, and fees which have been invoiced and are payable pursuant to Section 9.1 of the Credit Agreement or any other agreement."}
-{"idx": 11, "level": 3, "span": "(a) Section 1.1 of the Credit Agreement (Certain Defined Terms) is amended to add the following defined terms in alphabetical order:"}
-{"idx": 11, "level": 4, "span": "(1) “Amendment No\n11” means that certain Amendment No. 11 to Credit Agreement dated as of March 15, 2017, among the Loan Parties, the Administrative Agent, the Issuing Lender, and the Lenders party thereto."}
-{"idx": 11, "level": 4, "span": "(2) “Amendment No\n11 Effective Date” means March 15, 2017."}
-{"idx": 11, "level": 4, "span": "(3) “PRH” means Platte River Holdings LLC, a Delaware limited liability company"}
-{"idx": 11, "level": 4, "span": "(4) “PRM” means Platte River Midstream, LLC, a Delaware limited liability company, and a wholly-owned subsidiary of PRH"}
-{"idx": 11, "level": 4, "span": "(5) “PRH Contribution Agreement” means that certain Contribution Agreement among ARB Platte River, LLC, a Colorado limited liability company, XTR and PRH, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No\n11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders."}
-{"idx": 11, "level": 4, "span": "(6) “PRH LLC Agreement” means that certain First Amended and Restated Limited Liability Company Agreement of PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No\n11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders, and as such agreement may be amended from time to time in a manner not materially adverse to the Lenders."}
-{"idx": 11, "level": 4, "span": "(7) “PRM Transportation Agreement” means that certain First Amended and Restated Transportation Services Agreement, between Borrower and PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No\n11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders."}
-{"idx": 11, "level": 3, "span": "(b) Section 1.1 of the Credit Agreement (Certain Defined Terms) is further amended by replacing the defined term “Approved Transportation Agreements” in its entirety with the following:"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_12.jsonl b/data/auto_parse/level_freeze/frozen/idx_12.jsonl
deleted file mode 100644
index 58ac405..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_12.jsonl
+++ /dev/null
@@ -1,285 +0,0 @@
-{"idx": 12, "level": 1, "span": "EXECUTION VERSION"}
-{"idx": 12, "level": 1, "span": "NINTH RESTATED AND AMENDED CREDIT AGREEMENT\nDated as of April 15, 2016\namong\nTRITON CONTAINER INTERNATIONAL LIMITED, \nas the Borrower,\nVarious Lenders,\nMUFG UNION BANK, N.A., as \nas Syndication Agent,\nWELLS FARGO BANK, N.A. AND SUNTRUST BANK, \nas Co-Documentation Agents,\nand\nBANK OF AMERICA, N.A., \nas Administrative Agent and an Issuer\nMERRILL LYNCH, PIERCE, FENNER & SMITH INCORPORATED, \nSUNTRUST ROBINSON HUMPHREY, INC., \nMUFG UNION BANK, N.A. AND \nWELLS FARGO BANK, N.A., \nJoint Lead Arrangers\nMERRILL LYNCH, PIERCE, FENNER & SMITH INCORPORATED \nAND \nMUFG UNION BANK, N.A.,\nJoint Book Runners"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "(continued)"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "(continued)"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "(continued)"}
-{"idx": 12, "level": 0, "span": "NINTH RESTATED AND AMENDED CREDIT AGREEMENT\nTHIS NINTH RESTATED AND AMENDED CREDIT AGREEMENT dated as of April 15, 2016 is among TRITON CONTAINER INTERNATIONAL LIMITED, a Bermuda company (the “Borrower”), each lender from time to time party hereto (each a “Lender” and collectively the “Lenders”), and BANK OF AMERICA, N.A., as administrative agent and an Issuer."}
-{"idx": 12, "level": 1, "span": "W I T N E S S E T H:\nWHEREAS, the Borrower is engaged in the owning and leasing of marine cargo containers and activities incidental thereto;\nWHEREAS, the Borrower, various financial institutions and Bank of America, N.A., as administrative agent, entered into the Restated and Amended Credit Agreement dated as of December 29, 1989, as amended and restated by the Second Restated and Amended Credit Agreement dated as of June 24, 1994, as amended and restated by the Third Restated and Amended Credit Agreement dated as of June 27, 1997, as amended and restated by the Fourth Restated and Amended Credit Agreement dated as of July 7, 2000, as amended and restated by the Fifth Restated and Amended Credit Agreement dated as of July 3, 2003, as amended and restated by the Sixth Restated and Amended Credit Agreement dated as of March 30, 2005, as amended and restated by the Seventh Restated and Amended Credit Agreement dated as of November 9, 2009, and as amended and restated by the Eighth Restated and Amended Credit Agreement dated as of November 4, 2011 (as amended or otherwise modified prior to the date hereof, the “Existing Credit Agreement”);\nWHEREAS, the Borrower, the Lenders and the Administrative Agent desire to amend the Existing Credit Agreement in certain respects and to restate the Existing Credit Agreement as so amended; and\nWHEREAS, the proceeds of Loans made and Letters of Credit issued under and pursuant to this Agreement will be used for the purchase of Container Equipment and for general corporate and working capital purposes of the Borrower;\nNOW, THEREFORE, in consideration of the mutual agreements herein contained, the parties hereto agree as follows:"}
-{"idx": 12, "level": 2, "span": "SECTION 1.DEFINITIONS AND ACCOUNTING TERMS.\n1.1 Definitions. In addition to terms defined elsewhere in this Agreement, the following terms shall have the meanings indicated for purposes of this Agreement:\n“Administrative Agent” means Bank of America in its capacity as administrative agent under any of the Loan Documents, or any successor administrative agent.\n“Administrative Agent’s Office” means the office of the Administrative Agent specified as the “Administrative Agent’s Office” on Schedule 10.2.\n“Administrative Questionnaire” means an administrative questionnaire in a form supplied by the Administrative Agent.\n“Affected Lender” - see Section 7.7.\n“Affiliate” means, with respect to any Person, any other Person that directly, or indirectly through one or more intermediaries, Controls or is Controlled by or is under common Control with the Person specified.\n“Affiliated Entities” means Affiliates of the Borrower that are engaged in the secondary sale and/or leasing of Container Equipment.\n“Aggregate Commitment Amount” means $300,000,000, as such amount may be reduced from time to time pursuant to Section 6.3 or increased from time to time pursuant to Section 6.7.\n“Agreement” means this Ninth Restated and Amended Credit Agreement.\n“Alternate Base Rate” means, on any date and with respect to all Alternate Base Rate Loans, a fluctuating rate of interest per annum equal to the highest of (a) the rate of interest then most recently announced by Bank of America as its “prime rate”, (b) the Federal Funds Rate most recently determined by the Administrative Agent plus 0.5% and (c) the Eurodollar Rate that would be in effect for an Interest Period of one month commencing on such date plus 1.0%. The Alternate Base Rate is not necessarily intended to be the lowest rate of interest determined by Bank of America in connection with extensions of credit. Changes in the rate of interest on that portion of the Loans maintained as Alternate Base Rate Loans will take effect simultaneously with each change in the Alternate Base Rate. The Administrative Agent will give notice promptly to the Borrower and the Lenders of changes in the Alternate Base Rate.\n“Alternate Base Rate Loan” means any Loan or portion thereof during any period in which it bears interest at a rate determined with reference to the Alternate Base Rate.\n“Alternate Base Rate Margin” - see Schedule 1.1(a).\n“Approved Fund” means any Fund that is administered or managed by (a) a Lender, (b) an Affiliate of a Lender or (c) an entity or an Affiliate of an entity that administers or manages a Lender.\n“Assignment and Assumption” means an assignment and assumption entered into by a Lender and an Eligible Assignee (with the consent of any party whose consent is required by Section 15.8(a)), and accepted by the Administrative Agent, in substantially the form of Exhibit F or any\nother form (including electronic documentation generated by use of an electronic platform) approved by the Administrative Agent.\n“Audited Financial Statements” means the audited consolidated balance sheet of the Borrower and its Subsidiaries as of December 31, 2015 and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the fiscal year ended December 31, 2015, including the notes thereto.\n“Authorized Signatory” means any officer, employee or agent of the Borrower designated by the Borrower from time to time in a schedule in the form set forth as Exhibit A. Each schedule shall be effective when received by the Administrative Agent. Any designation of an agent as an Authorized Signatory shall be accompanied by such resolutions, opinions of counsel and/or powers of attorney as the Administrative Agent or the Majority Lenders may request to substantiate the authority of such designee, and the agent so designated shall be an officer of TCII at all times that such designation shall be in effect. Any document delivered hereunder that is signed by an Authorized Signatory of the Borrower shall be conclusively presumed to have been authorized by all necessary action on the part of the Borrower and such Authorized Signatory shall be conclusively presumed to have acted on behalf of the Borrower.\n“Bail-In Action” means the exercise of any Write-Down and Conversion Powers by the applicable EEA Resolution Authority in respect of any liability of an EEA Financial Institution.\n“Bail-In Legislation” means, with respect to any EEA Member Country implementing Article 55 of Directive 2014/59/EU of the European Parliament and of the Council of the European Union, the implementing law for such EEA Member Country from time to time which is described in the EU Bail-In Legislation Schedule.\n“Bank of America” means Bank of America, N.A.\n“Book Value” means, with respect to Casualty Receivables at any time of determination, the book value thereof at such time as determined in accordance with GAAP consistently applied.\n“Borrower” - see the preamble.\n“Borrowing” means Loans of the same Type made, converted or continued by all Lenders on the same Business Day (and, in the case of Eurodollar Rate Loans, having the same Interest Period) and pursuant to the same Loan Request in accordance with Section 2.4 or 2.5.\n“Borrowing Base” - see Section 6.6.\n“Borrowing Base Certificate” means a certificate substantially in the form of Exhibit C.\n“Business Day” means any day other than a Saturday, Sunday or other day on which commercial banks are authorized to close under the laws of, or are in fact closed in, the state where the Administrative Agent’s Office is located and, with respect to Eurodollar Rate Loans, means any such day on which dealings in Dollar deposits are conducted by banks in the London interbank eurodollar market.\n“Capitalized Lease” means any lease obligation for Rentals which is required to be capitalized on the balance sheet of the lessee in accordance with GAAP.\n“Capitalized Rentals” means, as of the date of any determination thereof, the amount at which the aggregate Rentals due and to become due under all Capitalized Leases under which the Borrower or any Restricted Subsidiary is a lessee would be reflected as a liability on a consolidated balance sheet of the Borrower and its Restricted Subsidiaries.\n“Cash Collateralize” means to pledge and deposit with or deliver to the Administrative Agent, for the benefit of the Issuers and Lenders, as collateral for the Letter of Credit Outstandings, cash or deposit account balances pursuant to documentation in form and substance satisfactory to the Administrative Agent (which documents are hereby consented to by the Lenders) and the Issuers in their sole discretion. Derivatives of such term have corresponding meanings.\n“Casualty Loss” means, with respect to the Borrower’s SIA Container Equipment, any of the following: (a) such SIA Container Equipment is lost, stolen or destroyed; (b) such SIA Container Equipment is damaged beyond repair or permanently rendered unfit for use for any reason whatsoever; or (c) if such SIA Container Equipment is subject to a lease agreement, such SIA Container Equipment shall have been deemed under such lease agreement to have suffered a casualty loss.\n“Casualty Receivables” means all rights of the Borrower to payment for SIA Container Equipment sold and all rights of the Borrower to payment in connection with a Casualty Loss.\n“CERCLA” means the Comprehensive Environmental Response, Compensation and Liability Act of 1980.\n“CERCLIS” means the Comprehensive Environmental Response, Compensation and Liability Information System List maintained by the U.S. Environmental Protection Agency.\n“Change in Law” means the occurrence, after the date of this Agreement, of any of the following: (a) the adoption or taking effect of any law, rule, regulation or treaty, (b) any change in any law, rule, regulation or treaty or in the administration, interpretation, implementation or application thereof by any Governmental Authority or (c) the making or issuance of any request, rule, guideline or directive (whether or not having the force of law) by any Governmental Authority; provided that notwithstanding anything herein to the contrary, (x) the Dodd-Frank Wall Street\nReform and Consumer Protection Act and all requests, rules, guidelines or directives thereunder or issued in connection therewith and (y) all requests, rules, guidelines or directives promulgated by the Bank for International Settlements, the Basel Committee on Banking Supervision (or any successor or similar authority) or the United States or foreign regulatory authorities, in each case pursuant to Basel III, shall in each case be deemed to be a “Change in Law”, regardless of the date enacted, adopted or issued.\n“Code” means the Internal Revenue Code of 1986.\n“Collateral” means “Collateral” as defined in the Security and Intercreditor Agreement.\n“Collateral Agent” means Wells Fargo Bank, National Association (as successor in interest to The Bank of New York Mellon Trust Company, N.A., as successor in interest to First Interstate Bank of California) in its capacity as the “Secured Party” under the Security and Intercreditor Agreement, and includes each other Person which, pursuant to the terms of the Security and Intercreditor Agreement, shall subsequently be appointed as the successor “Secured Party” thereunder.\n“Collateral Documents” means the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and any other collateral document, control agreement, instrument or agreement now or hereafter delivered pursuant to or in connection with any of the foregoing.\n“Combined Fleet” has the meaning set forth in the Intercreditor Collateral Agreement.\n“Commercial Letter of Credit” means a commercial letter of credit in a form acceptable to the Issuer thereof which is drawable upon presentation of a sight draft and other documents evidencing the sale or shipment of Container Equipment purchased by the Borrower in the ordinary course of the Borrower’s business.\n“Commitment” means, for any Lender, such Lender’s commitment to make Loans and to participate in Letters of Credit under this Agreement. The amount of the Commitment of each Lender as of the Restatement Effective Date is set forth on Schedule I, and such amount may be adjusted by reductions of the Commitments pursuant to Section 6.3, increases of the Commitments pursuant to Section 6.7 or assignments pursuant to Section 15.8.\n“Compliance Certificate” means a certificate substantially in the form of Exhibit E.\n“Consolidated Net Income” means the net income and net losses of the Borrower and its Restricted Subsidiaries determined in accordance with GAAP, including gains and losses on the sale of Container Equipment, but excluding (a) any gains or losses (net of applicable tax effect) on the disposition of capital assets other than Container Equipment, (b) any gains on sales or other dispositions of other Investments and any extraordinary or nonrecurring items of income to the\nextent that the aggregate of such gains and extraordinary or nonrecurring items exceeds the aggregate of losses on such sales or other dispositions and extraordinary or nonrecurring charges, (c) any non-cash gain or loss on any interest rate protection agreement or any similar hedging agreement resulting from the requirements of Financial Accounting Standard No. 133 or any similar accounting standard and (d) to the extent included in such net income or net losses, the Borrower’s share of net income and/or losses of Unrestricted Subsidiaries and (e) any non-cash compensation expense related to incentive or non-qualified stock options.\nNotwithstanding the foregoing, solely in respect of the period commencing April 1, 2016 and ending on the earlier of (a) the first anniversary of the TAL Merger and (b) September 30, 2017, up to a maximum aggregate cumulative amount of $65,000,000, “Consolidated Net Income” shall not include any adjustments, restructuring costs, non-recurring expenses, nonrecurring fees, non-operating expenses, charges or other expenses (including legal, accounting and other transaction and advisory fees, severance, bonus and retention payments and non-cash compensation charges) made or incurred by the Borrower or its Restricted Subsidiaries in connection with the TAL Merger.\n“Consolidated Net Income Available For Fixed Charges” means, for any period of determination, the sum, without duplication, of (a) Consolidated Net Income for such period, plus (b) to the extent deducted in determining Consolidated Net Income, all provisions for any federal, state or other income taxes made by the Borrower and its Restricted Subsidiaries during such period, plus (c) cash distributions received by the Borrower from Unrestricted Subsidiaries during such period, plus (d) to the extent deducted in determining Consolidated Net Income, all Fixed Charges during such period.\n“Consolidated Net Tangible Assets” means, as of the date of any determination thereof, the total amount of all Tangible Assets of the Borrower and its Restricted Subsidiaries after deducting (a) Restricted Investments and (b) all current liabilities as determined in accordance with GAAP.\n“Consolidated Tangible Net Worth” means, as of the date of any determination thereof, the consolidated stockholders’ equity of the Borrower and its Restricted Subsidiaries, as determined in accordance with GAAP (excluding any non-cash gain or loss on any interest rate protection agreement or similar hedging agreement resulting from the requirements of Financial Accounting Standard No. 133 or any similar accounting standard), plus all outstanding preferred stock of the Borrower and accrued but unpaid dividends thereon, less the sum, without duplication, of (a) all Intangible Assets of the Borrower and its Restricted Subsidiaries and (b) Restricted Investments.\n“Container Equipment” means intermodal dry van and special purpose cargo containers, including any generator sets or cooling units used with refrigerated containers, and any related spare parts, and any substitutions, additions or replacements for, to or of any of such items.\n“Control” means the possession, directly or indirectly, of the power to direct or cause the direction of the management or policies of a Person, whether through the ability to exercise voting power, by contract or otherwise. “Controlling” and “Controlled” have meanings correlative thereto.\n“Credit Capacity” means, at any time of determination, an amount equal to the lesser of (a) the Aggregate Commitment Amount and (b) the Borrowing Base.\n“Credit Extension” means (a) the advancing of any Loan or (b) any issuance of, extension of the expiry date of, increase in the Stated Amount of or other material modification to a Letter of Credit.\n“Current Debt” means, with respect to any Person as of the date of any determination, (a) all Indebtedness of such Person for money borrowed or that has been incurred in connection with the acquisition of assets, in each case other than Funded Debt, and (b) all Guarantee Liabilities of such Person with respect to Indebtedness of other Persons of the types described in clause (a).\n“Debtor Relief Laws” means the Bankruptcy Code of the United States, and all other liquidation, conservatorship, bankruptcy, assignment for the benefit of creditors, moratorium, rearrangement, receivership, insolvency, reorganization, or similar debtor relief laws of the United States or other applicable jurisdictions from time to time in effect and affecting the rights of creditors generally.\n“Default Rate” means (a) when used with respect to Liabilities other than Letter of Credit Fees, an interest rate equal to (i) the Alternate Base Rate plus (ii) the Alternate Base Rate Margin, if any, applicable to Alternate Base Rate Loans plus (iii) 2% per annum; provided, that with respect to a Eurodollar Rate Loan, the Default Rate shall be an interest rate equal to the interest rate (including any Eurodollar Margin) otherwise applicable to such Loan plus 2% per annum and (b) when used with respect to Letter of Credit Fees, a rate equal to the LC Fee Rate plus 2% per annum.\n“Defaulting Lender” means, subject to Section 2.7(b), any Lender that (a) has failed to (i) fund all or any portion of its Loans within two Business Days of the date such Loans were required to be funded hereunder unless such Lender notifies the Administrative Agent and the Borrower in writing that such failure is the result of such Lender’s determination that one or more conditions precedent to funding (each of which conditions precedent, together with any applicable default, shall be specifically identified in such writing) has not been satisfied, or (ii) pay to the Administrative Agent, an Issuer or any other Lender any other amount required to be paid by it hereunder (including in respect of its participation in Letters of Credit) within two Business Days of the date when due, (b) has notified the Borrower, the Administrative Agent or an Issuer in writing that it does not intend to comply with its funding obligations hereunder, or has made a public statement to that effect (unless such writing or public statement relates to such Lender’s obligation to fund a Loan hereunder and states that such position is based on such Lender’s determination that a condition precedent to\nfunding (which condition precedent, together with any applicable default, shall be specifically identified in such writing or public statement) cannot be satisfied), (c) has failed, within three Business Days after written request by the Administrative Agent or the Borrower, to confirm in writing to the Administrative Agent and the Borrower that it will comply with its prospective funding obligations hereunder (provided that such Lender shall cease to be a Defaulting Lender pursuant to this clause (c) upon receipt of such written confirmation by the Administrative Agent and the Borrower), or (d) has, or has a direct or indirect parent company that has, (i) become the subject of a proceeding under any Debtor Relief Law, or (ii) had appointed for it a receiver, custodian, conservator, trustee, administrator, assignee for the benefit of creditors or similar Person charged with reorganization or liquidation of its business or assets, including the Federal Deposit Insurance Corporation or any other state or federal regulatory authority acting in such a capacity; provided that a Lender shall not be a Defaulting Lender solely by virtue of the ownership or acquisition of any equity interest in that Lender or any direct or indirect parent company thereof by a Governmental Authority so long as such ownership interest does not result in or provide such Lender with immunity from the jurisdiction of courts within the United States or from the enforcement of judgments or writs of attachment on its assets or permit such Lender (or such Governmental Authority) to reject, repudiate, disavow or disaffirm any contracts or agreements made with such Lender. Any determination by the Administrative Agent that a Lender is a Defaulting Lender under any one or more of clauses (a) through (d) above, and of the effective date of such status, shall be conclusive and binding absent manifest error, and such Lender shall be deemed to be a Defaulting Lender (subject to Section 2.7(b)) as of the date established therefor by the Administrative Agent in a written notice of such determination, which shall be delivered by the Administrative Agent to the Borrower, each Issuer and each other Lender promptly following such determination.\n“Disbursement” - see Section 5.5.\n“Disbursement Date” - see Section 5.5.\n“Disqualified Person” means General Electric Corporation or any other marine container leasing company or their respective subsidiaries, or any other Person 30% or more of the issued and outstanding equity securities of which are owned by a Disqualified Person.\n“Dollars” and the sign “$” means lawful money of the United States.\n“EEA Financial Institution” means (a) any credit institution or investment firm established in any EEA Member Country that is subject to the supervision of an EEA Resolution Authority, (b) any entity established in an EEA Member Country that is a parent of an institution described in clause (a) of this definition, or (c) any financial institution established in an EEA Member Country that is a subsidiary of an institution described in clause (a) or (b) of this definition and is subject to consolidated supervision with its parent.\n“EEA Member Country” means any of the member states of the European Union, Iceland, Liechtenstein, and Norway.\n“EEA Resolution Authority” means any public administrative authority or any Person entrusted with public administrative authority of any EEA Member Country (including any delegee) having responsibility for the resolution of any EEA Financial Institution.\n“Eligible Assignee” means (a) a Lender; (b) an Affiliate of a Lender; (c) an Approved Fund; or (d) any other Person (other than a natural person) approved by (i) the Administrative Agent and each Issuer and (ii) unless an Event of Default has occurred and is continuing, the Borrower (each such approval not to be unreasonably withheld or delayed); provided that notwithstanding the foregoing, “Eligible Assignee” shall not include (A) the Borrower, (B) any of the Borrower’s Affiliates or Subsidiaries, (C) a Disqualified Person, (D) a Defaulting Lender, (E) any Person who, upon becoming a Lender hereunder, would constitute a Defaulting Lender, or (F) a natural Person (or a holding company, investment vehicle or trust for, or owned and operated for the primary benefit of, a natural Person).\n“Environmental Laws” means all applicable federal, state or local statutes, laws, ordinances, codes, rules, regulations and guidelines (including consent decrees and administrative orders) relating to public health and safety and protection of the environment.\n“ERISA” means the Employee Retirement Income Security Act of 1974.\n“ERISA Affiliate” means any corporation, trade or business that is, along with the Borrower, a member of a controlled group of corporations or a controlled group of trades or businesses, as described in sections 414(b) and 414(c), respectively, of the Code or section 4001 of ERISA.\n“EU Bail-In Legislation Schedule” means the EU Bail-In Legislation Schedule published by the Loan Market Association, as in effect from time to time.\n“Eurocurrency Reserve Percentage” means, for any day during any Interest Period, the reserve percentage (expressed as a decimal, carried out to five decimal places) in effect on such day, whether or not applicable to any Lender, under regulations issued from time to time by the FRB for determining the maximum reserve requirement (including any emergency, supplemental or other marginal reserve requirement) with respect to Eurocurrency funding (currently referred to as “Eurocurrency liabilities”). The Eurodollar Rate for each outstanding Eurodollar Rate Loan shall be adjusted automatically as of the effective date of any change in the Eurodollar Reserve Percentage.\n“Finance Lease” means any lease (but in no event a sublease) of Container Equipment which provides revenue to the Borrower and with respect to which the related Container Equipment is not included as an asset on the books of the Borrower in accordance with GAAP.\n“Fixed Charges” means, for the Borrower and its Restricted Subsidiaries on a consolidated basis for any period, the sum of all: (a) interest expense for borrowed money, (b) imputed interest expense on Capitalized Leases, (c) operating rental obligations other than those related to Container Equipment (net of sublease rental income) and (d) operating rental expense on operating leases of Container Equipment.\n“FRB” means the Board of Governors of the Federal Reserve System of the United States.\n“Fronting Exposure” means, at any time there is a Defaulting Lender, with respect to an Issuer, such Defaulting Lender’s Percentage of the Letter of Credit Outstandings other than Letter of Credit Outstandings as to which such Defaulting Lender’s participation obligation has been reallocated to other Lenders or Cash Collateralized in accordance with the terms hereof.\n“Fund” means any Person (other than a natural Person) that is (or will be) engaged in making, purchasing, holding or otherwise investing in commercial loans and similar extensions of credit in the ordinary course of its business.\n“Funded Debt” of any Person means, without duplication, (a) all Funded Indebtedness, (b) all Capitalized Rentals, (c) all Guarantee Liabilities relating to Funded Debt of others, (d) all Guarantee Liabilities relating to the obligations of Unrestricted Subsidiaries and (e) the present value of all Long Term Lease obligations (such present value to be calculated using a discount rate equal to the sum of (i) the Alternate Base Rate then in effect plus (ii) 1.00%).\n“Funded Debt Ratio” means the ratio of Total Debt to an amount equal to the sum of (x) Consolidated Tangible Net Worth plus (y) the Borrower’s deferred income related to sales of Container Equipment to Subsidiaries as recorded on the Borrower’s balance sheet (determined in accordance with GAAP consistently applied).\n“Funded Indebtedness” means, as of any date, Indebtedness that matures more than one year after such date or which is renewable, extendible or refundable at the option of the obligor for a period or periods of more than one year after such date, but shall not include any portion of the principal of any such Indebtedness that is payable within one year after such date.\n“Funding Date” means any Business Day designated by the Borrower as the day on which a Borrowing shall, subject to the terms and conditions hereof, be made by the Lenders.\n“GAAP” means generally accepted accounting principles in the United States set forth in the opinions and pronouncements of the Accounting Principles Board and the American Institute of Certified Public Accountants and statements and pronouncements of the Financial Accounting Standards Board or such other principles as may be approved by a significant segment of the accounting profession in the United States, that are applicable to the circumstances as of the date of determination, consistently applied.\n“Governmental Authority” means the government of the United States or any other nation, or any political subdivision thereof, whether state or local, and any agency, authority, instrumentality, regulatory body, court, central bank or other entity exercising executive, legislative, judicial, taxing, regulatory or administrative powers or functions of or pertaining to government (including any supra-national bodies such as the European Union or the European Central Bank).\n“Guarantee Liability” of any Person means any agreement, undertaking or arrangement by which such Person guarantees, endorses or otherwise becomes or is contingently liable upon (by direct or indirect agreement, contingent or otherwise, to provide funds for payment by, to supply funds to, or otherwise to invest in, a debtor, or otherwise to assure a creditor against loss) the indebtedness, obligation or any other liability of any other Person (other than by endorsements of instruments in the course of collection), or guarantees the payment of dividends or other distributions upon the shares of any other Person. The amount of any Person’s obligation in respect of any Guarantee Liability shall (subject to any limitation set forth therein) be deemed to be the outstanding principal amount (or maximum principal amount, if larger) of the debt, obligation or other liability guaranteed thereby.\n“Hazardous Material” means\n(a) any “hazardous substance”, as defined by CERCLA;\n(b) any “hazardous waste”, as defined by the Resource Conservation and Recovery Act;\n(c) any petroleum product; or\n(d) any pollutant or contaminant or hazardous, dangerous or toxic chemical, material or substance within the meaning of any other applicable federal, state or local law, regulation, ordinance or requirement (including consent decrees and administrative orders) relating to or imposing liability or standards of conduct concerning any hazardous, toxic or dangerous waste, substance or material.\n“Indebtedness” of any Person means, without duplication, all obligations of such Person which in accordance with GAAP shall be classified upon the balance sheet of such Person as liabilities of such Person, and in any event shall include all (a) obligations of such Person for borrowed money or which have been incurred in connection with the acquisition of property or assets, (b) obligations secured by any Lien upon property or assets owned by such Person, even though such Person has not assumed or become liable for the payment of such obligations, (c) obligations created or arising under any conditional sale or other title retention agreement with respect to property acquired by such Person, notwithstanding the fact that the rights and remedies of the seller, lender or lessor under such agreement in the event of default are limited to repossession or sale of property, (d) Capitalized Rentals, (e) obligations of such Person evidenced by bonds, debentures, notes or similar instruments, (f) obligations of such Person upon which interest charges are customarily paid, (g) obligations of such Person issued or assumed as the deferred purchase price of property or services and (h) obligations of such Person, actual or contingent, as an account party in respect of letters of credit and bankers’ acceptances (other than any such obligations in respect of undrawn amounts under letters of credit in respect of trade payables); provided that trade payables, deferred rental income, repair service provision, deferred taxes, taxes payable, payroll expenses and other accrued expenses incurred in the ordinary course of business shall not constitute Indebtedness.\n“Indemnitee” - see Section 15.5(b).\n“Intangible Assets” means, with respect to any Person, all intangible assets of such Person and shall include unamortized debt discount and expense, unamortized deferred charges and goodwill.\n“Intercreditor Collateral Agreement” means the Amended and Restated Intercreditor Collateral Agreement dated as of November 1, 2006 among, inter alia, TCI, the Borrower and Wells Fargo Bank, National Association (as successor in interest to The Bank of New York Mellon Trust Company, N.A., as successor in interest to First Interstate Bank of California), a copy of which is attached as Exhibit J.\n“Interest Period” means, as to each Eurodollar Rate Loan, the period commencing on the date such Eurodollar Rate Loan is disbursed or converted to or continued as a Eurodollar Rate Loan pursuant to Section 2.4 or 2.5 and ending on the date one week or one, two, three or six months thereafter (in each case, subject to availability), or such other period that is twelve months or less and requested by the Borrower and consented to by all the Lenders, as selected by the Borrower in the applicable Loan Request; provided that:\n(a) any Interest Period that would otherwise end on a day that is not a Business Day shall be extended to the next succeeding Business Day unless such next succeeding Business Day falls in another calendar month, in which case such Interest Period shall end on the immediately preceding Business Day;\n(b) except in the case of a two week Interest Period, any Interest Period that begins on the last Business Day of a calendar month (or on a day for which there is no numerically corresponding day in the calendar month at the end of such Interest Period) shall end on the last Business Day of the calendar month at the end of such Interest Period;\n(c) the Interest Period of all Loans which commence on the same date and comprise part of the same Borrowing shall be of the same duration;\n(d) Borrowings which commence on the same date but which are to have different Interest Periods shall be requested on separate Loan Requests; and\n(e) no Interest Period shall extend beyond the Termination Date.\n“Interest Rate Agreement” means any interest rate swap agreement, interest rate cap agreement, interest rate collar agreement or other agreement intended to protect the Borrower against fluctuations in the rate of interest on its Indebtedness for borrowed money.\n“Investment” means any investment, made in cash or by delivery of any kind of property or asset, in any Person, whether by acquisition of shares of stock or similar interest, Indebtedness or other obligation or security, or by loan, advance or capital contribution, or otherwise; provided that notwithstanding the foregoing, for purposes of calculating the financial covenants under this Agreement, Finance Leases are not considered “Investments”.\n“IPO” means the initial underwritten offering of common equity interests of the Borrower or any direct or indirect parent company of the Borrower, or an alternative transaction (such as a merger with a public company) that would result in the common equity interests of the Borrower or any direct or indirect parent company of the Borrower being publicly traded.\n“ISP” means, with respect to any Letter of Credit, the “International Standby Practices 1998” published by the Institute of International Banking Law & Practice, Inc. (or such later version thereof as may be in effect at the time of issuance).\n“Issuance Request” means a properly completed application for the issuance of a Letter of Credit on the applicable Issuer’s standard form, executed by an accounting or financial Authorized Signatory.\n“Issuer” means Bank of America and its successors and assigns, and any other Lender designated by the Borrower and the Administrative Agent as, and that agrees to be, an “Issuer” hereunder.\n“Issuer Documents” means with respect to any Letter of Credit, the Issuance Request, and any other document, agreement and instrument entered into by the Issuer and the Borrower or in favor of the Issuer and relating to such Letter of Credit.\n“Joint Lead Arrangers” means Merrill Lynch, Pierce, Fenner & Smith Incorporated, SunTrust Bank, MUFG Union Bank, N.A. and Wells Fargo Bank, N.A.\n“LC Fee Rate” - see Schedule 1.1(a).\n“Lender” - see the preamble.\n“Lender-Related Party” means, with respect to any Person, such Person’s Affiliates and the partners, directors, officers, employees, agents, trustees, advisors and representatives of such Person and of such Person’s Affiliates.\n“Lessee” means a Person that is leasing or renting Container Equipment owned by the Borrower.\n“Letter of Credit” means a Commercial Letter of Credit or a Standby Letter of Credit, and includes each Existing Letter of Credit.\n“Letter of Credit Fee” - see Section 4.4.\n“Letter of Credit Outstandings” means, at any time, an amount equal to the sum of (a) the aggregate Stated Amount at such time of all outstanding Letters of Credit (as such aggregate Stated Amount shall be adjusted, from time to time, as a result of drawings, the issuance of Letters of Credit or otherwise), plus (b) the then aggregate amount of all unpaid and outstanding Reimbursement Obligations. For purposes of this Agreement, if on any date of determination a Letter of Credit has expired by its terms but any amount may still be drawn thereunder by reason of the operation of Rule 3.14 of the ISP, such Letter of Credit shall be deemed to be “outstanding” in the amount so remaining available to be drawn.\n“Liabilities” means, without duplication, all obligations of the Borrower to the Administrative Agent, the Collateral Agent, any Issuer or any Lender under this Agreement, the Notes, the Collateral Documents, any Issuance Request, any Interest Rate Agreement or any other\nLoan Document, howsoever created, arising or evidenced, whether direct or indirect, absolute or contingent, now or hereafter existing, or due or to become due.\n“LIBOR” has the meaning specified in the definition of Eurodollar Rate.\n“Lien” means any mortgage, pledge, hypothecation, judgment lien or similar legal process, title retention lien, or other lien or security interest, including the interest of a vendor under any conditional sale or other title retention agreement and the interest of a lessor under any Capitalized Lease.\n“Loan” - see Section 2.1(a).\n“Loan Documents” means this Agreement, the Notes, the Collateral Documents, any Loan Request, any Issuance Request, any Letter of Credit and any other document, instrument or agreement at any time executed and delivered pursuant to or in connection with any of the foregoing.\n“Loan Related Taxes” - see Section 7.8.\n“Loan Request” means a notice of (a) a Borrowing, (b) a conversion of Loans from one Type to the other, or (c) a continuation of Eurodollar Rate Loans, pursuant to Section 2.4 or 2.5, as applicable, which (in each case) shall be substantially in the form of Exhibit D or such other form as may be approved by the Administrative Agent (including any form on an electronic platform or electronic transmission system as shall be approved by the Administrative Agent), appropriately completed and signed by an Authorized Signatory of the Borrower.\n“Long Term Lease” means any lease of real or personal property (other than a Capitalized Lease) having an original term, including any period for which the lease may be renewed or extended at the option of the lessor, of five years or more.\n“Majority Lenders” means, as of any date of determination, those Lenders having aggregate Percentages of more than 50%; provided that the Commitment of, and the aggregate outstanding amount of all Loans and Letter of Credit Outstandings held or deemed held by, any Defaulting Lender shall be excluded for purposes of making a determination of Majority Lenders.\n“Management Agreement” means any agreement, program, contract or arrangement by which the Borrower is paid a fee for managing container equipment owned by a third party.\n“Material Adverse Effect” means a material adverse effect upon (a) the business, financial condition, operations or properties of the Borrower and its Restricted Subsidiaries, taken as a whole, (b) the Collateral Agent’s Lien on or ability to realize the value of any Collateral or (c) the Borrower’s ability to pay when due and/or perform its Liabilities under this Agreement or any other applicable Loan Document.\n“Net Book Value” means with respect to the Borrower’s Container Equipment at any time of determination the book value thereof at such time (determined in accordance with GAAP consistently applied).\n“Non-Defaulting Lender” means, at any time, each Lender that is not a Defaulting Lender at such time.\n“Non-use Fee” - see Section 4.3.\n“Non-use Fee Rate” - see Schedule 1.1(a).\n“Note” means a promissory note made by the Borrower in favor of a Lender substantially in the form of Exhibit B.\n“OFAC” means the Office of Foreign Assets Control of the United States Department of the Treasury.\n“Original Lenders” means the “Lenders” under (and as defined in) the Existing Credit Agreement immediately prior to the effectiveness hereof.\n“Participant” - see Section 15.8(c).\n“Payment Date” means (a) for any Eurodollar Rate Loan, the last day of each Interest Period with respect to such Loan and, if such Interest Period is in excess of three months, the day three months after the commencement of such Interest Period, and (b) for any Alternate Base Rate Loan and for all fees, the last day of each March, June, September and December.\n“PBGC” means the Pension Benefit Guaranty Corporation and any entity succeeding to any or all of its functions under ERISA.\n“Pension Plan” means a “pension plan”, as such term is defined in section 3(2) of ERISA, which is subject to Title W of ERISA (other than a multiemployer plan as defined in section 4001(a)(3) of ERISA), and to which the Borrower or any ERISA Affiliate may have liability, including any liability by reason of having been a substantial employer within the meaning of section 4063 of ERISA at any time during the preceding five years, or by reason of being deemed to be a contributing sponsor under section 4069 of ERISA.\n“Percentage” means, with respect to any Lender, the percentage which such Lender’s Commitment is of the Aggregate Commitment Amount (or, if the Commitments have terminated, the percentage which such Lender’s Loans and participations in Letters of Credit is of the aggregate principal amount of all outstanding Loans and the Letter of Credit Outstandings).\n“Permitted Holder” means any of: (a) Warburg Pincus LLC and its affiliates; (b) Vestar Capital Partners V, LP and its affiliates; (c) the Sponsor; (d) any of (i) Edward P. Schneider, (ii) any lineal descendant of Nicholas J. Pritzker, deceased, and any spouse and adopted child of any such descendant, (iii) any trust established for the benefit of any Person described in clause (i) or (ii) and the trustee of such trust, (iv) any legal representative of any Person described in clauses (i) through (iii), (v) any company and other entity controlled by any Person described in clauses (i) through (iv), and (vi) any affiliates of any Person described in clauses (i) through (v); and (e) any directors, officers and employees of the Borrower and its Subsidiaries. The term “control” for purposes of clause (d)(v) shall mean the ability to influence, direct or otherwise significantly affect the major policies, activities or actions of any Person.\n“Permitted Investments” means (a) Investments in direct United States government or United States agency obligations, (b) Investments in corporate obligations of “AA” quality or better maturing within one year, (c) Investments in certificates of deposit issued by any United States commercial bank, the United States branch of any foreign bank, any United Kingdom commercial bank, Bank of Bermuda Limited or Bank of N.T. Butterfield & Son Limited, in each case so long as such bank has capital and surplus of not less than the equivalent of $50,000,000, (d) preferred stock Investments rated “AA” or better, (e) Investments in any state, local or municipal obligations rated “AA” or better or (f) Investments in money market funds that are listed on the National Association of Insurance Commissioners Class 1 list.\n“Permitted Liens” means Liens permitted under Section 10.20.\n“Person” means an individual, partnership, corporation, limited liability company, trust, joint venture, joint stock company, association, unincorporated organization, government or agency or political subdivision thereof or other entity.\n“Register” - see Section 15.8.\n“Reimbursement Obligation” - see Section 5.6.\n“Related Party” means, for purposes of Section 10.22 only, any Person (other than a Restricted Subsidiary) (a) which directly or indirectly through one or more intermediaries Controls, or is Controlled by, or is under common Control with, the Borrower, (b) which beneficially owns or holds five percent or more of the equity interest of the Borrower or (c) five percent or more of the equity interest of which is beneficially owned or held by the Borrower or a Restricted Subsidiary.\n“Release” means a “release” as such term is defined in CERCLA.\n“Remaining Lenders” - see Section 7.7.\n“Rentals” means all fixed rents (including as such all payments which the lessee is obligated to make to the lessor on termination of the lease or surrender of the property) payable by the Borrower or a Restricted Subsidiary, as lessee or sublessee under a lease of real or personal property, but shall be exclusive of any amounts required to be paid by the Borrower or a Restricted Subsidiary (whether or not designated as rents or additional rents) on account of maintenance, utilities, repairs, insurance, taxes and similar charges. Fixed rents under any so-called “percentage lease” shall be computed solely on the basis of the minimum rents, if any, required to be paid by the lessee, regardless of sales volume or gross revenues.\n“Reportable Event” has the meaning given to such term in ERISA.\n“Restatement Effective Date” means the date the amendment and restatement of the Existing Credit Agreement becomes effective pursuant to Section 11.1.\n“Restricted Investments” means the total of (a) the amount of the Borrower’s Investments in any Unrestricted Subsidiary as shown on the most recent consolidating balance sheet of the Borrower delivered pursuant to Section 10.1, excluding, for purposes of determining the amount of any Investment in any Person, any non-cash gain or loss on any interest rate protection agreement or any similar hedging agreement entered into by such Person resulting from the requirements of Financial Accounting Standard No. 133 or any similar accounting standard, plus (b) the excess, if any, of the amount of all other Investments of the Borrower as shown on such balance sheet (other than Permitted Investments) over 25% of then current Consolidated Tangible Net Worth. For purposes of clause (b) above, the original amount of any Investment in a general partnership interest in any general or limited partnership shall be deemed to be the aggregate amount of such partnership’s actual and contingent liabilities, as determined in accordance with GAAP.\n“Restricted Subsidiary” means any Subsidiary that is not an Unrestricted Subsidiary.\n“S&P” means Standard & Poor’s Financial Services LLC, a subsidiary of The McGraw-Hill Companies, Inc..\n“S&P Rating” means at any time the rating issued by S&P and then in effect with respect to Indebtedness under this Agreement (it being understood that if the Borrower does not have a rating for such Indebtedness but has a rating from S&P for debt securities of such type, then such rating shall be used for determining the “S&P Rating”).\n“Sanction” means any economic or financial sanction, sectoral sanction, secondary sanction, trade embargo or anti-terrorism law, including those impored, administered or enforced by: (i) the United States Government (including OFAC, the U.S. State Department or the U.S. Department of Commerce or through any existing or future Executive Order), (ii) the United Nations Security Council, (iii) the European Union, (iv) Her Majesty’s Treasury (“HMT”) or (v) any other relevant sanctions authority.\n“Security” has the meaning given to such term in Section 2(1) of the Securities Act of 1933.\n“Security and Intercreditor Agreement” means the Security and Intercreditor Agreement dated as of September 30, 1989 among the Borrower, the Collateral Agent, Principal Mutual Life Insurance Company, Westinghouse Credit Corporation, PRIVATbanken A/S, New York Branch, Bank of America, in its individual corporate capacity, CIGNA Property and Casualty Insurance Company, Connecticut General Life Insurance Company, CONGEN Twenty-Eight & Co., Life Insurance Company of North America, The Ohio National Life Insurance Company, Southern Farm Bureau Annuity Insurance Company, The Travelers Insurance Company, The Travelers Indemnity Company, The Travelers Life and Annuity Company, The Travelers Life Insurance Company and the Administrative Agent and such other Persons as may be party to such Security and Intercreditor Agreement from time to time. A copy of the Security and Intercreditor Agreement as in effect on the Restatement Effective Date is attached as Exhibit H.\n“Senior Funded Debt” means Funded Debt of the Borrower and its Restricted Subsidiaries (determined on a consolidated basis eliminating intercompany items), excluding all Subordinated Funded Debt.\n“SIA Container Equipment” means Container Equipment other than Container Equipment in which a security interest has been granted to a Person which is not a party to the Security and Intercreditor Agreement.\n“Simultaneous Holder” - see Section 10.19.\n“Sponsor” means Trivest Limited, a Bermuda company formed and controlled by affiliates of Warburg Pincus LLC and Vestar Capital Partners V, LP or any other affiliate or affiliates of Warburg Pincus LLC and/or Vestar Capital Partners V, LP to which Trivest Limited assigns the right to acquire shares in the Borrower.\n“Standby Letter of Credit” means any Letter of Credit that is not a Commercial Letter of Credit.\n“Stated Amount” means, at any time for any Letter of Credit, the maximum amount available for drawing under such Letter of Credit during the remaining term thereof; it being understood that with respect to any Letter of Credit that, by its terms or the terms of any document related thereto, provides for one or more automatic increases in the Stated Amount thereof, the Stated Amount of such Letter of Credit shall be deemed to be the maximum Stated Amount of such Letter of Credit after giving effect to all such increases, whether or not such maximum Stated Amount is in effect at such time.\n“Stated Expiry Date” - see Section 5.1.\n“Subordinated Funded Debt” means (a) the Indebtedness described on Schedule II and (b) any other Funded Indebtedness of the Borrower or its Restricted Subsidiaries that is subordinated in right of payment to the Loans and the other Liabilities and (i)(A) that is established pursuant to a subordination agreement containing subordination provisions substantially in the form of Exhibit G, (B) that has a final stated maturity of at least five years after the date of incurrence thereof and (C) with respect to which the Majority Lenders have not otherwise reasonably objected, by notice to the Borrower in writing or by telephone promptly confirmed in writing by the Administrative Agent (together with a statement explaining any such objection), within 15 days of receipt by the Administrative Agent (who shall promptly provide such notice to the Lenders) of notice from the Borrower of the proposed issuance of such Subordinated Funded Debt, which notice shall be accompanied by a copy of the proposed subordination agreement and credit agreement relating to such new issue in substantially final form or (ii) as the Majority Lenders shall otherwise consent. Notwithstanding the foregoing, Funded Indebtedness of the Borrower or its Restricted Subsidiaries that at issuance constituted Subordinated Funded Debt shall no longer constitute Subordinated Funded Debt if after the Restatement Effective Date (x) the subordination provisions thereof are no longer substantially in the form thereof at issuance or (y) the subordination or credit agreement related thereto is amended so as to grant additional rights to any subordinated lender or (z) other provisions thereof are amended so as to cause such Indebtedness to cease to comply with clause (b)(i)(B) of the first sentence of this definition, unless the Majority Lenders shall otherwise consent.\n“Subsidiary” means any Person of which or in which the Borrower and its other Subsidiaries own directly or indirectly 50% or more of (a) the combined voting power of all classes of stock having general voting power under ordinary circumstances to elect a majority of the board of directors of a Person which is a corporation, (b) the capital, membership or profits interest of a Person which is a limited liability company, partnership, joint venture or similar entity, or (c) the beneficial interest of a Person which is a trust, association or other unincorporated organization.\n“Superior Debt” is defined in Section 10.19.\n“TAL” means TAL International Group, Inc.\n“TAL Merger” means the merger between the Borrower and TAL pursuant to the TAL Merger Agreement.\n“TAL Merger Agreement” means the Transaction Agreement, dated as of November 9, 2015, by and among the Borrower, Triton International Limited, Ocean Bermuda Sub Limited, Ocean Delaware Sub, Inc., and TAL International Group, Inc.\n“Tangible Assets” means, as of the date of any determination thereof, the total amount of all assets of the Borrower and its Restricted Subsidiaries (less depreciation, depletion and other\nproperly deductible valuation reserves) after deducting Intangible Assets, all determined in accordance with GAAP.\n“Taxes” with respect to any Person means all present and future taxes, levies, imposts, duties, deductions, withholdings (including backup withholding), assessments, fees or other charges (including any interest, additions to tax or penalties applicable thereto) imposed by any Governmental Authority upon such Person, its income or any of its properties, franchises or assets.\n“TCI” means Triton Container Investments LLC, a Nevada limited liability company.\n“TCCI” means Triton Container Capital Investments LLC, a California limited liability company.\n“TCII” means Triton Container International, Incorporated of North America, a California corporation, and a wholly owned Subsidiary of the Borrower.\n“TCIL Change of Control” means the occurrence of any of the following events: (a) prior to an IPO, (i) the failure by the Permitted Holders to own, directly or indirectly through one or more holding company parents of the Borrower, beneficially and of record, equity interests in the Borrower representing at least a majority of the aggregate ordinary voting power for the election of directors of the Borrower represented by the issued and outstanding equity interests in the Borrower, unless the Permitted Holders otherwise have the right (pursuant to contract, proxy or otherwise), directly or indirectly, to designate or appoint (and do so designate or appoint) a majority of the board of directors of the Borrower or (ii) the occupation of a majority of the seats (other than vacant seats) on the board of directors of the Borrower by Persons who were neither (A) nominated, designated or approved by the board of directors of the Borrower or the Permitted Holders nor (B) appointed by directors so nominated, designated or approved; or after an IPO, the acquisition of ownership, directly or indirectly, beneficially or of record, by any Person or group (within the meaning of the United States Securities Exchange Act of 1934, as amended, and the rules of the Securities and Exchange Commission thereunder as in effect on the date hereof), other than the Permitted Holders, of equity interests representing 40% or more of the aggregate ordinary voting power represented by the issued and outstanding equity interests in the Borrower and the percentage of the aggregate ordinary voting power so held is greater than the percentage of the aggregate ordinary voting power represented by the equity interests in the Borrower held by the Permitted Holders; provided that, if such IPO is with respect to a direct or indirect holding company parent of the Borrower (“IPO Parent”), either of the following shall also constitute a “TCIL Change of Control” after such IPO:\n(i) the failure by IPO Parent to own, directly or indirectly, at least a majority of the aggregate ordinary voting power for the election of directors of the Borrower represented by the issued and outstanding equity interests in the Borrower, unless IPO Parent otherwise has the right (pursuant to contract, proxy or otherwise), directly or indirectly, to designate\nor appoint (and does so designate or appoint) a majority of the board of directors of the Borrower; or\n(ii) the occupation of a majority of the seats (other than vacant seats) on the board of directors of the Borrower by Persons who were neither (A) members of the board of directors of the Borrower as of the date of the IPO, nor (B) nominated, designated or approved by the board of directors of the Borrower or IPO Parent, nor (C) appointed by directors so nominated, designated or approved.\n“TCIL Usage” means, at any time of determination, the sum of (a) the aggregate principal amount of the Loans outstanding at such time plus (b) the Letter of Credit Outstandings at such time.\n“Termination Date” means April 15, 2021 or such earlier date on which the Commitments terminate in accordance with the terms hereof.\n“Termination Event” with respect to any Pension Plan means (a) the institution by the Borrower, the PBGC or any other Person of steps to terminate such Pension Plan, (b) the occurrence of a Reportable Event with respect to such plan which the Majority Lenders reasonably believe may be a basis for the PBGC to institute steps to terminate such Pension Plan or (c) the withdrawal from such Pension Plan (or deemed withdrawal under section 4062(e) of ERISA) by the Borrower or any ERISA Affiliate if the Borrower or such ERISA Affiliate is a substantial employer within the meaning of section 4063 of ERISA.\n“Total Availability” means, at any time, the remainder of (a) the Aggregate Commitment Amount at such time minus the TCIL Usage at such time.\n“Total Debt” means the sum of (a) Total Senior Debt plus (b) Subordinated Funded Debt.\n“Total Senior Debt” means the sum of (a) Senior Funded Debt plus (b) all Current Debt of the Borrower and its Restricted Subsidiaries.\n“Type” means, relative to any Borrowing or Loan, the characterization thereof as a Eurodollar Rate Loan or an Alternate Base Rate Loan.\n“UCC” means the Uniform Commercial Code as in effect in the State of New York.\n“UCP” means, with respect to any Letter of Credit, the Uniform Customs and Practice for Documentary Credits, International Chamber of Commerce (“ICC”) Publication No. 600 (or such later version thereof as may be in effect at the time of issuance).\n“United States” and “U.S.” mean the United States of America.\n“Unmatured Event of Default” means an event or condition which with the lapse of time or giving of notice to the Borrower, or both, would constitute an Event of Default.\n“Unrestricted Subsidiary” means (a) any Subsidiary identified as an “Unrestricted Subsidiary” in Schedule 9.9 and (b) any Subsidiary that is designated by the Borrower as an “Unrestricted Subsidiary” in accordance with the procedures set forth in Section 10.26.\n“Unsecured Senior Funded Debt” means Senior Funded Debt which is not secured by any security interest, pledge, mortgage or other Lien.\n“Unsecured Vendor Debt” means unsecured purchase money Indebtedness not constituting Funded Indebtedness.\n“Utilization Ratio” means, for any date of determination, the quotient obtained by dividing (x) the sum of the number of TEUs (twenty-foot equivalent units) in the Combined Fleet on lease on such day by (y) the sum of the total number of TEUs in the Combined Fleet available for lease on such day. For purposes of this definition, (a) the phrase “on lease” includes TEUs subject to a Finance Lease, (b) each 20’ dry cargo marine container (including open top) other than a flat rack is deemed to be 1 TEU, (c) each 20’ flat rack container (half-height or standard) is deemed to be 2 TEUs, (d) each 40’ and 45’ dry cargo marine container (including high cube) other than a flat rack is deemed to be 2 TEUs, (e) each 40’ flat rack marine container is deemed to be 3 TEUs, (f) each generator set used with a refrigerated marine container is deemed to be 4 TEUs, (g) each 20’ refrigerated marine container is deemed to be 8 TEUs, and (h) each 40’ refrigerated marine container (including high cube) is deemed to be 10 TEUs.\n“Voting Stock” means, with respect to any Person, any Security of any class or classes of such Person the holders of which are ordinarily, in the absence of contingencies, entitled to elect a majority of the directors (or Persons performing similar functions) of such Person.\n“Welfare Plan” means a “welfare plan”, as such term is defined in section 3(1) of ERISA.\n“Wholly-owned” when used in connection with any Subsidiary means a Subsidiary of which all of the issued and outstanding shares of stock (except shares required as directors’ and alternate directors’ qualifying shares) or partnership interests, as the case may be, and all Indebtedness for borrowed money shall be owned by the Borrower and/or one or more of its Wholly-owned Subsidiaries.\n“Write-Down and Conversion Powers” means, with respect to any EEA Resolution Authority, the write-down and conversion powers of such EEA Resolution Authority from time to time under the Bail-In Legislation for the applicable EEA Member Country, which writedown and conversion powers are described in the EU Bail-In Legislation Schedule.\n1.2 Accounting Terms.\n(a) Generally. All accounting terms not specifically or completely defined herein shall be construed in conformity with, and all financial data (including financial ratios and other financial calculations) required to be submitted pursuant to this Agreement shall be prepared in conformity with, GAAP applied on a consistent basis, as in effect from time to time, applied in a manner consistent with that used in preparing the Audited Financial Statements, except as otherwise specifically prescribed herein.\n(b) Changes in GAAP. If at any time any change in GAAP would affect the computation of any financial ratio or requirement set forth in any Loan Document, and either the Borrower or the Majority Lenders shall so request, the Administrative Agent, the Lenders and the Borrower shall negotiate in good faith to amend such ratio or requirement to preserve the original intent thereof in light of such change in GAAP (subject to the approval of the Majority Lenders); provided that, until so amended, (i) such ratio or requirement shall continue to be computed in accordance with GAAP prior to such change therein and (ii) the Borrower shall provide to the Administrative Agent and the Lenders financial statements and other documents required under this Agreement or as reasonably requested hereunder setting forth a reconciliation between calculations of such ratio or requirement made before and after giving effect to such change in GAAP.\n1.3 Other Interpretive Provisions. With reference to this Agreement and each other Loan Document, unless otherwise specified herein or in such other Loan Document:\n(a) The definitions of terms herein shall apply equally to the singular and plural forms of the terms defined. Whenever the context may require, any pronoun shall include the corresponding masculine, feminine and neuter forms. The words “include,” “includes” and “including” shall be deemed to be followed by the phrase “without limitation”. The word “will” shall be construed to have the same meaning and effect as the word “shall”. Unless the context requires otherwise, (i) any definition of or reference to any agreement, instrument or other document (including any organization document) shall be construed as referring to such agreement, instrument or other document as from time to time amended, supplemented or otherwise modified (subject to any restrictions on such amendments, supplements or modifications set forth herein or in any other Loan Document), (ii) any reference herein to any Person shall be construed to include such Person’s successors and assigns, (iii) the words “herein,” “hereof’ and “hereunder,” and words of similar import when used in any Loan Document, shall be construed to refer to such Loan Document in its entirety and not to any particular provision thereof, (iv) all references in a Loan Document to Articles, Sections, Preliminary Statements, Exhibits and Schedules shall be construed to refer to Articles and Sections of, and Preliminary Statements, Exhibits and Schedules to, the Loan Document in which such references appear, (v) any reference to any law shall\ninclude all statutory and regulatory provisions consolidating, amending, replacing or interpreting such law and any reference to any law or regulation shall, unless otherwise specified, refer to such law or regulation as amended, modified or supplemented from time to time, and (vi) the words “asset” and “property” shall be construed to have the same meaning and effect and to refer to all tangible and intangible assets and properties, including cash, securities, accounts and contract rights.\n(b) In the computation of periods of time from a specified date to a later specified date, the word “from” means “from and including”; the words “to” and “until” each mean “to but excluding”; and the word “through” means “to and including”.\n(c) Any reference to a “fiscal quarter” or a “fiscal year” means, respectively, a fiscal quarter or fiscal year of the Borrower and its Subsidiaries.\n(d) Section headings herein and in the other Loan Documents are included for convenience of reference only and shall not affect the interpretation of this Agreement or any other Loan Document.\n1.4 Times of Day. Unless otherwise specified, all references herein to times of day shall be references to Pacific time (daylight or standard, as applicable).\n1.5 Eurodollar Rate. The Administrative Agent does not warrant or accept responsibility for, or have any liability with respect to, the administration, submission or any other matter related to the rates in the definition of “Eurodollar Rate” or with respect to any comparable or successor rate.\n1.6 Letter of Credit Amounts. Unless otherwise specified herein, the amount of a Letter of Credit at any time shall be deemed to be the stated amount of such Letter of Credit in effect at such time; provided, however, that with respect to any Letter of Credit that, by its terms or the terms of any Issuer Document related thereto, provides for one or more automatic increases in the stated amount thereof, the amount of such Letter of Credit shall be deemed to be the maximum stated amount of such Letter of Credit after giving effect to all such increases, whether or not such maximum stated amount is in effect at such time."}
-{"idx": 12, "level": 3, "span": "(a) any “hazardous substance”, as defined by CERCLA;"}
-{"idx": 12, "level": 3, "span": "(b) any “hazardous waste”, as defined by the Resource Conservation and Recovery Act;"}
-{"idx": 12, "level": 3, "span": "(c) any petroleum product; or"}
-{"idx": 12, "level": 3, "span": "(d) any pollutant or contaminant or hazardous, dangerous or toxic chemical, material or substance within the meaning of any other applicable federal, state or local law, regulation, ordinance or requirement (including consent decrees and administrative orders) relating to or imposing liability or standards of conduct concerning any hazardous, toxic or dangerous waste, substance or material."}
-{"idx": 12, "level": 3, "span": "(a) any Interest Period that would otherwise end on a day that is not a Business Day shall be extended to the next succeeding Business Day unless such next succeeding Business Day falls in another calendar month, in which case such Interest Period shall end on the immediately preceding Business Day;"}
-{"idx": 12, "level": 3, "span": "(b) except in the case of a two week Interest Period, any Interest Period that begins on the last Business Day of a calendar month (or on a day for which there is no numerically corresponding day in the calendar month at the end of such Interest Period) shall end on the last Business Day of the calendar month at the end of such Interest Period;"}
-{"idx": 12, "level": 3, "span": "(c) the Interest Period of all Loans which commence on the same date and comprise part of the same Borrowing shall be of the same duration;"}
-{"idx": 12, "level": 3, "span": "(d) Borrowings which commence on the same date but which are to have different Interest Periods shall be requested on separate Loan Requests; and"}
-{"idx": 12, "level": 3, "span": "(e) no Interest Period shall extend beyond the Termination Date."}
-{"idx": 12, "level": 4, "span": "(i) the failure by IPO Parent to own, directly or indirectly, at least a majority of the aggregate ordinary voting power for the election of directors of the Borrower represented by the issued and outstanding equity interests in the Borrower, unless IPO Parent otherwise has the right (pursuant to contract, proxy or otherwise), directly or indirectly, to designate"}
-{"idx": 12, "level": 4, "span": "(ii) the occupation of a majority of the seats (other than vacant seats) on the board of directors of the Borrower by Persons who were neither (A) members of the board of directors of the Borrower as of the date of the IPO, nor (B) nominated, designated or approved by the board of directors of the Borrower or IPO Parent, nor (C) appointed by directors so nominated, designated or approved."}
-{"idx": 12, "level": 3, "span": "(a) Generally\nAll accounting terms not specifically or completely defined herein shall be construed in conformity with, and all financial data (including financial ratios and other financial calculations) required to be submitted pursuant to this Agreement shall be prepared in conformity with, GAAP applied on a consistent basis, as in effect from time to time, applied in a manner consistent with that used in preparing the Audited Financial Statements, except as otherwise specifically prescribed herein."}
-{"idx": 12, "level": 3, "span": "(b) Changes in GAAP\nIf at any time any change in GAAP would affect the computation of any financial ratio or requirement set forth in any Loan Document, and either the Borrower or the Majority Lenders shall so request, the Administrative Agent, the Lenders and the Borrower shall negotiate in good faith to amend such ratio or requirement to preserve the original intent thereof in light of such change in GAAP (subject to the approval of the Majority Lenders); provided that, until so amended, (i) such ratio or requirement shall continue to be computed in accordance with GAAP prior to such change therein and (ii) the Borrower shall provide to the Administrative Agent and the Lenders financial statements and other documents required under this Agreement or as reasonably requested hereunder setting forth a reconciliation between calculations of such ratio or requirement made before and after giving effect to such change in GAAP."}
-{"idx": 12, "level": 3, "span": "(a) The definitions of terms herein shall apply equally to the singular and plural forms of the terms defined\nWhenever the context may require, any pronoun shall include the corresponding masculine, feminine and neuter forms. The words “include,” “includes” and “including” shall be deemed to be followed by the phrase “without limitation”. The word “will” shall be construed to have the same meaning and effect as the word “shall”. Unless the context requires otherwise, (i) any definition of or reference to any agreement, instrument or other document (including any organization document) shall be construed as referring to such agreement, instrument or other document as from time to time amended, supplemented or otherwise modified (subject to any restrictions on such amendments, supplements or modifications set forth herein or in any other Loan Document), (ii) any reference herein to any Person shall be construed to include such Person’s successors and assigns, (iii) the words “herein,” “hereof’ and “hereunder,” and words of similar import when used in any Loan Document, shall be construed to refer to such Loan Document in its entirety and not to any particular provision thereof, (iv) all references in a Loan Document to Articles, Sections, Preliminary Statements, Exhibits and Schedules shall be construed to refer to Articles and Sections of, and Preliminary Statements, Exhibits and Schedules to, the Loan Document in which such references appear, (v) any reference to any law shall"}
-{"idx": 12, "level": 3, "span": "(b) In the computation of periods of time from a specified date to a later specified date, the word “from” means “from and including”; the words “to” and “until” each mean “to but excluding”; and the word “through” means “to and including”."}
-{"idx": 12, "level": 3, "span": "(c) Any reference to a “fiscal quarter” or a “fiscal year” means, respectively, a fiscal quarter or fiscal year of the Borrower and its Subsidiaries."}
-{"idx": 12, "level": 3, "span": "(d) Section headings herein and in the other Loan Documents are included for convenience of reference only and shall not affect the interpretation of this Agreement or any other Loan Document."}
-{"idx": 12, "level": 2, "span": "SECTION 2. COMMITMENTS OF THE LENDERS.\nSubject to the terms and conditions of this Agreement, each Lender, severally but not jointly, agrees to make Loans and to participate in Letters of Credit, as described in this Section 2.\n2.1 Commitments to Make Loans.\n(a) Each Lender, severally but not jointly, agrees to make revolving loans to the Borrower, which may be repaid and reborrowed from time to time (collectively the “Loans” and each individually a “Loan”) on any Business Day, during the period from the Restatement\nEffective Date to the Termination Date, in such amounts as the Borrower may from time to time request; provided that the TCIL Usage shall not at any time exceed the Credit Capacity.\n(b) All Loans shall be made by the Lenders on a pro rata basis, calculated for each Lender based on its Percentage.\n2.2 Commitment to Issue Letters of Credit. From time to time on any Business Day, each Issuer agrees to issue, and each Lender will participate in, Letters of Credit in accordance with Section 5.\n2.3 Loan Options. Each Loan shall be either an Alternate Base Rate Loan or a Eurodollar Rate Loan as shall be selected by the Borrower, except as otherwise provided herein. During any period that any Event of Default or Unmatured Event of Default exists, the Borrower shall no longer have the option of electing Eurodollar Rate Loans, and during such period all Loans shall be made as or converted to (on the last day of the Interest Period therefor) Alternate Base Rate Loans only, it being understood, however, that the foregoing shall not be construed to waive, amend or modify any right or power of the Lenders and the Administrative Agent hereunder, including all rights to terminate the Commitments and declare the Loans immediately due and payable. The maximum number of Borrowings of Eurodollar Rate Loans which the Borrower shall be permitted to have outstanding at any time shall not exceed ten. The Borrower shall not have the right to borrow Eurodollar Rate Loans less than two weeks prior to the scheduled Termination Date.\n2.4 Borrowing Procedures.\n(a) Loan Requests. The Borrower shall give the Administrative Agent irrevocable notice, which may be given by (A) telephone, or (B) a Loan Request; provided that any telephonic notice must be confirmed immediately by delivery to the Administrative Agent of a Loan Request, not later than (i) 10:00 a.m. at least three Business Days prior to the requested Funding Date (or continuation or conversion date, as applicable) in the instance of a Borrowing of Eurodollar Rate Loans, or (ii) 8:00 a.m. on the requested Funding Date in the instance of a Borrowing of Alternate Base Rate Loans, of each requested Borrowing, and the Administrative Agent shall promptly advise each Lender thereof. Each notice from the Borrower to the Administrative Agent shall specify (i) the requested Funding Date or continuation/conversion date, as applicable, (ii) the aggregate amount of the Borrowing requested (in an amount permitted under Section 2.4(b)), (iii) the Type of Loans being borrowed, continued or converted, as applicable, and (iv) if such Borrowing, continuation or conversion is of Eurodollar Rate Loans, the Interest Period with respect thereto (subject to the limitations set forth in Section 2.3 and the definition of Interest Period). Any notice not specifying the Type of Borrowing shall be deemed a request for a Borrowing of Alternate Base Rate Loans.\n(b) Amount and Increments of Loans. Each Borrowing shall be made in a minimum aggregate amount of $500,000 (or, if less, the Total Availability) or a higher integral multiple of $250,000.\n(c) Funding of Administrative Agent. Not later than 10:30 a.m. on the Funding Date of a Borrowing, each Lender shall provide the Administrative Agent at the Administrative Agent’s Office (or such other place as the Administrative Agent shall designate from time to time) with immediately available funds covering such Lender’s Percentage of such Borrowing and the Administrative Agent shall pay over such funds to the Borrower (at an account maintained by the Borrower in the United States) upon the Administrative Agent’s receipt of the documents, if any, required under Section 11 with respect to such Loan and provided all of the conditions precedent to the funding of the requested Loans have been satisfied.\n2.5 Continuation and/or Conversion of Loans. The Borrower may elect (i) to continue any outstanding Eurodollar Rate Loan from the current Interest Period of such Loan into a subsequent Interest Period to begin on the last day of such current Interest Period, or (ii) to convert any outstanding Alternate Base Rate Loan into a Eurodollar Rate Loan or, on the last day of the Interest Period with respect thereto, a Eurodollar Rate Loan into an Alternate Base Rate Loan, by giving the Administrative Agent a notice in the form required by Section 2.4. Absent notice of continuation or conversion, each Eurodollar Rate Loan shall automatically convert into an Alternate Base Rate Loan on the last day of the current Interest Period for such Eurodollar Rate Loan, unless paid in full on such last day. Each conversion or continuation of Eurodollar Rate Loans shall be pro rated among the applicable outstanding Loans of all Lenders. No portion of the outstanding principal of any Loans shall be converted into Eurodollar Rate Loans and no Eurodollar Rate Loans shall be continued into a subsequent Interest Period, less than two weeks before the scheduled Termination Date or at any time that an Event of Default or an Unmatured Event of Default exists.\n2.6 Maturity of Loans. Unless required to be sooner paid pursuant to the other provisions of this Agreement, the Loans shall mature and be due and payable in full on the scheduled Termination Date.\n2.7 Defaulting Lenders.\n(a) Adjustments. Notwithstanding anything to the contrary contained in this Agreement, if any Lender becomes a Defaulting Lender, then, until such time as such Lender is no longer a Defaulting Lender, to the extent permitted by applicable law:\n(i) Waivers and Amendments. Such Defaulting Lender’s right to approve or disapprove any amendment, waiver or consent with respect to this Agreement shall be restricted as set forth in the definition of “Required Lenders” and Section 15.2.\n(ii) Defaulting Lender Waterfall. Any payment of principal, interest, fees or other amounts received by the Administrative Agent for the account of such Defaulting Lender (whether voluntary or mandatory, at maturity, pursuant to Section 12 or otherwise) or received by the Administrative Agent from a Defaulting Lender pursuant to Section 6.4 shall be applied at such time or times as may be determined by the Administrative Agent as follows: first, to the payment of any amounts owing by such Defaulting Lender to the Administrative Agent hereunder; second, to the payment on a pro rata basis of any amounts owing by such Defaulting Lender to any Issuer hereunder; third, to Cash Collateralize such Issuer’s Fronting Exposure with respect to such Defaulting Lender in accordance with Section 5.8; fourth, as the Borrower may request (so long as no Unmatured Event of Default or Event of Default exists), to the funding of any Loan in respect of which such Defaulting Lender has failed to fund its portion thereof as required by this Agreement, as determined by the Administrative Agent; fifth, if so determined by the Administrative Agent and the Borrower, to be held in a deposit account and released pro rata in order to (x) satisfy such Defaulting Lender’s potential future funding obligations with respect to Loans under this Agreement and (y) Cash Collateralize the Issuers’ future Fronting Exposure with respect to such Defaulting Lender with respect to future Letters of Credit issued under this Agreement, in accordance with Section 5.8; sixth, to the payment of any amounts owing to the Lenders, the Issuers or as a result of any judgment of a court of competent jurisdiction obtained by any Lender or the Issuer against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; seventh, so long as no Unmatured Event of Default or Event of Default exists, to the payment of any amounts owing to the Borrower as a result of any judgment of a court of competent jurisdiction obtained by the Borrower against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; and eighth, to such Defaulting Lender or as otherwise directed by a court of competent jurisdiction; provided that if (x) such payment is a payment of the principal amount of any Loans or Disbursements in respect of which such Defaulting Lender has not fully funded its appropriate share, and (y) such Loans were made or the related Letters of Credit were issued at a time when the conditions set forth in Section 11.2 were satisfied or waived, such payment shall be applied solely to pay the Loans of, and Disbursements owed to, all Non-Defaulting Lenders on a pro rata basis prior to being applied to the payment of any Loans of, or Disbursements owed to, such Defaulting Lender until such time as all Loans and funded and unfunded participations in Disbursements are held by the Lenders pro rata in accordance with the Commitments hereunder without giving effect to Section 2.7(a)(iv). Any payments, prepayments or other amounts paid or payable to a Defaulting Lender that are applied (or held) to pay amounts owed by a Defaulting Lender or to post Cash Collateral pursuant to this Section 2.7(a)(ii) shall\nbe deemed paid to and redirected by such Defaulting Lender, and each Lender irrevocably consents hereto.\n(iii) Certain Fees.\n(1) No Defaulting Lender shall be entitled to receive any fee payable under Section 4.3 for any period during which that Lender is a Defaulting Lender (and the Borrower shall not be required to pay any such fee that otherwise would have been required to have been paid to that Defaulting Lender).\n(2) Each Defaulting Lender shall be entitled to receive Letter of Credit Fees for any period during which that Lender is a Defaulting Lender only to the extent allocable to its Percentage of the Stated Amount of Letters of Credit for which it has provided Cash Collateral pursuant to Section 5.8.\n(3) With respect to any Letter of Credit Fee not required to be paid to any Defaulting Lender pursuant to clause (2) above, the Borrower shall (x) pay to each Non-Defaulting Lender that portion of any such fee otherwise payable to such Defaulting Lender with respect to such Defaulting Lender’s participation in Letter of Credit Outstandings that has been reallocated to such Non-Defaulting Lender pursuant to clause (iv) below, (y) pay to the applicable Issuer the amount of any such fee otherwise payable to such Defaulting Lender to the extent allocable to such Issuer’s Fronting Exposure to such Defaulting Lender, and (z) not be required to pay the remaining amount of any such fee.\n(iv) Reallocation of Applicable Percentages to Reduce Fronting Exposure. All or any part of such Defaulting Lender’s participation in Letter of Credit Outstandings shall be reallocated among the Non-Defaulting Lenders in accordance with their respective Percentages (calculated without regard to such Defaulting Lender’s Commitment) but only to the extent that such reallocation does not cause the aggregate Credit Extensions of any Non-Defaulting Lender to exceed such Non-Defaulting Lender’s Commitment. No reallocation hereunder shall constitute a waiver or release of any claim of any party hereunder against a Defaulting Lender arising from that Lender having become a Defaulting Lender, including any claim of a Non-Defaulting Lender as a result of such Non-Defaulting Lender’s increased exposure following such reallocation.\n(v) Cash Collateral, Repayment of Swing Line Loans. If the reallocation described in clause (a)(iv) above cannot, or can only partially, be effected, the Borrower shall, without prejudice to any right or remedy available to it hereunder or under applicable law, Cash Collateralize the Issuers’ Fronting Exposure in accordance with the procedures set forth in Section 5.8.\n(a) Defaulting Lender Cure. If the Borrower, the Administrative Agent, and each Issuer agree in writing that a Lender is no longer a Defaulting Lender, the Administrative Agent will so notify the parties hereto, whereupon as of the effective date specified in such notice and subject to any conditions set forth therein (which may include arrangements with respect to any Cash Collateral), such Lender will, to the extent applicable, purchase at par that portion of outstanding Loans of the other Lenders or take such other actions as the Administrative Agent may determine to be necessary to cause the Loans and funded and unfunded participations in Letters of Credit to be held on a pro rata basis by the Lenders in accordance with their respective Percentages (without giving effect to Section 2.7(a)(iv)), whereupon such Lender will cease to be a Defaulting Lender; provided that no adjustments will be made retroactively with respect to fees accrued or payments made by or on behalf of the Borrower while that Lender was a Defaulting Lender; and provided, further, that except to the extent otherwise expressly agreed by the affected parties, no change hereunder from Defaulting Lender to Lender will constitute a waiver or release of any claim of any party hereunder arising from that Lender’s having been a Defaulting Lender."}
-{"idx": 12, "level": 3, "span": "(a) Each Lender, severally but not jointly, agrees to make revolving loans to the Borrower, which may be repaid and reborrowed from time to time (collectively the “Loans” and each individually a “Loan”) on any Business Day, during the period from the Restatement"}
-{"idx": 12, "level": 3, "span": "(b) All Loans shall be made by the Lenders on a pro rata basis, calculated for each Lender based on its Percentage."}
-{"idx": 12, "level": 3, "span": "(a) Loan Requests\nThe Borrower shall give the Administrative Agent irrevocable notice, which may be given by (A) telephone, or (B) a Loan Request; provided that any telephonic notice must be confirmed immediately by delivery to the Administrative Agent of a Loan Request, not later than (i) 10:00 a.m. at least three Business Days prior to the requested Funding Date (or continuation or conversion date, as applicable) in the instance of a Borrowing of Eurodollar Rate Loans, or (ii) 8:00 a.m. on the requested Funding Date in the instance of a Borrowing of Alternate Base Rate Loans, of each requested Borrowing, and the Administrative Agent shall promptly advise each Lender thereof. Each notice from the Borrower to the Administrative Agent shall specify (i) the requested Funding Date or continuation/conversion date, as applicable, (ii) the aggregate amount of the Borrowing requested (in an amount permitted under Section 2.4(b)), (iii) the Type of Loans being borrowed, continued or converted, as applicable, and (iv) if such Borrowing, continuation or conversion is of Eurodollar Rate Loans, the Interest Period with respect thereto (subject to the limitations set forth in Section 2.3 and the definition of Interest Period). Any notice not specifying the Type of Borrowing shall be deemed a request for a Borrowing of Alternate Base Rate Loans."}
-{"idx": 12, "level": 3, "span": "(b) Amount and Increments of Loans\nEach Borrowing shall be made in a minimum aggregate amount of $500,000 (or, if less, the Total Availability) or a higher integral multiple of $250,000."}
-{"idx": 12, "level": 3, "span": "(c) Funding of Administrative Agent\nNot later than 10:30 a.m. on the Funding Date of a Borrowing, each Lender shall provide the Administrative Agent at the Administrative Agent’s Office (or such other place as the Administrative Agent shall designate from time to time) with immediately available funds covering such Lender’s Percentage of such Borrowing and the Administrative Agent shall pay over such funds to the Borrower (at an account maintained by the Borrower in the United States) upon the Administrative Agent’s receipt of the documents, if any, required under Section 11 with respect to such Loan and provided all of the conditions precedent to the funding of the requested Loans have been satisfied."}
-{"idx": 12, "level": 3, "span": "(a) Adjustments\nNotwithstanding anything to the contrary contained in this Agreement, if any Lender becomes a Defaulting Lender, then, until such time as such Lender is no longer a Defaulting Lender, to the extent permitted by applicable law:"}
-{"idx": 12, "level": 4, "span": "(i) Waivers and Amendments\nSuch Defaulting Lender’s right to approve or disapprove any amendment, waiver or consent with respect to this Agreement shall be restricted as set forth in the definition of “Required Lenders” and Section 15.2."}
-{"idx": 12, "level": 4, "span": "(ii) Defaulting Lender Waterfall\nAny payment of principal, interest, fees or other amounts received by the Administrative Agent for the account of such Defaulting Lender (whether voluntary or mandatory, at maturity, pursuant to Section 12 or otherwise) or received by the Administrative Agent from a Defaulting Lender pursuant to Section 6.4 shall be applied at such time or times as may be determined by the Administrative Agent as follows: first, to the payment of any amounts owing by such Defaulting Lender to the Administrative Agent hereunder; second, to the payment on a pro rata basis of any amounts owing by such Defaulting Lender to any Issuer hereunder; third, to Cash Collateralize such Issuer’s Fronting Exposure with respect to such Defaulting Lender in accordance with Section 5.8; fourth, as the Borrower may request (so long as no Unmatured Event of Default or Event of Default exists), to the funding of any Loan in respect of which such Defaulting Lender has failed to fund its portion thereof as required by this Agreement, as determined by the Administrative Agent; fifth, if so determined by the Administrative Agent and the Borrower, to be held in a deposit account and released pro rata in order to (x) satisfy such Defaulting Lender’s potential future funding obligations with respect to Loans under this Agreement and (y) Cash Collateralize the Issuers’ future Fronting Exposure with respect to such Defaulting Lender with respect to future Letters of Credit issued under this Agreement, in accordance with Section 5.8; sixth, to the payment of any amounts owing to the Lenders, the Issuers or as a result of any judgment of a court of competent jurisdiction obtained by any Lender or the Issuer against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; seventh, so long as no Unmatured Event of Default or Event of Default exists, to the payment of any amounts owing to the Borrower as a result of any judgment of a court of competent jurisdiction obtained by the Borrower against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; and eighth, to such Defaulting Lender or as otherwise directed by a court of competent jurisdiction; provided that if (x) such payment is a payment of the principal amount of any Loans or Disbursements in respect of which such Defaulting Lender has not fully funded its appropriate share, and (y) such Loans were made or the related Letters of Credit were issued at a time when the conditions set forth in Section 11.2 were satisfied or waived, such payment shall be applied solely to pay the Loans of, and Disbursements owed to, all Non-Defaulting Lenders on a pro rata basis prior to being applied to the payment of any Loans of, or Disbursements owed to, such Defaulting Lender until such time as all Loans and funded and unfunded participations in Disbursements are held by the Lenders pro rata in accordance with the Commitments hereunder without giving effect to Section 2.7(a)(iv). Any payments, prepayments or other amounts paid or payable to a Defaulting Lender that are applied (or held) to pay amounts owed by a Defaulting Lender or to post Cash Collateral pursuant to this Section 2.7(a)(ii) shall"}
-{"idx": 12, "level": 4, "span": "(iii) Certain Fees."}
-{"idx": 12, "level": 4, "span": "(1) No Defaulting Lender shall be entitled to receive any fee payable under Section 4.3 for any period during which that Lender is a Defaulting Lender (and the Borrower shall not be required to pay any such fee that otherwise would have been required to have been paid to that Defaulting Lender)."}
-{"idx": 12, "level": 4, "span": "(2) Each Defaulting Lender shall be entitled to receive Letter of Credit Fees for any period during which that Lender is a Defaulting Lender only to the extent allocable to its Percentage of the Stated Amount of Letters of Credit for which it has provided Cash Collateral pursuant to Section 5.8."}
-{"idx": 12, "level": 4, "span": "(3) With respect to any Letter of Credit Fee not required to be paid to any Defaulting Lender pursuant to clause (2) above, the Borrower shall (x) pay to each Non-Defaulting Lender that portion of any such fee otherwise payable to such Defaulting Lender with respect to such Defaulting Lender’s participation in Letter of Credit Outstandings that has been reallocated to such Non-Defaulting Lender pursuant to clause (iv) below, (y) pay to the applicable Issuer the amount of any such fee otherwise payable to such Defaulting Lender to the extent allocable to such Issuer’s Fronting Exposure to such Defaulting Lender, and (z) not be required to pay the remaining amount of any such fee."}
-{"idx": 12, "level": 4, "span": "(iv) Reallocation of Applicable Percentages to Reduce Fronting Exposure\nAll or any part of such Defaulting Lender’s participation in Letter of Credit Outstandings shall be reallocated among the Non-Defaulting Lenders in accordance with their respective Percentages (calculated without regard to such Defaulting Lender’s Commitment) but only to the extent that such reallocation does not cause the aggregate Credit Extensions of any Non-Defaulting Lender to exceed such Non-Defaulting Lender’s Commitment. No reallocation hereunder shall constitute a waiver or release of any claim of any party hereunder against a Defaulting Lender arising from that Lender having become a Defaulting Lender, including any claim of a Non-Defaulting Lender as a result of such Non-Defaulting Lender’s increased exposure following such reallocation."}
-{"idx": 12, "level": 4, "span": "(v) Cash Collateral, Repayment of Swing Line Loans\nIf the reallocation described in clause (a)(iv) above cannot, or can only partially, be effected, the Borrower shall, without prejudice to any right or remedy available to it hereunder or under applicable law, Cash Collateralize the Issuers’ Fronting Exposure in accordance with the procedures set forth in Section 5.8."}
-{"idx": 12, "level": 3, "span": "(a) Defaulting Lender Cure\nIf the Borrower, the Administrative Agent, and each Issuer agree in writing that a Lender is no longer a Defaulting Lender, the Administrative Agent will so notify the parties hereto, whereupon as of the effective date specified in such notice and subject to any conditions set forth therein (which may include arrangements with respect to any Cash Collateral), such Lender will, to the extent applicable, purchase at par that portion of outstanding Loans of the other Lenders or take such other actions as the Administrative Agent may determine to be necessary to cause the Loans and funded and unfunded participations in Letters of Credit to be held on a pro rata basis by the Lenders in accordance with their respective Percentages (without giving effect to Section 2.7(a)(iv)), whereupon such Lender will cease to be a Defaulting Lender; provided that no adjustments will be made retroactively with respect to fees accrued or payments made by or on behalf of the Borrower while that Lender was a Defaulting Lender; and provided, further, that except to the extent otherwise expressly agreed by the affected parties, no change hereunder from Defaulting Lender to Lender will constitute a waiver or release of any claim of any party hereunder arising from that Lender’s having been a Defaulting Lender."}
-{"idx": 12, "level": 2, "span": "SECTION 3. EVIDENCE OF LOANS.\n(a) The Credit Extensions made by each Lender shall be evidenced by one or more accounts or records maintained by such Lender and by the Administrative Agent in the ordinary course of business. The accounts or records maintained by the Administrative Agent and each Lender shall be conclusive absent manifest error of the amount of the Credit Extensions made by the Lenders to the Borrower and the interest and payments thereon. Any failure to so record or any error in doing so shall not, however, limit or otherwise affect the obligation of the Borrower hereunder to pay any amount owing with respect to the Liabilities. In the event of any conflict between the accounts and records maintained by any Lender and the accounts and records of the Administrative Agent in respect of such matters, the accounts and records of the Administrative Agent shall control in the absence of manifest error. Upon the request of any Lender made through the Administrative Agent, the Borrower shall execute and deliver to such Lender (through the Administrative Agent) a Note which shall evidence such Lender’s Loans in addition to such accounts or records. Each Lender may attach schedules to its Note and endorse thereon the date, Type and amount of each of its Loans, the Interest Period therefor (if applicable) and payments with respect thereto.\n(b) In addition to the accounts and records referred to in clause (a), each Lender and the Administrative Agent shall maintain in accordance with its usual practice accounts or records evidencing the purchases and sales by such Lender of participations in Letters of Credit. In the event of any conflict between the accounts and records maintained by the Administrative Agent and the accounts and records of any Lender in respect of such matters,\nthe accounts and records of the Administrative Agent shall control in the absence of manifest error."}
-{"idx": 12, "level": 3, "span": "(a) The Credit Extensions made by each Lender shall be evidenced by one or more accounts or records maintained by such Lender and by the Administrative Agent in the ordinary course of business\nThe accounts or records maintained by the Administrative Agent and each Lender shall be conclusive absent manifest error of the amount of the Credit Extensions made by the Lenders to the Borrower and the interest and payments thereon. Any failure to so record or any error in doing so shall not, however, limit or otherwise affect the obligation of the Borrower hereunder to pay any amount owing with respect to the Liabilities. In the event of any conflict between the accounts and records maintained by any Lender and the accounts and records of the Administrative Agent in respect of such matters, the accounts and records of the Administrative Agent shall control in the absence of manifest error. Upon the request of any Lender made through the Administrative Agent, the Borrower shall execute and deliver to such Lender (through the Administrative Agent) a Note which shall evidence such Lender’s Loans in addition to such accounts or records. Each Lender may attach schedules to its Note and endorse thereon the date, Type and amount of each of its Loans, the Interest Period therefor (if applicable) and payments with respect thereto."}
-{"idx": 12, "level": 3, "span": "(b) In addition to the accounts and records referred to in clause (a), each Lender and the Administrative Agent shall maintain in accordance with its usual practice accounts or records evidencing the purchases and sales by such Lender of participations in Letters of Credit\nIn the event of any conflict between the accounts and records maintained by the Administrative Agent and the accounts and records of any Lender in respect of such matters,"}
-{"idx": 12, "level": 2, "span": "SECTION 4. INTEREST AND FEES.\n4.1 Interest. Subject to Section 4.2,\n(a) Alternate Base Rate Loans. The unpaid principal of the Alternate Base Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Alternate Base Rate in effect from time to time plus (ii) the Alternate Base Rate Margin in effect from time to time, payable on each Payment Date and at maturity.\n(a) Eurodollar Rate Loans. The unpaid principal of the Eurodollar Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Eurodollar Rate (Reserve Adjusted) in effect for each applicable Interest Period plus (ii) the Eurodollar Margin in effect from time to time, payable on each Payment Date and at maturity.\n4.2 Default Interest. The Borrower shall pay interest on any amount of principal of any Loan which is not paid when due, whether at stated maturity, by acceleration or otherwise, after as well as before judgment, accruing from the date such amount shall have become due to the date of payment thereof in full at the Default Rate. While any other Event of Default exists, upon the request of the Majority Lenders, the Borrower shall pay interest on the principal amount of all of its outstanding Loans and, to the extent permitted by applicable law, all other Liabilities, at a rate per annum equal to the Default Rate.\n4.3 Non-use Fee. The Borrower agrees to pay to the Administrative Agent for the pro rata benefit of the Lenders in accordance with their respective Percentages, a fee (the “Non-use Fee”) during the period from the Restatement Effective Date to the Termination Date in an amount equal to the Non-use Fee Rate per annum in effect from time to time on the daily actual Total Availability, subject to adjustment as provided in Section 2.7. The Non-use Fee shall be payable in arrears on each Payment Date and on the Termination Date for any period then ending for which the Non-use Fee shall not have been theretofore paid.\n4.4 Letter of Credit Fees. The Borrower agrees to pay to the Administrative Agent, for the pro rata account of the Lenders in accordance with their respective Percentages, a fee for each Letter of Credit (the “Letter of Credit Fee”) for the period from the date of the issuance of such Letter of Credit to the date upon which such Letter of Credit expires or is otherwise terminated, of (a) in the case of each Commercial Letter of Credit, 0.75% per annum times the Stated Amount of such Letter of Credit, and (b) in the case of each Standby Letter of Credit, the LC Fee Rate per annum in effect from time to time times the Stated Amount of such Letter of Credit. Such fee shall be payable in arrears on each Payment Date and on the Termination Date (and thereafter on demand) for the period then ending for which such fee shall not theretofore have been paid. Notwithstanding\nthe foregoing or any other provision of this Agreement, any Letter of Credit Fees otherwise payable for the account of a Defaulting Lender with respect to any Letter of Credit as to which such Defaulting Lender has not provided Cash Collateral satisfactory to the applicable Issuer pursuant to Section 5.8 shall be payable, to the maximum extent permitted by applicable law, to the other Lenders in accordance with the upward adjustments in their respective Percentages allocable to such Letter of Credit pursuant to Section 2.7(a)(iv), with the balance of such fee, if any, payable to such Issuer for its own account.\n4.5 Fronting Fees. The Borrower agrees to pay to the applicable Issuer a fronting fee for each Letter of Credit issued by such Issuer at the times and in the amounts separately agreed to by the Borrower and such Issuer.\n4.6 Fees. The Borrower shall pay to the Administrative Agent, the Syndication Agent, the Co-Documentation Agents and the Joint Lead Arrangers, for their own respective accounts, such fees as may be mutually agreed upon from time to time by such parties.\n4.7 Method of Calculating Interest and Fees. Interest on each Alternate Base Rate Loan bearing interest based on Bank of America’s prime rate and any fees payable under Section 4.3 shall be computed on the basis of a year consisting of 365 or 366 days, as the case may be, and paid for actual days elapsed, calculated as to each applicable period from the first day thereof to the last day thereof. All other interest and fees shall be computed on the basis of a year consisting of 360 days and paid for actual days elapsed, calculated as to each applicable period from the first day thereof to the last day thereof."}
-{"idx": 12, "level": 3, "span": "(a) Alternate Base Rate Loans\nThe unpaid principal of the Alternate Base Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Alternate Base Rate in effect from time to time plus (ii) the Alternate Base Rate Margin in effect from time to time, payable on each Payment Date and at maturity."}
-{"idx": 12, "level": 3, "span": "(a) Eurodollar Rate Loans\nThe unpaid principal of the Eurodollar Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Eurodollar Rate (Reserve Adjusted) in effect for each applicable Interest Period plus (ii) the Eurodollar Margin in effect from time to time, payable on each Payment Date and at maturity."}
-{"idx": 12, "level": 2, "span": "SECTION 5. LETTERS OF CREDIT.\n5.1 Issuance Requests. By delivering to the Administrative Agent and the applicable Issuer an Issuance Request on or before 12:00 noon the Borrower may request, from time to time prior to the Termination Date and on not less than three nor more than ten Business Days’ notice, that such Issuer issue a Letter of Credit for the account of the Borrower; provided that (x) the Letter of Credit Outstandings shall not at any time exceed $20,000,000 and (y) the TCIL Usage shall not at any time exceed the Credit Capacity. Such Issuance Request may be sent by facsimile, by United States mail, by overnight courier, by electronic transmission using the system provided by the Issuer, by personal delivery or by any other means acceptable to the Issuer. Upon receipt of an Issuance Request, the Administrative Agent shall promptly notify the Lenders thereof. Each Letter of Credit shall by its terms be stated to expire on a date (its “Stated Expiry Date”) no later than the earlier of 12 months from its date of issuance and 14 days prior to the scheduled Termination Date.\nThe Administrative Agent, the Lenders and the Borrower hereby agree, anything in any Issuance Request to the contrary notwithstanding, that any and all provisions of any Issuance Request purporting to grant a security interest in any asset of the Borrower are null and void, it being the intention of the parties that security for the Reimbursement Obligations in respect of any Letter of\nCredit shall be provided as described in Section 5.8 and pursuant to the documents described in Section 8. Notwithstanding the terms of any Issuance Request for a Commercial Letter of Credit, in no event may the Borrower extend the time for reimbursing any drawing under a Commercial Letter of Credit by obtaining a bankers’ acceptance from the relevant Issuer.\nIn the event of any conflict between the terms hereof and the terms of any Issuance Request, the terms hereof shall control.\n5.2 Issuances and Extensions.\n(a) Subject to the terms and conditions of this Agreement (including Section 11), each Issuer shall issue Letters of Credit in accordance with Issuance Requests made therefor.\n(b) Each Issuer will make available the original of each Letter of Credit which it issues in accordance with the Issuance Request therefor (and will promptly provide the Administrative Agent with a copy of such Letter of Credit).\n(c) An Issuer shall not be under any obligation to issue any Letter of Credit if:\n(i) any order, judgment or decree of any Governmental Authority or arbitrator shall by its terms purport to enjoin or restrain such Issuer from issuing such Letter of Credit, or any law applicable to such Issuer or any request or directive (whether or not having the force of law) from any Governmental Authority with jurisdiction over such Issuer shall prohibit, or request that such Issuer refrain from, the issuance of letters of credit generally or such Letter of Credit in particular or shall impose upon such Issuer with respect to such Letter of Credit any restriction, reserve or capital requirement (for which such Issuer is not otherwise compensated hereunder) not in effect on the Restatement Effective Date, or shall impose upon such Issuer any unreimbursed loss, cost or expense which was not applicable on the Restatement Effective Date and which such Issuer in good faith deems material to it;\n(ii) the issuance of such Letter of Credit would violate one or more policies of such Issuer;\n(iii) such Letter of Credit is to be denominated in a currency other than Dollars;\n(iv) such Letter of Credit contains any provisions for automatic reinstatement of the stated amount after any drawing thereunder; or\n(v) any Lender is at such time a Defaulting Lender, unless such Issuer has entered into arrangements, including the delivery of Cash Collateral, satisfactory to such Issuer (in its sole discretion) with the Borrower or such Defaulting Lender\nto eliminate such Issuer’s actual or potential Fronting Exposure (after giving effect to Section 2.7(a)(iv)) with respect to such Defaulting Lender arising from either the Letter of Credit then proposed to be issued or such Letter of Credit and all other Letter of Credit Outstandings as to which such Issuer has actual or potential Fronting Exposure, as it may elect in its sole discretion.\n(d) No Issuer shall amend any Letter of Credit if such Issuer would not be permitted at such time to issue such Letter of Credit in its amended form under the terms hereof.\n(e) No Issuer shall be under any obligation to amend any Letter of Credit if (i) such Issuer would have no obligation at such time to issue such Letter of Credit in its amended form under the terms hereof or (ii) the beneficiary of such Letter of Credit does not accept the proposed amendment to such Letter of Credit.\n(f) Each Issuer shall act on behalf of the Lenders with respect to any Letter of Credit issued by it and the documents associated therewith, and each Issuer shall have all of the benefits and immunities (i) provided to the Administrative Agent in Section 13 with respect to any acts taken or omissions suffered by such Issuer in connection with Letters of Credit issued by it or proposed to be issued by it and Issuance Requests and applications pertaining to such Letters of Credit as fully as if the term “Administrative Agent” as used in Section 13 included such Issuer with respect to such acts or omissions, and (ii) as additionally provided herein with respect to such Issuer.\n5.3 Documentary and Processing Charges Payable to each Issuer. The Borrower agrees to pay directly to the applicable Issuer for its own account all customary fees and standard costs and charges of such Issuer in connection with the issuance, maintenance, modification (if any) and administration of each Letter of Credit issued by such Issuer upon demand from time to time. Such customary fees and standard costs and charges are due and payable on demand and are nonrefundable.\n5.4 Other Lenders’ Participation. Each Letter of Credit issued pursuant to Section 5.2 shall, effective upon its issuance and without further action, be issued on behalf of all Lenders (including the Issuer thereof) pro rata according to their respective Percentages. Each Lender shall, to the extent of its Percentage, be deemed irrevocably to have participated in the issuance of such Letter of Credit and shall promptly pay to the Administrative Agent for the account of the Issuer thereof an amount equal to such Lender’s Percentage of the amount of any drawings which have not been reimbursed by the Borrower in accordance with Section 5.5, or which have been reimbursed by the Borrower but must be returned or disgorged by such Issuer for any reason, and each Lender (unless such Lender is then a Defaulting Lender) shall, to the extent of its Percentage, be entitled to receive from the Administrative Agent a ratable portion of the Letter of Credit Fees received by the Administrative Agent pursuant to Section 4.4, with respect to each Letter of Credit. In the event\nthat the Borrower shall fail to reimburse any Issuer (through the Administrative Agent), or if for any reason Loans shall not be made to fund any Reimbursement Obligation, all as provided in Section 5.5 and in an amount equal to the amount of any drawing honored by such Issuer under a Letter of Credit issued by it, or in the event such Issuer must for any reason return or disgorge such reimbursement, the Administrative Agent shall promptly notify such Issuer and each Lender of the unreimbursed amount of such drawing and of such Lender’s respective participation therein. Each Lender shall make available to the Administrative Agent, for the account of such Issuer, whether or not any Event of Default or Unmatured Event of Default shall exist, an amount equal to such Lender’s respective participation in same day or immediately available funds at the office of the Administrative Agent not later than 10:00 a.m. on the Business Day after the date notified by such Issuer. The Administrative Agent will promptly make available to the applicable Issuer any amounts received by it pursuant to the preceding sentence. In the event that any Lender fails to make available to the Administrative Agent the amount of such Lender’s participation in such Letter of Credit as provided herein, such Issuer shall be entitled to recover such amount on demand from such Lender together with interest at the daily average Federal Funds Rate for three Business Days (together with such other compensatory amounts determined by the Administrative Agent in accordance with banking industry rules on interbank compensation) and thereafter at the Alternate Base Rate plus 2%. Nothing in this Section shall be deemed to prejudice the right of any Lender to recover from any Issuer any amounts made available by such Lender to such Issuer pursuant to this Section in the event that it is determined by a court of competent jurisdiction that the applicable payment with respect to a Letter of Credit by such Issuer constituted gross negligence or willful misconduct on the part of such Issuer. Each Issuer shall pay to the Administrative Agent, for the account of each Lender which has paid all amounts payable by it under this Section with respect to any Letter of Credit issued by such Issuer, such Lender’s Percentage of all payments received by such Issuer from the Borrower in reimbursement of drawings honored by such Issuer under such Letter of Credit when such payments are received. The Administrative Agent will promptly make available to the applicable Lenders any amounts received by it from an Issuer pursuant to the preceding sentence.\nEach Lender’s obligation to participate in Letters of Credit shall (a) continue notwithstanding termination of the Commitments until all Liabilities with respect to Letter of Credit Outstandings have been fully and finally paid and (b) be absolute and unconditional and shall not be affected by any circumstance, including (i) any setoff, counterclaim, recoupment, defense or other right which such Lender may have against any Issuer, the Borrower or any other Person for any reason whatsoever; (ii) the occurrence or continuance of an Event of Default or an Unmatured Event of Default or (iii) any other occurrence, event or condition, whether or not similar to any of the foregoing; provided that each Lender’s obligation to make Alternate Base Rate Loans pursuant to Section 5.5 is subject to the conditions set forth in Section 11.2 (other than delivery by the Borrower of a Loan Request).\n5.5 Disbursements. Upon receipt from the beneficiary of any Letter of Credit of any notice of a drawing under such Letter of Credit, the Issuer of such Letter of Credit will notify the Borrower and the Administrative Agent promptly of the presentment for payment of any Letter of Credit, or of any draft thereunder (any such payment, a “Disbursement”). Prior to 10:00 a.m. on the date of any payment by the Issuer under a Letter of Credit (a “Disbursement Date”), the Borrower will reimburse the applicable Issuer through the Administrative Agent for all amounts which it has disbursed under the Letter of Credit. To the extent the applicable Issuer is not reimbursed in full in accordance with the second sentence of this Section, the Borrower’s Reimbursement Obligation shall accrue interest at the Default Rate, payable on demand. In the event the applicable Issuer is not reimbursed by the Borrower on the Disbursement Date, or if such Issuer must for any reason return or disgorge such reimbursement, the Lenders shall, on the terms and subject to the conditions of this Agreement, make Loans that are Alternate Base Rate Loans on the next Business Day in an aggregate amount equal to the Reimbursement Obligations as provided in Section 2.1 (the Borrower being deemed to have given a timely Loan Request therefor for such amount); provided that, for the purpose of determining the availability of the Commitments immediately prior to giving effect to the application of the proceeds of such Loans, such Reimbursement Obligation shall be deemed not to be outstanding at such time. The proceeds of the Loans made pursuant to the preceding sentence will be turned over to the applicable Issuer in satisfaction of the Reimbursement Obligation.\n5.6 Reimbursement Obligations Absolute. The Borrower’s obligation (a “Reimbursement Obligation”) under Section 5.5 to reimburse an Issuer with respect to each Disbursement (including interest thereon) made under any Letter of Credit, and each other Lender’s obligation to make participation payments in each drawing which has not been reimbursed by the Borrower, shall be absolute and unconditional under any and all circumstances, including:\n(a) any lack of validity or enforceability of such Letter of Credit, this Agreement or any other Loan Document;\n(b) the existence of any claim, counterclaim, setoff, defense or other right that the Borrower or any Subsidiary may have at any time against any beneficiary or any transferee of such Letter of Credit (or any Person for whom any such beneficiary or any such transferee may be acting), any Issuer or any other Person, whether in connection with this Agreement, the transactions contemplated hereby or by such Letter of Credit or any agreement or instrument relating thereto, or any unrelated transaction;\n(c) any draft, demand, certificate or other document presented under such Letter of Credit proving to be forged, fraudulent, invalid or insufficient in any respect or any statement therein being untrue or inaccurate in any respect; or any loss or delay in the transmission or otherwise of any document required in order to make a drawing under such Letter of Credit;\n(d) waiver by the Issuer of any requirement that exists for the Issuer’s protection and not the protection of the Borrower or any waiver by the Issuer that does not in fact materially prejudice the Borrower;\n(e) honor of a demand for payment presented electronically even if such Letter of Credit requires that demand be in the form of a draft;\n(f) any payment made by the Issuer in respect of an otherwise complying item presented after the date specified as the expiration date of, or the date by which documents must be received under, such Letter of Credit if presentation after such date is authorized by the UCC, the ISP or the UCP, as applicable;\n(g) any payment by the applicable Issuer under such Letter of Credit against presentation of a draft or certificate that does not strictly comply with the terms of such Letter of Credit; or any payment made by such Issuer under such Letter of Credit to any Person purporting to be a trustee in bankruptcy, debtor-in-possession, assignee for the benefit of creditors, liquidator, receiver or other representative of or successor to any beneficiary or any transferee of such Letter of Credit, including any arising in connection with any proceeding under any Debtor Relief Law; or\n(h) any other circumstance or happening whatsoever, whether or not similar to any of the foregoing, including any other circumstance that might otherwise constitute a defense available to, or a discharge of, the Borrower or any Subsidiary.\nThe Borrower shall promptly examine a copy of each Letter of Credit and each amendment thereto that is delivered to it and, in the event of any claim of noncompliance with the Borrower’s instructions or other irregularity, the Borrower will immediately notify the applicable Issuer. The Borrower shall be conclusively deemed to have waived any such claim against such Issuer and its correspondents unless such notice is given as aforesaid.\n5.7 Role of Issuers. Each Lender and the Borrower agree that, in making any Disbursement under a Letter of Credit, the applicable Issuer shall not have any responsibility to obtain any document (other than any sight draft, certificates and documents expressly required by the Letter of Credit) or to ascertain or inquire as to the validity or accuracy of any such document or the authority of the Person executing or delivering any such document. None of any Issuer, the Administrative Agent, any of their respective Lender-Related Parties nor any correspondent, participant or assignee of any Issuer shall be liable to any Lender for (a) any action taken or omitted in connection herewith at the request or with the approval of the Lenders or the Majority Lenders, as applicable; (b) any action taken or omitted in the absence of gross negligence or willful misconduct; or (c) the due execution, effectiveness, validity or enforceability of any document or instrument related to any Letter of Credit. The Borrower hereby assumes all risks of the acts or omissions of any beneficiary or transferee with respect to its use of any Letter of Credit; provided \nthat this assumption is not intended to, and shall not, preclude the Borrower’s pursuing such rights and remedies as it may have against the beneficiary or transferee at law or under any other agreement. None of any Issuer, the Administrative Agent, any of their respective Lender-Related Parties nor any correspondent, participant or assignee of any Issuer shall be liable or responsible for any of the matters described in clauses (a) through (h) of Section 5.6); provided that anything in such clauses to the contrary notwithstanding, the Borrower may have a claim against an Issuer, and such Issuer may be liable to the Borrower, to the extent, but only to the extent, of any direct, as opposed to consequential or exemplary, damages suffered by the Borrower which the Borrower proves were caused by such Issuer’s willful misconduct or gross negligence or such Issuer’s willful failure to pay under any Letter of Credit after the presentation to it by the beneficiary of a sight draft and certificate(s) strictly complying with the terms and conditions of a Letter of Credit. In furtherance and not in limitation of the foregoing, any Issuer may accept documents that appear on their face to be in order, without responsibility for further investigation, regardless of any notice or information to the contrary, and such Issuer shall not be responsible for the validity or sufficiency of any instrument transferring or assigning or purporting to transfer or assign a Letter of Credit or the rights or benefits thereunder or proceeds thereof, in whole or in part, which may prove to be invalid or ineffective for any reason. The Issuer may send a Letter of Credit or conduct any communication to or from the beneficiary via the Society for Worldwide Interbank Financial Telecommunication (“SWIFT”) message or overnight courier, or any other commercially reasonable means of communicating with a beneficiary.\n5.8 Deemed Disbursements; Cash Collateral.\n(a) Deemed Disbursements. During the existence of any Event of Default, an amount equal to that portion of Letter of Credit Outstandings attributable to outstanding and undrawn Letters of Credit shall, at the election of the Majority Lenders, and without demand upon or notice to the Borrower, be deemed to have been paid or disbursed by the applicable Issuer under such Letters of Credit (notwithstanding that such amount may not in fact have been so paid or disbursed), and, upon notification by such Issuer to the Administrative Agent and the Borrower of its obligations under this Section, the Borrower shall be immediately obligated to reimburse such Issuer the amount deemed to have been so paid or disbursed by such Issuer. Any amounts so received by such Issuer from the Borrower pursuant to this Section shall be turned over to the Administrative Agent and held as collateral security for the repayment of the Borrower’s obligations in connection with the Letters of Credit issued by such Issuer. At any time when such Letters of Credit shall terminate and all liabilities of each Issuer with respect to Letters of Credit issued by it are either terminated or paid or reimbursed to such Issuer in full, the Liabilities of the Borrower under this Section shall be reduced accordingly (subject, however, to reinstatement in the event any payment in respect of such Letters of Credit is recovered in any manner from such Issuer), and, provided that no Event of Default or Unmatured Event of Default exists, the Administrative Agent will return to the Borrower the excess, if any, of (a) the aggregate amount deposited by the\nBorrower with the Administrative Agent and not theretofore applied to any Reimbursement Obligation over (b) the aggregate amount of all Reimbursement Obligations pursuant to this Section, as so adjusted. At such time when all Events of Default shall have been cured or waived, the Administrative Agent shall return to the Borrower all amounts then on deposit with the Administrative Agent pursuant to this Section. To the extent any amounts on deposit pursuant to this Section shall, until their application to any Reimbursement Obligation or their return to the Borrower, as the case may be, bear interest, such interest shall be held by the Administrative Agent as additional collateral security for the repayment of the Borrower’s Liabilities in connection with the Letters of Credit.\n(b) Cash Collateral and Defaulting Lender. If any Letter of Credit Outstandings exist at the time a Lender is a Defaulting Lender, the Borrower shall, within three Business Days of delivery of written notice by the Administrative Agent, Cash Collateralize the amount of the Defaulting Lender’s Percentage of the Letter of Credit Outstandings. If the Borrower is required to provide an amount of cash collateral pursuant to this Section 5.8(b), such cash collateral shall be released and promptly returned to the Borrower from time to time to the extent the amount deposited shall exceed the Defaulting Lender’s Percentage of the Letter of Credit Outstandings or if such Lender ceases to be a Defaulting Lender. If at any time the Administrative Agent determines that Cash Collateral is subject to any right or claim of any Person other than the Administrative Agent as herein provided, or that the total amount of such Cash Collateral is less than the applicable Fronting Exposure and other obligations secured thereby, the Borrower or the relevant Defaulting Lender will, promptly upon demand by the Administrative Agent, pay or provide to the Administrative Agent additional Cash Collateral in an amount sufficient to eliminate such deficiency.\n(c) Lien on Cash Collateral. This Agreement sets forth certain additional requirements to deliver Cash Collateral. The Borrower hereby grants to Administrative Agent a security interest (subject to the Collateral Documents) in all such cash, all deposit accounts into which such cash is deposited, all balances in such accounts and all proceeds of the foregoing. Cash Collateral shall be maintained in blocked, interest bearing deposit accounts with the Administrative Agent.\n(d) Application. Notwithstanding anything to the contrary contained in this Agreement, Cash Collateral provided under any of this Section 5.8 or Sections 2.7, 5.2, 6.3, or 12.2 in respect of Letters of Credit shall be held and applied to the satisfaction of the specific Letter of Credit Outstandings, obligations to fund participations therein (including, as to Cash Collateral provided by a Defaulting Lender, any interest accrued on such obligation) and other obligations for which the Cash Collateral was so provided, prior to any other application of such property as may be provided for herein.\n(e) Release. Cash Collateral (or the appropriate portion thereof) provided to reduce Fronting Exposure or other obligations shall be released promptly following (i) the elimination of the applicable Fronting Exposure or other obligations giving rise thereto (including by the termination of Defaulting Lender status of the applicable Lender (or, as appropriate, its assignee following compliance with Section 15.8(i))) or (ii) the Administrative Agent’s good faith determination that there exists excess Cash Collateral; provided, however, (x) that Cash Collateral furnished by or on behalf of the Borrower shall not be released during the continuance of an Unmatured Event of Default or Event of Default, and (y) the Person providing Cash Collateral and the Issuer, as applicable, may agree that Cash Collateral shall not be released but instead held to support future anticipated Fronting Exposure or other obligations.\n5.9 Nature of Reimbursement Obligations. The Borrower shall assume all risks of the acts, omissions or misuse of any Letter of Credit by the beneficiary thereof. None of the Administrative Agent, any Issuer or any Lender (except to the extent of its own gross negligence or willful misconduct) shall be responsible for:\n(a) the form, validity, sufficiency, accuracy, genuineness or legal effect of any Letter of Credit or any document submitted by any party in connection with the application for and issuance of a Letter of Credit, even if it should in fact prove to be in any or all respects invalid, insufficient, inaccurate, fraudulent or forged;\n(b) the form, validity, sufficiency, accuracy, genuineness or legal effect of any instrument transferring or assigning or purporting to transfer or assign a Letter of Credit or the rights or benefits thereunder or proceeds thereof in whole or in part, which may prove to be invalid or ineffective for any reason;\n(c) failure of the beneficiary to comply fully with conditions required in order to demand payment under a Letter of Credit;\n(d) errors, omissions, interruptions or delays in transmission or delivery of any messages, by mail, cable, facsimile or otherwise; or\n(e) any loss or delay in the transmission or otherwise of any document or draft required in order to make a Disbursement under a Letter of Credit or of the proceeds thereof.\nNone of the foregoing shall affect, impair or prevent the vesting of any of the rights or powers granted the Administrative Agent any Issuer or any Lender hereunder. In furtherance and extension, and not in limitation or derogation, of the foregoing, any action taken or omitted to be taken by any Issuer in good faith shall be binding upon the Borrower and shall not put such Issuer under any resulting liability to the Borrower.\n5.10 Increased Costs; Indemnity. If by reason of (a) any Change in Law, or (b) compliance by any Issuer or any Lender with any direction, request or requirement (whether or not having the force of law) of any governmental or monetary authority, including Regulation D of the FRB:\n(i) any Issuer or any Lender shall be subject to any Tax (other than Taxes on overall net income and franchises that are imposed as a result of such Issuer or Lender being organized under the laws of, or having its principal office or its applicable lending office located in, the jurisdiction imposing such Tax), levy, charge or withholding of any nature or to any variation thereof or to any penalty with respect to the maintenance or fulfillment of its obligations under this Section 5, whether directly or by such being imposed on or suffered by such Issuer or any Lender;\n(ii) any reserve, deposit or similar requirement is or shall be applicable, imposed or modified in respect of any Letter of Credit issued by any Issuer or participations therein purchased by any Lender; or\n(iii) there shall be imposed on any Issuer or any Lender any other condition regarding this Section 5, any Letter of Credit or any participation therein;\nand the result of the foregoing is directly or indirectly to increase the cost to such Issuer of issuing, making or maintaining any Letter of Credit or the cost to such Lender of purchasing or maintaining any participation therein, or to reduce any amount receivable in respect thereof by such Issuer or such Lender, then and in any such case such Issuer or such Lender may, at any reasonable time after the additional cost is incurred or the amount received is reduced, notify the Borrower thereof, and the Borrower shall pay on demand such amounts as such Issuer or Lender may specify to be necessary to compensate such Issuer or Lender for such additional cost or reduced receipt. The determination by such Issuer or Lender, as the case may be, of any amount due pursuant to this Section, as set forth in a statement setting forth the calculation thereof in reasonable detail, shall, in the absence of manifest error, be final and presumptively valid and binding on all of the parties hereto. In addition to amounts payable as elsewhere provided in this Section 5, the Borrower hereby agrees to protect, indemnify, pay and save each Issuer and each Lender harmless from and against any and all claims, demands, liabilities, damages, losses, costs, charges and expenses (including reasonable attorneys’ fees and allocated costs of internal counsel) which such Issuer or such Lender may incur or be subject to as a consequence, direct or indirect, of (x) the issuance of any Letter of Credit, other than as a result of the gross negligence or willful misconduct of such Issuer as determined by a court of competent jurisdiction, or (y) the failure of such Issuer to honor a drawing under any Letter of Credit as a result of any act or omission, whether rightful or wrongful, of any present or future de jure or de facto government or Governmental Authority.\n5.11 Applicability of ISP and UCP; Limitation of Liability. Unless otherwise expressly agreed by the applicable Issuer and the Borrower when a Letter of Credit is issued (including any such agreement applicable to an Existing Letter of Credit), the ISP and the UCP at the time of\nissuance shall apply to each commercial Letter of Credit. Notwithstanding the foregoing, an Issuer shall not be responsible to the Borrower for, and an Issuer’s rights and remedies against the Borrower shall not be impaired by, any action or inaction of the Issuer required or permitted under any law, order or practice that is required or permitted to be applied to any Letter of Credit or this Agreement, including the law or any order of a jurisdiction where the Issuer or the beneficiary is located, the practice stated in the ISP or UCP, as applicable, or in the decisions, opinions, practice statements or official commentary of the ICC Banking Commission, the Bankers Association for Finance and Trade - International Financial Services Association (BAFT-IFSA) or the Institute of International Banking Law & Practice, whether or not any Letter of Credit chooses such law or practice."}
-{"idx": 12, "level": 3, "span": "(a) Subject to the terms and conditions of this Agreement (including Section 11), each Issuer shall issue Letters of Credit in accordance with Issuance Requests made therefor."}
-{"idx": 12, "level": 3, "span": "(b) Each Issuer will make available the original of each Letter of Credit which it issues in accordance with the Issuance Request therefor (and will promptly provide the Administrative Agent with a copy of such Letter of Credit)."}
-{"idx": 12, "level": 3, "span": "(c) An Issuer shall not be under any obligation to issue any Letter of Credit if:"}
-{"idx": 12, "level": 4, "span": "(i) any order, judgment or decree of any Governmental Authority or arbitrator shall by its terms purport to enjoin or restrain such Issuer from issuing such Letter of Credit, or any law applicable to such Issuer or any request or directive (whether or not having the force of law) from any Governmental Authority with jurisdiction over such Issuer shall prohibit, or request that such Issuer refrain from, the issuance of letters of credit generally or such Letter of Credit in particular or shall impose upon such Issuer with respect to such Letter of Credit any restriction, reserve or capital requirement (for which such Issuer is not otherwise compensated hereunder) not in effect on the Restatement Effective Date, or shall impose upon such Issuer any unreimbursed loss, cost or expense which was not applicable on the Restatement Effective Date and which such Issuer in good faith deems material to it;"}
-{"idx": 12, "level": 4, "span": "(ii) the issuance of such Letter of Credit would violate one or more policies of such Issuer;"}
-{"idx": 12, "level": 4, "span": "(iii) such Letter of Credit is to be denominated in a currency other than Dollars;"}
-{"idx": 12, "level": 4, "span": "(iv) such Letter of Credit contains any provisions for automatic reinstatement of the stated amount after any drawing thereunder; or"}
-{"idx": 12, "level": 4, "span": "(v) any Lender is at such time a Defaulting Lender, unless such Issuer has entered into arrangements, including the delivery of Cash Collateral, satisfactory to such Issuer (in its sole discretion) with the Borrower or such Defaulting Lender"}
-{"idx": 12, "level": 3, "span": "(d) No Issuer shall amend any Letter of Credit if such Issuer would not be permitted at such time to issue such Letter of Credit in its amended form under the terms hereof."}
-{"idx": 12, "level": 3, "span": "(e) No Issuer shall be under any obligation to amend any Letter of Credit if (i) such Issuer would have no obligation at such time to issue such Letter of Credit in its amended form under the terms hereof or (ii) the beneficiary of such Letter of Credit does not accept the proposed amendment to such Letter of Credit."}
-{"idx": 12, "level": 3, "span": "(f) Each Issuer shall act on behalf of the Lenders with respect to any Letter of Credit issued by it and the documents associated therewith, and each Issuer shall have all of the benefits and immunities (i) provided to the Administrative Agent in Section 13 with respect to any acts taken or omissions suffered by such Issuer in connection with Letters of Credit issued by it or proposed to be issued by it and Issuance Requests and applications pertaining to such Letters of Credit as fully as if the term “Administrative Agent” as used in Section 13 included such Issuer with respect to such acts or omissions, and (ii) as additionally provided herein with respect to such Issuer."}
-{"idx": 12, "level": 3, "span": "(a) any lack of validity or enforceability of such Letter of Credit, this Agreement or any other Loan Document;"}
-{"idx": 12, "level": 3, "span": "(b) the existence of any claim, counterclaim, setoff, defense or other right that the Borrower or any Subsidiary may have at any time against any beneficiary or any transferee of such Letter of Credit (or any Person for whom any such beneficiary or any such transferee may be acting), any Issuer or any other Person, whether in connection with this Agreement, the transactions contemplated hereby or by such Letter of Credit or any agreement or instrument relating thereto, or any unrelated transaction;"}
-{"idx": 12, "level": 3, "span": "(c) any draft, demand, certificate or other document presented under such Letter of Credit proving to be forged, fraudulent, invalid or insufficient in any respect or any statement therein being untrue or inaccurate in any respect; or any loss or delay in the transmission or otherwise of any document required in order to make a drawing under such Letter of Credit;"}
-{"idx": 12, "level": 3, "span": "(d) waiver by the Issuer of any requirement that exists for the Issuer’s protection and not the protection of the Borrower or any waiver by the Issuer that does not in fact materially prejudice the Borrower;"}
-{"idx": 12, "level": 3, "span": "(e) honor of a demand for payment presented electronically even if such Letter of Credit requires that demand be in the form of a draft;"}
-{"idx": 12, "level": 3, "span": "(f) any payment made by the Issuer in respect of an otherwise complying item presented after the date specified as the expiration date of, or the date by which documents must be received under, such Letter of Credit if presentation after such date is authorized by the UCC, the ISP or the UCP, as applicable;"}
-{"idx": 12, "level": 3, "span": "(g) any payment by the applicable Issuer under such Letter of Credit against presentation of a draft or certificate that does not strictly comply with the terms of such Letter of Credit; or any payment made by such Issuer under such Letter of Credit to any Person purporting to be a trustee in bankruptcy, debtor-in-possession, assignee for the benefit of creditors, liquidator, receiver or other representative of or successor to any beneficiary or any transferee of such Letter of Credit, including any arising in connection with any proceeding under any Debtor Relief Law; or"}
-{"idx": 12, "level": 3, "span": "(h) any other circumstance or happening whatsoever, whether or not similar to any of the foregoing, including any other circumstance that might otherwise constitute a defense available to, or a discharge of, the Borrower or any Subsidiary."}
-{"idx": 12, "level": 3, "span": "(a) Deemed Disbursements\nDuring the existence of any Event of Default, an amount equal to that portion of Letter of Credit Outstandings attributable to outstanding and undrawn Letters of Credit shall, at the election of the Majority Lenders, and without demand upon or notice to the Borrower, be deemed to have been paid or disbursed by the applicable Issuer under such Letters of Credit (notwithstanding that such amount may not in fact have been so paid or disbursed), and, upon notification by such Issuer to the Administrative Agent and the Borrower of its obligations under this Section, the Borrower shall be immediately obligated to reimburse such Issuer the amount deemed to have been so paid or disbursed by such Issuer. Any amounts so received by such Issuer from the Borrower pursuant to this Section shall be turned over to the Administrative Agent and held as collateral security for the repayment of the Borrower’s obligations in connection with the Letters of Credit issued by such Issuer. At any time when such Letters of Credit shall terminate and all liabilities of each Issuer with respect to Letters of Credit issued by it are either terminated or paid or reimbursed to such Issuer in full, the Liabilities of the Borrower under this Section shall be reduced accordingly (subject, however, to reinstatement in the event any payment in respect of such Letters of Credit is recovered in any manner from such Issuer), and, provided that no Event of Default or Unmatured Event of Default exists, the Administrative Agent will return to the Borrower the excess, if any, of (a) the aggregate amount deposited by the"}
-{"idx": 12, "level": 3, "span": "(b) Cash Collateral and Defaulting Lender\nIf any Letter of Credit Outstandings exist at the time a Lender is a Defaulting Lender, the Borrower shall, within three Business Days of delivery of written notice by the Administrative Agent, Cash Collateralize the amount of the Defaulting Lender’s Percentage of the Letter of Credit Outstandings. If the Borrower is required to provide an amount of cash collateral pursuant to this Section 5.8(b), such cash collateral shall be released and promptly returned to the Borrower from time to time to the extent the amount deposited shall exceed the Defaulting Lender’s Percentage of the Letter of Credit Outstandings or if such Lender ceases to be a Defaulting Lender. If at any time the Administrative Agent determines that Cash Collateral is subject to any right or claim of any Person other than the Administrative Agent as herein provided, or that the total amount of such Cash Collateral is less than the applicable Fronting Exposure and other obligations secured thereby, the Borrower or the relevant Defaulting Lender will, promptly upon demand by the Administrative Agent, pay or provide to the Administrative Agent additional Cash Collateral in an amount sufficient to eliminate such deficiency."}
-{"idx": 12, "level": 3, "span": "(c) Lien on Cash Collateral\nThis Agreement sets forth certain additional requirements to deliver Cash Collateral. The Borrower hereby grants to Administrative Agent a security interest (subject to the Collateral Documents) in all such cash, all deposit accounts into which such cash is deposited, all balances in such accounts and all proceeds of the foregoing. Cash Collateral shall be maintained in blocked, interest bearing deposit accounts with the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(d) Application\nNotwithstanding anything to the contrary contained in this Agreement, Cash Collateral provided under any of this Section 5.8 or Sections 2.7, 5.2, 6.3, or 12.2 in respect of Letters of Credit shall be held and applied to the satisfaction of the specific Letter of Credit Outstandings, obligations to fund participations therein (including, as to Cash Collateral provided by a Defaulting Lender, any interest accrued on such obligation) and other obligations for which the Cash Collateral was so provided, prior to any other application of such property as may be provided for herein."}
-{"idx": 12, "level": 3, "span": "(e) Release\nCash Collateral (or the appropriate portion thereof) provided to reduce Fronting Exposure or other obligations shall be released promptly following (i) the elimination of the applicable Fronting Exposure or other obligations giving rise thereto (including by the termination of Defaulting Lender status of the applicable Lender (or, as appropriate, its assignee following compliance with Section 15.8(i))) or (ii) the Administrative Agent’s good faith determination that there exists excess Cash Collateral; provided, however, (x) that Cash Collateral furnished by or on behalf of the Borrower shall not be released during the continuance of an Unmatured Event of Default or Event of Default, and (y) the Person providing Cash Collateral and the Issuer, as applicable, may agree that Cash Collateral shall not be released but instead held to support future anticipated Fronting Exposure or other obligations."}
-{"idx": 12, "level": 3, "span": "(a) the form, validity, sufficiency, accuracy, genuineness or legal effect of any Letter of Credit or any document submitted by any party in connection with the application for and issuance of a Letter of Credit, even if it should in fact prove to be in any or all respects invalid, insufficient, inaccurate, fraudulent or forged;"}
-{"idx": 12, "level": 3, "span": "(b) the form, validity, sufficiency, accuracy, genuineness or legal effect of any instrument transferring or assigning or purporting to transfer or assign a Letter of Credit or the rights or benefits thereunder or proceeds thereof in whole or in part, which may prove to be invalid or ineffective for any reason;"}
-{"idx": 12, "level": 3, "span": "(c) failure of the beneficiary to comply fully with conditions required in order to demand payment under a Letter of Credit;"}
-{"idx": 12, "level": 3, "span": "(d) errors, omissions, interruptions or delays in transmission or delivery of any messages, by mail, cable, facsimile or otherwise; or"}
-{"idx": 12, "level": 3, "span": "(e) any loss or delay in the transmission or otherwise of any document or draft required in order to make a Disbursement under a Letter of Credit or of the proceeds thereof."}
-{"idx": 12, "level": 4, "span": "(i) any Issuer or any Lender shall be subject to any Tax (other than Taxes on overall net income and franchises that are imposed as a result of such Issuer or Lender being organized under the laws of, or having its principal office or its applicable lending office located in, the jurisdiction imposing such Tax), levy, charge or withholding of any nature or to any variation thereof or to any penalty with respect to the maintenance or fulfillment of its obligations under this Section 5, whether directly or by such being imposed on or suffered by such Issuer or any Lender;"}
-{"idx": 12, "level": 4, "span": "(ii) any reserve, deposit or similar requirement is or shall be applicable, imposed or modified in respect of any Letter of Credit issued by any Issuer or participations therein purchased by any Lender; or"}
-{"idx": 12, "level": 4, "span": "(iii) there shall be imposed on any Issuer or any Lender any other condition regarding this Section 5, any Letter of Credit or any participation therein;"}
-{"idx": 12, "level": 2, "span": "SECTION 6. PAYMENTS, OFFSETS, PREPAYMENTS AND REDUCTION OR TERMINATION OF THE COMMITMENTS; BORROWING BASE; INCREASE IN COMMITMENTS.\n6.1 Payments Generally. Except as otherwise specified in this Agreement, all payments hereunder (including payments with respect to the Loans) shall be made free and clear of and without condition or deduction for any counterclaim, defense, recoupment or set-off and shall be made in coin or currency of the United States which at the time of payment shall be legal tender for the payment of public and private debts in immediately available funds by the Borrower to the Administrative Agent for the account of the Lenders, pro rata according to the unpaid principal amounts of the Loans held by them. All such payments shall be made to the Administrative Agent, prior to 10:30 a.m. on the date due at the Administrative Agent’s Office or at such other place as may be designated by the Administrative Agent to the Borrower in writing. Any payment received after 10:30 a.m. shall be deemed received on the next Business Day. The Administrative Agent shall promptly remit in immediately available funds to each Lender or the applicable Issuer, as the case may be, its share of all such payments received by the Administrative Agent for the account of such Lender or such Issuer, as applicable. Whenever any payment to be made hereunder or under any Note shall be stated to be due on a date other than a Business Day, such payment may be made on the next succeeding Business Day, and such extension of time shall be included in the computation of payment of interest or any fees. For purposes of the imposition of any tax (other than taxes on net income and franchises), levy, charge or withholding of any nature or any variation thereof or any penalty with respect to the maintenance or fulfillment of the Borrower’s obligations under this Agreement, whether directly or by such being imposed on or suffered by the Administrative Agent, any Lender, any Issuer or the Collateral Agent, all payments hereunder shall be made from sources within the United States by the Borrower. Any payments or prepayments to be applied to the outstanding amount of any Loans shall be applied to the Loans held by the Lenders that are not Defaulting Lenders ratably (based upon the outstanding amount of all Loans held by all Lenders that are not Defaulting Lenders) until each Lender (including any Defaulting Lender) has its Percentage of all of the outstanding amount of the Loans, and the balance, if any, of such payments\nor prepayments shall be applied to the Loans of all Lenders in accordance with their respective Percentages.\n6.2 Prepayments.\n(a) Mandatory. If at any time the TCIL Usage exceeds the Credit Capacity, the Borrower shall immediately make a mandatory prepayment to the Administrative Agent (which shall be applied (or held for application, as the case may be) by the Administrative Agent first to the aggregate unpaid principal amount of the Loans then outstanding and then to the payment or Cash Collateralization of the Letter of Credit Outstandings) in an amount sufficient to eliminate such excess.\n(b) Optional.\n(i) General Prepayments. The Borrower may from time to time (subject to the notice and minimum prepayment provisions set forth in this clause (i)), upon prior written or telephonic notice received by the Administrative Agent in a form acceptable to the Administrative Agent (which shall promptly advise each Lender thereof) at least three Business Days prior to any prepayment of Eurodollar Rate Loans and one Business Day prior to any prepayment of Alternate Base Rate Loans, prepay the principal of the Loans in whole or in part without premium or penalty; provided that (x) any partial prepayment of principal pursuant to this clause (b)(i) shall be in a minimum amount of $500,000 or any whole multiple of $250,000 in excess thereof and (y) any prepayment of a Eurodollar Rate Loan on a day other than the last day of an Interest Period therefor shall be subject to Section 7.5. The Borrower shall promptly confirm in writing any telephonic notice of prepayment in writing.\n(ii) Special Prepayments. The Borrower may from time to time prepay any Loan pursuant to the provisions of Section 7.7. Any prepayment of the principal of the Loans pursuant to this clause (b)(ii) shall include accrued interest to the date of prepayment on the principal amount being prepaid.\n(c) Application. Any prepayment pursuant to Section 6.2(a) or 6.2(b) above shall be applied to such Loans as the Borrower shall direct or, in the absence of such direction: first, to any Eurodollar Rate Loan with an Interest Period ending on the date of such prepayment, second, to any Alternate Base Rate Loans outstanding on such date, and third, to such other Loans as the Administrative Agent may reasonably determine.\n6.3 Reduction or Termination of Commitments.\n(a) The Borrower may from time to time, upon at least 5 Business Days’ prior written notice received by the Administrative Agent (which shall promptly advise each\nLender thereof), permanently reduce the Aggregate Commitment Amount to an amount that is not less than the TCIL Usage. Any such reduction shall be in an amount of $5,000,000 or a higher integral multiple of $1,000,000. The Borrower may at any time on like notice terminate the Commitments upon payment in full of the outstanding Loans and all other related Liabilities and by replacing and surrendering all issued and outstanding Letters of Credit or, at the applicable Issuers’ option, providing Cash Collateral security for all Letter of Credit Outstandings in accordance with Section 5.8.\n(b) Any reduction of the Commitments pursuant to clause (a) above shall be applied to the Commitment of each Lender according to its Percentage.\n6.4 Offset. In addition to and not in limitation of all rights of offset that any Lender may have under applicable law, each Lender shall, upon the occurrence of any Event of Default described in Section 12.1 or any Unmatured Event of Default described in Section 12.1(e), have the right to appropriate and apply to the payment of the Liabilities owing to it (whether or not due) any and all balances, credits, deposits, accounts or moneys of the Borrower then or thereafter with such Lender or any Affiliate thereof, and each such Affiliate is hereby irrevocably authorized to permit such setoff, provided that any such appropriation and application shall be subject to the provisions of Section 6.5; provided, further, that in the event that any Defaulting Lender shall exercise any such right of setoff, (x) all amounts so set off shall be paid over immediately to the Administrative Agent for further application in accordance with the provisions of Section 2.7 and, pending such payment, shall be segregated by such Defaulting Lender from its other funds and deemed held in trust for the benefit of the Administrative Agent, the Issuers and the Lenders, and (y) the Defaulting Lender shall provide promptly to the Administrative Agent a statement describing in reasonable detail the obligations owing to such Defaulting Lender as to which it exercised such right of setoff.\n6.5 Proration of Payments. If any Lender shall obtain any payment or other recovery (whether voluntary, involuntary, by application of offset or otherwise) on account of any Loan or Letter of Credit in excess of its pro rata share of payments and other recoveries obtained by all Lenders on account of all Loans and Letters of Credit (including after giving effect to the loss of any payment or recovery by any other Lender), such Lender shall purchase from the other Lenders such participations in the Loans and/or Letters of Credit held by them as shall be necessary to cause such purchasing Lender to share the excess payment or other recovery pro rata with each of them; provided that if all or any portion of the excess payment or other recovery is thereafter recovered from such purchasing Lender, the purchase shall be rescinded and the purchase price restored to the extent of such recovery, but without interest unless the Lender from which such payment is recovered is required to pay interest thereon, in which case each Lender which is required to restore such purchase price shall pay its pro rata share of such interest. The Borrower agrees that any Lender so purchasing a participation from the other Lenders under this Section 6.5 may, to the fullest extent permitted by law, exercise all its rights of payment (including the right of set-off pursuant to Section 6.4) with respect to such participation as fully as if such Lender were the direct\ncreditor of the Borrower in the amount of such participation. If under any applicable bankruptcy, insolvency or other similar law, any Lender receives a secured claim in lieu of a setoff to which this Section applies, such Lender shall, to the extent practicable, exercise its rights in respect of such secured claim in a manner consistent with the rights of the Lenders entitled under this Section to share in the benefits of any recovery on such secured claim.\n6.6 Borrowing Base. The borrowing base (the “Borrowing Base”) as of any date shall be an amount equal to the total of:\n(a) the sum of:\n(i) 80% of the net investment of the Borrower in Finance Leases of SIA Container Equipment as recorded on the Borrower’s balance sheet (determined in accordance with GAAP consistently applied);\n(ii) 83.33% of the result of (x) the Net Book Value of the Borrower’s (not including any Subsidiary’s) SIA Container Equipment (not including the Net Book Value, if any, of (A) any lost, stolen or destroyed SIA Container Equipment to the extent the Net Book Value thereof (calculated as though not lost, stolen or destroyed) exceeds $250,000, and such SIA Container Equipment has been off-hire and no longer billed to a lessee for a period in excess of 90 days, and (B) any spare parts comprising any portion of SIA Container Equipment) minus (y) Unsecured Vendor Debt and trade payables incurred in connection with the acquisition of such SIA Container Equipment; and\n(iii) 80% of the Book Value (net of reserves in accordance with GAAP) of Casualty Receivables which are outstanding for 120 days or less (excluding Casualty Receivables from Affiliated Entities in excess of $5,000,000 in the aggregate);"}
-{"idx": 12, "level": 2, "span": "minus\n(b) the sum of:\n(i) the current portion of Subordinated Funded Debt; (ii) 20% of the Letter of Credit Outstandings allocable to commercial Letters of Credit; (iii) the outstanding principal amount of Total Senior Debt (other than Indebtedness hereunder) secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables; and (iv) accrued and unpaid interest on Total Senior Debt secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables;\nin each case, calculated in accordance with GAAP.\nThe Borrowing Base shall be set forth (showing all calculations) in a Borrowing Base Certificate duly executed and delivered by an Authorized Signatory. Any Borrowing Base Certificate delivered pursuant to Section 10.1(f) or 11.2(f) shall remain effective until delivery of a new Borrowing Base Certificate pursuant to Section 10.1(f) or 11.2(f); provided that in connection with any Loan Request for Loans, the Borrower may submit an interim updated Borrowing Base Certificate showing the effect that the use of the proceeds of such Loans will have on item (a)(ii)(y), (b)(i), (b)(ii) or (b)(iii) of the definition of “Borrowing Base”, it being understood that to the extent necessary, such interim Borrowing Base Certificate may be prepared by the Borrower using good faith reasonable estimates of the information contained therein. Any such updated interim Borrowing Base Certificate shall include a representation by an Authorized Signatory that (x) the proceeds of such Loans (or the relevant portion thereof) will be used to pay Indebtedness of the type described in such item (a)(ii)(y), (b)(i), (b)(ii) or (b)(iii) and (y) to the extent necessary, such Borrowing Base Certificate was prepared using the Borrower’s good faith reasonable estimates of the information contained therein. At no time shall the TCIL Usage exceed the current Borrowing Base as shown on the most recently delivered Borrowing Base Certificate.\n6.7 Increase in the Aggregate Commitment Amount.\n(a) The Borrower may at any time (but not more than twice in any calendar quarter), by means of a letter to the Administrative Agent, request that the Aggregate Commitment Amount be increased (a “Commitment Increase”) as of the date specified in such letter (the “Increase Date”) by (i) increasing the Commitment of any Lender (an “Increasing Lender”) that has agreed to such increase (it being understood that no Lender shall have any obligation to increase its Commitment pursuant to this Section 6.7) and/or (ii) adding one or more Eligible Assignees (each an “Additional Lender”) as parties hereto, in each case with a Commitment in the amount agreed to by such Additional Lender; provided that (A) the amount of the aggregate Commitments shall not exceed $600,000,000, (B) each Commitment Increase shall be in a minimum amount of $10,000,000, and (C) the Commitment of each Additional Lender shall be $10,000,000 or more.\n(b) On each Increase Date, (x) each applicable Additional Lender shall become a party to this Agreement with the rights and obligations of a “Lender” hereunder and (y) the Commitment of each applicable Increasing Lender shall be increased by the amount agreed by such Increasing Lender; provided that:\n(i) on such Increase Date, the following statements shall be true and the Administrative Agent shall have received for the account of each Lender a certificate signed by an Authorized Signatory of the Borrower, dated such Increase Date stating that: (A) the representations and warranties contained in Section 9 are true and correct on and as of such Increase Date, before and after giving effect to the Commitment Increase, as though made on and as of such Increase Date, (B) no material adverse\nchange has occurred since the date of the financial statements most-recently delivered pursuant to Section 10.1(a) and (C) no Event of Default or Unmatured Event of Default exists;\n(ii) on or before such Increase Date, the Administrative Agent shall have received the following, each dated such Increase Date, for further distribution to each Lender (including each Additional Lender): (A) certified copies of resolutions of the board of directors of the Borrower approving the Commitment Increase and any corresponding modifications to this Agreement; (B) such other approvals or documents as any Lender through the Administrative Agent may reasonably request in connection with such Commitment Increase; (C) a joinder agreement from each Additional Lender, if any, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent; and (D) written confirmation from each Increasing Lender of the increase in the amount of its Commitment hereunder, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent.\nOn each Increase Date, upon fulfillment of the conditions set forth in this Section 6.7(b), the Administrative Agent shall notify the Lenders (including each Additional Lender) and the Borrower of the occurrence of the Commitment Increase to be effected on such Increase Date and shall record in the Register the relevant information with respect to each Increasing Lender and each Additional Lender on such date. Each Increasing Lender and each Additional Lender shall, before 10:30 a.m. on the Increase Date, make available for the account of its applicable lending office to the Administrative Agent at the Administrative Agent’s Office, in same day funds, an aggregate amount to be distributed to the other Lenders for the account of their respective applicable lending offices such that, after giving effect to such distribution, each Lender has a ratable share (calculated based on its Commitment as a percentage of the Aggregate Commitment Amount after giving effect to such Commitment Increase) of each outstanding Borrowing. The Borrower acknowledges that, in order to maintain Borrowings in accordance with each Lender’s ratable share thereof, a reallocation of the Commitments as a result of a non-pro-rata increase in the aggregate Commitments may require prepayment of all or portions of certain Borrowings on the date of such increase (and any such prepayment shall be subject to the provisions of Section 7.5)."}
-{"idx": 12, "level": 3, "span": "(b) the sum of:"}
-{"idx": 12, "level": 4, "span": "(i) the current portion of Subordinated Funded Debt; (ii) 20% of the Letter of Credit Outstandings allocable to commercial Letters of Credit; (iii) the outstanding principal amount of Total Senior Debt (other than Indebtedness hereunder) secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables; and (iv) accrued and unpaid interest on Total Senior Debt secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables;"}
-{"idx": 12, "level": 3, "span": "(a) The Borrower may at any time (but not more than twice in any calendar quarter), by means of a letter to the Administrative Agent, request that the Aggregate Commitment Amount be increased (a “Commitment Increase”) as of the date specified in such letter (the “Increase Date”) by (i) increasing the Commitment of any Lender (an “Increasing Lender”) that has agreed to such increase (it being understood that no Lender shall have any obligation to increase its Commitment pursuant to this Section 6.7) and/or (ii) adding one or more Eligible Assignees (each an “Additional Lender”) as parties hereto, in each case with a Commitment in the amount agreed to by such Additional Lender; provided that (A) the amount of the aggregate Commitments shall not exceed $600,000,000, (B) each Commitment Increase shall be in a minimum amount of $10,000,000, and (C) the Commitment of each Additional Lender shall be $10,000,000 or more."}
-{"idx": 12, "level": 3, "span": "(b) On each Increase Date, (x) each applicable Additional Lender shall become a party to this Agreement with the rights and obligations of a “Lender” hereunder and (y) the Commitment of each applicable Increasing Lender shall be increased by the amount agreed by such Increasing Lender; provided that:"}
-{"idx": 12, "level": 4, "span": "(i) on such Increase Date, the following statements shall be true and the Administrative Agent shall have received for the account of each Lender a certificate signed by an Authorized Signatory of the Borrower, dated such Increase Date stating that: (A) the representations and warranties contained in Section 9 are true and correct on and as of such Increase Date, before and after giving effect to the Commitment Increase, as though made on and as of such Increase Date, (B) no material adverse"}
-{"idx": 12, "level": 4, "span": "(ii) on or before such Increase Date, the Administrative Agent shall have received the following, each dated such Increase Date, for further distribution to each Lender (including each Additional Lender): (A) certified copies of resolutions of the board of directors of the Borrower approving the Commitment Increase and any corresponding modifications to this Agreement; (B) such other approvals or documents as any Lender through the Administrative Agent may reasonably request in connection with such Commitment Increase; (C) a joinder agreement from each Additional Lender, if any, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent; and (D) written confirmation from each Increasing Lender of the increase in the amount of its Commitment hereunder, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(a) Mandatory\nIf at any time the TCIL Usage exceeds the Credit Capacity, the Borrower shall immediately make a mandatory prepayment to the Administrative Agent (which shall be applied (or held for application, as the case may be) by the Administrative Agent first to the aggregate unpaid principal amount of the Loans then outstanding and then to the payment or Cash Collateralization of the Letter of Credit Outstandings) in an amount sufficient to eliminate such excess."}
-{"idx": 12, "level": 3, "span": "(b) Optional."}
-{"idx": 12, "level": 4, "span": "(i) General Prepayments\nThe Borrower may from time to time (subject to the notice and minimum prepayment provisions set forth in this clause (i)), upon prior written or telephonic notice received by the Administrative Agent in a form acceptable to the Administrative Agent (which shall promptly advise each Lender thereof) at least three Business Days prior to any prepayment of Eurodollar Rate Loans and one Business Day prior to any prepayment of Alternate Base Rate Loans, prepay the principal of the Loans in whole or in part without premium or penalty; provided that (x) any partial prepayment of principal pursuant to this clause (b)(i) shall be in a minimum amount of $500,000 or any whole multiple of $250,000 in excess thereof and (y) any prepayment of a Eurodollar Rate Loan on a day other than the last day of an Interest Period therefor shall be subject to Section 7.5. The Borrower shall promptly confirm in writing any telephonic notice of prepayment in writing."}
-{"idx": 12, "level": 4, "span": "(ii) Special Prepayments\nThe Borrower may from time to time prepay any Loan pursuant to the provisions of Section 7.7. Any prepayment of the principal of the Loans pursuant to this clause (b)(ii) shall include accrued interest to the date of prepayment on the principal amount being prepaid."}
-{"idx": 12, "level": 3, "span": "(c) Application\nAny prepayment pursuant to Section 6.2(a) or 6.2(b) above shall be applied to such Loans as the Borrower shall direct or, in the absence of such direction: first, to any Eurodollar Rate Loan with an Interest Period ending on the date of such prepayment, second, to any Alternate Base Rate Loans outstanding on such date, and third, to such other Loans as the Administrative Agent may reasonably determine."}
-{"idx": 12, "level": 3, "span": "(a) The Borrower may from time to time, upon at least 5 Business Days’ prior written notice received by the Administrative Agent (which shall promptly advise each"}
-{"idx": 12, "level": 3, "span": "(b) Any reduction of the Commitments pursuant to clause (a) above shall be applied to the Commitment of each Lender according to its Percentage."}
-{"idx": 12, "level": 3, "span": "(a) the sum of:"}
-{"idx": 12, "level": 4, "span": "(i) 80% of the net investment of the Borrower in Finance Leases of SIA Container Equipment as recorded on the Borrower’s balance sheet (determined in accordance with GAAP consistently applied);"}
-{"idx": 12, "level": 4, "span": "(ii) 83.33% of the result of (x) the Net Book Value of the Borrower’s (not including any Subsidiary’s) SIA Container Equipment (not including the Net Book Value, if any, of (A) any lost, stolen or destroyed SIA Container Equipment to the extent the Net Book Value thereof (calculated as though not lost, stolen or destroyed) exceeds $250,000, and such SIA Container Equipment has been off-hire and no longer billed to a lessee for a period in excess of 90 days, and (B) any spare parts comprising any portion of SIA Container Equipment) minus (y) Unsecured Vendor Debt and trade payables incurred in connection with the acquisition of such SIA Container Equipment; and"}
-{"idx": 12, "level": 4, "span": "(iii) 80% of the Book Value (net of reserves in accordance with GAAP) of Casualty Receivables which are outstanding for 120 days or less (excluding Casualty Receivables from Affiliated Entities in excess of $5,000,000 in the aggregate);"}
-{"idx": 12, "level": 2, "span": "SECTION 7. ADDITIONAL PROVISIONS RELATING TO EURODOLLAR RATE LOANS; CAPITAL ADEQUACY; TAXES.\n7.1 Increased Cost. If, as a result of any Change in Law:\n(a) any tax is imposed on any Lender or Issuer or the basis of taxation of payments to any Lender of the principal of or interest on any Eurodollar Rate Loan is changed (other than in respect of Taxes on the overall net income of such Lender or Issuer that are imposed\nas a result of such Lender or Issuer having its principal office located in the jurisdiction imposing such Tax);\n(b) any reserve, special deposit, compulsory loan, insurance charge or similar requirements against assets of, deposits with or for the account of, or credit extended by, any Lender are imposed, modified or deemed applicable; or\n(c) any other condition, cost or expense affecting this Agreement or any Eurodollar Rate Loan is imposed on any Lender or the interbank eurodollar markets;\nand such Lender determines that, solely by reason thereof, the cost to such Lender of making, converting to, continuing or maintaining any Loan (or of maintaining its obligation to make any such Loan) is increased, or the amount of any sum receivable by such Lender hereunder in respect of any of the Loans (whether of principal, interest or any other amount) is reduced, then the Borrower shall pay to such affected Lender upon written demand (which demand shall be accompanied by a statement setting forth the basis for the calculation thereof but only to the extent not theretofore provided to the Borrower) such additional amount or amounts as will compensate such Lender for such additional cost or reduction (provided such amount has not been compensated for in the calculation of the Eurocurrency Reserve Percentage). Determinations by a Lender for purposes of this Section of the additional amounts required to compensate such Lender in respect of the foregoing shall be final and presumptively valid and binding on all of the parties hereto, absent manifest error.\n7.2 Deposits Unavailable or Interest Rate Unascertainable. If prior to the first day of an Interest Period for a Eurodollar Rate Loan the Majority Lenders determine (which determination shall be conclusive and binding on the parties hereto) that (a) Dollar deposits, of the relevant amount for the relevant Interest Period, are not available to banks in the London interbank eurodollar market (“Impacted Loans”), (b) adequate and reasonable means do not exist for ascertaining the Eurodollar Rate applicable to such Interest Period or (c) the Eurodollar Rate for any requested Interest Period with respect to such Loan does not adequately and fairly reflect the cost to such Lenders of funding such Loan, the Administrative Agent shall promptly so notify the Borrower and each Lender. Thereafter, the obligation of the Lenders to make or maintain Eurodollar Rate Loans shall be suspended until the Administrative Agent (upon the instruction of the Majority Lenders) revokes such notice, and any notice of new or continued Eurodollar Rate Loans previously given by the Borrower and not yet borrowed, converted or continued shall be deemed a notice to make, convert into or continue Alternate Base Rate Loans.\nNotwithstanding the foregoing, if the Majority Lenders have made the determination described in clause (a) of the foregoing paragraph, the Administrative Agent, in consultation with the Borrower and the Majority Lenders, may establish an alternative interest rate for the Impacted Loans, in which case such alternative rate of interest shall apply with respect to the Impacted Loans until (1) the Majority Lenders revoke the notice delivered with respect to the Impacted Loans under clause (a) of the first sentence of this section, (2) the Administrative Agent or the Majority Lenders\nnotify the Administrative Agent and the Borrower that such alternative interest rate does not adequately and fairly reflect the cost to such Lenders of funding the Impacted Loans, or (3) any Lender determines that any law has made it unlawful, or that any Governmental Authority has asserted that it is unlawful, for such Lender or its applicable lending office to make, maintain or fund Loans with an interest rate determined by reference to such alternative rate of interest or to determine or charge interest rates based upon such rate or any Governmental Authority has imposed material restrictions on the authority of such Lender to do any of the foregoing and provides the Administrative Agent and the Borrower written notice thereof.\n7.3 Changes in Law Rendering Eurodollar Rate Loans Unlawful. If at any time due to any new law, treaty or regulation, or any change of any existing law, treaty or regulation, or any interpretation thereof by any governmental or other regulatory authority charged with the administration thereof, or for any other reason arising subsequent to the date hereof, it is unlawful for any Lender to perform its obligations hereunder or to make, maintain or fund, or charge interest with respect to any Credit Extension or to determine or charge interest rates based upon the Eurodollar Rate, or any Governmental Authority has imposed material restrictions on the authority of such Lender to purchase or sell, or to take deposits of, Dollars in the London interbank market, then the obligation of such Lender to issue, make, fund or charge interest with respect to any Credit Extension or provide Eurodollar Rate Loans shall, upon the happening of such event, forthwith be suspended for the duration of such illegality. Upon receipt of such notice, the Borrower shall, if required by such law, regulation or interpretation, on such date as shall be specified in such notice, either convert such Eurodollar Rate Loans to Alternate Base Rate Loans or prepay such Eurodollar Rate Loans (and all Eurodollar Rate Loans of all other Lenders which have the same Interest Period).\n7.4 Capital Adequacy. If any Lender or any Issuer shall determine at any time after the date hereof that any Change in Law affecting such Lender or Issuer or any lending office of such Lender or such Lender’s or such Issuer’s holding company, if any, regarding capital or liquidity requirements has or would have the effect of reducing the rate of return on such Lender’s or such Issuer’s capital or on the capital of such Lender’s or such Issuer’s holding company as a consequence of its obligations hereunder to a level below that which such Lender or such Issuer or any holding company of such Lender or such Issuer could have achieved but for such Change in Law (taking into consideration such Lender’s or such Issuer’s policies, and the policies of such Lender’s or such Issuer’s holding company, with respect to capital adequacy) by an amount deemed by such Lender or such Issuer to be material, then the Borrower shall pay to such Lender or such Issuer upon demand such amount or amounts, in addition to the amounts payable under the other provisions of this Agreement or under any other Loan Document, as will compensate such Lender or such Issuer or any holding company of such Lender or such Issuer for such reduction. Any such demand by any Lender or any Issuer hereunder shall be in writing, and shall set forth the reasons for such demand and copies of all documentation reasonably relevant in support thereof. Determinations by any Lender or any Issuer for purposes of this Section 7.4 of the additional amount or amounts required\nto compensate such Lender or such Issuer in respect of the foregoing shall be conclusive in the absence of manifest error. In determining such amount or amounts, any Lender or any Issuer may use any reasonable averaging and attribution methods.\n7.5 Indemnity. The Borrower will indemnify each Lender against any loss or expense which such Lender may sustain or incur, including any loss or expense sustained or incurred in obtaining, liquidating or employing deposits or other funds acquired to effect, fund or maintain a Loan, due to (a) any failure by the Borrower to make any payment when due of any amount due hereunder in connection with a Eurodollar Rate Loan, (b) any failure of the Borrower to borrow on a date specified therefor in a notice thereof, (c) any payment or prepayment (including any prepayment pursuant to Section 7.3 or 7.7) of any Eurodollar Rate Loan on a date other than the last day of the Interest Period for such Loan, (d) any failure of the Borrower to continue a Eurodollar Rate Loan on a date specified in a notice of continuation or to convert an Alternate Base Rate Loan to a Eurodollar Rate Loan on a date specified in a notice of conversion or (e) any assignment of a Eurodollar Rate Loan on a day other than the last day of the Interest Period therefor as a result of a request by the Borrower pursuant to Section 7.7. Upon the written notice of a Lender to the Borrower (with a copy to the Administrative Agent), the Borrower shall, within five days of its receipt thereof, pay directly to such Lender such amount as will (in the reasonable determination of such Lender) reimburse such Lender for such loss or expense. Such written notice (which shall include calculations in reasonable detail) shall, in the absence of manifest error, be conclusive and binding on the Borrower.\n7.6 Discretion of the Lenders as to Manner of Funding. Notwithstanding any provision of this Agreement to the contrary, each Lender shall be entitled to fund and maintain its funding of all or any part of its Eurodollar Rate Loans in any manner it elects, it being understood, however, that for the purposes of this Agreement all determinations hereunder shall be made as if all Lenders had actually funded and maintained each Eurodollar Rate Loan through the purchase of Dollar deposits having a maturity corresponding to the maturity of the applicable Eurodollar Rate Loan and bearing an interest rate equal to the Eurodollar Rate (whether or not, in any instance, any Lender shall have granted any participations in such Loan). Any Lender may, if it so elects, fulfill any commitment to make any Eurodollar Rate Loan by causing a foreign branch or Affiliate to make or continue such Eurodollar Rate Loan, provided that in such event such Loan shall be deemed for the purposes of this Agreement to have been made by such Lender, and the obligation of the Borrower to repay such Loan shall nevertheless be to such Lender and shall be deemed held by such Lender, to the extent of such Loan, for the account of such branch or Affiliate.\n7.7 Special Prepayment; Replacement of Lender. If any Lender makes any demand for payment of any amount pursuant to Section 5.10, 7.1, 7.4 or 7.8, gives any notice pursuant to Section 7.2 or 7.3 or is a Defaulting Lender (any such Lender, an “Affected Lender”), then the Borrower may, with the prior written consent of the Administrative Agent, either (i) reduce or terminate the Commitments of such Affected Lender and immediately prepay the applicable outstanding\nLiabilities owed to such Affected Lender (or all outstanding Liabilities owed to such Affected Lender in the case of a termination) so that, after giving effect to such prepayment, such Affected Lender has a pro rata share (based on its revised Percentage after giving effect to such reduction) of the outstanding Loans, together with all accrued and unpaid interest thereon, and/or (ii) cause such Affected Lender to assign its Commitments, its Loans, its participations in Letters of Credit and its interest in this Agreement and the other Loan Documents to one or more other Eligible Assignees (any such assignee, together with all Lenders other than such Affected Lender, the “Remaining Lenders”) selected by the Borrower and acceptable to the Administrative Agent. Any assignment made pursuant to clause (ii) above shall be in accordance with Section 15.8 (but without giving effect to any provision of such Section which restricts the minimum or maximum amount which is permitted to be assigned).\nIf any reduction or termination of any Affected Lender’s Commitment is made pursuant to clause (i) above, then (A) the Aggregate Commitment Amount shall be reduced by an amount equal to the aggregate amount of the Commitment so reduced or terminated, and (B) each Remaining Lender’s (and, in the case of a reduction, such Affected Lender’s) share or percentage of the Aggregate Commitment Amount, as so reduced, shall be deemed proportionately adjusted; it being understood that the amount of any Lender’s Commitment (as opposed to any Lender’s share or percentage of the Aggregate Commitment Amount) shall not at any time be increased without the consent of such Lender.\n7.8 Loan Related Taxes. All payments by the Borrower of principal of, and interest on, the Loans and all other amounts payable hereunder shall be made free and clear of and without deduction for any present or future income, excise, stamp or franchise taxes and other taxes, fees, duties, withholdings or other charges of any nature whatsoever imposed by any taxing authority, but excluding franchise taxes and taxes imposed on or measured by any Lender’s or any Issuer’s overall net income or receipts that are imposed as a result of such Lender or Issuer being organized under the laws of, or having its principal office or its applicable lending office located in, the jurisdiction imposing such Tax (such non-excluded items being called “Loan Related Taxes”). In the event that any withholding or deduction from any payment to be made by the Borrower hereunder is required in respect of any Loan Related Taxes pursuant to any applicable law, rule or regulation, then the Borrower will:\n(i) pay directly to the relevant authority the full amount required to be so withheld or deducted;\n(ii) promptly forward to the Administrative Agent an official receipt or other documentation satisfactory to the Administrative Agent evidencing such payment to such authority; and\n(iii) pay to the Administrative Agent for the account of the Lenders and the Issuers such additional amount or amounts as is necessary to ensure that the net\namount actually received by each Lender and each Issuer will equal the full amount such Lender or such Issuer would have received had no such withholding or deduction been required.\nMoreover, if any Loan Related Taxes are directly asserted against the Administrative Agent, any Lender or any Issuer with respect to any payment received by the Administrative Agent, such Lender or such Issuer hereunder, the Administrative Agent, such Lender or such Issuer may pay such Loan Related Taxes and the Borrower will promptly pay such additional amounts (including any penalties, interest or expenses) as is necessary in order that the net amount received by such person after the payment of such Loan Related Taxes (including any Loan Related Taxes on such additional amount) shall equal the amount such person would have received had not such Loan Related Taxes been asserted.\nIf the Borrower fails to pay any Loan Related Taxes when due to the appropriate taxing authority or fails to remit to the Administrative Agent, for the account of the respective Lenders, the required receipts or other required documentary evidence, the Borrower shall indemnify the Lenders for any incremental Loan Related Taxes, interest or penalties that may become payable by any Lender as a result of any such failure which are incurred without fault of the Administrative Agent, any Lender or any Issuer. For purposes of this Section 7.8, a distribution hereunder by the Administrative Agent, any Lender or any Issuer to or for the account of any Lender or any Issuer shall be deemed a payment by the Borrower.\nIf a payment made to a Lender under any Loan Document would be subject to United States federal withholding tax imposed by FATCA if such Lender were to fail to comply with the applicable reporting requirements of FATCA (including those contained in section 1471(b) or 1472(b) of the Code, as applicable), such Lender shall deliver to the Borrower and the Administrative Agent, at the time or times prescribed by law and at such time or times reasonably requested in writing by the Borrower or the Administrative Agent, such documentation prescribed by applicable law (including as prescribed by section 1471(b)(3)(C)(i) of the Code) and such additional documentation reasonably requested in writing by the Borrower or the Administrative Agent as may be necessary for the Borrower or the Administrative Agent to comply with its obligations under FATCA, to determine that such Lender has complied with such Lender’s obligations under FATCA and, as necessary, to determine the amount to deduct and withhold from such payment. Solely for purposes of this paragraph, “FATCA” shall include any amendments made to FATCA after the date of this Agreement.\nUpon the request of the Borrower or the Administrative Agent, each Lender that is organized under the laws of a jurisdiction other than the United States shall deliver to the Borrower and the Administrative Agent (in such number of copies as shall be requested by the recipient) on or prior to the date on which such Lender becomes a Lender under this Agreement (and from time to time\nthereafter upon the request of the Borrower or the Administrative Agent, but only if such Lender is legally entitled to do so), whichever of the following is applicable:\n(i) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable, claiming eligibility for benefits of an income tax treaty to which the United States is a party;\n(ii) duly completed copies of Internal Revenue Service Form W-8ECI;\n(iii) in the case of a Lender claiming the benefits of the exemption for portfolio interest under section 881(c) of the Code, (x) a certificate to the effect that such Lender is not (A) a “bank” within the meaning of section 881(c)(3)(A) of the Code, (B) a “10 percent shareholder” of the Borrower within the meaning of section 871(h)(3)(B) or section 881(c)(3)(B) of the Code, or (C) a “controlled foreign corporation” described in section 881(c)(3)(C) of the Code and (y) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable; or\n(iv) any other form prescribed by applicable law as a basis for claiming exemption from or a reduction in United States Federal withholding tax duly completed together with such supplementary documentation as may be prescribed by applicable law to permit the Borrower to determine the withholding or deduction required to be made.\nEach party’s obligations under this Section 7.8 shall survive the resignation or replacement of the Administrative Agent or any assignment of rights by, or the replacement of, a Lender or Issuer, the termination of the Commitments and the repayment, satisfaction or discharge of all other Liabilities.\nFor purposes of determining withholding Taxes imposed under FATCA, from and after the effective date of this Agreement, the Borrower and the Administrative Agent shall treat (and the Lenders hereby authorize the Administrative Agent to treat) the Loans as not qualifying as a “grandfathered obligation” within the meaning of Treasury Regulation Section 1.1471-2(b)(2)(i)."}
-{"idx": 12, "level": 3, "span": "(a) any tax is imposed on any Lender or Issuer or the basis of taxation of payments to any Lender of the principal of or interest on any Eurodollar Rate Loan is changed (other than in respect of Taxes on the overall net income of such Lender or Issuer that are imposed"}
-{"idx": 12, "level": 3, "span": "(b) any reserve, special deposit, compulsory loan, insurance charge or similar requirements against assets of, deposits with or for the account of, or credit extended by, any Lender are imposed, modified or deemed applicable; or"}
-{"idx": 12, "level": 3, "span": "(c) any other condition, cost or expense affecting this Agreement or any Eurodollar Rate Loan is imposed on any Lender or the interbank eurodollar markets;"}
-{"idx": 12, "level": 4, "span": "(i) pay directly to the relevant authority the full amount required to be so withheld or deducted;"}
-{"idx": 12, "level": 4, "span": "(ii) promptly forward to the Administrative Agent an official receipt or other documentation satisfactory to the Administrative Agent evidencing such payment to such authority; and"}
-{"idx": 12, "level": 4, "span": "(iii) pay to the Administrative Agent for the account of the Lenders and the Issuers such additional amount or amounts as is necessary to ensure that the net"}
-{"idx": 12, "level": 4, "span": "(i) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable, claiming eligibility for benefits of an income tax treaty to which the United States is a party;"}
-{"idx": 12, "level": 4, "span": "(ii) duly completed copies of Internal Revenue Service Form W-8ECI;"}
-{"idx": 12, "level": 4, "span": "(iii) in the case of a Lender claiming the benefits of the exemption for portfolio interest under section 881(c) of the Code, (x) a certificate to the effect that such Lender is not (A) a “bank” within the meaning of section 881(c)(3)(A) of the Code, (B) a “10 percent shareholder” of the Borrower within the meaning of section 871(h)(3)(B) or section 881(c)(3)(B) of the Code, or (C) a “controlled foreign corporation” described in section 881(c)(3)(C) of the Code and (y) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable; or"}
-{"idx": 12, "level": 4, "span": "(iv) any other form prescribed by applicable law as a basis for claiming exemption from or a reduction in United States Federal withholding tax duly completed together with such supplementary documentation as may be prescribed by applicable law to permit the Borrower to determine the withholding or deduction required to be made."}
-{"idx": 12, "level": 2, "span": "SECTION 8. COLLATERAL.\nTo secure the full and prompt payment when due, and the prompt performance, of all of the Liabilities, the Borrower hereby grants to the Collateral Agent, for the benefit of the Lenders, each Issuer and the Administrative Agent, pursuant to the Collateral Documents, a security interest, mortgage and lien upon the assets described as Collateral in the Security and Intercreditor Agreement. The Borrower agrees that it will at its sole expense (a) with or without any request by the Administrative Agent, immediately deliver or cause to be delivered to the Collateral Agent, in due form for transfer (i.e., endorsed in blank or accompanied by duly executed blank stock or bond powers), all securities, chattel paper, instruments and documents of title, if any, at any time\nrepresenting all or any of the Collateral, and (b) upon request of the Administrative Agent or the Collateral Agent furnish or cause to be furnished to the Collateral Agent, in due form for filing or recording the same in all public offices deemed necessary or appropriate by the Administrative Agent or the Collateral Agent, as the case may be, such collateral documents, assignments, security agreements, mortgages, deeds of trust, pledge agreements, consents, waivers, financing statements, stock or bond powers, and other documents, and amendments thereto and do such other acts and things, all as the Administrative Agent or the Collateral Agent may from time to time request to establish and maintain, to the satisfaction of the Administrative Agent and the Collateral Agent and in favor of the Collateral Agent for the benefit of the Administrative Agent and the Lenders, a valid perfected lien or mortgage on and security interest in all Collateral (free of all other liens, claims and rights of third parties whatsoever other than Permitted Liens)."}
-{"idx": 12, "level": 2, "span": "SECTION 9. REPRESENTATIONS AND WARRANTIES.\nTo induce the Administrative Agent and the Lenders to enter into this Agreement and make Loans and participate in Letters of Credit and to induce each Issuer to issue Letters of Credit hereunder, the Borrower represents and warrants that:\n9.1 Existence. The Borrower is an exempted company duly incorporated with limited liability and validly existing and in good standing under the laws of Bermuda. All of the Borrower’s corporate Restricted Subsidiaries are corporations duly organized, validly existing and in good standing under the laws of the states or countries of their respective incorporation. All of the Borrower’s other Restricted Subsidiaries, if any, are entities duly organized, validly existing and in good standing under the laws of the jurisdictions of their respective organization. The Borrower and all of its Subsidiaries are each in good standing and are duly qualified to do business in each state where, because of the nature of their respective activities or properties, failure to be in such good standing or so qualified would have a Material Adverse Effect.\n9.2 Authorization. The Borrower has the power and is duly authorized to execute and deliver this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and the other Loan Documents to which it is a party, and is and will continue to be duly authorized to borrow monies hereunder, grant a security interest in the Collateral and perform its obligations under this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and such other Loan Documents. The execution, delivery and performance by the Borrower of this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and the other Loan Documents to which it is a party, and the borrowings hereunder, and the granting of any security interest provided for in the Loan Documents, do not and will not require any consent or approval of any Governmental Authority or authority, stockholder or any other Person, which has not already been obtained. The Borrower and each of its Restricted Subsidiaries has the power, right and legal authority to own and operate its properties and carry on its business as now conducted and proposed to be conducted.\n9.3 No Conflicts. The execution, delivery and performance by the Borrower of this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and the other Loan Documents to which it is a party do not and will not conflict with, or constitute a breach of, or default under (a) any provision of law, (b) the charter or by-laws of the Borrower, (c) any agreement or instrument binding upon the Borrower or (d) any court or administrative order or decree applicable to the Borrower, and do not and will not require, or result in, the creation or imposition of any Lien on any asset of the Borrower or any of its Restricted Subsidiaries, other than Liens arising pursuant to the Security and Intercreditor Agreement or the Intercreditor Collateral Agreement.\n9.4 Validity and Binding Effect. This Agreement, the Intercreditor Collateral Agreement and the Security and Intercreditor Agreement are, and the Notes and other Loan Documents when duly executed and delivered will be, legal, valid and binding obligations of the Borrower, enforceable against the Borrower in accordance with their respective terms, except as enforceability may be limited by bankruptcy, insolvency or other similar laws of general application affecting the enforcement of creditors’ rights or by general principles of equity limiting the availability of equitable remedies.\n9.5 No Default. Neither the Borrower nor any of its Restricted Subsidiaries is in default under any agreement or instrument (subject to all applicable grace periods thereunder) to which the Borrower or any Restricted Subsidiary is a party or by which any of their respective properties or assets is bound or affected, which might, individually or in the aggregate, have a Material Adverse Effect. No Event of Default or Unmatured Event of Default exists.\n9.6 Insurance. Schedule 9.6 is a complete and accurate description of the property, casualty and liability insurance maintained by the Borrower as of the Restatement Effective Date. The certificates or copies of policies evidencing the Borrower’s insurance coverage, which have been furnished to each Lender and which are referenced in Schedule 9.6, are complete and accurate.\n9.7 Litigation and Contingent Liabilities. No claims, litigation, arbitration proceedings or governmental proceedings are pending or, to the Borrower’s knowledge, threatened against or are affecting the Borrower or any of its Restricted Subsidiaries, the result of which might interfere with the consummation of any of the transactions contemplated by this Agreement or any document issued in connection herewith, or is reasonably possible or probable (as such terms are used in Statement of Financial Accounting Standards No. 5, March 1975) to result (either in any one case or in the aggregate) in a Material Adverse Effect. Other than any liability incident to such claims, litigation or proceedings, or provided for or disclosed in the Audited Financial Statements or listed on Schedule 9.7, as of the Restatement Effective Date, neither the Borrower nor any of its Restricted Subsidiaries has any contingent liabilities which are material to the Borrower and its Restricted Subsidiaries taken as a whole.\n9.8 Title; Liens. The Borrower and its Restricted Subsidiaries have good, legal and marketable title to each of their respective assets, and none of such assets is subject to any Lien, except for Permitted Liens. No financing statement (other than any which may have been filed on behalf of the Collateral Agent or in connection with any Permitted Lien) covering any of the Collateral is on file in any public office.\n9.9 Subsidiaries. As of the Restatement Effective Date, (a) the Borrower has no Subsidiaries except as listed on Schedule 9.9 and (b) the Borrower and its Subsidiaries own the percentage of its Subsidiaries as set forth on Schedule 9.9. All equity interests in each Subsidiary have been validly issued, are fully paid and are non-assessable.\n9.10 Partnerships; Limited Liability Companies. As of the Restatement Effective Date, neither the Borrower nor any of its Restricted Subsidiaries is a partner, member or joint venturer in any partnership, limited liability company or joint venture other than the partnerships, limited liability companies and joint ventures, if any, listed on Schedule 9.10.\n9.11 Purpose. The proceeds of the Loans will be used by the Borrower for its working capital, for the refinancing of existing Indebtedness and for its purchase of Container Equipment and for general corporate purposes (including the payment of dividends to its stockholders). The Standby Letters of Credit shall be used by the Borrower for general corporate purposes. The Commercial Letters of Credit shall be used by the Borrower in connection with the sale or shipment of Container Equipment purchased by the Borrower in the ordinary course of the Borrower’s business.\n9.12 Regulations T, U and X. The Borrower and its Subsidiaries are not engaged in the business of purchasing or selling “margin stock”, as such term is defined in Regulation U of the FRB, or extending credit to others for the purpose of purchasing or carrying margin stock, and no part of the proceeds of any Loan will be used to purchase or carry any margin stock or for any other purpose which would violate any of Regulation T, U or X of the FRB or any other regulation therefor.\n9.13 Compliance. (a) The Borrower and its Subsidiaries are in compliance with all statutes and governmental rules and regulations applicable to them, their businesses and properties, except for any noncompliance which is not reasonably likely to have a Material Adverse Effect.\n(a) (i) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower: (w) is currently the subject or target of any Sanctions, (x) is a person included on OFAC’s List of Specially Designated Nationals and Blocked Persons List, OFAC’s Consolidated Non-SDN List, HMT’s Consolidated List of Financial Sanctions Targets, the Investment Ban List of the European Union or any similar list enforced by any other relevant sanctions authority; (y) is (A) an agency of the government of a country, (B) an organization controlled by a country, or (C) a Person resident in a country that is subject to a sanctions program identified on the list maintained by OFAC, or as otherwise published from time to\ntime, as such program may be applicable to such agency, organization or person; or (z) derives any of its assets or operating income from investments in or transactions with any such country, agency, organization or Person; and (ii) none of the proceeds from the Loans will be used to finance any operations, investments or activities in, or make any payments to, any such country, agency, organization, or Person.\n(b) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower (i) is a person whose property or interest in property is blocked or subject to blocking pursuant to Section 1 of Executive Order 13224 of September 23, 2001 Blocking Property and Prohibiting Transactions With Persons Who Commit, Threaten to Commit, or Support Terrorism (66 Fed. Reg. 49079 (2001)), (ii) engages in any dealings or transactions prohibited by Section 2 of such executive order, or is otherwise associated with any such person in any manner violative of Section 2, or (iii) is subject to the limitations or prohibitions under any other U.S. Department of Treasury’s Office of Foreign Assets Control regulation or executive order.\n(c) Each of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower is in compliance, in all material respects, with (i) the Trading with the Enemy Act, and each of the foreign assets control regulations of the United States Treasury Department (31 CFR, Subtitle B, Chapter V) and any other enabling legislation or executive order relating thereto, and (ii) the Uniting And Strengthening America By Providing Appropriate Tools Required To Intercept And Obstruct Terrorism (USA Patriot Act of 2001). No part of the proceeds of the Loans will be used, directly or indirectly, for any payments to any governmental official or employee, political party, official of a political party, candidate for political office, or anyone else acting in an official capacity, in order to obtain, retain or direct business or obtain any improper advantage, in violation of the United States Foreign Corrupt Practices Act of 1977.\n(d) The Borrower and its Subsidiaries have (i) conducted their businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and all other similar anti-corruption or anti-bribery legislation in any other relevant jurisdiction and (ii) instituted and maintained policies and procedures designed to promote and achieve compliance with such laws.\n9.14 Pension and Welfare Plans. During the twelve-consecutive-month period prior to the date of the execution and delivery of this Agreement and prior to the date of any borrowing hereunder, no steps have been taken to terminate any Pension Plan, and no contribution failure has occurred with respect to any Pension Plan sufficient to give rise to a Lien under section 303(k) of ERISA or section 430(k) of the Code. Each Pension Plan complies in all material respects with all applicable statutes and governmental rules and regulations, and (a) no Reportable Event has occurred and is continuing with respect to any Pension Plan, (b) neither the Borrower nor any ERISA Affiliate\nhas withdrawn from any Pension Plan or instituted steps to do so, and (c) no steps have been instituted to terminate any Pension Plan. No condition exists or event or transaction has occurred in connection with any Pension Plan which could result in the incurrence by the Borrower or any ERISA Affiliate of any material liability, fine or penalty. Neither the Borrower nor any ERISA Affiliate is a member of, or participating employer in, contributes to, or has any liability with respect to, any “multiple employer plan” as described in sections 4063 and 4064 of ERISA or any multiemployer plan within the meaning of section 4001(a)(3) of ERISA. Neither the Borrower nor any of its Subsidiaries has any contingent liability with respect to any post-retirement benefit under any Welfare Plan other than liability for continuation coverage described in Part 6 of Title I of ERISA, except as listed on Schedule 9.14.\n9.15 Environmental Warranties. Except as set forth in Schedule 9.15:\n(a) all facilities and property (including underlying groundwater) owned or leased by the Borrower or any of its Subsidiaries have been, and continue to be, owned or leased by the Borrower and its Subsidiaries in material compliance with all Environmental Laws;\n(b) to the best of Borrower’s knowledge, there have been no past, and there are currently no pending or to the best of the Borrower’s knowledge threatened:\n(i) claims, complaints, notices or requests for information received by the Borrower or any of its Subsidiaries with respect to any alleged violation of any Environmental Law, or\n(ii) complaints, notices or inquiries to the Borrower or any of its Subsidiaries regarding potential liability under any Environmental Law;\n(c) to the best of the Borrower’s knowledge, there have been no Releases of Hazardous Materials at, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;\n(d) the Borrower and its Subsidiaries have been issued and are in material compliance with all permits, certificates, approvals, licenses and other authorizations required under the laws of the United States and, to the best of the Borrower’s knowledge, the applicable laws of other countries, relating to environmental matters and necessary or desirable for their businesses;\n(e) no property now owned or leased to, and to the best of Borrower’s knowledge no property previously owned or leased to, the Borrower or any of its Subsidiaries is listed or proposed for listing (with respect to owned property only) on the National Priorities List\npursuant to CERCLA, on the CERCLIS or on any similar state list of sites requiring investigation or clean-up;\n(f) to the best of the Borrower’s knowledge, there are no underground storage tanks, active or abandoned, including petroleum storage tanks, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;\n(g) neither Borrower nor any Subsidiary of the Borrower has directly transported or directly arranged for the transportation of any Hazardous Material to any location which is listed or proposed for listing on the National Priorities List pursuant to CERCLA, on the CERCLIS or on any similar state list or which is the subject of federal, state or local enforcement actions or other investigations which may lead to material claims against the Borrower or any such Subsidiary for any remedial work, damage to natural resources or personal injury, including claims under CERCLA;\n(h) there are no polychlorinated biphenyls or friable asbestos present at any real property now owned or operated by the Borrower or any of its Subsidiaries or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries; and\n(i) no conditions exist at, on or under any real property now owned or operated by or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries which, with the passage of time, or the giving of notice or both, would give rise to liability under any Environmental Law.\n9.16 Taxes. Each of the Borrower and each of its Subsidiaries has filed all tax returns which are required to have been filed and has paid, or made adequate provisions for the payment of, all of its Taxes which are due and payable, except such Taxes, if any, (a) as are being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP have been maintained; or (b) the amount of which is de minimis. As of the date of this Agreement, the Borrower is not aware of any proposed assessment against the Borrower or any of its Subsidiaries for additional Taxes (or any basis for any such assessment) which might be material to the Borrower and its Subsidiaries taken as a whole.\n9.17 Investment Company Act Representation. The Borrower is not an “investment company” or a company “controlled” by an “investment company” within the meaning of the Investment Company Act of 1940.\n9.18 Accuracy of Information. All factual information, other than financial projections, heretofore or contemporaneously furnished by the Borrower in writing to the Administrative Agent or any Lender for purposes of or in connection with this Agreement or any transaction contemplated hereby is, and all other such factual information hereafter furnished by the Borrower to the Administrative Agent or any Lender will be, true and accurate in every material respect on the date as of which such information is dated or certified, and such information is not, or shall not be, as the case may be, incomplete by omitting to state any material fact necessary to make such information not misleading.\n9.19 Financial Statements. The Audited Financial Statements, copies of which have been furnished to the Lenders, have been prepared in conformity with generally accepted accounting principles applied on a basis consistent with that of the preceding fiscal year end period and present fairly the financial condition of the Borrower and its Subsidiaries as at such dates and the results of their operations for the period then ended.\n9.20 No Material Adverse Change. Since the date of the Audited Financial Statements, there has been no material adverse change in the financial condition of the Borrower and its Subsidiaries taken as a whole.\n9.21 EU Bail-In. The Borrower is not an EEA Financial Institution."}
-{"idx": 12, "level": 3, "span": "(a) (i) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower: (w) is currently the subject or target of any Sanctions, (x) is a person included on OFAC’s List of Specially Designated Nationals and Blocked Persons List, OFAC’s Consolidated Non-SDN List, HMT’s Consolidated List of Financial Sanctions Targets, the Investment Ban List of the European Union or any similar list enforced by any other relevant sanctions authority; (y) is (A) an agency of the government of a country, (B) an organization controlled by a country, or (C) a Person resident in a country that is subject to a sanctions program identified on the list maintained by OFAC, or as otherwise published from time to"}
-{"idx": 12, "level": 3, "span": "(b) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower (i) is a person whose property or interest in property is blocked or subject to blocking pursuant to Section 1 of Executive Order 13224 of September 23, 2001 Blocking Property and Prohibiting Transactions With Persons Who Commit, Threaten to Commit, or Support Terrorism (66 Fed\nReg. 49079 (2001)), (ii) engages in any dealings or transactions prohibited by Section 2 of such executive order, or is otherwise associated with any such person in any manner violative of Section 2, or (iii) is subject to the limitations or prohibitions under any other U.S. Department of Treasury’s Office of Foreign Assets Control regulation or executive order."}
-{"idx": 12, "level": 3, "span": "(c) Each of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower is in compliance, in all material respects, with (i) the Trading with the Enemy Act, and each of the foreign assets control regulations of the United States Treasury Department (31 CFR, Subtitle B, Chapter V) and any other enabling legislation or executive order relating thereto, and (ii) the Uniting And Strengthening America By Providing Appropriate Tools Required To Intercept And Obstruct Terrorism (USA Patriot Act of 2001)\nNo part of the proceeds of the Loans will be used, directly or indirectly, for any payments to any governmental official or employee, political party, official of a political party, candidate for political office, or anyone else acting in an official capacity, in order to obtain, retain or direct business or obtain any improper advantage, in violation of the United States Foreign Corrupt Practices Act of 1977."}
-{"idx": 12, "level": 3, "span": "(d) The Borrower and its Subsidiaries have (i) conducted their businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and all other similar anti-corruption or anti-bribery legislation in any other relevant jurisdiction and (ii) instituted and maintained policies and procedures designed to promote and achieve compliance with such laws."}
-{"idx": 12, "level": 3, "span": "(a) all facilities and property (including underlying groundwater) owned or leased by the Borrower or any of its Subsidiaries have been, and continue to be, owned or leased by the Borrower and its Subsidiaries in material compliance with all Environmental Laws;"}
-{"idx": 12, "level": 3, "span": "(b) to the best of Borrower’s knowledge, there have been no past, and there are currently no pending or to the best of the Borrower’s knowledge threatened:"}
-{"idx": 12, "level": 4, "span": "(i) claims, complaints, notices or requests for information received by the Borrower or any of its Subsidiaries with respect to any alleged violation of any Environmental Law, or"}
-{"idx": 12, "level": 4, "span": "(ii) complaints, notices or inquiries to the Borrower or any of its Subsidiaries regarding potential liability under any Environmental Law;"}
-{"idx": 12, "level": 3, "span": "(c) to the best of the Borrower’s knowledge, there have been no Releases of Hazardous Materials at, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;"}
-{"idx": 12, "level": 3, "span": "(d) the Borrower and its Subsidiaries have been issued and are in material compliance with all permits, certificates, approvals, licenses and other authorizations required under the laws of the United States and, to the best of the Borrower’s knowledge, the applicable laws of other countries, relating to environmental matters and necessary or desirable for their businesses;"}
-{"idx": 12, "level": 3, "span": "(e) no property now owned or leased to, and to the best of Borrower’s knowledge no property previously owned or leased to, the Borrower or any of its Subsidiaries is listed or proposed for listing (with respect to owned property only) on the National Priorities List"}
-{"idx": 12, "level": 3, "span": "(f) to the best of the Borrower’s knowledge, there are no underground storage tanks, active or abandoned, including petroleum storage tanks, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;"}
-{"idx": 12, "level": 3, "span": "(g) neither Borrower nor any Subsidiary of the Borrower has directly transported or directly arranged for the transportation of any Hazardous Material to any location which is listed or proposed for listing on the National Priorities List pursuant to CERCLA, on the CERCLIS or on any similar state list or which is the subject of federal, state or local enforcement actions or other investigations which may lead to material claims against the Borrower or any such Subsidiary for any remedial work, damage to natural resources or personal injury, including claims under CERCLA;"}
-{"idx": 12, "level": 3, "span": "(h) there are no polychlorinated biphenyls or friable asbestos present at any real property now owned or operated by the Borrower or any of its Subsidiaries or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries; and"}
-{"idx": 12, "level": 4, "span": "(i) no conditions exist at, on or under any real property now owned or operated by or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries which, with the passage of time, or the giving of notice or both, would give rise to liability under any Environmental Law."}
-{"idx": 12, "level": 2, "span": "SECTION 10. BORROWER’S COVENANTS.\nFrom the date of this Agreement and thereafter until the expiration or termination of the Commitments and until the Loans and other Liabilities are paid and performed in full, the Borrower agrees that, unless at any time the Majority Lenders shall otherwise expressly consent in writing, it will perform and fulfill its obligations set forth in this Section 10.\n10.1 Financial Statements and Other Reports. The Borrower will furnish or will cause to be furnished to the Administrative Agent and each of the Lenders:\n(a) Annual Audit Reports. Within 120 days after the end of each fiscal year, a copy of the annual audit report of the Borrower and its Subsidiaries prepared on a consolidated basis in conformity with GAAP and certified, without qualification, by independent certified public accountants of recognized national standing. Such annual audit report shall (i) include a footnote setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal year; (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal year, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the fiscal year then ended, setting forth in each case in comparative form the\nfigures for the previous fiscal year; and (iii) be accompanied by a letter from such accountants stating that, in the course of their preparation of such audit report, they have not become aware of any Event of Default or Unmatured Event of Default under Section 10.13, 10.15 or 10.16, or if they have become aware of any such event, describing it in reasonable detail;\n(b) Quarterly Financial Statements. Within 60 days after the end of each fiscal quarter (other than the last fiscal quarter of each fiscal year), a copy of the unaudited financial statements of the Borrower and its Subsidiaries for such fiscal quarter prepared on a consolidated basis in conformity with GAAP (subject to year-end audit adjustments and the absence of footnotes). Such financial statements shall (i) include a schedule setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal quarter; and (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal quarter, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the portion of the fiscal year then ended, setting forth in each case in comparative form the figures for the equivalent timeframe for the previous fiscal year;\n(c) Officer’s Certificate and Report. Together with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a Compliance Certificate signed by an Authorized Signatory dated the date of delivery of such financial statements, to the effect that no Event of Default or Unmatured Event of Default exists, or, if there is any such event, describing it and the steps, if any, being taken to cure it, and containing a computation of, and showing compliance with, each of the financial ratios and restrictions contained in this Section 10; provided that with respect to such financial ratios and restrictions, such certification shall be effective only as of the date of such financial statements;\n(d) Lease Reports. Together with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a report of an Authorized Signatory, relating to the Combined Fleet, dated the date of such financial statements, setting forth the Utilization Ratio and, if requested by the Administrative Agent or any Lender, the average monthly and year-to-date lease rate, in form and substance satisfactory to, and with such additional information as may be from time to time reasonably requested by, the Majority Lenders;\n(e) SEC and Other Reports. Copies of each filing and report made by the Borrower or any Subsidiary with or to any securities exchange or the Securities and Exchange Commission, and of each communication from the Borrower or any Subsidiary to\nstockholders generally concerning events of material significance to the Borrower or any Subsidiary, promptly upon the filing or making thereof;\n(f) Borrowing Base Certificate. Within 15 Business Days after the end of each month (and, to the extent reasonably practicable, at any other time upon request by the Administrative Agent on behalf of the Majority Lenders), a Borrowing Base Certificate executed by an Authorized Signatory as of the end of such month (or as of such other requested date with respect to any interim Borrowing Base Certificate), it being understood that any such interim Borrowing Base Certificate may, to the extent necessary, be prepared by the Borrower using good faith reasonable estimates of the information contained therein;\n(g) Container Equipment Reports. Within 60 days after the end of each fiscal quarter (or, in the case of the fourth fiscal quarter of a fiscal year, 120 days), a summary setting forth (i) the number and types of Container Equipment then owned by the Borrower, (ii) their aggregate Net Book Value and (iii) their aggregate original cost (or, upon the Administrative Agent’s request during the existence of an Event of Default or Unmatured Event of Default, a detailed report as of the end of each fiscal quarter, setting forth with respect to each unit of Container Equipment then owned by the Borrower and subject to a Long Term Lease its (w) serial or other identifying number, (x) in-service date, (y) Net Book Value (including totals thereof), and (z) original cost (including totals thereof)); it being understood that, unless reasonably requested by the Majority Lenders with reasonable notice, such reports shall be limited to all Revenue Generating Equipment (as defined in the Security and Intercreditor Agreement) constituting Collateral then owned by the Borrower; and\n(h) Requested Information. Promptly from time to time, such other reports or information concerning the Borrower or the Collateral as the Administrative Agent on behalf of the Majority Lenders or any Lender may reasonably request.\n10.2 Notices. The Borrower will notify the Lenders in writing of any of the following immediately upon learning of the occurrence thereof, describing the same and, if applicable, the steps being taken by the Person(s) affected with respect thereto:\n(a) Default. The occurrence of an Event of Default or an Unmatured Event of Default;\n(b) Litigation. The institution of any litigation, arbitration proceeding or governmental proceeding which is material to the Borrower and its Subsidiaries taken as a whole;\n(c) Pension and Welfare Plans. The Borrower or any ERISA Affiliate becomes obligated or assumes liability under any “pension plan”, as such term is defined in section 3(2) of ERISA, which is subject to Title IV of ERISA (other than a multiemployer plan as defined in section 4001(a)(3) of ERISA); the occurrence of a Reportable Event with respect\nto any Pension Plan; the institution of any steps by the Borrower, any ERISA Affiliate, the PBGC or any other Person to terminate any Pension Plan; the institution of any steps by the Borrower or any ERISA Affiliate to withdraw from any Pension Plan; or the incurrence of any material increase in the contingent liability of the Borrower or any Subsidiary with respect to any post-retirement Welfare Plan;\n(d) Material Adverse Effect. The occurrence of an event which has had a Material Adverse Effect;\n(e) Change of Address. Any change in the address or location of the principal office of the Borrower from its address set forth on Schedule 10.2;\n(f) Change of Jurisdiction of Organization. Any change in the jurisdiction in which the Borrower is organized;\n(g) Report Regarding Representations. Any material event or change of circumstance which would prevent the Borrower from remaking, as of any date, the representations set forth in Sections 9.6, 9.7, 9.8, 9.9, 9.10, 9.14, 9.15 and 9.16 hereof or in Section 2.2 of the Security and Intercreditor Agreement;\n(h) S&P Rating. Promptly upon receipt by the Borrower of notice thereof, and in any event within five Business Days after any change in the S&P Rating, notice of such change; and\n(i) Other Events. The occurrence of such other events as the Administrative Agent or any Lender may from time to time reasonably specify;"}
-{"idx": 12, "level": 2, "span": "provided that no notice given pursuant to this Section 10.2 shall be deemed to constitute a defense to, or waiver of, (i) any representation set forth in Section 9 being untrue in any material respect as of the date of this Agreement, (ii) any failure to perform or satisfy any covenant set forth in Section 10\n or (iii) any Event of Default.\n10.3 Existence. The Borrower will maintain and preserve and, subject to the provisions of clauses (w), (x), (y), and (z) of Section 10.11, cause each Restricted Subsidiary to maintain and preserve, its existence as a limited liability company, partnership or corporation, as the case may be, and keep in force and effect all rights, privileges, licenses, patents, patent rights, copyrights, trademarks, trade names, franchises and other authority to the extent material and necessary for the conduct of its business in the ordinary course as conducted from time to time.\n10.4 Nature of Business. The Borrower will engage, and cause each Restricted Subsidiary to engage, in substantially the same fields of business as it is engaged in on the date hereof.\n10.5 Books, Records and Inspection Rights. (a) The Borrower will maintain, and cause each Subsidiary to maintain, complete and accurate books and records in which full and correct\nentries in conformity with GAAP shall be made of all dealings and transactions in relation to its respective business and activities. The Borrower will permit, and cause each Subsidiary to permit, access by the Administrative Agent or any Lender to the books and records of the Borrower and such Subsidiary at reasonable time intervals during normal business hours and permit, and cause each Subsidiary to permit, the Administrative Agent or any Lender to make copies of such books and records. The Borrower will permit, and will cause each Subsidiary to permit, the Administrative Agent and each Lender or any of their respective representatives, at reasonable times and intervals, to visit all of its offices and to discuss its financial matters with its officers. In addition, at any time during the existence of an Event of Default or Unmatured Event of Default, the Administrative Agent and each Lender may discuss financial matters with the independent public accountants, investment bankers and/or financial advisors of the Borrower as necessary to protect the interests of the Administrative Agent or such Lender (and the Borrower hereby authorizes such independent public accountants, investment bankers and financial advisors to discuss the Borrower’s financial matters with the Administrative Agent or any Lender or its representatives whether or not any representative of the Borrower is present). The Borrower will reimburse the Administrative Agent, its agents and designees for all reasonable costs and expenses incurred by them in the course of any such inspection if an Event of Default or Unmatured Event of Default shall then exist, or if such costs and expenses were incurred in determining that an Event of Default has been cured or an Unmatured Event of Default is no longer in effect. Payment of such costs and expenses at any other time shall be as mutually agreed by the Borrower and the Administrative Agent.\n(a) At the request of the Administrative Agent or the Majority Lenders, the Borrower shall fully cooperate with the Administrative Agent and auditors or appraisers selected by the Administrative Agent (which may be employees of the Administrative Agent) in the completion of a collateral examination of the assets of the Borrower that comprise the Borrowing Base and such other assets of the Borrower and/or its Subsidiaries as the Administrative Agent, such auditor or such appraiser, as applicable, determines are necessary to verify the Borrowing Base, which examination shall be at the expense of the Borrower; provided that unless an Event of Default has occurred and is continuing, the Borrower shall not be obligated to pay for more than one field examination of any Person in any fiscal year.\n10.6 Insurance; Reports. The Borrower will maintain, and cause each Restricted Subsidiary to maintain, insurance to such extent and against such hazards and liabilities as is commonly maintained by companies similarly situated or as the Administrative Agent on behalf of the Majority Lenders may reasonably request from time to time. Without limiting the generality of the foregoing sentence, the Borrower will maintain, and cause each Restricted Subsidiary to maintain, insurance coverage by financially sound and reputable insurers in such forms and amounts and against such risks as are set forth in Schedule 10.6 attached hereto, provided that the Borrower shall have the right to provide any and all insurance required by this Section 10.6 by means of an equivalent program of self insurance or insurance issued by a captive insurance carrier if (a) approved in writing by the Majority Lenders or (b) such self insurance or captive insurance carrier provides\ninsurance up to a maximum amount of $750,000 on an annual basis with the remainder provided by financially sound third party insurers as provided in this Section 10.6 and in Schedule 10.6. As soon as available and in any event not less than five days prior to the date of renewal of any insurance policy, the Borrower shall furnish (or cause to be furnished) to the Administrative Agent a broker’s certificate stating that such insurance coverage has been renewed or replaced. The Borrower has heretofore furnished, and as soon as available and in any event within 60 days after the date of renewal or replacement of any insurance policy, the Borrower shall furnish (or cause to be furnished), to the Administrative Agent certificates of insurance or certified copies of all insurance policies evidencing such insurance coverage, including loss payable endorsements naming the Collateral Agent as loss payee with respect to property and casualty insurance and an additional insured with respect to liability insurance, which certificates, policies and endorsements shall be consistent in form and substance with the requirements of Schedule 10.6 attached hereto. Subject to the next sentence, the Borrower agrees to give, as soon as possible and in any event not later than five days after it acquires knowledge thereof (whichever is earlier), notice in writing to the Administrative Agent and the Collateral Agent of any notice of cancellation of such insurance. The Borrower agrees to give, as soon as possible and in any event not later than two days after it acquires knowledge thereof (whichever is earlier), notice in writing to the Administrative Agent and the Collateral Agent of any notice of cancellation or reduction of the “War Risks and Strikes, Riots and Civil Commotions” coverage that the Borrower may have in effect from time to time.\n10.7 Repair. The Borrower will maintain, preserve and keep, and cause each Restricted Subsidiary to maintain, preserve and keep, its properties in good repair, working order and condition, and from time to time make, and cause each Restricted Subsidiary to make, all necessary and proper repairs, renewals, replacements, additions, betterments and improvements thereto so that at all times the efficiency thereof shall be fully preserved and maintained, ordinary wear and tear excepted, and excepting disposal of obsolete or damaged equipment.\n10.8 Taxes. The Borrower will pay, and cause each Subsidiary to pay, when due, all of its Taxes, except such Taxes (a) as are being contested in good faith and by appropriate proceedings and as to which the Borrower or such Subsidiary has set aside on its books such reserves or other appropriate provisions therefor as may be required by GAAP; or (b) the amount of which is de minimis.\n10.9 Compliance. The Borrower will comply, and cause each Restricted Subsidiary to comply, with all statutes and governmental rules and regulations applicable to it, its businesses and its properties the failure to comply with which would have a Material Adverse Effect.\n10.10 Pension Plans. The Borrower will not, and will not permit any Subsidiary or ERISA Affiliate to, permit any condition to exist in connection with any Pension Plan which might constitute grounds for the PBGC to institute proceedings to have such Pension Plan terminated or a trustee appointed to administer such Pension Plan. The Borrower will not, and will not permit any\nSubsidiary or ERISA Affiliate to, engage in, or permit to exist or occur, any other condition, event or transaction with respect to any Pension Plan which could result in the incurrence by the Borrower, or by any Subsidiary or ERISA Affiliate, of any material liability, fine or penalty.\n10.11 Merger, Purchase and Sale. The Borrower will not, and will not permit any Restricted Subsidiary to:\n(a) be a party to any merger or consolidation, unless (i) the Borrower shall be the surviving or continuing Person, (ii) at the time of such consolidation or merger and after giving effect thereto no Event of Default or Unmatured Event of Default shall have occurred and be continuing, (iii) after giving effect to such consolidation or merger the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iv) the Borrower, as the surviving or continuing corporation, derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size, function or variety for the purpose of leasing such containers to various transportation companies throughout the world;\n(b) except in the normal course of its business, sell, transfer, convey, lease or otherwise dispose of all or any substantial part (as defined below) of the assets of the Borrower and its Restricted Subsidiaries taken as a whole, provided that sale-leaseback or sale-manageback transactions relating to Container Equipment owned by the Borrower for less than one year and sold for not less than the Net Book Value thereof shall not be prohibited under this clause (b) (as used herein, a “sale-manageback” transaction shall mean a sale wherein at the time of such sale the Borrower shall have entered into an agreement whereby the Borrower shall manage such Container Equipment for the purchaser thereof);\n(c) sell or assign, with or without recourse, any accounts receivable or chattel paper other than (x) in the ordinary course of business or (y) the sale of Long Term Leases on a fully non-recourse basis, provided that such leases, or the Container Equipment subject thereto, do not represent, in the reasonable discretion of the Majority Lenders, a substantial part of the most profitable or valuable assets of the Borrower or its Restricted Subsidiaries (provided that nothing herein shall be construed to require the Borrower to obtain the prior written consent of the Majority Lenders to any such sale of Long Term Leases); or\n(d) purchase or otherwise acquire all or substantially all the assets of any Person, unless (i) at the time of such purchase or acquisition and after giving effect thereto no Unmatured Event of Default or Event of Default shall exist, (ii) after giving effect to such purchase or acquisition the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iii) after giving effect to such purchase or acquisition the Borrower derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size,\nfunction or variety for the purpose of leasing such containers to various transportation companies throughout the world.\nNotwithstanding the foregoing:\n(a) the Borrower and its Restricted Subsidiaries may sell, transfer, convey, assign or otherwise dispose of finance leases of, or conditional sale agreements with respect to, Container Equipment to any Unrestricted Subsidiary;\n(b) any Wholly-owned Restricted Subsidiary may merge into the Borrower or into or with any other Wholly-owned Restricted Subsidiary;\n(c) any Wholly-owned Restricted Subsidiary may consolidate with any other Wholly-owned Restricted Subsidiary so long as immediately thereafter 100% of the Voting Stock or other ownership interest of the resulting Person is owned by the Borrower or another Wholly-owned Restricted Subsidiary; and\n(d) any Wholly-owned Restricted Subsidiary may sell, transfer, convey, lease or assign all or a substantial part of its assets to the Borrower or another Wholly-owned Restricted Subsidiary;"}
-{"idx": 12, "level": 3, "span": "(a) At the request of the Administrative Agent or the Majority Lenders, the Borrower shall fully cooperate with the Administrative Agent and auditors or appraisers selected by the Administrative Agent (which may be employees of the Administrative Agent) in the completion of a collateral examination of the assets of the Borrower that comprise the Borrowing Base and such other assets of the Borrower and/or its Subsidiaries as the Administrative Agent, such auditor or such appraiser, as applicable, determines are necessary to verify the Borrowing Base, which examination shall be at the expense of the Borrower; provided that unless an Event of Default has occurred and is continuing, the Borrower shall not be obligated to pay for more than one field examination of any Person in any fiscal year."}
-{"idx": 12, "level": 3, "span": "(a) be a party to any merger or consolidation, unless (i) the Borrower shall be the surviving or continuing Person, (ii) at the time of such consolidation or merger and after giving effect thereto no Event of Default or Unmatured Event of Default shall have occurred and be continuing, (iii) after giving effect to such consolidation or merger the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iv) the Borrower, as the surviving or continuing corporation, derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size, function or variety for the purpose of leasing such containers to various transportation companies throughout the world;"}
-{"idx": 12, "level": 3, "span": "(b) except in the normal course of its business, sell, transfer, convey, lease or otherwise dispose of all or any substantial part (as defined below) of the assets of the Borrower and its Restricted Subsidiaries taken as a whole, provided that sale-leaseback or sale-manageback transactions relating to Container Equipment owned by the Borrower for less than one year and sold for not less than the Net Book Value thereof shall not be prohibited under this clause (b) (as used herein, a “sale-manageback” transaction shall mean a sale wherein at the time of such sale the Borrower shall have entered into an agreement whereby the Borrower shall manage such Container Equipment for the purchaser thereof);"}
-{"idx": 12, "level": 3, "span": "(c) sell or assign, with or without recourse, any accounts receivable or chattel paper other than (x) in the ordinary course of business or (y) the sale of Long Term Leases on a fully non-recourse basis, provided that such leases, or the Container Equipment subject thereto, do not represent, in the reasonable discretion of the Majority Lenders, a substantial part of the most profitable or valuable assets of the Borrower or its Restricted Subsidiaries (provided that nothing herein shall be construed to require the Borrower to obtain the prior written consent of the Majority Lenders to any such sale of Long Term Leases); or"}
-{"idx": 12, "level": 3, "span": "(d) purchase or otherwise acquire all or substantially all the assets of any Person, unless (i) at the time of such purchase or acquisition and after giving effect thereto no Unmatured Event of Default or Event of Default shall exist, (ii) after giving effect to such purchase or acquisition the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iii) after giving effect to such purchase or acquisition the Borrower derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size,"}
-{"idx": 12, "level": 3, "span": "(a) the Borrower and its Restricted Subsidiaries may sell, transfer, convey, assign or otherwise dispose of finance leases of, or conditional sale agreements with respect to, Container Equipment to any Unrestricted Subsidiary;"}
-{"idx": 12, "level": 3, "span": "(b) any Wholly-owned Restricted Subsidiary may merge into the Borrower or into or with any other Wholly-owned Restricted Subsidiary;"}
-{"idx": 12, "level": 3, "span": "(c) any Wholly-owned Restricted Subsidiary may consolidate with any other Wholly-owned Restricted Subsidiary so long as immediately thereafter 100% of the Voting Stock or other ownership interest of the resulting Person is owned by the Borrower or another Wholly-owned Restricted Subsidiary; and"}
-{"idx": 12, "level": 3, "span": "(d) any Wholly-owned Restricted Subsidiary may sell, transfer, convey, lease or assign all or a substantial part of its assets to the Borrower or another Wholly-owned Restricted Subsidiary;"}
-{"idx": 12, "level": 2, "span": "provided, in each of the cases described in clauses (w), (x), (y) and (z)\n above, written notice thereof shall have been promptly given to the Administrative Agent and the Lenders, and that immediately after such transaction and after giving effect thereto, no Event of Default or Unmatured Event of Default shall exist.\nFor purposes of this Section 10.11 only, a sale, transfer, conveyance, lease or other disposition of assets shall be deemed to involve a “substantial part” of the assets of the Borrower and its Restricted Subsidiaries only if the value of such assets, when added to the value of all other assets sold, transferred, conveyed, leased or otherwise disposed of by the Borrower and its Restricted Subsidiaries (other than (i) in the normal course of business or (ii) pursuant to clause (z) of this Section 10.11) during the same fiscal year, exceeds 10% of Consolidated Net Tangible Assets determined as of the end of the immediately preceding fiscal year. As used in the preceding sentence, the term “value” shall mean, with respect to any asset disposed of, such asset’s book value as of the date of disposition, with “book value” being the value of such asset as would appear immediately prior to such disposition on the balance sheet of the owner of such asset prepared in accordance with GAAP.\n10.12 Environmental Covenant. The Borrower will, and will cause each of its Subsidiaries to,\n(a) use and operate all of its facilities and properties in material compliance with all Environmental Laws, keep all necessary permits, approvals, certificates, licenses and\nother authorizations relating to environmental matters in effect and remain in material compliance therewith, and handle all Hazardous Materials in material compliance with all applicable Environmental Laws;\n(b) immediately notify the Administrative Agent and provide copies upon receipt of all written claims, complaints, notices or inquiries relating to the condition of its facilities and properties or compliance with Environmental Laws, and shall promptly cure and have dismissed with prejudice to the satisfaction of the Administrative Agent any actions and proceedings relating to compliance with Environmental Laws; and\n(c) provide such information and certifications which the Administrative Agent may reasonably request from time to time to evidence compliance with this Section 10.12.\n10.13 Funded Debt Ratio. The Borrower will not at any time permit the Funded Debt Ratio to exceed 4.0 to 1.0.\n10.14 Interest Rate Agreements. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into any Interest Rate Agreement other than in the ordinary course of business as a bona fide hedging transaction (and not for speculation).\n10.15 Consolidated Tangible Net Worth. The Borrower will not at any time permit the sum of (a) Consolidated Tangible Net Worth plus (b) the Borrower’s Investments in Unrestricted Subsidiaries (calculated as set forth in the definition of “Restricted Investments”) to be less than $855,000,000.\n10.16 Ratio of Consolidated Net Income Available For Fixed Charges to Fixed Charges. The Borrower will not permit the ratio of (a) Consolidated Net Income Available for Fixed Charges to (b) Fixed Charges, determined on the last day of each fiscal quarter for the period of six consecutive fiscal quarters then ending, to be less than 1.25 to 1.0.\n10.17 Modification of Certain Agreements. The Borrower will not consent to any amendment, supplement or other modification of any of the terms or provisions contained in, or applicable to, any document or instrument evidencing or applicable to any subordinated Indebtedness, if after giving effect thereto such Indebtedness would fail to satisfy the requirements of the definition of Subordinated Funded Debt.\n10.18 Borrower’s and Subsidiaries’ Ownership Interests. The Borrower will not permit any Subsidiary to purchase or otherwise acquire any shares of the stock of the Borrower, and the Borrower will not take any action, or permit any Restricted Subsidiary to take any action, which will result in a decrease in the Borrower’s or any Restricted Subsidiary’s ownership interest in any Restricted Subsidiary, except as permitted by clause (x) or clause (y) of Section 10.11.\n10.19 Indebtedness. The Borrower will not, and will not permit any Restricted Subsidiary to, incur or permit to exist any Indebtedness, except:\n(a) Indebtedness under the terms of this Agreement;\n(b) Subordinated Funded Debt;\n(c) Indebtedness now or hereafter incurred in connection with (i) Permitted Liens (including for the avoidance of doubt, the incurrence of additional Indebtedness secured by Permitted Liens so long as no Event of Default or Unmatured Event of Default would arise as a result of such incurrence) or (ii) obligations and liabilities permitted by Section 10.21;\n(d) Unsecured Senior Funded Debt;\n(e) Indebtedness reflected in the Audited Financial Statements;\n(f) Unsecured Vendor Debt;\n(g) unsecured senior Indebtedness not constituting Funded Indebtedness, and not otherwise permitted pursuant to clauses (a) through (f) above, provided that the maximum amount of Indebtedness permitted by this clause (g) shall at no time exceed 5% of Consolidated Tangible Net Worth, and such Indebtedness shall not be otherwise prohibited under this Agreement; and\n(h) other Indebtedness approved in writing by the Majority Lenders; provided that no Indebtedness otherwise permitted under clause (b), (d), (f) or (g) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist. In no event, however (subject to the next sentence), shall any Indebtedness which is senior in right of payment to Subordinated Funded Debt (“Superior Debt”) be issued to any holder of Subordinated Funded Debt, or vice versa, if the aggregate amount of Superior Debt held by a holder of Subordinated Funded Debt (a “Simultaneous Holder”) would exceed 33-1/3% of the total amount of Superior Debt then outstanding (after giving effect to such issuance). Anything in the immediately preceding sentence to the contrary notwithstanding, none of the holders of the Subordinated Funded Debt listed on Schedule II hereto shall be deemed a Simultaneous Holder by virtue of such Subordinated Funded Debt, provided that upon the issuance of any additional Superior Debt to any of such holders while any Subordinated Funded Debt is held by it, each such holder shall be deemed a Simultaneous Holder for purposes of the immediately preceding sentence and all Superior Debt held by it shall be considered in determining the Borrower’s compliance with the provisions of such sentence.\n10.20 Liens. The Borrower will not, and will not permit any Restricted Subsidiary to, create or permit to exist any Lien with respect to any assets now owned or hereafter acquired, except the following (“Permitted Liens”):\n(a) Liens for current Taxes not delinquent or Taxes being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;\n(b) carriers’, warehousemen’s, mechanics’, materialmen’s, repairmen’s, and other like statutory Liens arising in the ordinary course of business securing obligations which are not overdue for a period of more than 30 days after receipt of notice thereof or which are being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;\n(c) pledges or deposits in connection with workers’ compensation, unemployment insurance and other social security legislation;\n(d) deposits to secure the performance of bids, trade contracts, leases, statutory obligations and other obligations of a like nature incurred in the ordinary course of business, and Liens and encumbrances upon Real Estate or Fixtures (as defined in the Security and Intercreditor Agreement) not granted or created by the Borrower, but which are created pursuant to or arising under local real estate law;\n(e) Liens in existence prior to the Restatement Effective Date and listed on Schedule 10.20 and, in the case of the mortgage Lien on the property located at 55 Green Street in San Francisco, any Lien securing any refinancing of the obligations secured by such mortgage Lien so long as the amount of the obligations secured thereby is not more than 100% of the fair market value of such property at the time of, and after giving effect to, the refinancing thereof;\n(f) the interest of a Lessee in Container Equipment leased or rented to such Lessee;\n(g) Liens granted pursuant to the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement or any other Loan Document;\n(h) Liens granted after the Restatement Effective Date to secure the payment of the purchase price incurred in connection with the acquisition by the Borrower of Container Equipment only comprising Excluded Collateral from equipment manufacturers or related or representative financing entities who are not, and will not become, parties to the Security and Intercreditor Agreement or the Intercreditor Collateral Agreement, provided that the\naggregate amount of all Indebtedness secured by such Liens on such Container Equipment shall not exceed an amount equal to 100% of Consolidated Tangible Net Worth;\n(i) Liens securing obligations of the Borrower and its Restricted Subsidiaries incurred in connection with the leasing of Container Equipment only comprising Excluded Collateral by the Borrower and its Restricted Subsidiaries, provided that (i) any such Lien shall be granted to the lessor of such Container Equipment, (ii) any such Lien shall attach solely to the Borrower’s or a Restricted Subsidiary’s interest in the subleases of such Container Equipment leased by the Borrower or a Restricted Subsidiary from such equipment lessor, any deposit accounts into which the proceeds of such subleases may be deposited (but only to the extent derived or allocable to such Container Equipment) and additional collateral to the extent limited to interests relating to such Container Equipment or subleases, and the proceeds of the foregoing, and (iii) such lessor shall have become a party to the Intercreditor Collateral Agreement, but shall not, with respect to the Indebtedness secured thereby, become a party to the Security and Intercreditor Agreement;\n(j) Liens granted by the Borrower to lenders who shall not, with respect to the Indebtedness secured thereby, become parties to the Security and Intercreditor Agreement assisting partnerships or other entities in the financing or refinancing of Container Equipment which will be managed by the Borrower pursuant to a Management Agreement, which liens are incidental to the financing or refinancing of such Container Equipment and which may include the Borrower’s interest, if any, in such Container Equipment, and to the extent they relate to such Container Equipment, the leases of such Container Equipment, such Management Agreement, and additional collateral to the extent limited to interests relating to such Container Equipment, and the proceeds of the foregoing, but in all cases only comprising Excluded Collateral;\n(k) Liens in connection with the acquisition of property only comprising Excluded Collateral (other than Container Equipment) after the Restatement Effective Date by way of purchase money mortgage, conditional sale or other title retention agreement, Capitalized Lease or other deferred payment contract, and attaching only to the property being acquired, if the amount of the Indebtedness secured thereby is not more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition thereof;\n(l) Liens to Subsequent Triton Specified Equipment Lenders in respect of Subsequent Triton Specified Equipment Lender Collateral, in each case as defined in the Security and Intercreditor Agreement as in effect on the date of this Agreement, if the amount of the Indebtedness secured thereby is not less than 80%, nor more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition or financing thereof;\n(m) Liens granted pursuant to the Intercreditor Collateral Agreement;\n(n) Liens not otherwise permitted by the preceding clauses (a) through (m), inclusive, provided that the Indebtedness secured thereby at any one time outstanding shall not exceed an amount equal to the remainder of 5% of Consolidated Tangible Net Worth, minus the outstanding amount of all Indebtedness described in Section 10.19(h), and such Indebtedness shall otherwise be permitted under this Agreement; provided that no Lien otherwise permitted under clause (h), (i), (j), (k), (l) or (n) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist.\n10.21 Guaranties. The Borrower will not, and will not permit any Restricted Subsidiary to, become a guarantor or surety of, or otherwise become or be responsible in any manner (whether by agreement to purchase any obligations, stock, assets, goods or services, or to supply or advance any funds, assets, goods or services, or otherwise) with respect to, any undertaking of any other Person, except for (a) the endorsement, in the ordinary course of collection, of instruments payable to it or its order, (b) liabilities for partnership obligations incurred solely as a result of being a general partner in any general or limited partnership or for membership obligations incurred solely as a result of being a member in any limited liability company, and (c) Guarantee Liabilities of the Borrower not otherwise permitted pursuant to clauses (a) and (b) above so long as both before and after giving effect to the issuance of any such Guarantee Liability no Event of Default or Unmatured Event of Default shall exist.\n10.22 Transactions with Related Parties. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into or be a party to any transaction or arrangement, including the purchase, sale, discounting, lease or exchange of property or the rendering of any service, with any Related Party, except in the ordinary course of, and pursuant to the reasonable requirements of the Borrower’s or such Restricted Subsidiary’s business, unless on terms comparable to those which the Borrower would obtain in a comparable arm’s-length transaction with a Person not a Related Party. The parties agree that (i) employee and officer salaries and bonuses, and loans to employees or officers, shall not be considered Related Party transactions for purposes of this Section 10.22 and (ii) any sale of Container Equipment from the Borrower or any Restricted Subsidiary to any Unrestricted Subsidiary pursuant to Section 10.11(b) at the original equipment cost or Net Book Value thereof shall be deemed to be an arm’s-length transaction.\n10.23 Unconditional Purchase Obligations. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into or be a party to any contract for the purchase or lease of materials, supplies or other property or services if such contract requires that payment be made by it regardless of whether or not delivery is ever made of such materials, supplies or other property or services.\n10.24 Negative Pledges, Restrictive Agreements, etc. The Borrower will not, and will not permit any of its Restricted Subsidiaries to, enter into any agreement (excluding this Agreement and any other Loan Document) prohibiting the creation or assumption of any Lien upon the Borrower’s properties, revenues or assets (other than Excluded Collateral) in favor of the Collateral Agent under or in connection with the Intercreditor Collateral Agreement or the Security and Intercreditor Agreement, whether now owned or hereafter acquired, or the ability of the Borrower to amend or otherwise modify this Agreement or any other Loan Document. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into any agreement containing any provision which would be violated or breached by the Borrower’s performance of its obligations hereunder or under any other Loan Document.\n10.25 Use of Proceeds. The Borrower will (a) use the proceeds of the Loans solely for the purposes set forth in Section 9.11, (b) not permit any proceeds of the Loans to be used, either directly or indirectly, for the purpose, whether immediate, incidental or ultimate, of “purchasing or carrying any margin stock” within the meaning of Regulation U of the FRB and (c) furnish to each Lender, upon its request, a statement in conformity with the requirements of Federal Reserve Form U-1 referred to in Regulation U.\n10.26 Designation of Unrestricted Subsidiaries. The Borrower may designate any Subsidiary to be an Unrestricted Subsidiary by giving written notice from an Authorized Signatory to the Administrative Agent that the Borrower has made such designation, provided that no Subsidiary may be designated an Unrestricted Subsidiary unless such designation is treated as a sale of assets and, at the time of such action and after giving effect thereto, no Event of Default or Unmatured Event of Default shall have occurred and be continuing. Any Subsidiary that has been designated an Unrestricted Subsidiary in accordance with the provisions of this Section 10.26 shall not at any time thereafter be a Restricted Subsidiary without the prior written consent of the Majority Lenders.\n10.27 Restricted Payments. The Borrower will not make, directly or indirectly or through any Subsidiary, any capital distribution to any equityholder of the Borrower or any optional payment with respect to Subordinated Funded Debt if an Event of Default or Unmatured Event of Default exists or would exist after giving effect to any distribution or payment described in this Section 10.27.\n10.28 Anti-Corruption Laws.\n(a) Each of the Borrower and its Subsidiaries shall (a) conduct its businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and other similar anti-corruption legislation in any other applicable jurisdiction and (b) maintain policies and procedures designed to promote and achieve compliance with such laws.\n(b) The Borrower and its Subsidiaries shall not directly or indirectly use the proceeds of any Credit Extension for any purpose that would breach the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010 or similar anti-corruption legislation in any other applicable jurisdiction.\n10.29 Sanctions. The Borrower and its Subsidiaries shall not, directly or indirectly, use the proceeds of any Credit Extension, or lend, contribute or otherwise make available such proceeds to any Subsidiary, joint venture partner or other Person, to fund any activities of or business with any Person in any manner that will result in a violation by the Borrower, any Subsidiary, or, to the knowledge of the Borrower, any other Person (including any Person party to this Agreement, whether as Lender, Joint Lead Arranger, Administrative Agent, Issuer or otherwise), of Sanctions.\n10.30 TAL Merger. Within one Business Day after consummation of the TAL Merger, the Borrower shall deliver to the Administrative Agent a certificate certifying that after giving effect to the TAL Merger, there has not occurred a material adverse change since the date of this Agreement in the business, assets, liabilities (actual or contingent), operations, condition (financial or otherwise) or prospects of the Borrower and its Subsidiaries taken as a whole."}
-{"idx": 12, "level": 3, "span": "(a) use and operate all of its facilities and properties in material compliance with all Environmental Laws, keep all necessary permits, approvals, certificates, licenses and"}
-{"idx": 12, "level": 3, "span": "(b) immediately notify the Administrative Agent and provide copies upon receipt of all written claims, complaints, notices or inquiries relating to the condition of its facilities and properties or compliance with Environmental Laws, and shall promptly cure and have dismissed with prejudice to the satisfaction of the Administrative Agent any actions and proceedings relating to compliance with Environmental Laws; and"}
-{"idx": 12, "level": 3, "span": "(c) provide such information and certifications which the Administrative Agent may reasonably request from time to time to evidence compliance with this Section 10.12."}
-{"idx": 12, "level": 3, "span": "(a) Indebtedness under the terms of this Agreement;"}
-{"idx": 12, "level": 3, "span": "(b) Subordinated Funded Debt;"}
-{"idx": 12, "level": 3, "span": "(c) Indebtedness now or hereafter incurred in connection with (i) Permitted Liens (including for the avoidance of doubt, the incurrence of additional Indebtedness secured by Permitted Liens so long as no Event of Default or Unmatured Event of Default would arise as a result of such incurrence) or (ii) obligations and liabilities permitted by Section 10.21;"}
-{"idx": 12, "level": 3, "span": "(d) Unsecured Senior Funded Debt;"}
-{"idx": 12, "level": 3, "span": "(e) Indebtedness reflected in the Audited Financial Statements;"}
-{"idx": 12, "level": 3, "span": "(f) Unsecured Vendor Debt;"}
-{"idx": 12, "level": 3, "span": "(g) unsecured senior Indebtedness not constituting Funded Indebtedness, and not otherwise permitted pursuant to clauses (a) through (f) above, provided that the maximum amount of Indebtedness permitted by this clause (g) shall at no time exceed 5% of Consolidated Tangible Net Worth, and such Indebtedness shall not be otherwise prohibited under this Agreement; and"}
-{"idx": 12, "level": 3, "span": "(h) other Indebtedness approved in writing by the Majority Lenders; provided that no Indebtedness otherwise permitted under clause (b), (d), (f) or (g) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist\nIn no event, however (subject to the next sentence), shall any Indebtedness which is senior in right of payment to Subordinated Funded Debt (“Superior Debt”) be issued to any holder of Subordinated Funded Debt, or vice versa, if the aggregate amount of Superior Debt held by a holder of Subordinated Funded Debt (a “Simultaneous Holder”) would exceed 33-1/3% of the total amount of Superior Debt then outstanding (after giving effect to such issuance). Anything in the immediately preceding sentence to the contrary notwithstanding, none of the holders of the Subordinated Funded Debt listed on Schedule II hereto shall be deemed a Simultaneous Holder by virtue of such Subordinated Funded Debt, provided that upon the issuance of any additional Superior Debt to any of such holders while any Subordinated Funded Debt is held by it, each such holder shall be deemed a Simultaneous Holder for purposes of the immediately preceding sentence and all Superior Debt held by it shall be considered in determining the Borrower’s compliance with the provisions of such sentence."}
-{"idx": 12, "level": 3, "span": "(a) Liens for current Taxes not delinquent or Taxes being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;"}
-{"idx": 12, "level": 3, "span": "(b) carriers’, warehousemen’s, mechanics’, materialmen’s, repairmen’s, and other like statutory Liens arising in the ordinary course of business securing obligations which are not overdue for a period of more than 30 days after receipt of notice thereof or which are being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;"}
-{"idx": 12, "level": 3, "span": "(c) pledges or deposits in connection with workers’ compensation, unemployment insurance and other social security legislation;"}
-{"idx": 12, "level": 3, "span": "(d) deposits to secure the performance of bids, trade contracts, leases, statutory obligations and other obligations of a like nature incurred in the ordinary course of business, and Liens and encumbrances upon Real Estate or Fixtures (as defined in the Security and Intercreditor Agreement) not granted or created by the Borrower, but which are created pursuant to or arising under local real estate law;"}
-{"idx": 12, "level": 3, "span": "(e) Liens in existence prior to the Restatement Effective Date and listed on Schedule 10.20 and, in the case of the mortgage Lien on the property located at 55 Green Street in San Francisco, any Lien securing any refinancing of the obligations secured by such mortgage Lien so long as the amount of the obligations secured thereby is not more than 100% of the fair market value of such property at the time of, and after giving effect to, the refinancing thereof;"}
-{"idx": 12, "level": 3, "span": "(f) the interest of a Lessee in Container Equipment leased or rented to such Lessee;"}
-{"idx": 12, "level": 3, "span": "(g) Liens granted pursuant to the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement or any other Loan Document;"}
-{"idx": 12, "level": 3, "span": "(h) Liens granted after the Restatement Effective Date to secure the payment of the purchase price incurred in connection with the acquisition by the Borrower of Container Equipment only comprising Excluded Collateral from equipment manufacturers or related or representative financing entities who are not, and will not become, parties to the Security and Intercreditor Agreement or the Intercreditor Collateral Agreement, provided that the"}
-{"idx": 12, "level": 4, "span": "(i) Liens securing obligations of the Borrower and its Restricted Subsidiaries incurred in connection with the leasing of Container Equipment only comprising Excluded Collateral by the Borrower and its Restricted Subsidiaries, provided that (i) any such Lien shall be granted to the lessor of such Container Equipment, (ii) any such Lien shall attach solely to the Borrower’s or a Restricted Subsidiary’s interest in the subleases of such Container Equipment leased by the Borrower or a Restricted Subsidiary from such equipment lessor, any deposit accounts into which the proceeds of such subleases may be deposited (but only to the extent derived or allocable to such Container Equipment) and additional collateral to the extent limited to interests relating to such Container Equipment or subleases, and the proceeds of the foregoing, and (iii) such lessor shall have become a party to the Intercreditor Collateral Agreement, but shall not, with respect to the Indebtedness secured thereby, become a party to the Security and Intercreditor Agreement;"}
-{"idx": 12, "level": 3, "span": "(j) Liens granted by the Borrower to lenders who shall not, with respect to the Indebtedness secured thereby, become parties to the Security and Intercreditor Agreement assisting partnerships or other entities in the financing or refinancing of Container Equipment which will be managed by the Borrower pursuant to a Management Agreement, which liens are incidental to the financing or refinancing of such Container Equipment and which may include the Borrower’s interest, if any, in such Container Equipment, and to the extent they relate to such Container Equipment, the leases of such Container Equipment, such Management Agreement, and additional collateral to the extent limited to interests relating to such Container Equipment, and the proceeds of the foregoing, but in all cases only comprising Excluded Collateral;"}
-{"idx": 12, "level": 3, "span": "(k) Liens in connection with the acquisition of property only comprising Excluded Collateral (other than Container Equipment) after the Restatement Effective Date by way of purchase money mortgage, conditional sale or other title retention agreement, Capitalized Lease or other deferred payment contract, and attaching only to the property being acquired, if the amount of the Indebtedness secured thereby is not more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition thereof;"}
-{"idx": 12, "level": 3, "span": "(l) Liens to Subsequent Triton Specified Equipment Lenders in respect of Subsequent Triton Specified Equipment Lender Collateral, in each case as defined in the Security and Intercreditor Agreement as in effect on the date of this Agreement, if the amount of the Indebtedness secured thereby is not less than 80%, nor more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition or financing thereof;"}
-{"idx": 12, "level": 3, "span": "(m) Liens granted pursuant to the Intercreditor Collateral Agreement;"}
-{"idx": 12, "level": 3, "span": "(n) Liens not otherwise permitted by the preceding clauses (a) through (m), inclusive, provided that the Indebtedness secured thereby at any one time outstanding shall not exceed an amount equal to the remainder of 5% of Consolidated Tangible Net Worth, minus the outstanding amount of all Indebtedness described in Section 10.19(h), and such Indebtedness shall otherwise be permitted under this Agreement; provided that no Lien otherwise permitted under clause (h), (i), (j), (k), (l) or (n) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist."}
-{"idx": 12, "level": 3, "span": "(a) Each of the Borrower and its Subsidiaries shall (a) conduct its businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and other similar anti-corruption legislation in any other applicable jurisdiction and (b) maintain policies and procedures designed to promote and achieve compliance with such laws."}
-{"idx": 12, "level": 3, "span": "(b) The Borrower and its Subsidiaries shall not directly or indirectly use the proceeds of any Credit Extension for any purpose that would breach the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010 or similar anti-corruption legislation in any other applicable jurisdiction."}
-{"idx": 12, "level": 3, "span": "(a) Annual Audit Reports\nWithin 120 days after the end of each fiscal year, a copy of the annual audit report of the Borrower and its Subsidiaries prepared on a consolidated basis in conformity with GAAP and certified, without qualification, by independent certified public accountants of recognized national standing. Such annual audit report shall (i) include a footnote setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal year; (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal year, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the fiscal year then ended, setting forth in each case in comparative form the"}
-{"idx": 12, "level": 3, "span": "(b) Quarterly Financial Statements\nWithin 60 days after the end of each fiscal quarter (other than the last fiscal quarter of each fiscal year), a copy of the unaudited financial statements of the Borrower and its Subsidiaries for such fiscal quarter prepared on a consolidated basis in conformity with GAAP (subject to year-end audit adjustments and the absence of footnotes). Such financial statements shall (i) include a schedule setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal quarter; and (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal quarter, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the portion of the fiscal year then ended, setting forth in each case in comparative form the figures for the equivalent timeframe for the previous fiscal year;"}
-{"idx": 12, "level": 3, "span": "(c) Officer’s Certificate and Report\nTogether with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a Compliance Certificate signed by an Authorized Signatory dated the date of delivery of such financial statements, to the effect that no Event of Default or Unmatured Event of Default exists, or, if there is any such event, describing it and the steps, if any, being taken to cure it, and containing a computation of, and showing compliance with, each of the financial ratios and restrictions contained in this Section 10; provided that with respect to such financial ratios and restrictions, such certification shall be effective only as of the date of such financial statements;"}
-{"idx": 12, "level": 3, "span": "(d) Lease Reports\nTogether with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a report of an Authorized Signatory, relating to the Combined Fleet, dated the date of such financial statements, setting forth the Utilization Ratio and, if requested by the Administrative Agent or any Lender, the average monthly and year-to-date lease rate, in form and substance satisfactory to, and with such additional information as may be from time to time reasonably requested by, the Majority Lenders;"}
-{"idx": 12, "level": 3, "span": "(e) SEC and Other Reports\nCopies of each filing and report made by the Borrower or any Subsidiary with or to any securities exchange or the Securities and Exchange Commission, and of each communication from the Borrower or any Subsidiary to"}
-{"idx": 12, "level": 3, "span": "(f) Borrowing Base Certificate\nWithin 15 Business Days after the end of each month (and, to the extent reasonably practicable, at any other time upon request by the Administrative Agent on behalf of the Majority Lenders), a Borrowing Base Certificate executed by an Authorized Signatory as of the end of such month (or as of such other requested date with respect to any interim Borrowing Base Certificate), it being understood that any such interim Borrowing Base Certificate may, to the extent necessary, be prepared by the Borrower using good faith reasonable estimates of the information contained therein;"}
-{"idx": 12, "level": 3, "span": "(g) Container Equipment Reports\nWithin 60 days after the end of each fiscal quarter (or, in the case of the fourth fiscal quarter of a fiscal year, 120 days), a summary setting forth (i) the number and types of Container Equipment then owned by the Borrower, (ii) their aggregate Net Book Value and (iii) their aggregate original cost (or, upon the Administrative Agent’s request during the existence of an Event of Default or Unmatured Event of Default, a detailed report as of the end of each fiscal quarter, setting forth with respect to each unit of Container Equipment then owned by the Borrower and subject to a Long Term Lease its (w) serial or other identifying number, (x) in-service date, (y) Net Book Value (including totals thereof), and (z) original cost (including totals thereof)); it being understood that, unless reasonably requested by the Majority Lenders with reasonable notice, such reports shall be limited to all Revenue Generating Equipment (as defined in the Security and Intercreditor Agreement) constituting Collateral then owned by the Borrower; and"}
-{"idx": 12, "level": 3, "span": "(h) Requested Information\nPromptly from time to time, such other reports or information concerning the Borrower or the Collateral as the Administrative Agent on behalf of the Majority Lenders or any Lender may reasonably request."}
-{"idx": 12, "level": 3, "span": "(a) Default\nThe occurrence of an Event of Default or an Unmatured Event of Default;"}
-{"idx": 12, "level": 3, "span": "(b) Litigation\nThe institution of any litigation, arbitration proceeding or governmental proceeding which is material to the Borrower and its Subsidiaries taken as a whole;"}
-{"idx": 12, "level": 3, "span": "(c) Pension and Welfare Plans\nThe Borrower or any ERISA Affiliate becomes obligated or assumes liability under any “pension plan”, as such term is defined in section 3(2) of ERISA, which is subject to Title IV of ERISA (other than a multiemployer plan as defined in section 4001(a)(3) of ERISA); the occurrence of a Reportable Event with respect"}
-{"idx": 12, "level": 3, "span": "(d) Material Adverse Effect\nThe occurrence of an event which has had a Material Adverse Effect;"}
-{"idx": 12, "level": 3, "span": "(e) Change of Address\nAny change in the address or location of the principal office of the Borrower from its address set forth on Schedule 10.2;"}
-{"idx": 12, "level": 3, "span": "(f) Change of Jurisdiction of Organization\nAny change in the jurisdiction in which the Borrower is organized;"}
-{"idx": 12, "level": 3, "span": "(g) Report Regarding Representations\nAny material event or change of circumstance which would prevent the Borrower from remaking, as of any date, the representations set forth in Sections 9.6, 9.7, 9.8, 9.9, 9.10, 9.14, 9.15 and 9.16 hereof or in Section 2.2 of the Security and Intercreditor Agreement;"}
-{"idx": 12, "level": 3, "span": "(h) S&P Rating\nPromptly upon receipt by the Borrower of notice thereof, and in any event within five Business Days after any change in the S&P Rating, notice of such change; and"}
-{"idx": 12, "level": 4, "span": "(i) Other Events\nThe occurrence of such other events as the Administrative Agent or any Lender may from time to time reasonably specify;"}
-{"idx": 12, "level": 2, "span": "SECTION 11. CONDITIONS TO EFFECTIVENESS OF RESTATEMENT OF EXISTING CREDIT AGREEMENT AND OF INITIAL AND FUTURE BORROWINGS.\n11.1 Conditions to Effectiveness of Amendment and Restatement. The amendment and restatement of the Existing Credit Agreement accomplished by this Agreement shall become effective on the date specified in a written notice delivered by the Administrative Agent (the “Restatement Effective Date”) to the effect that the Administrative Agent received counterparts of this Agreement duly executed by each of the parties listed on the signature pages hereto and that all of the following conditions precedent have been satisfied:\n(a) Good Standing. The Administrative Agent shall have received certificates of good standing from the applicable public officials dated as of a current date with respect to the Borrower issued by Bermuda, the States of Nevada and California and each other state where the Borrower is qualified to do business or where, because of the nature of its respective business or properties, qualification to do business is required.\n(b) Insurance. The Administrative Agent shall have received satisfactory evidence of the existence of insurance on the property of the Borrower as required by this Agreement and the Security and Intercreditor Agreement in amounts and with insurers acceptable to the Administrative Agent and the Majority Lenders, together with evidence establishing that the Collateral Agent, for the benefit of the Administrative Agent and the Lenders, is named as a loss payee and/or additional insured, as applicable, on all related insurance policies.\n(c) Payment of Interest, Fees and Expenses. The Administrative Agent shall have received (i) (for its own account or for the account of the Lenders, as applicable) payment in full of (A) all of the accrued interest and fees that are due and payable under the Existing Credit Agreement as of the Restatement Effective Date and (B) all of the fees that are described in Section 4.6 that are due and payable on the Restatement Effective Date; and (ii) all reasonable costs and expenses (including reasonable attorneys’ fees and charges) incurred by the Administrative Agent in connection with the preparation, execution and delivery of this Agreement, to the extent then billed.\n(d) Receipt of Documents. The Administrative Agent shall have received all of the following, each duly executed, as appropriate, and dated as of the Restatement Effective Date (or such other date as shall be satisfactory to the Administrative Agent), in form and substance satisfactory to the Administrative Agent, and each (except for the Notes, of which only the originals shall be signed) in sufficient number of signed counterparts to provide one for each Lender:\n(i) Notes. A Note for the account of each Lender that has requested a Note prior to the Restatement Effective Date.\n(ii) Resolutions; Consents. Copies, duly certified by the secretary or an assistant secretary of the Borrower, of (x) resolutions of the financing committee of the Borrower’s board of directors authorizing or ratifying the execution and delivery of this Agreement, the Notes and the other Loan Documents, and authorizing the borrowings by the Borrower hereunder, (y) all documents evidencing other necessary corporate action and (z) all approvals, licenses or consents, if any, required in connection with the consummation of the transactions contemplated by this Agreement, the Notes and the other Loan Documents, or a statement that no such approvals, licenses or consents are so required.\n(iii) Incumbency. A certificate of the secretary or an assistant secretary of the Borrower certifying the names of the Borrower’s officers authorized to sign this Agreement, the Notes and all other Loan Documents to be delivered hereunder, together with the true signatures of such officers.\n(iv) Waivers, Consents and Amendments. Copies of all waivers and consents of all necessary or appropriate parties, in each case as may be reasonably required by the Lenders in connection with the transactions herein contemplated.\n(v) Termination of Subordination Agreement. A termination of the Amended and Restated Subordination Agreement dated as of June 24, 1994 executed and delivered by the Borrower in favor of the lenders party to the TCI Credit Agreement (as defined in Section 11.1(g)).\n(vi) Opinion Letters. Favorable opinion letters of (A) Intermodal Finance Law P.C., counsel to the Borrower, (B) Appleby (Bermuda) Limited, special Bermuda counsel to the Borrower, and (C) Mayer Brown LLP, New York counsel to the Administrative Agent, each covering such matters, in such form and having such content, as shall be reasonably acceptable to the Administrative Agent and its counsel.\n(vii) Organizational Documents. A certificate of the secretary or assistant secretary of the Borrower certifying as to and attaching the memorandum of association (including the certificate of incorporation of the Borrower) and bye-laws of the Borrower, including all amendments or restatements thereto, as in effect on the Restatement Effective Date.\n(viii) Closing Certificate. A certificate of an Authorized Signatory of the Borrower certifying (w) that all representations and warranties of the Borrower in this Agreement and the other Loan Documents are true and correct on the Restatement Effective Date, (x) that no Event of Default or Unmatured Event of Default exists or will result from the transactions contemplated to occur on the proposed Restatement Effective Date, (y) that since the date of the Audited Financial Statements, no event has occurred which has had a Material Adverse Effect and (z) the current S&P Rating.\n(e) Financing Statements. The Administrative Agent shall have received evidence that all action has been taken with respect to the filing of Uniform Commercial Code financing statements and continuation statements necessary to perfect and maintain the Liens of the Collateral Agent under the Security and Intercreditor Agreement and the other Loan Documents in the appropriate jurisdictions.\n(f) No Material Adverse Change. There shall not have occurred a material adverse change since December 31, 2015 in the business, assets, liabilities (actual or contingent), operations, condition (financial or otherwise) or prospects of the Borrower and its Subsidiaries taken as a whole or in the facts and information regarding such entities as represented to the Restatement Effective Date.\n(g) TCI Credit Agreement. The Administrative Agent shall have received evidence that the lenders and the administrative agent under the Seventh Amended and Restated Credit Agreement dated as of November 9, 2011 (the “TCI Credit Agreement”) among TCI, the lenders party thereto, and Bank of America, N.A., as administrative agent, have assigned their rights and obligations under such Credit Agreement and received in full all amounts owed to them thereunder (from the assignee or TCI or both).\n(h) Rating. The Borrower shall have obtained an S&P Rating of at least BBB for the credit facility evidenced by this Agreement.\n(i) Projections. The Administrative Agent shall have received projected financial statements for the Borrower through December 31, 2019.\n(j) Other. The Administrative Agent and the Lenders shall have received such other documents, certifications or information as the Administrative Agent or any Lender may reasonably request.\nWithout limiting the generality of the provisions of the last paragraph of Section 13.3(e), for purposes of determining compliance with the conditions specified in this Section 11.1, each Lender that has signed this Agreement shall be deemed to have consented to, approved or accepted, and to be satisfied with, each document or other matter required thereunder to be consented to or approved by or acceptable or satisfactory to a Lender unless the Administrative Agent shall have received notice from such Lender prior to the proposed Restatement Effective Date specifying its objection thereto.\n11.2 All Credit Extensions. The obligation of each Lender to make any Loan and of each Issuer to issue each Letter of Credit is subject to the following further conditions precedent that:\n(a) Default. Before and after giving effect to such Credit Extension, no Event of Default or Unmatured Event of Default shall have occurred and be continuing.\n(b) Insurance. The Borrower shall be in compliance with all of its obligations under Section 10.6.\n(c) Representations and Warranties. Before and after giving effect to such Credit Extension, the representations and warranties in Section 9, and in any other agreement or certification given by the Borrower or any Subsidiary or any officer thereof pursuant to this Agreement, shall be true and correct in all material respects as though made on the date of such Credit Extension. The Borrower further agrees that all of its representations and warranties set forth in the Security and Intercreditor Agreement shall be deemed to be representations and warranties made pursuant to Section 9, as though set forth therein for all purposes, including for purposes of this Section 11.2(c), provided that the representations and warranties set forth in Section 2.2 of the Security and Intercreditor Agreement may also be subject to a report regarding representations and warranties pursuant to Section 10.2(f) (subject to the limitations set forth in the proviso set forth in Section 10.2).\n(d) Request for Borrowing or Issuance Request. The Administrative Agent shall have received a Loan Request in accordance with Section 2.4 or an Issuance Request in accordance with Section 5.1.\n(e) Certification. The Borrower shall have delivered to the Administrative Agent a certificate of the Borrower, signed on the Borrower’s behalf by its Authorized Signatory, as to the matters set out in Sections 11.2(a), (b) and (c). Each request for a Credit Extension, and the acceptance by the Borrower of the proceeds of any Borrowing, shall constitute a certification required by this clause (e) that on the date of such Credit Extension (both immediately before and after giving effect thereto) the statements made in Sections 11.2(a), (b) and (c) are true and correct.\n(f) Borrowing Base Certificate. The Borrower shall have delivered to the Administrative Agent a duly completed and executed Borrowing Base Certificate (which may be the most recent Borrowing Base Certificate delivered by the Borrower pursuant to Section 10.1(f) or this Section 11.2(f)) demonstrating (a) that such Borrowing Base is sufficient to cover such Credit Extension after giving effect to such Credit Extension and (b) the effect of such Credit Extension on the Borrowing Base."}
-{"idx": 12, "level": 3, "span": "(a) Good Standing\nThe Administrative Agent shall have received certificates of good standing from the applicable public officials dated as of a current date with respect to the Borrower issued by Bermuda, the States of Nevada and California and each other state where the Borrower is qualified to do business or where, because of the nature of its respective business or properties, qualification to do business is required."}
-{"idx": 12, "level": 3, "span": "(b) Insurance\nThe Administrative Agent shall have received satisfactory evidence of the existence of insurance on the property of the Borrower as required by this Agreement and the Security and Intercreditor Agreement in amounts and with insurers acceptable to the Administrative Agent and the Majority Lenders, together with evidence establishing that the Collateral Agent, for the benefit of the Administrative Agent and the Lenders, is named as a loss payee and/or additional insured, as applicable, on all related insurance policies."}
-{"idx": 12, "level": 3, "span": "(c) Payment of Interest, Fees and Expenses\nThe Administrative Agent shall have received (i) (for its own account or for the account of the Lenders, as applicable) payment in full of (A) all of the accrued interest and fees that are due and payable under the Existing Credit Agreement as of the Restatement Effective Date and (B) all of the fees that are described in Section 4.6 that are due and payable on the Restatement Effective Date; and (ii) all reasonable costs and expenses (including reasonable attorneys’ fees and charges) incurred by the Administrative Agent in connection with the preparation, execution and delivery of this Agreement, to the extent then billed."}
-{"idx": 12, "level": 3, "span": "(d) Receipt of Documents\nThe Administrative Agent shall have received all of the following, each duly executed, as appropriate, and dated as of the Restatement Effective Date (or such other date as shall be satisfactory to the Administrative Agent), in form and substance satisfactory to the Administrative Agent, and each (except for the Notes, of which only the originals shall be signed) in sufficient number of signed counterparts to provide one for each Lender:"}
-{"idx": 12, "level": 4, "span": "(i) Notes\nA Note for the account of each Lender that has requested a Note prior to the Restatement Effective Date."}
-{"idx": 12, "level": 4, "span": "(ii) Resolutions; Consents\nCopies, duly certified by the secretary or an assistant secretary of the Borrower, of (x) resolutions of the financing committee of the Borrower’s board of directors authorizing or ratifying the execution and delivery of this Agreement, the Notes and the other Loan Documents, and authorizing the borrowings by the Borrower hereunder, (y) all documents evidencing other necessary corporate action and (z) all approvals, licenses or consents, if any, required in connection with the consummation of the transactions contemplated by this Agreement, the Notes and the other Loan Documents, or a statement that no such approvals, licenses or consents are so required."}
-{"idx": 12, "level": 4, "span": "(iii) Incumbency\nA certificate of the secretary or an assistant secretary of the Borrower certifying the names of the Borrower’s officers authorized to sign this Agreement, the Notes and all other Loan Documents to be delivered hereunder, together with the true signatures of such officers."}
-{"idx": 12, "level": 4, "span": "(iv) Waivers, Consents and Amendments\nCopies of all waivers and consents of all necessary or appropriate parties, in each case as may be reasonably required by the Lenders in connection with the transactions herein contemplated."}
-{"idx": 12, "level": 4, "span": "(v) Termination of Subordination Agreement\nA termination of the Amended and Restated Subordination Agreement dated as of June 24, 1994 executed and delivered by the Borrower in favor of the lenders party to the TCI Credit Agreement (as defined in Section 11.1(g))."}
-{"idx": 12, "level": 4, "span": "(vi) Opinion Letters\nFavorable opinion letters of (A) Intermodal Finance Law P.C., counsel to the Borrower, (B) Appleby (Bermuda) Limited, special Bermuda counsel to the Borrower, and (C) Mayer Brown LLP, New York counsel to the Administrative Agent, each covering such matters, in such form and having such content, as shall be reasonably acceptable to the Administrative Agent and its counsel."}
-{"idx": 12, "level": 4, "span": "(vii) Organizational Documents\nA certificate of the secretary or assistant secretary of the Borrower certifying as to and attaching the memorandum of association (including the certificate of incorporation of the Borrower) and bye-laws of the Borrower, including all amendments or restatements thereto, as in effect on the Restatement Effective Date."}
-{"idx": 12, "level": 4, "span": "(viii) Closing Certificate\nA certificate of an Authorized Signatory of the Borrower certifying (w) that all representations and warranties of the Borrower in this Agreement and the other Loan Documents are true and correct on the Restatement Effective Date, (x) that no Event of Default or Unmatured Event of Default exists or will result from the transactions contemplated to occur on the proposed Restatement Effective Date, (y) that since the date of the Audited Financial Statements, no event has occurred which has had a Material Adverse Effect and (z) the current S&P Rating."}
-{"idx": 12, "level": 3, "span": "(e) Financing Statements\nThe Administrative Agent shall have received evidence that all action has been taken with respect to the filing of Uniform Commercial Code financing statements and continuation statements necessary to perfect and maintain the Liens of the Collateral Agent under the Security and Intercreditor Agreement and the other Loan Documents in the appropriate jurisdictions."}
-{"idx": 12, "level": 3, "span": "(f) No Material Adverse Change\nThere shall not have occurred a material adverse change since December 31, 2015 in the business, assets, liabilities (actual or contingent), operations, condition (financial or otherwise) or prospects of the Borrower and its Subsidiaries taken as a whole or in the facts and information regarding such entities as represented to the Restatement Effective Date."}
-{"idx": 12, "level": 3, "span": "(g) TCI Credit Agreement\nThe Administrative Agent shall have received evidence that the lenders and the administrative agent under the Seventh Amended and Restated Credit Agreement dated as of November 9, 2011 (the “TCI Credit Agreement”) among TCI, the lenders party thereto, and Bank of America, N.A., as administrative agent, have assigned their rights and obligations under such Credit Agreement and received in full all amounts owed to them thereunder (from the assignee or TCI or both)."}
-{"idx": 12, "level": 3, "span": "(h) Rating\nThe Borrower shall have obtained an S&P Rating of at least BBB for the credit facility evidenced by this Agreement."}
-{"idx": 12, "level": 4, "span": "(i) Projections\nThe Administrative Agent shall have received projected financial statements for the Borrower through December 31, 2019."}
-{"idx": 12, "level": 3, "span": "(j) Other\nThe Administrative Agent and the Lenders shall have received such other documents, certifications or information as the Administrative Agent or any Lender may reasonably request."}
-{"idx": 12, "level": 3, "span": "(a) Default\nBefore and after giving effect to such Credit Extension, no Event of Default or Unmatured Event of Default shall have occurred and be continuing."}
-{"idx": 12, "level": 3, "span": "(b) Insurance\nThe Borrower shall be in compliance with all of its obligations under Section 10.6."}
-{"idx": 12, "level": 3, "span": "(c) Representations and Warranties\nBefore and after giving effect to such Credit Extension, the representations and warranties in Section 9, and in any other agreement or certification given by the Borrower or any Subsidiary or any officer thereof pursuant to this Agreement, shall be true and correct in all material respects as though made on the date of such Credit Extension. The Borrower further agrees that all of its representations and warranties set forth in the Security and Intercreditor Agreement shall be deemed to be representations and warranties made pursuant to Section 9, as though set forth therein for all purposes, including for purposes of this Section 11.2(c), provided that the representations and warranties set forth in Section 2.2 of the Security and Intercreditor Agreement may also be subject to a report regarding representations and warranties pursuant to Section 10.2(f) (subject to the limitations set forth in the proviso set forth in Section 10.2)."}
-{"idx": 12, "level": 3, "span": "(d) Request for Borrowing or Issuance Request\nThe Administrative Agent shall have received a Loan Request in accordance with Section 2.4 or an Issuance Request in accordance with Section 5.1."}
-{"idx": 12, "level": 3, "span": "(e) Certification\nThe Borrower shall have delivered to the Administrative Agent a certificate of the Borrower, signed on the Borrower’s behalf by its Authorized Signatory, as to the matters set out in Sections 11.2(a), (b) and (c). Each request for a Credit Extension, and the acceptance by the Borrower of the proceeds of any Borrowing, shall constitute a certification required by this clause (e) that on the date of such Credit Extension (both immediately before and after giving effect thereto) the statements made in Sections 11.2(a), (b) and (c) are true and correct."}
-{"idx": 12, "level": 3, "span": "(f) Borrowing Base Certificate\nThe Borrower shall have delivered to the Administrative Agent a duly completed and executed Borrowing Base Certificate (which may be the most recent Borrowing Base Certificate delivered by the Borrower pursuant to Section 10.1(f) or this Section 11.2(f)) demonstrating (a) that such Borrowing Base is sufficient to cover such Credit Extension after giving effect to such Credit Extension and (b) the effect of such Credit Extension on the Borrowing Base."}
-{"idx": 12, "level": 2, "span": "SECTION 12. EVENTS OF DEFAULT AND REMEDIES.\n12.1 Events of Default. Each of the following shall constitute an Event of Default under this Agreement:\n(a) Non-Payment. Default in the payment, when due, (i) of any principal of any Loan or Reimbursement Obligation; or (ii) of any interest on any Loan or Reimbursement Obligation or any fee or other amount payable hereunder and the continuance thereof for five days.\n(b) Non-Payment of other Indebtedness. Default in the payment when due, whether by acceleration or otherwise (subject to any applicable grace period), of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above).\n(c) Default or Acceleration of other Indebtedness. Any event or condition (other than any event described in Section 12.1(b) above) shall occur which results in the acceleration of the maturity of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above) or enables the holder or holders of such other Indebtedness or any trustee or agent for such holders (any required notice of default having been given and any applicable grace period having expired) to accelerate the maturity of such other Indebtedness.\n(d) Other Obligations. Default in the payment when due, whether by acceleration or otherwise, or in the performance or observance of (i) (subject to any applicable grace period) any obligation or agreement of the Borrower or any Restricted Subsidiary to or with any Lender (other than any obligation or agreement of the Borrower hereunder or under any Note or described in Section 12.1(b) or 12.1(c)) in excess of $5,000,000 individually or in the aggregate, and not arising from clerical oversight or being contested in good faith and with adequate reserves in accordance with GAAP, or (ii) (subject to any applicable grace period) any material obligation or agreement of the Borrower or any Restricted Subsidiary to or with any other Person (other than (x) any such material obligation or agreement constituting or related to Indebtedness, (y) accounts payable arising in the ordinary course of business or (z) any material obligation or agreement of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary), except only to the extent that the existence of any such default is being contested by the Borrower or such Restricted Subsidiary, as the case may be, in good faith and by appropriate proceedings and the Borrower or such Restricted Subsidiary shall have set aside on its books such reserves or other appropriate provisions therefor as may be required by GAAP.\n(e) Insolvency. The Borrower or any of its Restricted Subsidiaries becomes insolvent, or generally fails to pay, or admits in writing its inability to pay, its debts as they mature, or applies for, consents to, or acquiesces in the appointment of a trustee, receiver or other custodian for the Borrower or such Restricted Subsidiary or a substantial part of the property of the Borrower or such Restricted Subsidiary, or makes a general assignment for the benefit of creditors; or, in the absence of such application, consent or acquiescence, a trustee, receiver or other custodian is appointed for the Borrower or any of its Restricted Subsidiaries or for a substantial part of the property of the Borrower or any of its Restricted Subsidiaries and is not discharged within 60 days; or any proceeding under any Debtor Relief Law is instituted by or against the Borrower or any of its Restricted Subsidiaries and, if instituted against the Borrower or any of its Restricted Subsidiaries, is consented to or acquiesced in by the Borrower or such Restricted Subsidiary or remains for 60 days undismissed; or any warrant of attachment is issued against any substantial part of the property of the Borrower or any of its Restricted Subsidiaries which is not released within 60 days of service.\n(f) Pension Plans. A Termination Event occurs with respect to any Pension Plan if, at the time such Termination Event occurs, such Pension Plan’s then “vested liabilities” (as defined in section 3(25) of ERISA) would exceed the then value of such Pension Plan’s assets by an amount greater than 3% of Consolidated Tangible Net Worth as of such date and the Majority Lenders reasonably believe that such Termination Event may result in material liability to the Borrower.\n(g) Specific Defaults. Failure by the Borrower to comply with or perform any covenant set forth in Section 10.2(a), 10.5, 10.11 through 10.16, 10.19, 10.20, 10.21, 10.24, 10.25, 10.26, 10.27, 10.28, 10.29 or 10.30.\n(h) Other Defaults. Default in the performance of any of the Borrower’s agreements herein set forth (and not constituting an Event of Default under any of the other clauses of this Section 12.1) and continuance of such default for 30 days after the earlier of (a) the date upon which an Authorized Signatory of the Borrower or any Restricted Subsidiary knew or reasonably should have known of such default or (b) the date upon which notice thereof is given to the Borrower by the Administrative Agent or any Lender.\n(i) Obligations Under other Loan Documents. Default (subject to any applicable grace period) in the performance of any of the Borrower’s agreements set forth in the Security and Intercreditor Agreement or any other Loan Document (and not constituting an Event of Default under any of the other clauses of this Section 12.1).\n(j) Representations and Warranties. Any representation, warranty, certification or statement of fact made by the Borrower herein or in any other Loan Document is untrue in any material respect on the date made, or any schedule, statement, report, notice, certificate or other writing furnished by the Borrower to the Lenders is untrue in any material respect on the date as of which the facts set forth therein are stated or certified, or any certification made or deemed made by the Borrower to the Lenders is untrue in any material respect on or as of the date made or deemed made.\n(k) TCIL Change of Control. Any TCIL Change of Control shall occur.\n(l) Litigation. There shall be entered against the Borrower or any Restricted Subsidiary one or more judgments or decrees in excess of the greater of (x) $1,000,000 and (y) 3% of the Consolidated Tangible Net Worth in the aggregate at any one time outstanding (excluding any judgments or decrees (i) that shall have been outstanding less than 60 calendar days from the entry thereof or (ii) for and to the extent which the Borrower or such Restricted Subsidiary is insured and with respect to which the insurer has assumed responsibility therefor in writing or for and to the extent which such Person is otherwise indemnified if the terms of such indemnification are satisfactory to the Majority Lenders), and either (A) enforcement proceedings shall have been commenced by any creditor upon such judgment or order or (B) there shall be any period of 15 consecutive days during which a stay of enforcement of such judgment or order, by reason of a pending appeal or otherwise, shall not be in effect.\n(m) Security and Intercreditor Agreement; Intercreditor Collateral Agreement. There shall have occurred an Event of Default under, and as defined in, the Security and\nIntercreditor Agreement, or a breach by the Borrower of any of its obligations under the Intercreditor Collateral Agreement.\n(n) Impairment of Security, etc. Any Loan Document, or any Lien granted thereunder, shall (except in accordance with its terms), in whole or in part, terminate, cease to be effective or cease to be the legally valid, binding and enforceable obligation of any Person party thereto; the Borrower or any other Person shall, directly or indirectly, contest in any manner such effectiveness, validity, binding nature or enforceability; or any Lien securing any Liabilities shall, in whole or in part, cease to be a perfected first priority Lien, subject only to those exceptions expressly permitted by such Loan Document.\n12.2 Remedies. If any Event of Default described in Section 12.1 shall exist, the Administrative Agent may, or upon request of the Majority Lenders, shall (a) declare all or a portion of the Commitments to be terminated and/or all or a portion of the Loans and other Liabilities to be due and payable, whereupon to the extent so declared the Commitments shall immediately terminate and/or the outstanding Loans and other Liabilities shall become immediately due and payable, all without notice of any kind (except that if an event described in Section 12.1(e) occurs, the Commitments shall immediately terminate and all outstanding Loans and other Liabilities shall become immediately due and payable without declaration or notice of any kind) and/or (b) demand that the Borrower immediately deliver to the Administrative Agent Cash Collateral in an amount equal to all Letter of Credit Outstandings. The Administrative Agent shall promptly advise the Borrower of any such declaration, but failure to do so shall not impair the effect of such declaration. Without limiting the foregoing provisions of this Section 12.2, if an Event of Default exists, the Administrative Agent may exercise all rights and remedies available upon an Event of Default pursuant to any Loan Document and applicable law."}
-{"idx": 12, "level": 3, "span": "(a) Non-Payment\nDefault in the payment, when due, (i) of any principal of any Loan or Reimbursement Obligation; or (ii) of any interest on any Loan or Reimbursement Obligation or any fee or other amount payable hereunder and the continuance thereof for five days."}
-{"idx": 12, "level": 3, "span": "(b) Non-Payment of other Indebtedness\nDefault in the payment when due, whether by acceleration or otherwise (subject to any applicable grace period), of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above)."}
-{"idx": 12, "level": 3, "span": "(c) Default or Acceleration of other Indebtedness\nAny event or condition (other than any event described in Section 12.1(b) above) shall occur which results in the acceleration of the maturity of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above) or enables the holder or holders of such other Indebtedness or any trustee or agent for such holders (any required notice of default having been given and any applicable grace period having expired) to accelerate the maturity of such other Indebtedness."}
-{"idx": 12, "level": 3, "span": "(d) Other Obligations\nDefault in the payment when due, whether by acceleration or otherwise, or in the performance or observance of (i) (subject to any applicable grace period) any obligation or agreement of the Borrower or any Restricted Subsidiary to or with any Lender (other than any obligation or agreement of the Borrower hereunder or under any Note or described in Section 12.1(b) or 12.1(c)) in excess of $5,000,000 individually or in the aggregate, and not arising from clerical oversight or being contested in good faith and with adequate reserves in accordance with GAAP, or (ii) (subject to any applicable grace period) any material obligation or agreement of the Borrower or any Restricted Subsidiary to or with any other Person (other than (x) any such material obligation or agreement constituting or related to Indebtedness, (y) accounts payable arising in the ordinary course of business or (z) any material obligation or agreement of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary), except only to the extent that the existence of any such default is being contested by the Borrower or such Restricted Subsidiary, as the case may be, in good faith and by appropriate proceedings and the Borrower or such Restricted Subsidiary shall have set aside on its books such reserves or other appropriate provisions therefor as may be required by GAAP."}
-{"idx": 12, "level": 3, "span": "(e) Insolvency\nThe Borrower or any of its Restricted Subsidiaries becomes insolvent, or generally fails to pay, or admits in writing its inability to pay, its debts as they mature, or applies for, consents to, or acquiesces in the appointment of a trustee, receiver or other custodian for the Borrower or such Restricted Subsidiary or a substantial part of the property of the Borrower or such Restricted Subsidiary, or makes a general assignment for the benefit of creditors; or, in the absence of such application, consent or acquiescence, a trustee, receiver or other custodian is appointed for the Borrower or any of its Restricted Subsidiaries or for a substantial part of the property of the Borrower or any of its Restricted Subsidiaries and is not discharged within 60 days; or any proceeding under any Debtor Relief Law is instituted by or against the Borrower or any of its Restricted Subsidiaries and, if instituted against the Borrower or any of its Restricted Subsidiaries, is consented to or acquiesced in by the Borrower or such Restricted Subsidiary or remains for 60 days undismissed; or any warrant of attachment is issued against any substantial part of the property of the Borrower or any of its Restricted Subsidiaries which is not released within 60 days of service."}
-{"idx": 12, "level": 3, "span": "(f) Pension Plans\nA Termination Event occurs with respect to any Pension Plan if, at the time such Termination Event occurs, such Pension Plan’s then “vested liabilities” (as defined in section 3(25) of ERISA) would exceed the then value of such Pension Plan’s assets by an amount greater than 3% of Consolidated Tangible Net Worth as of such date and the Majority Lenders reasonably believe that such Termination Event may result in material liability to the Borrower."}
-{"idx": 12, "level": 3, "span": "(g) Specific Defaults\nFailure by the Borrower to comply with or perform any covenant set forth in Section 10.2(a), 10.5, 10.11 through 10.16, 10.19, 10.20, 10.21, 10.24, 10.25, 10.26, 10.27, 10.28, 10.29 or 10.30."}
-{"idx": 12, "level": 3, "span": "(h) Other Defaults\nDefault in the performance of any of the Borrower’s agreements herein set forth (and not constituting an Event of Default under any of the other clauses of this Section 12.1) and continuance of such default for 30 days after the earlier of (a) the date upon which an Authorized Signatory of the Borrower or any Restricted Subsidiary knew or reasonably should have known of such default or (b) the date upon which notice thereof is given to the Borrower by the Administrative Agent or any Lender."}
-{"idx": 12, "level": 4, "span": "(i) Obligations Under other Loan Documents\nDefault (subject to any applicable grace period) in the performance of any of the Borrower’s agreements set forth in the Security and Intercreditor Agreement or any other Loan Document (and not constituting an Event of Default under any of the other clauses of this Section 12.1)."}
-{"idx": 12, "level": 3, "span": "(j) Representations and Warranties\nAny representation, warranty, certification or statement of fact made by the Borrower herein or in any other Loan Document is untrue in any material respect on the date made, or any schedule, statement, report, notice, certificate or other writing furnished by the Borrower to the Lenders is untrue in any material respect on the date as of which the facts set forth therein are stated or certified, or any certification made or deemed made by the Borrower to the Lenders is untrue in any material respect on or as of the date made or deemed made."}
-{"idx": 12, "level": 3, "span": "(k) TCIL Change of Control\nAny TCIL Change of Control shall occur."}
-{"idx": 12, "level": 3, "span": "(l) Litigation\nThere shall be entered against the Borrower or any Restricted Subsidiary one or more judgments or decrees in excess of the greater of (x) $1,000,000 and (y) 3% of the Consolidated Tangible Net Worth in the aggregate at any one time outstanding (excluding any judgments or decrees (i) that shall have been outstanding less than 60 calendar days from the entry thereof or (ii) for and to the extent which the Borrower or such Restricted Subsidiary is insured and with respect to which the insurer has assumed responsibility therefor in writing or for and to the extent which such Person is otherwise indemnified if the terms of such indemnification are satisfactory to the Majority Lenders), and either (A) enforcement proceedings shall have been commenced by any creditor upon such judgment or order or (B) there shall be any period of 15 consecutive days during which a stay of enforcement of such judgment or order, by reason of a pending appeal or otherwise, shall not be in effect."}
-{"idx": 12, "level": 3, "span": "(m) Security and Intercreditor Agreement; Intercreditor Collateral Agreement\nThere shall have occurred an Event of Default under, and as defined in, the Security and"}
-{"idx": 12, "level": 3, "span": "(n) Impairment of Security, etc\nAny Loan Document, or any Lien granted thereunder, shall (except in accordance with its terms), in whole or in part, terminate, cease to be effective or cease to be the legally valid, binding and enforceable obligation of any Person party thereto; the Borrower or any other Person shall, directly or indirectly, contest in any manner such effectiveness, validity, binding nature or enforceability; or any Lien securing any Liabilities shall, in whole or in part, cease to be a perfected first priority Lien, subject only to those exceptions expressly permitted by such Loan Document."}
-{"idx": 12, "level": 2, "span": "SECTION 13. ADMINISTRATIVE AGENT.\n13.1 Appointment and Authority. Each of the Lenders and the Issuers hereby irrevocably appoints Bank of America to act on its behalf as the Administrative Agent hereunder and under the other Loan Documents and authorizes the Administrative Agent to take such actions on its behalf and to exercise such powers as are delegated to the Administrative Agent by the terms hereof or thereof, together with such actions and powers as are reasonably incidental thereto. The provisions of this Section are solely for the benefit of the Administrative Agent, the Lenders and the Issuers, and the Borrower shall not have rights as a third party beneficiary of any of such provisions. It is understood and agreed that the use of the term “agent” (or any similar term) herein or in any other Loan Document with reference to the Administrative Agent is not intended to connote any fiduciary or other implied (or express) obligations arising under agency doctrine of any applicable law. Instead, such term is used as a matter of market custom, and is intended to create or reflect only an administrative relationship between contracting parties.\n13.2 Non-Reliance on Administrative Agent. Each Lender and the Issuers acknowledges that it has, independently and without reliance upon the Administrative Agent or any other Lender or any of their Lender-Related Parties and based on such documents and information as it has deemed appropriate, made its own credit analysis and decision to enter into this Agreement. Each Lender and each Issuer also acknowledges that it will, independently and without reliance upon the Administrative Agent or any other Lender or any of their Lender-Related Parties and based on such documents and information as it shall from time to time deem appropriate, continue to make its own decisions in taking or not taking action under or based upon this Agreement, any other Loan Document or any related agreement or any document furnished hereunder or thereunder.\n13.3 Exculpatory Provisions. The Administrative Agent shall not have any duties or obligations except those expressly set forth herein and in the other Loan Documents, and its duties hereunder shall be administrative in nature. Without limiting the generality of the foregoing, the Administrative Agent:\n(a) shall not be subject to any fiduciary or other implied duties, regardless of whether an Event of Default or an Unmatured Event of Default has occurred and is continuing;\n(b) shall not have any duty to take any discretionary action or exercise any discretionary powers, except discretionary rights and powers expressly contemplated hereby or by the other Loan Documents that the Administrative Agent is required to exercise as directed in writing by the Majority Lenders (or such other number or percentage of the Lenders as shall be expressly provided for herein or in the other Loan Documents), provided that the Administrative Agent shall not be required to take any action that, in its opinion or the opinion of its counsel, may expose the Administrative Agent to liability or that is contrary to any Loan Document or applicable law, including for the avoidance of doubt any action that may be in violation of the automatic stay under any Debtor Relief Law or that may effect a forfeiture, modification or termination of property of a Defaulting Lender in violation of any Debtor Relief Law;\n(c) shall not, except as expressly set forth herein and in the other Loan Documents, have any duty to disclose, and shall not be liable for the failure to disclose, any information relating to the Borrower or any of its Related Parties that is communicated to or obtained by the Person serving as the Administrative Agent or any of its Affiliates in any capacity;\n(d) shall not be liable for any action taken or not taken by it (i) with the consent or at the request of the Majority Lenders (or such other number or percentage of the Lenders as shall be necessary, or as the Administrative Agent shall believe in good faith shall be necessary, under the circumstances as provided in Sections 15.2 and 12.2) or (ii) in the absence of its own gross negligence or willful misconduct as determined by a court of\ncompetent jurisdiction by final and nonappealable judgment. The Administrative Agent shall be deemed not to have knowledge of any Event of Default or Unmatured Event of Default unless and until notice describing such Event of Default or Unmatured Event of Default is given to the Administrative Agent in writing by the Borrower, a Lender or an Issuer; and\n(e) shall not be responsible for or have any duty to ascertain or inquire into (i) any statement, warranty or representation made in or in connection with this Agreement or any other Loan Document, (ii) the contents of any certificate, report or other document delivered hereunder or thereunder or in connection herewith or therewith, (iii) the performance or observance of any of the covenants, agreements or other terms or conditions set forth herein or therein or the occurrence of any Event of Default or an Unmatured Event of Default, (iv) the validity, enforceability, effectiveness or genuineness of this Agreement, any other Loan Document or any other agreement, instrument or document or (v) the satisfaction of any condition set forth in Section 11 or elsewhere herein, other than to confirm receipt of items expressly required to be delivered to the Administrative Agent.\n13.4 Rights as a Lender. The Person serving as the Administrative Agent hereunder shall have the same rights and powers in its capacity as a Lender as any other Lender and may exercise the same as though it were not the Administrative Agent and the term “Lender” or “Lenders” shall, unless otherwise expressly indicated or unless the context otherwise requires, include the Person serving as the Administrative Agent hereunder in its individual capacity. Such Person and its Affiliates may accept deposits from, lend money to, own securities of, act as the financial advisor or in any other advisory capacity for and generally engage in any kind of business with the Borrower or any Subsidiary or other Affiliate thereof as if such Person were not the Administrative Agent hereunder and without any duty to account therefor to the Lenders.\n13.5 Reliance by Administrative Agent. The Administrative Agent shall be entitled to rely upon, and shall not incur any liability for relying upon, any notice, request, certificate, consent, statement, instrument, document or other writing (including any electronic message, Internet or intranet website posting or other distribution) believed by it to be genuine and to have been signed, sent or otherwise authenticated by the proper Person. The Administrative Agent also may rely upon any statement made to it orally or by telephone and believed by it to have been made by the proper Person, and shall not incur any liability for relying thereon. In determining compliance with any condition hereunder to the making of a Loan, or the issuance, extension, renewal or increase of a Letter of Credit, that by its terms must be fulfilled to the satisfaction of a Lender or an Issuer, the Administrative Agent may presume that such condition is satisfactory to such Lender or such Issuer unless the Administrative Agent shall have received notice to the contrary from such Lender or such Issuer prior to the making of such Loan or the issuance of such Letter of Credit. The Administrative Agent may consult with legal counsel (who may be counsel for the Borrower), independent\naccountants and other experts selected by it, and shall not be liable for any action taken or not taken by it in accordance with the advice of any such counsel, accountants or experts.\n13.6 Resignation of Administrative Agent. (0) The Administrative Agent may at any time give notice of its resignation to the Lenders, the Issuers and the Borrower. Upon receipt of any such notice of resignation, the Majority Lenders shall have the right, in consultation with the Borrower, to appoint a successor, which shall be a bank with an office in the United States, or an Affiliate of any such bank with an office in the United States. If no such successor shall have been so appointed by the Majority Lenders and shall have accepted such appointment within 30 days after the retiring Administrative Agent gives notice of its resignation (or such earlier day as shall be agreed by the Required Lenders) (the “Resignation Effective Date”), then the retiring Administrative Agent may (but shall not be obligated to) on behalf of the Lenders and the Issuers, appoint a successor Administrative Agent meeting the qualifications set forth above; provided that in no event shall any such successor Administrative Agent be a Defaulting Lender. Whether or not a successor has been appointed, such resignation shall become effective in accordance with such notice on the Resignation Effective Date.\n(a) If the Person serving as Administrative Agent is a Defaulting Lender pursuant to clause (d) of the definition thereof, the Majority Lenders may, to the extent permitted by applicable law, by notice in writing to the Borrower and such Person remove such Person as Administrative Agent and, in consultation with the Borrower, appoint a successor. If no such successor shall have been so appointed by the Majority Lenders and shall have accepted such appointment within 30 days (or such earlier day as shall be agreed by the Required Lenders) (the “Removal Effective Date”), then such removal shall nonetheless become effective in accordance with such notice on the Removal Effective Date.\n(b) With effect from the Resignation Effective Date or the Removal Effective Date (as applicable) (1) the retiring or removed Administrative Agent shall be discharged from its duties and obligations hereunder and under the other Loan Documents (except that in the case of any collateral security held by the Administrative Agent on behalf of the Lenders or the Issuers under any of the Loan Documents, the retiring or removed Administrative Agent shall continue to hold such collateral security until such time as a successor Administrative Agent is appointed) and (2) except for any indemnity payments or other amounts then owed to the retiring or removed Administrative Agent, all payments, communications and determinations provided to be made by, to or through the Administrative Agent shall instead be made by or to each Lender and each Issuer directly, until such time, if any, as the Majority Lenders appoint a successor Administrative Agent as provided for above. Upon the acceptance of a successor’s appointment as Administrative Agent hereunder, such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring (or removed) Administrative Agent (other than as provided in Section 2.7 and other than any rights to indemnity payments or other amounts\nowed to the retiring or removed Administrative Agent as of the Resignation Effective Date or the Removal Effective Date, as applicable), and the retiring or removed Administrative Agent shall be discharged from all of its duties and obligations hereunder or under the other Loan Documents (if not already discharged therefrom as provided above in this Section). The fees payable by the Borrower to a successor Administrative Agent shall be the same as those payable to its predecessor unless otherwise agreed between the Borrower and such successor. After the retiring or removed Administrative Agent’s resignation or removal hereunder and under the other Loan Documents, the provisions of this Section and Section 15.5 shall continue in effect for the benefit of such retiring or removed Administrative Agent, its sub-agents and their respective Lender-Related Parties in respect of any actions taken or omitted to be taken by any of them while the retiring or removed Administrative Agent was acting as Administrative Agent.\n(c) Any resignation by Bank of America as Administrative Agent pursuant to this Section shall also constitute its resignation as Issuer. If Bank of America resigns as Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit outstanding as of the effective date of its resignation as an Issuer and all Letter of Credit Outstandings with respect thereto, including the right to require the Lenders to make Alternate Base Rate Loans or fund risk participations in unpaid and outstanding Reimbursement Obligations pursuant to Sections 5.4 and 5.5. Upon the appointment of a successor Issuer hereunder, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, (ii) the retiring Issuer shall be discharged from all of its duties and obligations hereunder or under the other Loan Documents, and (iii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit.\n13.7 Delegation of Duties. The Administrative Agent may perform any and all of its duties and exercise its rights and powers hereunder or under any other Loan Document by or through any one or more sub agents appointed by the Administrative Agent. The Administrative Agent and any such sub agent may perform any and all of its duties and exercise its rights and powers by or through their respective Lender-Related Parties. The exculpatory provisions of this Section shall apply to any such sub agent and to the Lender-Related Parties of the Administrative Agent and any such sub agent, and shall apply to their respective activities in connection with the syndication of the credit facilities provided for herein as well as activities as Administrative Agent. The Administrative Agent shall not be responsible for the negligence or misconduct of any sub-agent except to the extent that a court of competent jurisdiction determines in a final and non appealable judgment that the Administrative Agent acted with gross negligence or willful misconduct in the selection of such sub-agent.\n13.8 No other Duties, Etc. Anything herein to the contrary notwithstanding, none of the Joint Lead Arrangers, Book Runner, Syndication Agent or Documentation Agent listed on the cover page hereof shall have any powers, duties or responsibilities under this Agreement or any of the other Loan Documents, except in its capacity, as applicable, as the Administrative Agent, a Lender or an Issuer hereunder.\n13.9 Funding Reliance.\n(a) Unless the Administrative Agent shall have received notice from a Lender prior to the proposed date of any Borrowing of Eurodollar Rate Loans (or, in the case of any Borrowing of Alternate Base Rate Loans, prior to 10:30 a.m. on the date of such Borrowing) that such Lender will not make available to the Administrative Agent such Lender’s share of such Borrowing, the Administrative Agent may assume that such Lender has made such share available on such date in accordance with Section 2.4(c) (or, in the case of a Borrowing of Alternate Base Rate Loans, that such Lender has made such share available in accordance with and at the time required by Section 2.4(c)) and may, in reliance upon such assumption, make available to the Borrower a corresponding amount. In such event, if a Lender has not in fact made its share of the applicable Borrowing available to the Administrative Agent, then the applicable Lender and the Borrower severally agree to pay to the Administrative Agent forthwith on demand such corresponding amount in immediately available funds with interest thereon, for each day from the date such amount is made available to the Borrower to the date of payment to the Administrative Agent, at (i) in the case of a payment to be made by such Lender, the greater of the Federal Funds Rate and a rate determined by the Administrative Agent in accordance with banking industry rules on interbank compensation and (ii) in the case of a payment to be made by the Borrower, the interest rate applicable to Alternate Base Rate Loans. If the Borrower and such Lender shall pay such interest to the Administrative Agent for the same or an overlapping period, the Administrative Agent shall promptly remit to the Borrower the amount of such interest paid by the Borrower for such period. If such Lender pays its share of the applicable Borrowing to the Administrative Agent, then the amount so paid shall constitute such Lender’s Loan included in such Borrowing. Any payment by the Borrower shall be without prejudice to any claim the Borrower may have against a Lender that shall have failed to make such payment to the Administrative Agent.\n(b) Unless the Administrative Agent shall have received notice from the Borrower prior to the date on which any payment is due to the Administrative Agent for the account of the Lenders or the Issuers hereunder that the Borrower will not make such payment, the Administrative Agent may assume that the Borrower has made such payment on such date in accordance herewith and may, in reliance upon such assumption, distribute to the Lenders or the Issuers, as the case may be, the amount due. In such event, if the Borrower has not in fact made such payment, then each of the Lenders or the Issuers, as the\ncase may be, severally agrees to repay to the Administrative Agent forthwith on demand the amount so distributed to such Lender or such Issuer, in immediately available funds with interest thereon, for each day from the date such amount is distributed to it to the date of payment to the Administrative Agent, at the greater of the Federal Funds Rate and a rate determined by the Administrative Agent in accordance with banking industry rules on interbank compensation.\n(c) A notice of the Administrative Agent to any Lender or the Borrower with respect to any amount owing under this Section 13.9 shall be conclusive, absent manifest error.\n13.10 Administrative Agent may File Proofs of Claim. In case of the pendency of any proceeding under any Debtor Relief Law or other judicial proceeding relative to the Borrower or any Subsidiary, the Administrative Agent (irrespective of whether the principal of any Loan or Reimbursement Obligation shall then be due and payable as herein expressed or by declaration or otherwise and irrespective of whether the Administrative Agent shall have made any demand on the Borrower) shall be entitled and empowered, by intervention in such proceeding or otherwise:\n(a) to file and prove a claim for the whole amount of the principal and interest owing and unpaid in respect of the Loans, Reimbursement Obligations and all other Liabilities that are owing and unpaid and to file such other documents as may be necessary or advisable in order to have the claims of the Lenders, the Issuers and the Administrative Agent (including any claim for the reasonable compensation, expenses, disbursements and advances of the Lenders, the Issuers and the Administrative Agent and their respective agents and counsel and all other amounts due the Lenders, the Issuers and the Administrative Agent under Sections 4.3, 4.4, 4.5, 4.6 and 15.5) allowed in such judicial proceeding; and\n(b) to collect and receive any monies or other property payable or deliverable on any such claims and to distribute the same;\nand any custodian, receiver, assignee, trustee, liquidator, sequestrator or other similar official in any such judicial proceeding is hereby authorized by each Lender and each Issuer to make such payments to the Administrative Agent and, in the event that the Administrative Agent shall consent to the making of such payments directly to the Lenders and the Issuers, to pay to the Administrative Agent any amount due for the reasonable compensation, expenses, disbursements and advances of the Administrative Agent and its agents and counsel, and any other amounts due the Administrative Agent under Sections 4.5, 4.6 and 15.5.\nNothing contained herein shall be deemed to authorize the Administrative Agent to authorize or consent to or accept or adopt on behalf of any Lender or any Issuer any plan of reorganization, arrangement, adjustment or composition affecting the Liabilities or the rights of any Lender or to\nauthorize the Administrative Agent to vote in respect of the claim of any Lender in any such proceeding."}
-{"idx": 12, "level": 3, "span": "(a) shall not be subject to any fiduciary or other implied duties, regardless of whether an Event of Default or an Unmatured Event of Default has occurred and is continuing;"}
-{"idx": 12, "level": 3, "span": "(b) shall not have any duty to take any discretionary action or exercise any discretionary powers, except discretionary rights and powers expressly contemplated hereby or by the other Loan Documents that the Administrative Agent is required to exercise as directed in writing by the Majority Lenders (or such other number or percentage of the Lenders as shall be expressly provided for herein or in the other Loan Documents), provided that the Administrative Agent shall not be required to take any action that, in its opinion or the opinion of its counsel, may expose the Administrative Agent to liability or that is contrary to any Loan Document or applicable law, including for the avoidance of doubt any action that may be in violation of the automatic stay under any Debtor Relief Law or that may effect a forfeiture, modification or termination of property of a Defaulting Lender in violation of any Debtor Relief Law;"}
-{"idx": 12, "level": 3, "span": "(c) shall not, except as expressly set forth herein and in the other Loan Documents, have any duty to disclose, and shall not be liable for the failure to disclose, any information relating to the Borrower or any of its Related Parties that is communicated to or obtained by the Person serving as the Administrative Agent or any of its Affiliates in any capacity;"}
-{"idx": 12, "level": 3, "span": "(d) shall not be liable for any action taken or not taken by it (i) with the consent or at the request of the Majority Lenders (or such other number or percentage of the Lenders as shall be necessary, or as the Administrative Agent shall believe in good faith shall be necessary, under the circumstances as provided in Sections 15.2 and 12.2) or (ii) in the absence of its own gross negligence or willful misconduct as determined by a court of"}
-{"idx": 12, "level": 3, "span": "(e) shall not be responsible for or have any duty to ascertain or inquire into (i) any statement, warranty or representation made in or in connection with this Agreement or any other Loan Document, (ii) the contents of any certificate, report or other document delivered hereunder or thereunder or in connection herewith or therewith, (iii) the performance or observance of any of the covenants, agreements or other terms or conditions set forth herein or therein or the occurrence of any Event of Default or an Unmatured Event of Default, (iv) the validity, enforceability, effectiveness or genuineness of this Agreement, any other Loan Document or any other agreement, instrument or document or (v) the satisfaction of any condition set forth in Section 11 or elsewhere herein, other than to confirm receipt of items expressly required to be delivered to the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(a) If the Person serving as Administrative Agent is a Defaulting Lender pursuant to clause (d) of the definition thereof, the Majority Lenders may, to the extent permitted by applicable law, by notice in writing to the Borrower and such Person remove such Person as Administrative Agent and, in consultation with the Borrower, appoint a successor\nIf no such successor shall have been so appointed by the Majority Lenders and shall have accepted such appointment within 30 days (or such earlier day as shall be agreed by the Required Lenders) (the “Removal Effective Date”), then such removal shall nonetheless become effective in accordance with such notice on the Removal Effective Date."}
-{"idx": 12, "level": 3, "span": "(b) With effect from the Resignation Effective Date or the Removal Effective Date (as applicable) (1) the retiring or removed Administrative Agent shall be discharged from its duties and obligations hereunder and under the other Loan Documents (except that in the case of any collateral security held by the Administrative Agent on behalf of the Lenders or the Issuers under any of the Loan Documents, the retiring or removed Administrative Agent shall continue to hold such collateral security until such time as a successor Administrative Agent is appointed) and (2) except for any indemnity payments or other amounts then owed to the retiring or removed Administrative Agent, all payments, communications and determinations provided to be made by, to or through the Administrative Agent shall instead be made by or to each Lender and each Issuer directly, until such time, if any, as the Majority Lenders appoint a successor Administrative Agent as provided for above\nUpon the acceptance of a successor’s appointment as Administrative Agent hereunder, such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring (or removed) Administrative Agent (other than as provided in Section 2.7 and other than any rights to indemnity payments or other amounts"}
-{"idx": 12, "level": 3, "span": "(c) Any resignation by Bank of America as Administrative Agent pursuant to this Section shall also constitute its resignation as Issuer\nIf Bank of America resigns as Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit outstanding as of the effective date of its resignation as an Issuer and all Letter of Credit Outstandings with respect thereto, including the right to require the Lenders to make Alternate Base Rate Loans or fund risk participations in unpaid and outstanding Reimbursement Obligations pursuant to Sections 5.4 and 5.5. Upon the appointment of a successor Issuer hereunder, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, (ii) the retiring Issuer shall be discharged from all of its duties and obligations hereunder or under the other Loan Documents, and (iii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit."}
-{"idx": 12, "level": 3, "span": "(a) Unless the Administrative Agent shall have received notice from a Lender prior to the proposed date of any Borrowing of Eurodollar Rate Loans (or, in the case of any Borrowing of Alternate Base Rate Loans, prior to 10:30 a.m\non the date of such Borrowing) that such Lender will not make available to the Administrative Agent such Lender’s share of such Borrowing, the Administrative Agent may assume that such Lender has made such share available on such date in accordance with Section 2.4(c) (or, in the case of a Borrowing of Alternate Base Rate Loans, that such Lender has made such share available in accordance with and at the time required by Section 2.4(c)) and may, in reliance upon such assumption, make available to the Borrower a corresponding amount. In such event, if a Lender has not in fact made its share of the applicable Borrowing available to the Administrative Agent, then the applicable Lender and the Borrower severally agree to pay to the Administrative Agent forthwith on demand such corresponding amount in immediately available funds with interest thereon, for each day from the date such amount is made available to the Borrower to the date of payment to the Administrative Agent, at (i) in the case of a payment to be made by such Lender, the greater of the Federal Funds Rate and a rate determined by the Administrative Agent in accordance with banking industry rules on interbank compensation and (ii) in the case of a payment to be made by the Borrower, the interest rate applicable to Alternate Base Rate Loans. If the Borrower and such Lender shall pay such interest to the Administrative Agent for the same or an overlapping period, the Administrative Agent shall promptly remit to the Borrower the amount of such interest paid by the Borrower for such period. If such Lender pays its share of the applicable Borrowing to the Administrative Agent, then the amount so paid shall constitute such Lender’s Loan included in such Borrowing. Any payment by the Borrower shall be without prejudice to any claim the Borrower may have against a Lender that shall have failed to make such payment to the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(b) Unless the Administrative Agent shall have received notice from the Borrower prior to the date on which any payment is due to the Administrative Agent for the account of the Lenders or the Issuers hereunder that the Borrower will not make such payment, the Administrative Agent may assume that the Borrower has made such payment on such date in accordance herewith and may, in reliance upon such assumption, distribute to the Lenders or the Issuers, as the case may be, the amount due\nIn such event, if the Borrower has not in fact made such payment, then each of the Lenders or the Issuers, as the"}
-{"idx": 12, "level": 3, "span": "(c) A notice of the Administrative Agent to any Lender or the Borrower with respect to any amount owing under this Section 13.9 shall be conclusive, absent manifest error."}
-{"idx": 12, "level": 3, "span": "(a) to file and prove a claim for the whole amount of the principal and interest owing and unpaid in respect of the Loans, Reimbursement Obligations and all other Liabilities that are owing and unpaid and to file such other documents as may be necessary or advisable in order to have the claims of the Lenders, the Issuers and the Administrative Agent (including any claim for the reasonable compensation, expenses, disbursements and advances of the Lenders, the Issuers and the Administrative Agent and their respective agents and counsel and all other amounts due the Lenders, the Issuers and the Administrative Agent under Sections 4.3, 4.4, 4.5, 4.6 and 15.5) allowed in such judicial proceeding; and"}
-{"idx": 12, "level": 3, "span": "(b) to collect and receive any monies or other property payable or deliverable on any such claims and to distribute the same;"}
-{"idx": 12, "level": 2, "span": "SECTION 14. RESTATEMENT OF EXISTING CREDIT AGREEMENT.\n14.1 Restatement; Reallocation.\n(a) Effective on the Restatement Effective Date (i) the Existing Credit Agreement shall be deemed to be restated in the form hereof (except such provisions thereof which by their terms survive any termination thereof (without duplicating the obligations of the Borrower under this Agreement)), (ii) each “Letter of Credit” outstanding under the Existing Credit Agreement shall be deemed to be a Letter of Credit hereunder and (iii) the Commitments of the Lenders shall be reallocated in accordance with the terms hereof and each Lender shall have a direct or participation share equal to its Percentage of all outstanding Credit Extensions (including each of the Letters of Credit referred to in clause (ii) above). The Borrower, the Administrative Agent and the Original Lenders hereby agree that the Borrower will pay, on the Restatement Effective Date, all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to the Original Lenders under the Existing Credit Agreement.\n(b) To facilitate the reallocation described in clause (a) above, on the Restatement Effective Date, (i) all revolving loans under the Existing Credit Agreement shall be deemed to be Loans hereunder, (ii) each Lender that is a party to the Existing Credit Agreement shall transfer to the Administrative Agent an amount equal to the excess, if any, of such Lender’s Percentage of all outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date) over the amount of all of such Lender’s loans under the Existing Credit Agreement, (iii) the Administrative Agent shall apply the funds received from the Lenders pursuant to clause (ii) above, first, on behalf of the Lenders (pro rata according to the amount of the loans each is required to purchase to achieve the reallocation described in clause (a)), to purchase from each Exiting Lender the loans of such Exiting Lender under the Existing Credit Agreement (and, if applicable, to purchase from any Original Lender that is a party hereto but which has loans under the Existing Credit Agreement in excess of such Lender’s Percentage of all then-outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date), a portion of such loans equal to such excess), second, to pay to each Original Lender all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to such Original Lender under the Existing Credit Agreement (whether or not\notherwise then due) and, third, as the Borrower shall direct, and (iv) the Borrower shall select new Interest Periods to apply to all Loans hereunder (or, to the extent the Borrower fails to do so, such Loans shall become Alternate Base Rate Loans).\n14.2 Deletion of Lenders. On the Restatement Effective Date, each Exiting Lender shall cease to be a “Lender” under and for all purposes of the Existing Credit Agreement as amended and restated by this Agreement and shall have no rights or obligations thereunder, except for (a) rights to receive payment of indemnities, reimbursements and other similar amounts from the Borrower (including rights under Section 15.5 of the Existing Credit Agreement), and (b) obligations to indemnify, reimburse or make payment to the Administrative Agent, any Lender or the Borrower with respect to actions, failures to act, conditions, circumstances or events on or prior to the date of such effectiveness.\n14.3 Non-Recourse to Original Lenders; No Warranty or Representations; Independent Credit Analysis. The payments to any of the Original Lenders and the borrowings from any other Original Lender specified in Section 14.1 shall be without recourse to the Administrative Agent, any of the Original Lenders, any of their respective Affiliates or any of their respective officers, directors, agents or employees."}
-{"idx": 12, "level": 3, "span": "(a) Effective on the Restatement Effective Date (i) the Existing Credit Agreement shall be deemed to be restated in the form hereof (except such provisions thereof which by their terms survive any termination thereof (without duplicating the obligations of the Borrower under this Agreement)), (ii) each “Letter of Credit” outstanding under the Existing Credit Agreement shall be deemed to be a Letter of Credit hereunder and (iii) the Commitments of the Lenders shall be reallocated in accordance with the terms hereof and each Lender shall have a direct or participation share equal to its Percentage of all outstanding Credit Extensions (including each of the Letters of Credit referred to in clause (ii) above)\nThe Borrower, the Administrative Agent and the Original Lenders hereby agree that the Borrower will pay, on the Restatement Effective Date, all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to the Original Lenders under the Existing Credit Agreement."}
-{"idx": 12, "level": 3, "span": "(b) To facilitate the reallocation described in clause (a) above, on the Restatement Effective Date, (i) all revolving loans under the Existing Credit Agreement shall be deemed to be Loans hereunder, (ii) each Lender that is a party to the Existing Credit Agreement shall transfer to the Administrative Agent an amount equal to the excess, if any, of such Lender’s Percentage of all outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date) over the amount of all of such Lender’s loans under the Existing Credit Agreement, (iii) the Administrative Agent shall apply the funds received from the Lenders pursuant to clause (ii) above, first, on behalf of the Lenders (pro rata according to the amount of the loans each is required to purchase to achieve the reallocation described in clause (a)), to purchase from each Exiting Lender the loans of such Exiting Lender under the Existing Credit Agreement (and, if applicable, to purchase from any Original Lender that is a party hereto but which has loans under the Existing Credit Agreement in excess of such Lender’s Percentage of all then-outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date), a portion of such loans equal to such excess), second, to pay to each Original Lender all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to such Original Lender under the Existing Credit Agreement (whether or not"}
-{"idx": 12, "level": 2, "span": "SECTION 15. GENERAL.\n15.1 No Waiver; Cumulative Remedies; Enforcement. No failure by any Lender, any Issuer or the Administrative Agent to exercise, and no delay by any such Person in exercising, any right, remedy, power or privilege hereunder or under any other Loan Document shall operate as a waiver thereof; nor shall any single or partial exercise of any right, remedy, power or privilege hereunder preclude any other or further exercise thereof or the exercise of any other right, remedy, power or privilege. The rights, remedies, powers and privileges herein provided, and provided under each other Loan Document, are cumulative and not exclusive of any rights, remedies, powers and privileges provided by law.\n15.2 Waivers and Amendments.\n(a) Generally. Except as otherwise specifically provided for in this Agreement, no amendment, modification or waiver of, or consent with respect to, any provision of this Agreement, the Notes or any other Loan Document shall in any event be effective unless the same shall be in writing and signed and delivered by the Majority Lenders and acknowledged by the Administrative Agent, and then any such amendment, modification, waiver or consent shall be effective only in the specific instance and for the specific purpose for which given; provided that no amendment, waiver or consent shall:\n(i) unless consented to by each Lender affected thereby, (A) increase or extend a Commitment of any Lender or subject any Lender to any additional\nobligation, (B) reduce the principal of, or interest on, any Loan or any fee or other Liability payable hereunder or (C) postpone any date fixed for any payment of principal of, or interest on, any Loan or any fee or other Liability hereunder,\n(ii) unless consented to by each Lender, (A) waive any condition specified in Section 11.1, (B) change the Percentages or the aggregate unpaid principal amount of the Loans, or the number of Lenders which shall be required to take action hereunder, or the definition of “Majority Lenders” or (C) change any provision of this Section 15.2 or\n(iii) unless consented to by Lenders having aggregate Percentages of 66 2/3% or more, amend any provision of this Agreement that would affect the amount of the Borrowing Base in a manner adverse to the Lenders. No provision of this Agreement (including Section 13) or of any other Loan Document which relates to the rights or duties of the Administrative Agent shall be amended, modified or waived without the written consent of the Administrative Agent, and no provision of this Agreement or any other Loan Document relating to the rights or duties of any Issuer in its capacity as such shall be amended, modified or waived without the written consent of such Issuer.\nNotwithstanding anything to the contrary herein, no Defaulting Lender shall have any right to approve or disapprove any amendment, waiver or consent hereunder (and any amendment, waiver or consent which by its terms requires the consent of all Lenders or each affected Lender may be effected with the consent of the applicable Lenders other than Defaulting Lenders), except that (x) the Commitment of any Defaulting Lender may not be increased or extended without the consent of such Lender and (y) any waiver, amendment or modification requiring the consent of all Lenders or each affected Lender that by its terms affects any Defaulting Lender disproportionately adversely relative to other affected Lenders shall require the consent of such Defaulting Lender.\n(b) Most Favored Lending Status. If at any time the Borrower is a party to any agreement, instrument or other document relating to Indebtedness of the Borrower that has an aggregate principal amount of at least $20,000,000 (any such agreement, instrument or other document, or amendment, restatement, supplement or other modification thereto, a “More Favorable Lending Agreement”), which agreement, instrument or other document includes any financial covenant (whether affirmative or negative and whether maintenance or incurrence) that is more restrictive on the Borrower than the financial covenants of this Agreement or that is not provided for in this Agreement (any such covenant, a “More Favorable Provision”), then the Borrower shall promptly, and in any event within five Business Days after becoming party to such More Favorable Lending Agreement, notify the Administrative Agent (which shall promptly advise each Lender) of such More Favorable\nLending Agreement. Such notice shall include a verbatim statement of each More Favorable Provision in such More Favorable Lending Agreement. Thereupon, unless waived in writing by the Majority Lenders within five Business Days after the Administrative Agent’s receipt of such notice, each such More Favorable Provision, including any subsequent loosening thereof (but not to levels less restrictive than those that would otherwise be in effect if it were not for the operation of this Section 15.2(b)), shall be deemed incorporated by reference in this Agreement as if set forth fully herein, mutatis mutandis, effective as of the date when such More Favorable Provision (or loosening thereof in accordance with the foregoing parenthetical, as applicable) became effective under such More Favorable Lending Agreement (any More Favorable Provision incorporated herein or subsequently loosened, as applicable, an “Incorporated Provision”). No Incorporated Provision may be waived, amended or modified without the written consent of the Majority Lenders. Thereafter, upon the request of the Majority Lenders, the Borrower and the Majority Lenders shall enter into an amendment to this Agreement evidencing the incorporation of such Incorporated Provision substantially as provided for in such More Favorable Lending Agreement; provided that no such amendment shall in any way be required to make any Incorporated Provision effective. Each Incorporated Provision shall (i) remain unchanged herein notwithstanding any subsequent waiver, amendment or other modification of the More Favorable Lending Agreement giving rise to such Incorporated Provision (except to the extent that an amendment or other modification results in such provision being more restrictive than such Incorporated Provision or less restrictive but only to the extent that such loosening would not fall below the levels that would otherwise be in effect if it were not for the operation of this Section 15.2(b), in which case such Incorporated Provision shall be amended or modified to become equally restrictive or less restrictive, as applicable) and (ii) be deemed deleted from this Agreement at such time as the applicable More Favorable Lending Agreement is fully terminated and no amounts are outstanding thereunder so long as, at the time of such termination, no Event of Default or Unmatured Event of Default exists.\n15.3 Notices.\n(a) Notices Generally. Except as otherwise expressly provided herein, any notice hereunder to the Borrower, the Administrative Agent, any Issuer or any Lender shall be in writing (including facsimile communication) and shall be given (i) if to the Borrower or the Administrative Agent, at its address or facsimile number set forth on Schedule 10.2, and (ii) if to any Lender or any Issuer, at its address or facsimile number set forth in its Administrative Questionnaire or, in each case, at such other address or facsimile number as the recipient may, by written notice, designate as its address or facsimile number for purposes of notices hereunder. All such notices shall be deemed to be given when transmitted by facsimile, when personally delivered or, in the case of a mailed notice, when sent by registered or certified mail, postage prepaid, in each case addressed as specified in this Section 15.3;\nprovided that notices to the Administrative Agent under Section 2, Section 6 and this Section 15.3 shall not be effective until actually received by the Administrative Agent.\n(b) Electronic Communications. Notices and other communications to the Lenders and the Issuers hereunder may be delivered or furnished by electronic communication (including e-mail, FpML messaging, and Internet or intranet websites) pursuant to procedures approved by the Administrative Agent, provided that the foregoing shall not apply to notices to any Lender or any Issuer pursuant to Section 2 if such Lender or such Issuer, as applicable, has notified the Administrative Agent that it is incapable of receiving notices under such Article by electronic communication. The Administrative Agent, the Issuers or the Borrower may each, in its discretion, agree to accept notices and other communications to it hereunder by electronic communications pursuant to procedures approved by it, provided that approval of such procedures may be limited to particular notices or communications.\nUnless the Administrative Agent otherwise prescribes, (i) notices and other communications sent to an e-mail address shall be deemed received upon the sender’s receipt of an acknowledgement from the intended recipient (such as by the “return receipt requested” function, as available, return e-mail or other written acknowledgement), and (ii) notices or communications posted to an Internet or intranet website shall be deemed received upon the deemed receipt by the intended recipient at its e-mail address as described in the foregoing clause (i) of notification that such notice or communication is available and identifying the website address therefor; provided that if such notice or other communication is not sent during the normal business hours of the recipient, such notice or communication shall be deemed to have been sent at the opening of business on the next business day for the recipient.\n(c) The Platform. The Borrower hereby acknowledges that the Administrative Agent and/or the Joint Lead Arrangers may, but shall not be obligated to, make available to the Lenders and the Issuers materials and/or information provided by or on behalf of the Borrower hereunder (collectively, “Borrower Materials”) by posting the Borrower Materials on IntraLinks, Syndtrak, ClearPar or a substantially similar electronic transmission system (the “Platform”). THE PLATFORM IS PROVIDED “AS IS” AND “AS AVAILABLE”. THE ADMINISTRATIVE AGENT PARTIES (AS DEFINED BELOW) DO NOT WARRANT THE ACCURACY OR COMPLETENESS OF THE BORROWER MATERIALS OR THE ADEQUACY OF THE PLATFORM, AND EXPRESSLY DISCLAIM LIABILITY FOR ERRORS IN OR OMISSIONS FROM THE BORROWER MATERIALS. NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OF THIRD PARTY RIGHTS OR FREEDOM FROM VIRUSES OR OTHER CODE DEFECTS, IS MADE BY ANY ADMINISTRATIVE AGENT PARTY IN CONNECTION WITH THE BORROWER\nMATERIALS OR THE PLATFORM. In no event shall the Administrative Agent or any of its Lender-Related Parties (collectively, the “Administrative Agent Parties”) have any liability to the Borrower, any Lender, any Issuer or any other Person for losses, claims, damages, liabilities or expenses of any kind (whether in tort, contract or otherwise) arising out of the Borrower’s or the Administrative Agent’s transmission of Borrower Materials or notices through the Platform, through any other electronic platform or electronic messaging service or through the Internet.\n(d) Reliance by the Administrative Agent, the Issuers and the Lenders. The Administrative Agent, the Issuers and the Lenders shall be entitled to rely and act upon any notices (including telephonic notices, Loan Requests, and Issuance Requests) purportedly given by or on behalf of the Borrower even if (i) such notices were not made in a manner specified herein, were incomplete or were not preceded or followed by any other form of notice specified herein, or (ii) the terms thereof, as understood by the recipient, varied from any confirmation thereof. The Borrower shall indemnify the Administrative Agent, each Issuer, each Lender and the Lender-Related Parties of each of them from all losses, costs, expenses and liabilities resulting from the reliance by such Person on each notice purportedly given by or on behalf of the Borrower. All telephonic notices to and other telephonic communications with the Administrative Agent may be recorded by the Administrative Agent, and each of the parties hereto hereby consents to such recording.\n15.4 USA Patriot Act Notice. Each of the Administrative Agent and the Lenders hereby notify the Borrower that pursuant to the requirements of the USA Patriot Act (Title III of Pub.L. 107-56 (signed into law October 26, 2001)) (the “Act”), it is required to obtain, verify and record information that identifies the Borrower, which information includes the name and address of the Borrower and other information that will allow the Administrative Agent or the Lenders, as applicable, to identify the Borrower in accordance with the Act. The Borrower shall, promptly following a request by the Administrative Agent or any Lender, provide all documentation and other information that the Administrative Agent or such Lender requests in order to comply with its ongoing obligations under applicable “know your customer” and anti-money laundering rules and regulations, including the Act.\n15.5 Expenses; Indemnity; Damage Waiver.\n(a) The Borrower shall pay (i) all reasonable out of pocket expenses incurred by the Administrative Agent and its Affiliates (including the reasonable fees, charges and disbursements of counsel for the Administrative Agent (including the reasonable fees, charges and disbursements of in-house counsel, provided such fees and expenses are set forth in reasonable and appropriate detail) and of local counsel, if any, who may be retained by such counsel)), in connection with the syndication of the credit facilities provided for herein, the preparation, negotiation, execution, delivery and administration of this\nAgreement and the other Loan Documents or any amendments, modifications or waivers of the provisions hereof or thereof (whether or not the transactions contemplated hereby or thereby shall be consummated), (ii) all reasonable out of pocket expenses incurred by each Issuer in connection with the issuance, amendment, renewal or extension of any Letter of Credit or any demand for payment thereunder, (iii) all out of pocket expenses incurred by the Administrative Agent, any Lender or any Issuer (including the fees, charges and disbursements of any counsel for the Administrative Agent, any Lender or any Issuer (including reasonable fees, charges and disbursements of in-house counsel of the Administrative Agent, such Lender or such Issuer, provided such fees, charges and disbursements are set forth in reasonable and appropriate detail)) in connection with the enforcement or protection of its rights (A) in connection with this Agreement and the other Loan Documents, including its rights under this Section, or (B) in connection with the Loans made or Letters of Credit issued hereunder, including all such out of pocket expenses incurred during any workout, restructuring or negotiations in respect of such Loans or Letters of Credit, and (iv) any civil penalty or fine assessed by OFAC against, and all reasonable costs and expenses (including counsel fees and disbursements) incurred in connection with defense thereof, by the Administrative Agent or any Lender as a result of conduct of the Borrower that violates a sanction enforced by OFAC.\n(b) The Borrower shall indemnify the Administrative Agent (and any subagent thereof), each Lender, each Issuer and each Lender-Related Party of any of the foregoing Persons (each such Person, an “Indemnitee”) against, and hold each Indemnitee harmless from, any and all losses, claims, damages, liabilities and related expenses (including the fees, charges and disbursements of any counsel for any Indemnitee (including the fees and time charges and disbursements for in-house counsel to such Indemnitee, provided such fees and time charges are set forth in reasonable detail)), incurred by any Indemnitee or asserted against any Indemnitee by any Person (including the Borrower but excluding such Indemnitee and its Lender-Related Parties) arising out of, in connection with, or as a result of (i) the execution or delivery of this Agreement, any other Loan Document or any agreement or instrument contemplated hereby or thereby, the performance by the parties hereto of their respective obligations hereunder or thereunder, the consummation of the transactions contemplated hereby or thereby, or, in the case of the Administrative Agent (and any sub-agent thereof) and its Lender-Related Parties only, the administration of this Agreement and the other Loan Documents, (ii) any Loan or Letter of Credit or the use or proposed use of the proceeds therefrom (including any refusal by any 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), (iii) any actual or alleged presence or release of Hazardous Materials on or from any property owned or operated by the Borrower or any of its Subsidiaries, or any other liability under any Environmental Law related in any way to the Borrower or any of its Subsidiaries, or (iv) any actual or prospective claim,\nlitigation, investigation or proceeding relating to any of the foregoing, whether based on contract, tort or any other theory, whether brought by a third party or by the Borrower, and regardless of whether any Indemnitee is a party thereto; provided that such indemnity shall not, as to any Indemnitee, be available to the extent that such losses, claims, damages, liabilities or related expenses (x) are determined by a court of competent jurisdiction by final and nonappealable judgment to have resulted from the gross negligence or willful misconduct of such Indemnitee or (y) result from a claim brought by the Borrower against an Indemnitee for breach in bad faith of such Indemnitee’s obligations hereunder or under any other Loan Document, if the Borrower has obtained a final and nonappealable judgment in its favor on such claim as determined by a court of competent jurisdiction.\n(c) To the extent that the Borrower for any reason fails to indefeasibly pay any amount required under clause (a) or (b) above to be paid by it to the Administrative Agent (or any sub-agent thereof), any Issuer or any Lender-Related Party of any of the foregoing, each Lender severally agrees to pay to the Administrative Agent (or any such sub-agent), such Issuer or such Lender-Related Party, as the case may be, such Lender’s pro rata share (determined as of the time that the applicable unreimbursed expense or indemnity payment is sought based on each Lender’s Percentage at such time) of such unpaid amount (including any such unpaid amount in respect of a claim asserted by such Lender), provided, further, that the unreimbursed expense or indemnified loss, claim, damage, liability or related expense, as the case may be, was incurred by or asserted against the Administrative Agent (or any such sub-agent) or any Issuer in its capacity as such, or against any Lender-Related Party of any of the foregoing acting for the Administrative Agent (or any such sub-agent) or any Issuer in connection with such capacity. The obligations of the Lenders under this clause (c) are several and not joint.\n(d) To the fullest extent permitted by applicable law, the Borrower shall not assert, and hereby waives, and acknowledges that no other Person shall have, any claim against any Indemnitee, on any theory of liability, for special, indirect, consequential or punitive damages (as opposed to direct or actual damages) arising out of, in connection with, or as a result of, this Agreement, any other Loan Document or any agreement or instrument contemplated hereby, the transactions contemplated hereby or thereby, any Loan or Letter of Credit or the use of the proceeds thereof. No Indemnitee referred to in clause (b) above shall be liable for any damages arising from the use by unintended recipients of any information or other materials distributed by it through telecommunications, electronic or other information transmission systems in connection with this Agreement or the other Loan Documents or the transactions contemplated hereby or thereby.\n(e) All amounts due under this Section shall be payable on demand.\n(f) The agreements in this Section and the indemnity provisions in Section 15.3(d) shall survive the resignation of the Administrative Agent and Bank of America in its capacity as an Issuer, the replacement of any Lender, the termination of the Commitments and the repayment, satisfaction or discharge of all the other obligations of the Borrower under this Agreement and the other Loan Documents.\n15.6 Governing Law; Entire Agreement. THIS AGREEMENT AND EACH NOTE SHALL BE GOVERNED BY, AND CONSTRUED IN ACCORDANCE WITH, THE LAWS OF THE STATE OF NEW YORK. All obligations of the Borrower and rights of the Lenders and the Administrative Agent expressed herein, in the Notes or in any other Loan Document shall be in addition to and not in limitation of those provided by applicable law. This Agreement, the Notes and the other Loan Documents constitute the entire understanding among the parties hereto with respect to the subject matter hereof and supersede any prior agreements, written or oral, with respect thereto.\n15.7 Successors and Assigns. This Agreement shall be binding upon the Borrower, the Lenders, the Issuers and the Administrative Agent and their respective successors and assigns, and shall inure to the benefit of the Borrower, the Lenders, the Issuers and the Administrative Agent and the respective successors and assigns of the Lenders, the Issuers and the Administrative Agent. The Borrower shall not assign its rights or duties hereunder without the consent of the Administrative Agent and all of the Lenders, and the rights of sale and assignment and transfer of the Loans are subject to Section 15.8.\n15.8 Assignments and Participations.\n(a) Any Lender may at any time assign to one or more Eligible Assignees all or a portion of its rights and obligations under this Agreement (including all or a portion of its Commitments and the Loans (including participations in Letters of Credit) at the time owing to it); provided that\n(i) except in the case of an assignment (x) of the entire remaining amount of the assigning Lender’s Commitments and the Loans at the time owing to it or (y) to a Lender or an Affiliate of a Lender, the aggregate amount of the Commitment of such Lender (which for this purpose includes Loans outstanding thereunder) or, if the Commitments are not then in effect, the principal outstanding balance of the Loans of the assigning Lender subject to each such assignment, determined as of the date the Assignment and Assumption with respect to such assignment is delivered to the Administrative Agent or, if “Trade Date” is specified in the Assignment and Assumption, as of the Trade Date, shall not be less than $10,000,000 unless each of the Administrative Agent and, so long as no Event of Default has occurred and is continuing, the Borrower otherwise consents (each such consent not to be unreasonably withheld or delayed); provided that, except in the case of an assignment\nof the entire remaining amount of the assigning Lender’s Commitments and the Loans at the time owing to it no such assignment shall leave the assigning Lender with Commitments of less than $10,000,000;\n(ii) each partial assignment shall be made as an assignment of a proportionate part of all the assigning Lender’s rights and obligations under this Agreement with respect to the Loans or the Commitments assigned;\n(iii) any assignment of a Commitment must be approved by the Administrative Agent and the Issuers unless the Person that is the proposed assignee is itself a Lender (whether or not the proposed assignee would otherwise qualify as an Eligible Assignee); and\n(iv) the parties to each assignment shall execute and deliver to the Administrative Agent an Assignment and Assumption, together with a processing and recordation fee in the amount, if any, required as set forth in Schedule 15.8, and the Eligible Assignee, if it shall not be a Lender, shall deliver to the Administrative Agent an Administrative Questionnaire.\nAny attempted assignment and delegation not made in accordance with this Section 15.8 shall be null and void.\nSubject to acceptance and recording thereof by the Administrative Agent pursuant to clause (b) below, from and after the effective date specified in each Assignment and Assumption, the Eligible Assignee thereunder shall be a party to this Agreement and, to the extent of the interest assigned by such Assignment and Assumption, have the rights and obligations of a Lender under this Agreement, and the assigning Lender thereunder shall, to the extent of the interest assigned by such Assignment and Assumption, be released from its obligations under this Agreement (and, in the case of an Assignment and Assumption covering all of the assigning Lender’s rights and obligations under this Agreement, such Lender shall cease to be a party hereto) but shall continue to be entitled to the benefits of Sections 7.1, 7.5, 7.8 and 15.5 with respect to facts and circumstances occurring prior to the effective date of such assignment; provided that except to the extent otherwise expressly agreed by the affected parties, no assignment by a Defaulting Lender will constitute a waiver or release of any claim of any party hereunder arising from such Lender having been a Defaulting Lender. If requested by the assignee Lender, the Borrower (at its expense) shall execute and deliver a Note to the assignee Lender. Any assignment or transfer by a Lender of rights or obligations under this Agreement that does not comply with this subsection shall be treated for purposes of this Agreement as a sale by such Lender of a participation in such rights and obligations in accordance with clause (c) below.\n(b) The Administrative Agent, acting solely for this purpose as an agent of the Borrower, shall maintain at the Administrative Agent’s Office a copy of each Assignment\nand Assumption delivered to it (or the equivalent thereof in electronic form) and a register for the recordation of the names and addresses of the Lenders, and the Commitments of, and principal amounts (and stated interest) of the Loans and Reimbursement Obligations owing to, each Lender pursuant to the terms hereof from time to time (the “Register”). The entries in the Register shall be conclusive, and the Borrower, the Administrative Agent and the Lenders may treat each Person whose name is recorded in the Register pursuant to the terms hereof as a Lender hereunder for all purposes of this Agreement. The Register shall be available for inspection by each of the Borrower, the Lenders and the Issuers at any reasonable time and from time to time upon reasonable prior notice.\n(c) Any Lender may at any time, without the consent of, or notice to, the Borrower or the Administrative Agent, sell participations to any Person (other than a natural Person, or a holding company, investment vehicle or trust for, or owned and operated for the primary benefit of, a natural Person), a Defaulting Lender, a Disqualified Person, the Borrower or any of the Borrower’s Affiliates or Subsidiaries) (each, a “Participant”) in all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it); provided that (i) such Lender’s obligations under this Agreement shall remain unchanged, (ii) such Lender shall remain solely responsible to the other parties hereto for the performance of such obligations, (iii) such Participant shall be bound by Section 15.17 and (iv) the Borrower, the Administrative Agent, the Lenders and the Issuers shall continue to deal solely and directly with such Lender in connection with such Lender’s rights and obligations under this Agreement. Notwithstanding anything to the contrary herein, a Lender may not enter into any agreement or arrangement with the Borrower or any of the Borrower’s Affiliates or Subsidiaries that would have an economic effect substantially similar to an assignment or a participation of all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it). For the avoidance of doubt, each Lender shall be responsible for the indemnity under Section 15.5(c) without regard to the existence of any participation.\n(d) Any agreement or instrument pursuant to which a Lender sells such a participation shall provide that such Lender shall retain the sole right to enforce this Agreement and to approve any amendment, modification or waiver of any provision of this Agreement; provided that such agreement or instrument may provide that such Lender will not, without the consent of the Participant, agree to any amendment, waiver or other modification described in the proviso to Section 15.2 that affects such Participant. Subject to clause (e) below, the Borrower agrees that each Participant shall be entitled to the benefits of Sections 7.1, 7.5 and 7.8 to the same extent as if it were a Lender and had acquired its interest by assignment pursuant to clause (a) above. To the extent permitted by law, each\nParticipant also shall be entitled to the benefits of Section 6.4 as though it were a Lender, provided such Participant agrees to be subject to Section 6.5 as though it were a Lender.\n(e) A Participant shall not be entitled to receive any greater payment under Section 7.1 or 7.8 than the applicable Lender would have been entitled to receive with respect to the participation sold to such Participant, unless the sale of the participation to such Participant is made with the Borrower’s prior written consent. A Participant that is organized under the laws of a jurisdiction other than the United States shall not be entitled to the benefits of Section 7.8 unless the Borrower is notified of the participation sold to such Participant and such Participant agrees, for the benefit of the Borrower, to comply with the last paragraph of Section 7.8 as though it were a Lender.\n(f) Any Lender may at any time pledge or assign a security interest in all or any portion of its rights under this Agreement (including under its Note, if any) to secure obligations of such Lender, including any pledge or assignment to secure obligations to a Federal Reserve Bank; provided that no such pledge or assignment shall release such Lender from any of its obligations hereunder or substitute any such pledgee or assignee for such Lender as a party hereto.\n(g) Notwithstanding anything to the contrary contained herein, any Lender (a “Granting Lender”) may grant to a special purpose funding vehicle identified as such in writing from time to time by the Granting Lender to the Administrative Agent and the Borrower (an “SPC”) the option to provide all or any part of any Loan that such Granting Lender would otherwise be obligated to make pursuant to this Agreement; provided that (i) nothing herein shall constitute a commitment by any SPC to fund any Loan, and (ii) if an SPC elects not to exercise such option or otherwise fails to make all or any part of such Loan, the Granting Lender shall be obligated to make such Loan pursuant to the terms hereof or, if it fails to do so, to make such payment to the Administrative Agent as is required under Section 13.9(b). Each party hereto hereby agrees that (i) neither the grant to any SPC nor the exercise by any SPC of such option shall increase the costs or expenses or otherwise increase or change the obligations of the Borrower under this Agreement (including its obligations under Section 7.1), (ii) no SPC shall be liable for any indemnity or similar payment obligation under this Agreement for which a Lender would be liable and (iii) the Granting Lender shall for all purposes, including the approval of any amendment, waiver or other modification of any provision of any Loan Document, remain the lender of record hereunder. The making of a Loan by an SPC hereunder shall utilize the Commitment of the Granting Lender to the same extent, and as if, such Loan were made by such Granting Lender. In furtherance of the foregoing, each party hereto hereby agrees (which agreement shall survive the termination of this Agreement) that, prior to the date that is one year and one day after the payment in full of all outstanding commercial paper or other senior debt of any SPC, it will not institute against, or join any other Person in instituting against, such\nSPC any bankruptcy, reorganization, arrangement, insolvency, or liquidation proceeding under the laws of the United States or any State thereof. Notwithstanding anything to the contrary contained herein, any SPC may (i) with notice to, but without prior consent of the Borrower and the Administrative Agent and with the payment of a processing fee in the amount of $3,500, assign all or any portion of its right to receive payment with respect to any Loan to the Granting Lender and (ii) subject to Section 15.17, disclose on a confidential basis any non-public information relating to its funding of Loans to any rating agency, commercial paper dealer or provider of any surety or guarantee or credit or liquidity enhancement to such SPC.\n(h) Notwithstanding anything to the contrary contained herein, if at any time Bank of America assigns all of its Commitments and Loans pursuant to clause (a) above, Bank of America may, upon 30 days’ notice to the Borrower and the Lenders, resign as an Issuer. In the event of any such resignation as an Issuer, and if there are no other Issuers at the time of such resignation, the Borrower shall be entitled to appoint from among the Lenders willing to serve in such capacity a successor Issuer hereunder; provided that no failure by the Borrower to appoint any such successor shall affect the resignation of Bank of America as an Issuer. If Bank of America resigns as an Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit issued by it that are outstanding as of the effective date of its resignation as an Issuer and all Reimbursement Obligations with respect thereto (including the right to require the Lenders to make Loans that are Alternate Base Rate Loans or fund risk participations in Letters of Credit pursuant to Section 5.4). Upon the appointment of a successor Issuer, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, as the case may be, and (ii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, issued by Bank of America that are outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit.\n(i) Certain Additional Payments. In connection with any assignment of rights and obligations of any Defaulting Lender hereunder, no such assignment shall be effective unless and until, in addition to the other conditions thereto set forth herein, the parties to the assignment shall make such additional payments to the Administrative Agent in an aggregate amount sufficient, upon distribution thereof as appropriate (which may be outright payment, purchases by the assignee of participations or subparticipations, or other compensating actions, including funding, with the consent of the Borrower and the Administrative Agent, the applicable pro rata share of Loans previously requested but not funded by the Defaulting Lender, to each of which the applicable assignee and assignor hereby irrevocably consent), to (x) pay and satisfy in full all payment liabilities then owed by such Defaulting Lender to the Administrative Agent, any Issuer or any Lender hereunder\n(and interest accrued thereon) and (y) acquire (and fund as appropriate) its full pro rata share of all Loans and participations in Letters of Credit in accordance with its Percentage. Notwithstanding the foregoing, in the event that any assignment of rights and obligations of any Defaulting Lender hereunder shall become effective under applicable law without compliance with the provisions of this paragraph, then the assignee of such interest shall be deemed to be a Defaulting Lender for all purposes of this Agreement until such compliance occurs.\n15.9 Survival. The obligations of the Borrower under Sections 7 and 15.5, and the obligations of the Lenders under Section 15.5(c), shall in each case survive any termination of this Agreement, the payment in full of all Liabilities and the termination of all Commitments. The representations and warranties made by the Borrower in this Agreement and in each other Loan Document shall survive the execution and delivery of this Agreement and each such other Loan Document.\n15.10 Effect of Amendment and Restatement.\n(a) This Agreement is an amendment and restatement of the terms and provisions of the Existing Credit Agreement. Neither the execution and delivery of this Agreement by the Borrower or any Lender, nor any of the terms or provisions contained herein, shall be construed (a) to be a payment on or with respect to the Indebtedness outstanding under the Existing Credit Agreement or (b) to release, terminate or otherwise adversely affect all or any part of any Lien heretofore granted to or retained by the Collateral Agent with respect to any Collateral. Without limiting the foregoing, the Borrower hereby ratifies and confirms the grant of security interest pursuant to, and all other terms and provisions of, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and each other Collateral Document.\n(b) The Borrower confirms to the Administrative Agent and the Lenders that (i) each Collateral Document continues in full force and effect on the Restatement Effective Date after giving effect to this Agreement and is the legal, valid and binding obligation of the Borrower, enforceable against the Borrower in accordance with its terms, subject to bankruptcy, insolvency and similar laws affecting the enforceability of creditors’ rights generally and to general principles of equity; (ii) the obligations and liabilities secured under each Collateral Document include all obligations and liabilities of the Borrower under this Agreement; and (iii) each reference in the Collateral Documents to the “Credit Agreement” or the “Member Bank Credit Agreement” or similar terms shall, on and after the Restatement Effective Date, be deemed to be a reference to this Agreement.\n(c) When counterparts executed by all the parties shall have been lodged with the Administrative Agent (or, in the case of any Lender as to which an executed counterpart shall not have been so lodged, the Administrative Agent shall have received facsimile or\nother written confirmation from such Lender) and all of the conditions set forth in Section 11 shall have been satisfied, this Agreement shall become effective as of the date hereof, and at such time the Administrative Agent shall notify the Borrower and each Lender.\n(d) The Borrower, the Lenders that are party to the Existing Agreement and Bank of America, N.A., as administrative agent under the Existing Agreement, acknowledge and agree that upon the effectiveness of this Agreement on the Effective Date, the Existing Agreement shall terminate and be of no further force or effect (except that any provision thereof which by its terms survives termination thereof shall continue in full force and effect for the benefit of the applicable party or parties), all without any other action by any Person.\n15.11 Severability. If any provision of this Agreement or the other Loan Documents is held to be illegal, invalid or unenforceable, (a) the legality, validity and enforceability of the remaining provisions of this Agreement and the other Loan Documents shall not be affected or impaired thereby and (b) the parties shall endeavor in good faith negotiations to replace the illegal, invalid or unenforceable provisions with valid provisions the economic effect of which comes as close as possible to that of the illegal, invalid or unenforceable provisions. The invalidity of a provision in a particular jurisdiction shall not invalidate or render unenforceable such provision in any other jurisdiction. Without limiting the foregoing provisions of this Section 15.11, if and to the extent that the enforceability of any provision in this Agreement relating to Defaulting Lenders shall be limited by any Debtor Relief Law, as determined in good faith by the Administrative Agent or an Issuer, as applicable, then such provision shall be deemed to be in effect only to the extent not so limited.\n15.12 Execution in Counterparts, Effectiveness, etc. This Agreement may be executed by the parties hereto in several counterparts, each of which shall be deemed to be an original, but all such counterparts shall constitute together but one and the same Agreement. Delivery of a counterpart hereof, or a signature page hereto, by facsimile or in a .pdf or similar file shall be effective as delivery of a manually-executed original counterpart hereof.\n15.13 Investment. Each Lender represents and warrants that: (a) it is acquiring any Note to be issued to it hereunder for its own account as a result of making a loan in the ordinary course of its commercial banking business and not with a view to the public distribution or sale thereof, nor with any present intention of selling or distributing such Note, but subject, nevertheless, to possible assignments or participations thereof pursuant to Section 15.8 and to any legal or administrative requirement that the disposition of such Lender’s property at all times be within its control, and (b) in good faith it has not and will not rely upon any margin stock (as such term is defined in Regulation U of the FRB) as collateral in the making and maintaining of its Loans.\n15.14 Other Transactions. Nothing contained herein shall preclude the Administrative Agent or any other Lender from engaging in any transaction, in addition to those contemplated by\nthis Agreement or any other Loan Document, with the Borrower or any of its Affiliates in which the Borrower or such Affiliate is not restricted hereby from engaging with any other Person.\n15.15 Forum Selection and Consent to Jurisdiction. SUBJECT TO ANY CONTRARY PROVISION IN THE SECURITY AND INTERCREDITOR AGREEMENT RELATING TO FORUM SELECTION BY THE COLLATERAL AGENT WITH RESPECT TO ACTIONS BROUGHT THEREUNDER BY THE COLLATERAL AGENT, ANY LITIGATION BASED HEREON, OR ARISING OUT OF, UNDER OR IN CONNECTION WITH THIS AGREEMENT OR ANY OTHER LOAN DOCUMENT OR ANY COURSE OF CONDUCT, COURSE OF DEALING, STATEMENTS (WHETHER VERBAL OR WRITTEN) OR ACTIONS OF THE ADMINISTRATIVE AGENT, ANY ISSUER, ANY LENDER OR THE BORROWER SHALL BE BROUGHT AND MAINTAINED EXCLUSIVELY IN THE COURTS OF THE STATE OF NEW YORK OR IN THE UNITED STATES DISTRICT COURT FOR THE SOUTHERN DISTRICT OF NEW YORK; PROVIDED THAT ANY SUIT SEEKING ENFORCEMENT AGAINST ANY COLLATERAL OR OTHER PROPERTY MAY BE BROUGHT, AT THE ADMINISTRATIVE AGENT’S OPTION, IN THE COURTS OF ANY JURISDICTION WHERE SUCH COLLATERAL OR OTHER PROPERTY MAY BE FOUND. THE BORROWER HEREBY EXPRESSLY AND IRREVOCABLY SUBMITS TO THE JURISDICTION OF THE COURTS OF THE STATE OF NEW YORK AND OF THE UNITED STATES DISTRICT COURT FOR THE SOUTHERN DISTRICT OF NEW YORK FOR THE PURPOSE OF ANY SUCH LITIGATION AS SET FORTH ABOVE AND IRREVOCABLY AGREES TO BE BOUND BY ANY JUDGMENT RENDERED THEREBY IN CONNECTION WITH SUCH LITIGATION. THE BORROWER FURTHER IRREVOCABLY CONSENTS TO THE SERVICE OF PROCESS BY REGISTERED MAIL, POSTAGE PREPAID, OR BY PERSONAL SERVICE WITHIN OR WITHOUT THE STATE OF NEW YORK. THE BORROWER HEREBY EXPRESSLY AND IRREVOCABLY WAIVES, TO THE FULLEST EXTENT PERMITTED BY LAW, ANY OBJECTION WHICH IT MAY NOW OR HEREAFTER HAVE TO THE LAYING OF VENUE OF ANY SUCH LITIGATION BROUGHT IN ANY SUCH COURT REFERRED TO ABOVE AND ANY CLAIM THAT ANY SUCH LITIGATION HAS BEEN BROUGHT IN AN INCONVENIENT FORUM. TO THE EXTENT THAT THE BORROWER HAS OR HEREAFTER MAY ACQUIRE ANY IMMUNITY FROM JURISDICTION OF ANY COURT OR FROM ANY LEGAL PROCESS (WHETHER THROUGH SERVICE OR NOTICE, ATTACHMENT PRIOR TO JUDGMENT, ATTACHMENT IN AID OF EXECUTION OR OTHERWISE) WITH RESPECT TO ITSELF OR ITS PROPERTY, THE BORROWER HEREBY IRREVOCABLY WAIVES SUCH IMMUNITY IN RESPECT OF ITS OBLIGATIONS UNDER THIS AGREEMENT AND THE OTHER LOAN DOCUMENTS.\n15.16 Waiver of Jury Trial. THE ADMINISTRATIVE AGENT, THE ISSUERS, THE LENDERS AND THE BORROWER HEREBY KNOWINGLY, VOLUNTARILY AND INTENTIONALLY WAIVE ANY RIGHTS THEY MAY HAVE TO A TRIAL BY JURY IN RESPECT OF ANY LITIGATION BASED HEREON, OR ARISING OUT OF, UNDER OR IN"}
-{"idx": 12, "level": 2, "span": "CONNECTION WITH THIS AGREEMENT OR ANY OTHER LOAN DOCUMENT OR ANY COURSE OF CONDUCT, COURSE OF DEALING, STATEMENTS (WHETHER VERBAL OR WRITTEN) OR ACTIONS OF THE ADMINISTRATIVE AGENT, THE ISSUERS, THE LENDERS OR THE BORROWER. THE BORROWER ACKNOWLEDGES AND AGREES THAT IT HAS RECEIVED FULL AND SUFFICIENT CONSIDERATION FOR THIS PROVISION (AND EACH OTHER PROVISION OF EACH OTHER LOAN DOCUMENT TO WHICH IT IS A PARTY) AND THAT THIS PROVISION IS A MATERIAL INDUCEMENT FOR THE ADMINISTRATIVE AGENT, THE ISSUERS AND THE LENDERS ENTERING INTO THIS AGREEMENT AND EACH OTHER LOAN DOCUMENT.\n15.17 Treatment of Certain Information; Confidentiality. Each of the Administrative Agent, each Lender and each Issuer agrees to maintain the confidentiality of the Information (as defined below), except that Information may be disclosed (a) to its Affiliates and to its and its Affiliates’ Lender-Related Parties (it being understood that the Persons to whom such disclosure is made will be informed of the confidential nature of such Information and instructed to keep such Information confidential), (b) to the extent required or requested by any regulatory authority purporting to have jurisdiction over it and its Lender-Related Parties (including any self-regulatory authority, such as the National Association of Insurance Commissioners), (c) to the extent required by applicable laws or regulations or by any subpoena or similar legal process, (d) to any other party hereto, (e) in connection with the exercise of any remedies hereunder or under any other Loan Document or any action or proceeding relating to this Agreement or any other Loan Document or the enforcement of rights hereunder or thereunder, (f) subject to an agreement containing provisions substantially the same as those of this Section, to (i) any Eligible Assignee of or Participant in, or any prospective Eligible Assignee of or Participant in, any of its rights or obligations under this Agreement or (ii) any actual or prospective party (or its Lender-Related Parties) to any swap, derivative or other transaction under which payments are to be made by reference to the Borrower and its obligations, this Agreement or payments hereunder, (g) on a confidential basis to (i) any rating agency in connection with rating the Borrower or its Subsidiaries or the credit facilities provided hereunder or (ii) the CUSIP Service Bureau or any similar agency in connection with the issuance and monitoring of CUSIP numbers or other market identifiers with respect to the credit facilities provided hereunder, (h) with the consent of the Borrower or (i) to the extent such Information (i) becomes publicly available other than as a result of a breach of this Section or (ii) becomes available to the Administrative Agent, any Lender, any Issuer or any of their respective Affiliates on a nonconfidential basis from a source other than the Borrower. In addition, the Administrative Agent and the Lenders may disclose the existence of this Agreement and information about this Agreement to market data collectors, similar service providers to the lending industry and service providers to the Agents and the Lenders in connection with the administration of this Agreement, the other Loan Documents, and the Commitments.\nFor purposes of this Section, “Information” means all information of a non-public, confidential and proprietary nature received from the Borrower or any Subsidiary relating to the\nBorrower or any Subsidiary or any of their respective businesses, other than any such information that is available to the Administrative Agent, any Lender or any Issuer on a nonconfidential basis prior to disclosure by the Borrower or any Subsidiary. Any Person required to maintain the confidentiality of Information as provided in this Section shall be considered to have complied with its obligation to do so if such Person has exercised the same degree of care to maintain the confidentiality of such Information as such Person would accord to its own confidential information.\nThe Administrative Agent, the Lenders and the Issuers acknowledge that (a) the Information may include material non-public information concerning the Borrower or a Subsidiary, as the case may be, (b) it has developed compliance procedures regarding the use of material non-public information and (c) it will handle such material non-public information in accordance with applicable law, including Federal and state securities laws.\n15.18 Interest Rate Limitation. Notwithstanding anything to the contrary contained in any Loan Document, the interest paid or agreed to be paid under the Loan Documents shall not exceed the maximum rate of non-usurious interest permitted by applicable law (the “Maximum Rate”). If the Administrative Agent or any Lender shall receive interest in an amount that exceeds the Maximum Rate, the excess interest shall be applied to the principal of the Loans or, if it exceeds such unpaid principal, refunded to the Borrower. In determining whether the interest contracted for, charged, or received by the Administrative Agent or a Lender exceeds the Maximum Rate, such Person may, to the extent permitted by applicable law, (a) characterize any payment that is not principal as an expense, fee, or premium rather than interest, (b) exclude voluntary prepayments and the effects thereof, and (c) amortize, prorate, allocate, and spread in equal or unequal parts the total amount of interest throughout the contemplated term of the obligations hereunder.\n15.19 Payments Set Aside. To the extent that any payment by or on behalf of the Borrower is made to the Administrative Agent, any Issuer or any Lender, or the Administrative Agent, any Issuer or any Lender exercises its right of setoff, and such payment or the proceeds of such setoff or any part thereof is subsequently invalidated, declared to be fraudulent or preferential, set aside or required (including pursuant to any settlement entered into by the Administrative Agent, such Issuer or such Lender in its discretion) to be repaid to a trustee, receiver or any other party, in connection with any proceeding under any Debtor Relief Law or otherwise, then (a) to the extent of such recovery, the obligation or part thereof originally intended to be satisfied shall be revived and continued in full force and effect as if such payment had not been made or such setoff had not occurred, and (b) each Lender and each Issuer severally agrees to pay to the Administrative Agent upon demand its applicable share (without duplication) of any amount so recovered from or repaid by the Administrative Agent, plus interest thereon from the date of such demand to the date such payment is made at a rate per annum equal to the Federal Funds Rate from time to time in effect. The obligations of the Lenders and the Issuers under clause (b) of the preceding sentence shall survive the payment in full of the Liabilities and the termination of this Agreement.\n15.20 No Advisory or Fiduciary Responsibility. In connection with all aspects of each transaction contemplated hereby (including in connection with any amendment, waiver or other modification hereof or of any other Loan Document), the Borrower acknowledges and agrees that: (i) (A) the arranging and other services regarding this Agreement provided by the Administrative Agent and the Joint Lead Arrangers are arm’s-length commercial transactions between the Borrower and its Affiliates, on the one hand, and the Administrative Agent and the Joint Lead Arrangers, on the other hand, (B) the Borrower has consulted its own legal, accounting, regulatory and tax advisors to the extent it has deemed appropriate, and (C) the Borrower is capable of evaluating, and understands and accepts, the terms, risks and conditions of the transactions contemplated hereby and by the other Loan Documents; (ii) (A) each of the Administrative Agent and the Joint Lead Arrangers is and has been acting solely as a principal and, except as expressly agreed in writing by the relevant parties, has not been, is not, and will not be acting as an advisor, agent or fiduciary for the Borrower or any of its Affiliates, or any other Person and (B) neither the Administrative Agent nor any Joint Lead Arranger has any obligation to the Borrower or any of its Affiliates with respect to the transactions contemplated hereby except those obligations expressly set forth herein and in the other Loan Documents; and (iii) the Administrative Agent and the Joint Lead Arrangers and their respective Affiliates may be engaged in a broad range of transactions that involve interests that differ from those of the Borrower and its Affiliates, and neither the Administrative Agent nor the Joint Lead Arrangers has any obligation to disclose any of such interests to the Borrower or its Affiliates. To the fullest extent permitted by law, the Borrower hereby waives and releases any claims that it may have against the Administrative Agent the Joint Lead Arrangers with respect to any breach or alleged breach of agency or fiduciary duty in connection with any aspect of any transaction contemplated hereby.\n15.21 Electronic Execution of Assignments and Certain Other Documents. The words “execute,” “execution,” “signed,” “signature,” and words of like import in or related to any document to be signed in connection with this Agreement and the transactions contemplated hereby (including Assignment and Assumptions, amendments or other modifications, Loan Requests, waivers and consents) shall be deemed to include electronic signatures, the electronic matching of assignment terms and contract formations on electronic platforms approved by the Administrative Agent, or the keeping of records in electronic form, each of which shall be of the same legal effect, validity or enforceability as a manually executed signature or the use of a paper-based recordkeeping system, as the case may be, to the extent and as provided for in any applicable law, including the Federal Electronic Signatures in Global and National Commerce Act, the New York State Electronic Signatures and Records Act, or any other similar state laws based on the Uniform Electronic Transactions Act; provided that notwithstanding anything contained herein to the contrary, the Administrative Agent is under no obligation to accept electronic signatures in any form or in any format unless expressly agreed to by the Administrative Agent pursuant to procedures approved by it; provided, further that if a Lender requests an original Note, such Lender shall be under no obligation to accept an electronic signature on such Note.\n15.22 Acknowledgement and Consent to Bail-In of EEA Financial Institutions. Notwithstanding anything to the contrary in any Loan Document or in any other agreement, arrangement or understanding among any the parties hereto, each party hereto acknowledges that any liability of any Lender that is an EEA Financial Institution arising under any Loan Document, to the extent such liability is unsecured, may be subject to the write-down and conversion powers of an EEA Resolution Authority and agrees and consents to, and acknowledges and agrees to be bound by, (a) the application of any Write-Down and Conversion Powers by an EEA Resolution Authority to any such liabilities arising hereunder that may be payable to it by any Lender that is an EEA Financial Institution; and (b) the effects of any Bail-in Action on any such liability, including, if applicable (i) a reduction in full or in part or cancellation of any such liability; (ii) a conversion of all, or a portion of, such liability into shares or other instruments of ownership in such EEA Financial Institution, its parent undertaking, or a bridge institution that may be issued to it or otherwise conferred on it, and that such shares or other instruments of ownership will be accepted by it in lieu of any rights with respect to any such liability under this Agreement or any other Loan Document; or (iii) the variation of the terms of such liability in connection with the exercise of the write-down and conversion powers of any EEA Resolution Authority."}
-{"idx": 12, "level": 3, "span": "[Remainder of page intentionally left blank]\nIN WITNESS WHEREOF, the parties hereto have caused this Agreement to be executed by their respective officers thereunto duly authorized as of the day and year first above written."}
-{"idx": 12, "level": 2, "span": "TRITON CONTAINER INTERNATIONAL LIMITED\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "BANK OF AMERICA, N.A.\n, as Administrative Agent\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "BANK OF AMERICA, N.A.\n, as a Lender and as an Issuer\nBy:\nName: Matthew N. Walt\nTitle: Vice President"}
-{"idx": 12, "level": 3, "span": "MUFG UNION BANK, N.A.\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "SUNTRUST BANK\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 2, "span": "WELLS FARGO BANK, N.A.,\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "(a) Generally\nExcept as otherwise specifically provided for in this Agreement, no amendment, modification or waiver of, or consent with respect to, any provision of this Agreement, the Notes or any other Loan Document shall in any event be effective unless the same shall be in writing and signed and delivered by the Majority Lenders and acknowledged by the Administrative Agent, and then any such amendment, modification, waiver or consent shall be effective only in the specific instance and for the specific purpose for which given; provided that no amendment, waiver or consent shall:"}
-{"idx": 12, "level": 4, "span": "(i) unless consented to by each Lender affected thereby, (A) increase or extend a Commitment of any Lender or subject any Lender to any additional"}
-{"idx": 12, "level": 4, "span": "(ii) unless consented to by each Lender, (A) waive any condition specified in Section 11.1, (B) change the Percentages or the aggregate unpaid principal amount of the Loans, or the number of Lenders which shall be required to take action hereunder, or the definition of “Majority Lenders” or (C) change any provision of this Section 15.2 or"}
-{"idx": 12, "level": 4, "span": "(iii) unless consented to by Lenders having aggregate Percentages of 66 2/3% or more, amend any provision of this Agreement that would affect the amount of the Borrowing Base in a manner adverse to the Lenders\nNo provision of this Agreement (including Section 13) or of any other Loan Document which relates to the rights or duties of the Administrative Agent shall be amended, modified or waived without the written consent of the Administrative Agent, and no provision of this Agreement or any other Loan Document relating to the rights or duties of any Issuer in its capacity as such shall be amended, modified or waived without the written consent of such Issuer."}
-{"idx": 12, "level": 3, "span": "(b) Most Favored Lending Status\nIf at any time the Borrower is a party to any agreement, instrument or other document relating to Indebtedness of the Borrower that has an aggregate principal amount of at least $20,000,000 (any such agreement, instrument or other document, or amendment, restatement, supplement or other modification thereto, a “More Favorable Lending Agreement”), which agreement, instrument or other document includes any financial covenant (whether affirmative or negative and whether maintenance or incurrence) that is more restrictive on the Borrower than the financial covenants of this Agreement or that is not provided for in this Agreement (any such covenant, a “More Favorable Provision”), then the Borrower shall promptly, and in any event within five Business Days after becoming party to such More Favorable Lending Agreement, notify the Administrative Agent (which shall promptly advise each Lender) of such More Favorable"}
-{"idx": 12, "level": 3, "span": "(a) Notices Generally\nExcept as otherwise expressly provided herein, any notice hereunder to the Borrower, the Administrative Agent, any Issuer or any Lender shall be in writing (including facsimile communication) and shall be given (i) if to the Borrower or the Administrative Agent, at its address or facsimile number set forth on Schedule 10.2, and (ii) if to any Lender or any Issuer, at its address or facsimile number set forth in its Administrative Questionnaire or, in each case, at such other address or facsimile number as the recipient may, by written notice, designate as its address or facsimile number for purposes of notices hereunder. All such notices shall be deemed to be given when transmitted by facsimile, when personally delivered or, in the case of a mailed notice, when sent by registered or certified mail, postage prepaid, in each case addressed as specified in this Section 15.3;"}
-{"idx": 12, "level": 3, "span": "(b) Electronic Communications\nNotices and other communications to the Lenders and the Issuers hereunder may be delivered or furnished by electronic communication (including e-mail, FpML messaging, and Internet or intranet websites) pursuant to procedures approved by the Administrative Agent, provided that the foregoing shall not apply to notices to any Lender or any Issuer pursuant to Section 2 if such Lender or such Issuer, as applicable, has notified the Administrative Agent that it is incapable of receiving notices under such Article by electronic communication. The Administrative Agent, the Issuers or the Borrower may each, in its discretion, agree to accept notices and other communications to it hereunder by electronic communications pursuant to procedures approved by it, provided that approval of such procedures may be limited to particular notices or communications."}
-{"idx": 12, "level": 3, "span": "(c) The Platform\nThe Borrower hereby acknowledges that the Administrative Agent and/or the Joint Lead Arrangers may, but shall not be obligated to, make available to the Lenders and the Issuers materials and/or information provided by or on behalf of the Borrower hereunder (collectively, “Borrower Materials”) by posting the Borrower Materials on IntraLinks, Syndtrak, ClearPar or a substantially similar electronic transmission system (the “Platform”). THE PLATFORM IS PROVIDED “AS IS” AND “AS AVAILABLE”. THE ADMINISTRATIVE AGENT PARTIES (AS DEFINED BELOW) DO NOT WARRANT THE ACCURACY OR COMPLETENESS OF THE BORROWER MATERIALS OR THE ADEQUACY OF THE PLATFORM, AND EXPRESSLY DISCLAIM LIABILITY FOR ERRORS IN OR OMISSIONS FROM THE BORROWER MATERIALS. NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OF THIRD PARTY RIGHTS OR FREEDOM FROM VIRUSES OR OTHER CODE DEFECTS, IS MADE BY ANY ADMINISTRATIVE AGENT PARTY IN CONNECTION WITH THE BORROWER"}
-{"idx": 12, "level": 3, "span": "(d) Reliance by the Administrative Agent, the Issuers and the Lenders\nThe Administrative Agent, the Issuers and the Lenders shall be entitled to rely and act upon any notices (including telephonic notices, Loan Requests, and Issuance Requests) purportedly given by or on behalf of the Borrower even if (i) such notices were not made in a manner specified herein, were incomplete or were not preceded or followed by any other form of notice specified herein, or (ii) the terms thereof, as understood by the recipient, varied from any confirmation thereof. The Borrower shall indemnify the Administrative Agent, each Issuer, each Lender and the Lender-Related Parties of each of them from all losses, costs, expenses and liabilities resulting from the reliance by such Person on each notice purportedly given by or on behalf of the Borrower. All telephonic notices to and other telephonic communications with the Administrative Agent may be recorded by the Administrative Agent, and each of the parties hereto hereby consents to such recording."}
-{"idx": 12, "level": 3, "span": "(a) The Borrower shall pay (i) all reasonable out of pocket expenses incurred by the Administrative Agent and its Affiliates (including the reasonable fees, charges and disbursements of counsel for the Administrative Agent (including the reasonable fees, charges and disbursements of in-house counsel, provided such fees and expenses are set forth in reasonable and appropriate detail) and of local counsel, if any, who may be retained by such counsel)), in connection with the syndication of the credit facilities provided for herein, the preparation, negotiation, execution, delivery and administration of this"}
-{"idx": 12, "level": 3, "span": "(b) The Borrower shall indemnify the Administrative Agent (and any subagent thereof), each Lender, each Issuer and each Lender-Related Party of any of the foregoing Persons (each such Person, an “Indemnitee”) against, and hold each Indemnitee harmless from, any and all losses, claims, damages, liabilities and related expenses (including the fees, charges and disbursements of any counsel for any Indemnitee (including the fees and time charges and disbursements for in-house counsel to such Indemnitee, provided such fees and time charges are set forth in reasonable detail)), incurred by any Indemnitee or asserted against any Indemnitee by any Person (including the Borrower but excluding such Indemnitee and its Lender-Related Parties) arising out of, in connection with, or as a result of (i) the execution or delivery of this Agreement, any other Loan Document or any agreement or instrument contemplated hereby or thereby, the performance by the parties hereto of their respective obligations hereunder or thereunder, the consummation of the transactions contemplated hereby or thereby, or, in the case of the Administrative Agent (and any sub-agent thereof) and its Lender-Related Parties only, the administration of this Agreement and the other Loan Documents, (ii) any Loan or Letter of Credit or the use or proposed use of the proceeds therefrom (including any refusal by any 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), (iii) any actual or alleged presence or release of Hazardous Materials on or from any property owned or operated by the Borrower or any of its Subsidiaries, or any other liability under any Environmental Law related in any way to the Borrower or any of its Subsidiaries, or (iv) any actual or prospective claim,"}
-{"idx": 12, "level": 3, "span": "(c) To the extent that the Borrower for any reason fails to indefeasibly pay any amount required under clause (a) or (b) above to be paid by it to the Administrative Agent (or any sub-agent thereof), any Issuer or any Lender-Related Party of any of the foregoing, each Lender severally agrees to pay to the Administrative Agent (or any such sub-agent), such Issuer or such Lender-Related Party, as the case may be, such Lender’s pro rata share (determined as of the time that the applicable unreimbursed expense or indemnity payment is sought based on each Lender’s Percentage at such time) of such unpaid amount (including any such unpaid amount in respect of a claim asserted by such Lender), provided, further, that the unreimbursed expense or indemnified loss, claim, damage, liability or related expense, as the case may be, was incurred by or asserted against the Administrative Agent (or any such sub-agent) or any Issuer in its capacity as such, or against any Lender-Related Party of any of the foregoing acting for the Administrative Agent (or any such sub-agent) or any Issuer in connection with such capacity\nThe obligations of the Lenders under this clause (c) are several and not joint."}
-{"idx": 12, "level": 3, "span": "(d) To the fullest extent permitted by applicable law, the Borrower shall not assert, and hereby waives, and acknowledges that no other Person shall have, any claim against any Indemnitee, on any theory of liability, for special, indirect, consequential or punitive damages (as opposed to direct or actual damages) arising out of, in connection with, or as a result of, this Agreement, any other Loan Document or any agreement or instrument contemplated hereby, the transactions contemplated hereby or thereby, any Loan or Letter of Credit or the use of the proceeds thereof\nNo Indemnitee referred to in clause (b) above shall be liable for any damages arising from the use by unintended recipients of any information or other materials distributed by it through telecommunications, electronic or other information transmission systems in connection with this Agreement or the other Loan Documents or the transactions contemplated hereby or thereby."}
-{"idx": 12, "level": 3, "span": "(e) All amounts due under this Section shall be payable on demand."}
-{"idx": 12, "level": 3, "span": "(f) The agreements in this Section and the indemnity provisions in Section 15.3(d) shall survive the resignation of the Administrative Agent and Bank of America in its capacity as an Issuer, the replacement of any Lender, the termination of the Commitments and the repayment, satisfaction or discharge of all the other obligations of the Borrower under this Agreement and the other Loan Documents."}
-{"idx": 12, "level": 3, "span": "(a) Any Lender may at any time assign to one or more Eligible Assignees all or a portion of its rights and obligations under this Agreement (including all or a portion of its Commitments and the Loans (including participations in Letters of Credit) at the time owing to it); provided that"}
-{"idx": 12, "level": 4, "span": "(i) except in the case of an assignment (x) of the entire remaining amount of the assigning Lender’s Commitments and the Loans at the time owing to it or (y) to a Lender or an Affiliate of a Lender, the aggregate amount of the Commitment of such Lender (which for this purpose includes Loans outstanding thereunder) or, if the Commitments are not then in effect, the principal outstanding balance of the Loans of the assigning Lender subject to each such assignment, determined as of the date the Assignment and Assumption with respect to such assignment is delivered to the Administrative Agent or, if “Trade Date” is specified in the Assignment and Assumption, as of the Trade Date, shall not be less than $10,000,000 unless each of the Administrative Agent and, so long as no Event of Default has occurred and is continuing, the Borrower otherwise consents (each such consent not to be unreasonably withheld or delayed); provided that, except in the case of an assignment"}
-{"idx": 12, "level": 4, "span": "(ii) each partial assignment shall be made as an assignment of a proportionate part of all the assigning Lender’s rights and obligations under this Agreement with respect to the Loans or the Commitments assigned;"}
-{"idx": 12, "level": 4, "span": "(iii) any assignment of a Commitment must be approved by the Administrative Agent and the Issuers unless the Person that is the proposed assignee is itself a Lender (whether or not the proposed assignee would otherwise qualify as an Eligible Assignee); and"}
-{"idx": 12, "level": 4, "span": "(iv) the parties to each assignment shall execute and deliver to the Administrative Agent an Assignment and Assumption, together with a processing and recordation fee in the amount, if any, required as set forth in Schedule 15.8, and the Eligible Assignee, if it shall not be a Lender, shall deliver to the Administrative Agent an Administrative Questionnaire."}
-{"idx": 12, "level": 3, "span": "(b) The Administrative Agent, acting solely for this purpose as an agent of the Borrower, shall maintain at the Administrative Agent’s Office a copy of each Assignment"}
-{"idx": 12, "level": 3, "span": "(c) Any Lender may at any time, without the consent of, or notice to, the Borrower or the Administrative Agent, sell participations to any Person (other than a natural Person, or a holding company, investment vehicle or trust for, or owned and operated for the primary benefit of, a natural Person), a Defaulting Lender, a Disqualified Person, the Borrower or any of the Borrower’s Affiliates or Subsidiaries) (each, a “Participant”) in all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it); provided that (i) such Lender’s obligations under this Agreement shall remain unchanged, (ii) such Lender shall remain solely responsible to the other parties hereto for the performance of such obligations, (iii) such Participant shall be bound by Section 15.17 and (iv) the Borrower, the Administrative Agent, the Lenders and the Issuers shall continue to deal solely and directly with such Lender in connection with such Lender’s rights and obligations under this Agreement\nNotwithstanding anything to the contrary herein, a Lender may not enter into any agreement or arrangement with the Borrower or any of the Borrower’s Affiliates or Subsidiaries that would have an economic effect substantially similar to an assignment or a participation of all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it). For the avoidance of doubt, each Lender shall be responsible for the indemnity under Section 15.5(c) without regard to the existence of any participation."}
-{"idx": 12, "level": 3, "span": "(d) Any agreement or instrument pursuant to which a Lender sells such a participation shall provide that such Lender shall retain the sole right to enforce this Agreement and to approve any amendment, modification or waiver of any provision of this Agreement; provided that such agreement or instrument may provide that such Lender will not, without the consent of the Participant, agree to any amendment, waiver or other modification described in the proviso to Section 15.2 that affects such Participant\nSubject to clause (e) below, the Borrower agrees that each Participant shall be entitled to the benefits of Sections 7.1, 7.5 and 7.8 to the same extent as if it were a Lender and had acquired its interest by assignment pursuant to clause (a) above. To the extent permitted by law, each"}
-{"idx": 12, "level": 3, "span": "(e) A Participant shall not be entitled to receive any greater payment under Section 7.1 or 7.8 than the applicable Lender would have been entitled to receive with respect to the participation sold to such Participant, unless the sale of the participation to such Participant is made with the Borrower’s prior written consent\nA Participant that is organized under the laws of a jurisdiction other than the United States shall not be entitled to the benefits of Section 7.8 unless the Borrower is notified of the participation sold to such Participant and such Participant agrees, for the benefit of the Borrower, to comply with the last paragraph of Section 7.8 as though it were a Lender."}
-{"idx": 12, "level": 3, "span": "(f) Any Lender may at any time pledge or assign a security interest in all or any portion of its rights under this Agreement (including under its Note, if any) to secure obligations of such Lender, including any pledge or assignment to secure obligations to a Federal Reserve Bank; provided that no such pledge or assignment shall release such Lender from any of its obligations hereunder or substitute any such pledgee or assignee for such Lender as a party hereto."}
-{"idx": 12, "level": 3, "span": "(g) Notwithstanding anything to the contrary contained herein, any Lender (a “Granting Lender”) may grant to a special purpose funding vehicle identified as such in writing from time to time by the Granting Lender to the Administrative Agent and the Borrower (an “SPC”) the option to provide all or any part of any Loan that such Granting Lender would otherwise be obligated to make pursuant to this Agreement; provided that (i) nothing herein shall constitute a commitment by any SPC to fund any Loan, and (ii) if an SPC elects not to exercise such option or otherwise fails to make all or any part of such Loan, the Granting Lender shall be obligated to make such Loan pursuant to the terms hereof or, if it fails to do so, to make such payment to the Administrative Agent as is required under Section 13.9(b)\nEach party hereto hereby agrees that (i) neither the grant to any SPC nor the exercise by any SPC of such option shall increase the costs or expenses or otherwise increase or change the obligations of the Borrower under this Agreement (including its obligations under Section 7.1), (ii) no SPC shall be liable for any indemnity or similar payment obligation under this Agreement for which a Lender would be liable and (iii) the Granting Lender shall for all purposes, including the approval of any amendment, waiver or other modification of any provision of any Loan Document, remain the lender of record hereunder. The making of a Loan by an SPC hereunder shall utilize the Commitment of the Granting Lender to the same extent, and as if, such Loan were made by such Granting Lender. In furtherance of the foregoing, each party hereto hereby agrees (which agreement shall survive the termination of this Agreement) that, prior to the date that is one year and one day after the payment in full of all outstanding commercial paper or other senior debt of any SPC, it will not institute against, or join any other Person in instituting against, such"}
-{"idx": 12, "level": 3, "span": "(h) Notwithstanding anything to the contrary contained herein, if at any time Bank of America assigns all of its Commitments and Loans pursuant to clause (a) above, Bank of America may, upon 30 days’ notice to the Borrower and the Lenders, resign as an Issuer\nIn the event of any such resignation as an Issuer, and if there are no other Issuers at the time of such resignation, the Borrower shall be entitled to appoint from among the Lenders willing to serve in such capacity a successor Issuer hereunder; provided that no failure by the Borrower to appoint any such successor shall affect the resignation of Bank of America as an Issuer. If Bank of America resigns as an Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit issued by it that are outstanding as of the effective date of its resignation as an Issuer and all Reimbursement Obligations with respect thereto (including the right to require the Lenders to make Loans that are Alternate Base Rate Loans or fund risk participations in Letters of Credit pursuant to Section 5.4). Upon the appointment of a successor Issuer, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, as the case may be, and (ii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, issued by Bank of America that are outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit."}
-{"idx": 12, "level": 4, "span": "(i) Certain Additional Payments\nIn connection with any assignment of rights and obligations of any Defaulting Lender hereunder, no such assignment shall be effective unless and until, in addition to the other conditions thereto set forth herein, the parties to the assignment shall make such additional payments to the Administrative Agent in an aggregate amount sufficient, upon distribution thereof as appropriate (which may be outright payment, purchases by the assignee of participations or subparticipations, or other compensating actions, including funding, with the consent of the Borrower and the Administrative Agent, the applicable pro rata share of Loans previously requested but not funded by the Defaulting Lender, to each of which the applicable assignee and assignor hereby irrevocably consent), to (x) pay and satisfy in full all payment liabilities then owed by such Defaulting Lender to the Administrative Agent, any Issuer or any Lender hereunder"}
-{"idx": 12, "level": 3, "span": "(a) This Agreement is an amendment and restatement of the terms and provisions of the Existing Credit Agreement\nNeither the execution and delivery of this Agreement by the Borrower or any Lender, nor any of the terms or provisions contained herein, shall be construed (a) to be a payment on or with respect to the Indebtedness outstanding under the Existing Credit Agreement or (b) to release, terminate or otherwise adversely affect all or any part of any Lien heretofore granted to or retained by the Collateral Agent with respect to any Collateral. Without limiting the foregoing, the Borrower hereby ratifies and confirms the grant of security interest pursuant to, and all other terms and provisions of, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and each other Collateral Document."}
-{"idx": 12, "level": 3, "span": "(b) The Borrower confirms to the Administrative Agent and the Lenders that (i) each Collateral Document continues in full force and effect on the Restatement Effective Date after giving effect to this Agreement and is the legal, valid and binding obligation of the Borrower, enforceable against the Borrower in accordance with its terms, subject to bankruptcy, insolvency and similar laws affecting the enforceability of creditors’ rights generally and to general principles of equity; (ii) the obligations and liabilities secured under each Collateral Document include all obligations and liabilities of the Borrower under this Agreement; and (iii) each reference in the Collateral Documents to the “Credit Agreement” or the “Member Bank Credit Agreement” or similar terms shall, on and after the Restatement Effective Date, be deemed to be a reference to this Agreement."}
-{"idx": 12, "level": 3, "span": "(c) When counterparts executed by all the parties shall have been lodged with the Administrative Agent (or, in the case of any Lender as to which an executed counterpart shall not have been so lodged, the Administrative Agent shall have received facsimile or"}
-{"idx": 12, "level": 3, "span": "(d) The Borrower, the Lenders that are party to the Existing Agreement and Bank of America, N.A., as administrative agent under the Existing Agreement, acknowledge and agree that upon the effectiveness of this Agreement on the Effective Date, the Existing Agreement shall terminate and be of no further force or effect (except that any provision thereof which by its terms survives termination thereof shall continue in full force and effect for the benefit of the applicable party or parties), all without any other action by any Person."}
diff --git a/data/auto_parse/level_freeze/frozen/idx_13.jsonl b/data/auto_parse/level_freeze/frozen/idx_13.jsonl
deleted file mode 100644
index c10c239..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_13.jsonl
+++ /dev/null
@@ -1,54 +0,0 @@
-{"idx": 13, "level": 0, "span": "FIRST AMENDMENT AGREEMENT\nThis FIRST AMENDMENT to the Credit Agreement referred to below, dated as of April 7, 2017 (this “First Amendment”), by and among COTIVITI CORPORATION, a Delaware corporation as a borrower (the “Top Borrower”), COTIVITI DOMESTIC HOLDINGS, INC., a Delaware corporation (a “Borrower” and together with the Top Borrower, the “Borrowers”), COTIVITI INTERMEDIATE HOLDINGS, INC., a Delaware corporation (“Holdings”), certain subsidiaries of the Top Borrower, as Subsidiary Guarantors, the Lenders under the Credit Agreement immediately prior to the First Amendment Effective Date (as defined below) party hereto, each Consenting Lender (as defined below), the Replacement Lender (as defined below) and JPMORGAN CHASE BANK, N.A., as administrative agent and collateral agent (in such capacity, the “Administrative Agent”). Capitalized terms not otherwise defined in this First Amendment have the same meanings as specified in the Credit Agreement (as defined below), as amended by this First Amendment."}
-{"idx": 13, "level": 1, "span": "RECITALS\nWHEREAS, the Borrowers, Holdings, the several Lenders (as defined in the Credit Agreement) from time to time party thereto and the Administrative Agent, have entered into that certain Amended and Restated First Lien Credit Agreement, dated as of September 28, 2016 (together with all exhibits and schedules attached thereto, as amended, restated, amended and restated, supplemented or otherwise modified prior to the date hereof, the “Credit Agreement”);\nWHEREAS, the Borrowers, the undersigned Lenders (including the Replacement Lender (if applicable)) and the Administrative Agent have agreed to amend the Credit Agreement as hereinafter set forth;\nWHEREAS, each Initial Term B Lender under the Credit Agreement immediately prior to the First Amendment Effective Date (collectively, the “Existing Term Lenders”) that executes and delivers a consent to this First Amendment in the form of the “Term Lender Consent” attached hereto as Annex I (a “Term Lender Consent”) and selects Option A thereunder (the “Continuing Term Lenders”) thereby agrees to the terms and conditions of this First Amendment;\nWHEREAS, each Existing Term Lender that executes and delivers a Term Lender Consent and selects Option B thereunder (the “Non-Continuing Term Lenders” and, together with the Continuing Term Lenders, the “Consenting Term Lenders”) thereby agrees to the terms and conditions of this First Amendment and agrees that it shall execute, or shall be deemed to have executed, a counterpart of the Master Assignment and Assumption Agreement substantially in the form attached hereto as Annex II (a “Master Assignment”) and shall in accordance therewith sell all of its existing Initial Term B Loans as specified in the applicable Master Assignment, as further set forth in this First Amendment;\nWHEREAS, each Existing Term Lender that fails to execute and return a Term Lender Consent by 12:00 p.m. (New York City time), on March 31, 2017 (the “Consent Deadline”) (each, a “Non-Consenting Term Lender”) shall, in accordance with Section 2.19(b) of the Credit Agreement, assign and delegate (or be deemed to assign and delegate), without recourse (in accordance with Section 9.05(b) of the Credit Agreement), all of its interests, rights and obligations under the Credit Agreement and the related Loan Documents in respect of its existing Initial Term B Loans to the Replacement Lender (if any), which shall assume such obligations as specified in the Master Assignment, as further set forth in this First Amendment;\nWHEREAS, each Loan Party party hereto (collectively, the “Reaffirming Parties”, and each, a “Reaffirming Party”) expects to realize substantial direct and indirect benefits as a result of this First Amendment becoming effective and the consummation of the transactions contemplated hereby and agrees\nto reaffirm its obligations pursuant to the Credit Agreement, the Collateral Documents, and the other Loan Documents to which it is a party; and\nNOW, THEREFORE, in consideration of the covenants and agreements contained herein, as well as other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the parties hereto agree as follows:"}
-{"idx": 13, "level": 2, "span": "SECTION 1.\n\t\t\tAmendments to Credit Agreement. The Credit Agreement is, effective as of the First Amendment Effective Date (as defined below), and subject to the satisfaction (or waiver) of the conditions precedent set forth in Section 3 below, hereby amended as follows:"}
-{"idx": 13, "level": 3, "span": "(a)\n\t\t\tDefinitions. Section 1.01 of the Credit Agreement is hereby amended by adding the following new definitions thereto in proper alphabetical order:\n“First Amendment” means that certain First Amendment to Credit Agreement, dated as of April 7, 2017, among the Borrowers, Holdings, the Subsidiary Guarantors, the Administrative Agent and the Lenders party thereto.\n“First Amendment Effective Date” shall mean April 7, 2017."}
-{"idx": 13, "level": 3, "span": "(b)\n\t\t\tAlternate Base Rate. The definition of “Alternate Base Rate” in Section 1.01 of the Credit Agreement is hereby amended and restated in its entirety as follows:\n“Alternate Base Rate” means, for any day, a rate per annum equal to the highest of (a) the NYFRB Rate in effect on such day plus 0.50%, (b) to the extent ascertainable, the Published LIBO Rate (which rate shall be calculated based upon an Interest Period of one month and shall be determined on a daily basis) plus 1.00%, (c) the Prime Rate and (d) solely with respect to the Initial Term B Loans prior to the First Amendment Effective Date, 1.75% per annum. Any change in the Alternate Base Rate due to a change in the Prime Rate, the NYFRB Rate or the Published LIBO Rate, as the case may be, shall be effective from and including the effective date of such change in the Prime Rate, the NYFRB Rate or the Published LIBO Rate, as the case may be."}
-{"idx": 13, "level": 3, "span": "(c)\n\t\t\tApplicable Rate. Clause (a) of the definition of “Applicable Rate” in Section 1.01 of the Credit Agreement is hereby amended and restated in its entirety as follows:\n“Applicable Rate” means, for any day, (a)(x) at any time prior to the First Amendment Effective Date, with respect to any Initial Term B Loan, subject to the last paragraph of this definition, a percentage per annum equal to 1.75% for ABR Loans and 2.75% for LIBO Rate Loans, and (y) from and after the First Amendment Effective Date, with respect to any Initial Term B Loan, subject to the last paragraph of this definition, a percentage per annum equal to 1.50% for ABR Loans and 2.50% for LIBO Rate Loans."}
-{"idx": 13, "level": 3, "span": "(d)\n\t\t\tLIBO Rate. Clause (a) of the proviso in the definition of “LIBO Rate” in Section 1.01 of the Credit Agreement is hereby amended and restated in its entirety as follows:\n“; provided that, (a) in no event shall the LIBO Rate (x) solely with respect to the Initial Term B Loans at any time prior to the First Amendment Effective Date, be less than 0.75% per annum and (y) solely with respect to (1) the Initial Term A Loans, (2) the Initial Revolving Loans and (3) after and from the First Amendment Effective Date, the Initial Term B Loans, be less than 0.00% per annum”\n(e)\n\t\t\tSection 2.12(f) of the Credit Agreement is hereby amended by replacing the words “the Closing Date” with the words “the First Amendment Effective Date” in each instance where such term appears."}
-{"idx": 13, "level": 3, "span": "(e)\nSection 2.12(f) of the Credit Agreement is hereby amended by replacing the words “the Closing Date” with the words “the First Amendment Effective Date” in each instance where such term appears."}
-{"idx": 13, "level": 2, "span": "SECTION 2.\n\t\t\tContinuation of Existing Term Loans; Non-Consenting Lenders; Other Terms and Agreements."}
-{"idx": 13, "level": 3, "span": "(a)\n\t\t\tContinuing Lenders. Each Existing Term Lender selecting Option A on the Term Lender Consent hereby consents and agrees to this First Amendment."}
-{"idx": 13, "level": 3, "span": "(b)\n\t\t\tNon-Continuing Term Lenders. Each Existing Term Lender selecting Option B on the Term Lender Consent hereto hereby consents and agrees (subject to the effectiveness of the assignment referred to in the following clause (ii)) to (i) this First Amendment and (ii) sell the entire principal amount of its existing Initial Term B Loans via an assignment on the First Amendment Effective Date pursuant to the Master Assignment. By executing a Term Lender Consent and selecting Option B, each Non-Continuing Term Lender shall be deemed to have executed a counterpart to the Master Assignment to give effect, solely upon the consent and acceptance by the Replacement Lender, to the assignment described in the immediately preceding sentence."}
-{"idx": 13, "level": 3, "span": "(c)\n\t\t\tNon-Consenting Term Lenders. The Top Borrower hereby gives notice to each Non-Consenting Term Lender that, upon receipt of Lender Consents from Lenders holding more than 50% of the aggregate outstanding principal amount of the Initial Term B Loans immediately prior to the First Amendment Effective Date, if such Non-Consenting Term Lender has not executed and delivered a Term Lender Consent on or prior to the Consent Deadline, such Non-Consenting Term Lender shall, pursuant to Section 2.19(b) of the Credit Agreement, execute or be deemed to have executed a counterpart of the Master Assignment and shall in accordance therewith sell its Existing Terms Loans as specified in the Master Assignment. Pursuant to the Master Assignment, each Non-Consenting Term Lender shall sell and assign the entire outstanding principal amount of its Existing Term Loans as set forth in Schedule I to the Master Assignment, as such Schedule is completed by the Administrative Agent on or prior to the First Amendment Effective Date, to JPMorgan Chase Bank, N.A., as assignee (in such capacity the “Replacement Lender”) under such Master Assignment, solely upon the consent and acceptance by the Replacement Lender. The Replacement Lender shall be deemed to have consented to this First Amendment with respect to such purchased Initial Term B Loans at the time of such assignment."}
-{"idx": 13, "level": 2, "span": "SECTION 3.\n\t\t\tConditions of Effectiveness. The effectiveness of this First Amendment (including the amendments contained in Section 1 and agreements contained in Section 2) are subject to the satisfaction (or waiver) of the following conditions (the date of satisfaction of such conditions being referred to herein as the “First Amendment Effective Date”):\n(a)\n\t\t\tThis First Amendment shall have been duly executed by the Borrowers, Holdings, the Subsidiary Guarantors and the Administrative Agent (which may include a copy transmitted by facsimile or other electronic method), and delivered to the Administrative Agent, and the Lenders under the Credit Agreement consisting of Lenders holding more than 50% of the aggregate outstanding principal amount of the Initial Term B Loans immediately prior to the First Amendment Effective Date."}
-{"idx": 13, "level": 3, "span": "(b)\n\t\t\tThe Administrative Agent shall have received a certificate signed by a Responsible Officer of the Top Borrower as to the matters set forth in paragraphs (d) and (e) of this Section 3;\n(c)\n\t\t\tThe Administrative Agent shall have received (i) a certificate of each Loan Party, dated the First Amendment Effective Date and executed by a secretary, assistant secretary or other Responsible Officer thereof, which shall (A) certify that either (x) (i) attached thereto is a true and complete copy of the\ncertificate or articles of incorporation, formation or organization of such Loan Party certified by the relevant authority of its jurisdiction of organization and that such certificate or, if applicable, such articles of incorporation, formation or organization of such Loan Party attached thereto have not been amended, repealed, modified or restated (except as attached thereto) since the date reflected thereon or (ii) the certificate or articles of incorporation, formation or organization of such Loan Party delivered on the Closing Date to the Administrative Agent have not been amended, repealed, modified or restated and are in full force and effect, (y) (i) attached thereto is a true and correct copy of the by-laws or operating, management, partnership or similar agreement of such Loan Party, together with all amendments thereto as of the Closing Date and such by-laws or operating, management, partnership or similar agreement are in full force and effect or (ii) if applicable, the by-laws or operating, management, partnership or similar agreement of such Loan Party, together with all amendments thereto delivered on the Closing Date have not been amended, repealed, modified or restated and are in full force and effect and (z) attached thereto is a true and complete copy of the resolutions or written consent, as applicable, of its board of directors, board of managers, sole member or other applicable governing body authorizing the execution and delivery of this First Amendment and any related Loan Documents, which resolutions or consent have not been modified, rescinded or amended (other than as attached thereto) and are in full force and effect, and (B) identify by name and title and bear the signatures of the officers, managers, directors or authorized signatories of such Loan Party authorized to sign this First Amendment or any of such other Loan Documents to which such Loan Party is a party on the Closing Date and (ii) a good standing (or equivalent) certificate as of a recent date for such Loan Party from the relevant authority of its jurisdiction of organization.\n(d)\n\t\t\tNo Default or Event of Default has occurred and is continuing both before and immediately after giving effect to the transactions contemplated hereby;"}
-{"idx": 13, "level": 3, "span": "(c)\nThe Administrative Agent shall have received (i) a certificate of each Loan Party, dated the First Amendment Effective Date and executed by a secretary, assistant secretary or other Responsible Officer thereof, which shall (A) certify that either (x) (i) attached thereto is a true and complete copy of the"}
-{"idx": 13, "level": 3, "span": "(d)\nNo Default or Event of Default has occurred and is continuing both before and immediately after giving effect to the transactions contemplated hereby;"}
-{"idx": 13, "level": 3, "span": "(e)\n\t\t\tThe representations and warranties of the Borrowers and each of the Guarantors set forth in Section 4 of this First Amendment are true and correct;"}
-{"idx": 13, "level": 3, "span": "(f)\n\t\t\tAll fees and expenses required to be paid in connection with this First Amendment or pursuant to that certain engagement letter, dated as of March 28, 2017 (the “Engagement Letter”), by and among the Top Borrower and the Repricing Arrangers (as defined below) and any fee letter entered into by the Top Borrower and any party thereto shall have been paid in full in cash or will be paid in full in cash on the First Amendment Effective Date, including, without limitation, all reasonable and documented out-of-pocket expenses incurred by the Repricing Arrangers, the Administrative Agent and their respective Affiliates in connection with the execution and delivery of this First Amendment."}
-{"idx": 13, "level": 3, "span": "(g)\n\t\t\tThe Replacement Lender, if any, shall have executed and delivered the Master Assignment contemplated by Section 2 above and all conditions to the consummation of the assignments in accordance with Section 2 above shall have been satisfied and such assignments shall have been consummated."}
-{"idx": 13, "level": 3, "span": "(h)\n\t\t\tThe Borrowers shall have, substantially concurrently with the effectiveness of this First Amendment, paid to each Non-Consenting Term Lender all accrued interest, fees and other amounts payable to such Non-Consenting Term Lender under any Loan Document with respect to the Initial Term B Loans assigned by such Non-Consenting Term Lender under Section 2(c) above (other than principal and all other amounts paid to such Non-Consenting Term Lender under Section 2 above), if any, then due and owing to such Non-Consenting Term Lender under the Credit Agreement and the other Loan Documents (immediately prior to the effectiveness of this First Amendment)."}
-{"idx": 13, "level": 3, "span": "(a)\nThis First Amendment shall have been duly executed by the Borrowers, Holdings, the Subsidiary Guarantors and the Administrative Agent (which may include a copy transmitted by facsimile or other electronic method), and delivered to the Administrative Agent, and the Lenders under the Credit Agreement consisting of Lenders holding more than 50% of the aggregate outstanding principal amount of the Initial Term B Loans immediately prior to the First Amendment Effective Date."}
-{"idx": 13, "level": 2, "span": "SECTION 4.\n\t\t\tRepresentations and Warranties. To induce the other parties hereto to enter into this First Amendment, each Loan Party represents and warrants to each of the Lenders and the Administrative Agent that, as of the First Amendment Effective Date:\n(a)\n\t\t\tThis First Amendment has been duly authorized, executed and delivered by each Loan Party party hereto and constitutes, and the Credit Agreement, as amended by this First Amendment constitutes, its legal, valid and binding obligation, enforceable against each such Loan Party in accordance with its terms, subject to the Legal Representations;\n(b)\n\t\t\tThe representations and warranties of Holdings, the Borrowers and the Subsidiary Guarantors set forth in Article 3 of the Credit Agreement (as amended by this First Amendment) and the other Loan Documents are true and correct in all material respects on and as of the First Amendment Effective Date (immediately after giving effect to this First Amendment), except to the extent that such representations and warranties specifically refer to an earlier date or specified period, in which case they shall be true and correct in all material respects as of such earlier date or for such specified period; and\n(c)\n\t\t\tAfter giving effect to this First Amendment and the transactions contemplated hereby, no Default or Event of Default has occurred and is continuing."}
-{"idx": 13, "level": 2, "span": "SECTION 5.\n\t\t\tTop Borrower’s Consent. For purposes of Section 9.05 of the Credit Agreement, the Top Borrower hereby consents to any assignee of the Replacement Lender (in each case otherwise being an Eligible Assignee) becoming a Term Lender in connection with the syndication of the Initial Term B Loans acquired by the Replacement Lender pursuant to Section 2 hereof, to the extent the inclusion of such assignee in the syndicate (and the amount of any assignment allocated thereto) has been disclosed in writing to and agreed by the Top Borrower prior to the First Amendment Effective Date."}
-{"idx": 13, "level": 2, "span": "SECTION 6.\n\t\t\tEffects on Loan Documents. Except as specifically amended herein or contemplated hereby, all Loan Documents shall continue to be in full force and effect and are hereby in all respects ratified and confirmed. The execution, delivery and effectiveness of this First Amendment shall not operate as a waiver of any right, power or remedy of any Lender or the Administrative Agent under any of the Loan Documents, nor constitute a waiver of any provision of the Loan Documents or in any way limit, impair or otherwise affect the rights and remedies of the Lenders or the Administrative Agent under the Loan Documents. Holdings, the Borrowers and each of the Subsidiary Guarantors acknowledges and agrees that, on and after the First Amendment Effective Date, this First Amendment shall constitute a Loan Document for all purposes of the Amended Credit Agreement. On and after the First Amendment Effective Date, each reference in the Amended Credit Agreement to “this Agreement”, “hereunder”, “hereof”, “herein” or words of like import referring to the Credit Agreement, and each reference in the other Loan Documents to “Credit Agreement”, “thereunder”, “thereof” or words of like import referring to the Credit Agreement shall mean and be a reference to the Credit Agreement as amended by this First Amendment, and this First Amendment and the Credit Agreement as amended by this First Amendment shall be read together and construed as a single instrument. Nothing herein shall be deemed to entitle Holdings, the Borrowers nor the Subsidiary Guarantors to a further consent to, or a further waiver, amendment, modification or other change of, any of the terms, conditions, obligations, covenants or agreements contained in the Credit Agreement as amended by this First Amendment or any other Loan Document in similar or different circumstances."}
-{"idx": 13, "level": 3, "span": "(a)\nThis First Amendment has been duly authorized, executed and delivered by each Loan Party party hereto and constitutes, and the Credit Agreement, as amended by this First Amendment constitutes, its legal, valid and binding obligation, enforceable against each such Loan Party in accordance with its terms, subject to the Legal Representations;"}
-{"idx": 13, "level": 3, "span": "(b)\nThe representations and warranties of Holdings, the Borrowers and the Subsidiary Guarantors set forth in Article 3 of the Credit Agreement (as amended by this First Amendment) and the other Loan Documents are true and correct in all material respects on and as of the First Amendment Effective Date (immediately after giving effect to this First Amendment), except to the extent that such representations and warranties specifically refer to an earlier date or specified period, in which case they shall be true and correct in all material respects as of such earlier date or for such specified period; and"}
-{"idx": 13, "level": 3, "span": "(c)\nAfter giving effect to this First Amendment and the transactions contemplated hereby, no Default or Event of Default has occurred and is continuing."}
-{"idx": 13, "level": 2, "span": "SECTION 7.\n\t\t\tIndemnification. The Borrowers hereby confirm that the indemnification provisions set forth in Section 9.03 of the Credit Agreement as amended by this First Amendment shall apply to this First Amendment and the transactions contemplated hereby."}
-{"idx": 13, "level": 2, "span": "SECTION 8.\n\t\t\tRepricing Arrangers. The Borrowers and the Lenders party hereto agree that JPMorgan Chase Bank, N.A., SunTrust Robinson Humphrey, Inc., Goldman Sachs Bank USA, Barclays Bank PLC, Citigroup Global Markets Inc., Credit Suisse Securities (USA) LLC, Morgan Stanley Senior Funding, Inc. and Royal Bank of Canada (each a “Repricing Arranger”) shall be entitled to the privileges, indemnification, immunities and other benefits afforded to the Arrangers under the Credit Agreement as\namended by this First Amendment and (b) except as otherwise agreed to in writing by the Top Borrower and each such Repricing Arranger, each Repricing Arranger shall have no duties, responsibilities or liabilities with respect to this First Amendment, the Credit Agreement as amended by this First Amendment or any other Loan Document (other than, for the avoidance of doubt, any duties, responsibilities or liabilities set forth in this First Amendment, the Credit Agreement or the Engagement Letter)."}
-{"idx": 13, "level": 2, "span": "SECTION 9.\n\t\t\tAmendments; Execution in Counterparts; Severability.\n(a)\n\t\t\tThis First Amendment may not be amended nor may any provision hereof be waived except pursuant to a writing signed by Holdings, each Borrower, each of the Subsidiary Guarantors, the Lenders party hereto and the Administrative Agent; and\n(b)\n\t\t\tTo the extent any provision of this First Amendment is prohibited by or invalid under the applicable law of any jurisdiction, such provision shall be ineffective only to the extent of such prohibition or invalidity and only in such jurisdiction, without prohibiting or invalidating such provision in any other jurisdiction or the remaining provisions of this First Amendment in any jurisdiction."}
-{"idx": 13, "level": 2, "span": "SECTION 10.\n\t\t\tReaffirmation. Each of the Reaffirming Parties, as party to the Credit Agreement and certain of the Collateral Documents and the other Loan Documents, in each case as amended, supplemented or otherwise modified from time to time, hereby (i) acknowledges and agrees that all of its obligations under the Credit Agreement, the Collateral Documents and the other Loan Documents to which it is a party are reaffirmed and remain in full force and effect on a continuous basis, (ii) reaffirms (A) each Lien granted by it to the Administrative Agent for the benefit of the Secured Parties and (B) any guaranties made by it pursuant to any Loan Guaranty, (iii) acknowledges and agrees that the grants of security interests by it contained in the Security Agreement and any other Collateral Document shall remain, in full force and effect after giving effect to the First Amendment, and (iv) agrees that the Obligations include, among other things and without limitation, the payment of any principal or interest on the Initial Term B Loans under the Credit Agreement as amended by this First Amendment. Nothing contained in this First Amendment shall be construed as substitution or novation of the obligations outstanding under the Credit Agreement or the other Loan Documents, which shall remain in full force and effect, except to any extent modified hereby."}
-{"idx": 13, "level": 3, "span": "(a)\nThis First Amendment may not be amended nor may any provision hereof be waived except pursuant to a writing signed by Holdings, each Borrower, each of the Subsidiary Guarantors, the Lenders party hereto and the Administrative Agent; and"}
-{"idx": 13, "level": 3, "span": "(b)\nTo the extent any provision of this First Amendment is prohibited by or invalid under the applicable law of any jurisdiction, such provision shall be ineffective only to the extent of such prohibition or invalidity and only in such jurisdiction, without prohibiting or invalidating such provision in any other jurisdiction or the remaining provisions of this First Amendment in any jurisdiction."}
-{"idx": 13, "level": 2, "span": "SECTION 11.\n\t\t\tAdministrative Agent. The Borrowers acknowledge and agree that JPMorgan Chase Bank, N.A., in its capacity as administrative agent under the Credit Agreement, will serve as Administrative Agent under the Credit Agreement as amended by this First Amendment."}
-{"idx": 13, "level": 2, "span": "SECTION 12.\n\t\t\tGoverning Law; Waiver of Jury Trial; Jurisdiction. THIS FIRST AMENDMENT AND ANY CLAIM, CONTROVERSY OR DISPUTE ARISING UNDER OR RELATED TO THIS FIRST AMENDMENT, WHETHER IN TORT, CONTRACT (AT LAW OR IN EQUITY) OR OTHERWISE, SHALL BE GOVERNED BY, AND CONSTRUED AND INTERPRETED IN ACCORDANCE WITH, THE LAWS OF THE STATE OF NEW YORK. The provisions of Sections 9.10(b), 9.10(c), 9.10(d) and 9.11 of the Credit Agreement are incorporated herein by reference, mutatis mutandis."}
-{"idx": 13, "level": 2, "span": "SECTION 13.\n\t\t\tHeadings. Section headings in this First Amendment are included herein for convenience of reference only, are not part of this First Amendment and are not to affect the construction of, or to be taken into consideration in interpreting, this First Amendment."}
-{"idx": 13, "level": 2, "span": "SECTION 14.\n\t\t\tCounterparts. This First Amendment may be executed by one or more of the parties hereto on any number of separate counterparts, and all of said counterparts taken together shall be\ndeemed to constitute one and the same instrument. Signatures delivered by facsimile or PDF or other electronic means shall have the same force and effect as manual signatures delivered in person."}
-{"idx": 13, "level": 2, "span": "[Remainder of page intentionally left blank.]"}
-{"idx": 13, "level": 2, "span": "[Signature Page to Amendment]"}
-{"idx": 13, "level": 2, "span": "[Signature Page to Amendment]"}
-{"idx": 13, "level": 1, "span": "ANNEX I"}
-{"idx": 13, "level": 2, "span": "INITIAL TERM B LENDER CONSENT TO"}
-{"idx": 13, "level": 2, "span": "FIRST AMENDMENT TO CREDIT AGREEMENT"}
-{"idx": 13, "level": 3, "span": "PROCEDURE FOR INITIAL TERM B LENDERS:\nThe above-named Initial Term B Lender elects to:\nOPTION A – CONSENT TO AMENDMENT AND CONTINUATION OF EXISTING INITIAL TERM B LOANS: ☐ Consent and agree to this First Amendment and agree to continue as an Initial Term B Lender with respect to its entire outstanding principal amount of Initial Term B Loans under the Credit Agreement after giving effect to the First Amendment, or a lower principal amount as reasonably determined by the Lead Arranger.\nOPTION B – CONSENT TO AMENDMENT ONLY: ☐ Consent to the First Amendment and agree to sell and assign its entire outstanding principal amount of Initial Term B Loans under the Credit Agreement after giving effect to the First Amendment, or a lower principal amount as reasonably determined by the Lead Arranger, to the Replacement Lender pursuant to the Master Assignment."}
-{"idx": 13, "level": 1, "span": "Annex I"}
-{"idx": 13, "level": 1, "span": "ANNEX II"}
-{"idx": 13, "level": 2, "span": "FORM OF MASTER ASSIGNMENT AND ASSUMPTION AGREEMENT"}
-{"idx": 13, "level": 2, "span": "FOR COTIVITI CORPORATION."}
-{"idx": 13, "level": 1, "span": "CREDIT AGREEMENT\nThis Assignment and Assumption (the “Assignment and Assumption”) is dated as of the Effective Date set forth below and is entered into by and between each Assignor identified in Section 1 below (each, an “Assignor”) and JPMorgan Chase Bank, N.A. (the “Assignee”). Capitalized terms used but not defined herein shall have the meanings given to them in the First Lien Credit Agreement identified below (as amended, restated, amended and restated, supplemented or otherwise modified from time to time, the “First Lien Credit Agreement”), receipt of a copy of which is hereby acknowledged by the Assignee. The Standard Terms and Conditions set forth in Annex I attached hereto are hereby agreed to and incorporated herein by reference and made a part of this Assignment and Assumption as if set forth herein in full.\nFor an agreed consideration, each Assignor hereby irrevocably sells and assigns to the Assignee, and the Assignee hereby irrevocably purchases and assumes from each Assignor, subject to and in accordance with the Standard Terms and Conditions and the First Lien Credit Agreement, as of the Effective Date inserted by the Administrative Agent as contemplated below, (i) all of the applicable Assignor’s rights and obligations in its capacity as a Term Lender under the First Lien Credit Agreement and any other documents or instruments delivered pursuant thereto to the extent related to the principal amount of Initial Term B Loans identified opposite such Assignor’s name in the table set out in Section 6 below under the caption “Aggregate Amount of Initial Term B Loans held immediately prior to the First Amendment Effective Date” and (ii) to the extent permitted to be assigned under applicable Requirements of Law, all claims, suits, causes of action and any other right of the applicable Assignor (in its capacity as a Term Lender) against any Person, whether known or unknown, arising under or in connection with the First Lien Credit Agreement, any other documents or instruments delivered pursuant thereto or the loan transactions governed thereby or in any way based on or related to any of the foregoing, including contract claims, tort claims, malpractice claims, statutory claims and all other claims at law or in equity related to the rights and obligations sold and assigned pursuant to clause (i) above (the rights and obligations sold and assigned pursuant to clauses (i) and (ii) above being referred to herein collectively as the “Assigned Interest”). Upon the assignment by each Assignor of all of such Assignor’s rights and obligations under the First Lien Credit Agreement immediately prior to the First Amendment Effective Date pursuant to this Assignment and Assumption, such Assignor shall cease to be a party thereto but shall continue to be entitled to the benefits of Sections 2.15, 2.16, 2.17 and 9.03 of the First Lien Credit Agreement with respect to facts and circumstances occurring on or prior to the Effective Date identified below and subject to its obligations hereunder and under Section 9.13 of the First Lien Credit Agreement. Such sale and assignment is (i) subject to acceptance and recording thereof in the Register by the Administrative Agent pursuant to Section 9.05(b)(v) of the First Lien Credit Agreement, (ii) without recourse to the applicable Assignor and (iii) except as expressly provided in this Assignment and Assumption, without representation or warranty by the applicable Assignor.\nBy purchasing the Assigned Interest, the Assignee agrees that, for purposes of that certain First Amendment to Credit Agreement dated as of April 7, 2017 (the “First Amendment”), by and among the Borrowers, Holdings, certain subsidiaries of the Top Borrower, the Required Lenders, the Replacement Lender and the Consenting Lenders referred to therein, the Administrative Agent, it shall be deemed to have consented and agreed to the First Amendment."}
-{"idx": 13, "level": 2, "span": "A-II-1"}
-{"idx": 13, "level": 5, "span": "Effective Date\n: [ ]\n\t\t\n7.THE PARTIES HERETO ACKNOWLEDGE THAT ANY ASSIGNMENT TO ANY DISQUALIFIED INSTITUTION WITHOUT OBTAINING THE REQUIRED CONSENT OF THE TOP BORROWER OR, TO THE EXTENT THE TOP BORROWER’S CONSENT IS REQUIRED UNDER SECTION 9.05 OF THE FIRST LIEN CREDIT AGREEMENT, TO ANY OTHER PERSON, SHALL BE NULL AND VOID, AND, IN THE EVENT OF ANY SUCH ASSIGNMENT (AND ANY ASSIGNMENT TO ANY AFFILIATE OF ANY DISQUALIFIED INSTITUTION (OTHER THAN A BONA FIDE DEBT FUND)), ANY BORROWER SHALL BE ENTITLED TO PURSUE THE REMEDIES DESCRIBED IN SECTION 9.05 OF THE FIRST LIEN CREDIT AGREEMENT.\n\t\t"}
-{"idx": 13, "level": 5, "span": "[Signature Page Follows]"}
-{"idx": 13, "level": 1, "span": "ANNEX II-1\n3.General Provisions. This Assignment and Assumption shall be binding upon, and inure to the benefit of, the parties hereto and their respective successors and permitted assigns. This Assignment and Assumption may be executed in any number of counterparts, which together shall constitute one instrument. Delivery of an executed counterpart of a signature page of this Assignment and Assumption by facsimile or by email as a “.pdf” or “.tif” attachment shall be effective as delivery of a manually executed counterpart of this Assignment and Assumption. This Assignment and Assumption shall be construed in accordance with and governed by the laws of the State of New York."}
-{"idx": 13, "level": 1, "span": "ANNEX II-2"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_2.jsonl b/data/auto_parse/level_freeze/frozen/idx_2.jsonl
deleted file mode 100644
index 3380ff1..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_2.jsonl
+++ /dev/null
@@ -1,143 +0,0 @@
-{"idx": 2, "level": 0, "span": "INVESTMENT AGREEMENT"}
-{"idx": 2, "level": 1, "span": "by and among"}
-{"idx": 2, "level": 1, "span": "PANDORA MEDIA, INC.,"}
-{"idx": 2, "level": 1, "span": "KKR CLASSIC INVESTORS LLC"}
-{"idx": 2, "level": 1, "span": "and"}
-{"idx": 2, "level": 1, "span": "THE OTHER PURCHASERS HERETO"}
-{"idx": 2, "level": 1, "span": "Dated as of May 8, 2017"}
-{"idx": 2, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 2, "level": 1, "span": "iii\nINVESTMENT AGREEMENT, dated as of May 8, 2017 (this “Agreement”), by and among Pandora Media, Inc., a Delaware corporation (the “Company”), and KKR Classic Investors LLC, together with certain of its managed funds and accounts and affiliates, and the other parties that become Purchasers hereunder pursuant to Section 2.03.\nWHEREAS, the Company desires to issue, sell and deliver to the Purchasers, and the Purchasers desire to purchase and acquire from the Company, pursuant to the terms and conditions set forth in this Agreement, up to 250,000 shares of the Company’s Series A Convertible Preferred Stock, par value $0.0001 per share (the “Series A Preferred Stock”), having the designation, preferences, conversion or other rights, voting powers, restrictions, limitations as to dividends, qualifications and terms and conditions, as specified in the form of Certificate of Designations attached hereto as Annex I (the “Certificate of Designations”);\nNOW, THEREFORE, in consideration of the mutual covenants, representations, warranties and agreements contained in this Agreement, the receipt and sufficiency of which are hereby acknowledged, the parties to this Agreement hereby agree as follows:"}
-{"idx": 2, "level": 2, "span": "Article I"}
-{"idx": 2, "level": 2, "span": "Definitions\nSection 1.01 Definitions. (a) As used in this Agreement (including the recitals hereto), the following terms shall have the following meanings:\n“20% Entity” means any Person that, after giving effect to a proposed Transfer, would beneficially own, on an as converted basis, greater than 20% of the then outstanding Common Stock, on an as converted basis.\n“50% Beneficial Ownership Requirement” means that either (i) the Lead Purchasers and their Permitted Transferees continue to beneficially own at all times shares of Series A Preferred Stock and/or shares of Common Stock that were issued upon conversion of shares of Series A Preferred Stock that represent in the aggregate and on an as converted basis, at least 50% of the number of shares of Common Stock issuable upon conversion of the Series A Preferred Stock purchased by the Lead Purchasers under this Agreement; provided that for purposes of this clause (i) it shall be assumed that the Lead Purchasers owned 125,000 shares of Series A Preferred Stock on the Initial Closing Date rather than the 150,000 shares of Series A Preferred Stock purchased by the Lead Purchasers on the Initial Closing Date or (ii) all Purchasers collectively continue to beneficially own at all times shares of Series A Preferred Stock and/or shares of Common Stock that were issued upon conversion of shares of Series A Preferred Stock that represent in the aggregate and on an as converted basis, at least 50% of the number of shares of Common Stock issuable upon conversion of the Series A Preferred Stock purchased under this Agreement.\n“Acquisition Proposal” means (i) any proposal or offer from any Person or group of Persons, other than the Lead Purchasers and their respective Affiliates, with respect to a merger, joint venture, partnership, consolidation, dissolution, liquidation, tender offer, recapitalization, reorganization, spin-off, extraordinary dividend, share exchange, business combination or similar transaction\ninvolving the Company or any of its Subsidiaries which is structured to permit such Person or group of Persons (or the holders of their equity securities) to, directly or indirectly, acquire beneficial ownership of 50% or more of the Company’s consolidated total assets or any class of the Company’s Capital Stock and (ii) any acquisition by any Person or group of Persons (or the holders of their equity interests) (other than the Lead Purchasers and their respective Affiliates) resulting in, or proposal or offer, which if consummated would result in, any Person or group of Persons (or the holders of their equity interests) (other than the Lead Purchasers and their respective Affiliates) obtaining control (through contract or otherwise) over or becoming the beneficial owner of, directly or indirectly, in one or a series of related transactions, 50% or more of the total voting power of any class of Capital Stock of the Company, or 50% or more of the consolidated total assets (including equity securities of its Subsidiaries) of the Company, in each case other than the transactions contemplated by this Agreement.\n“Affiliate” means, as to any Person, any other Person that, directly or indirectly, controls, or is controlled by, or is under common control with, such Person; provided, however, that the Company and its Subsidiaries shall not be deemed to be Affiliates of any Purchaser Party or any of its Affiliates, and portfolio companies of any Lead Purchasers or any Affiliate thereof, shall not be deemed to be Affiliates of such Lead Purchaser. For this purpose, “control” (including, with its correlative meanings, “controlled by” and “under common control with”) shall mean the possession, directly or indirectly, of the power to direct or cause the direction of management or policies of a Person, whether through the ownership of securities or partnership or other ownership interests, by contract or otherwise.\n“as converted basis” means (i) with respect to the outstanding shares of Common Stock as of any date, all outstanding shares of Common Stock calculated on a basis in which all shares of Common Stock issuable upon conversion of the outstanding shares of Series A Preferred Stock (at the Conversion Rate in effect on such date as set forth in the Certificate of Designations) are assumed to be outstanding as of such date and (ii) with respect to any outstanding shares of Series A Preferred Stock as of any date, the number of shares of Common Stock issuable upon conversion of such shares of Series A Preferred Stock on such date (at the Conversion Rate in effect on such date as set forth in the Certificate of Designations).\nAny Person shall be deemed to “beneficially own”, to have “beneficial ownership” of, or to be “beneficially owning” any securities (which securities shall also be deemed “beneficially owned” by such Person) that such Person is deemed to “beneficially own” within the meaning of Rules 13d-3 and 13d-5 under the Exchange Act; provided that any Person shall be deemed to beneficially own any securities that such Person has the right to acquire, whether or not such right is exercisable immediately (including assuming conversion of all Series A Preferred Stock, if any, owned by such Person to Common Stock).\n“Board” means the Board of Directors of the Company.\n“Business Day” means any day except a Saturday, a Sunday or other day on which the SEC or banks in the City of New York are authorized or required by Law to be closed.\n“Capital Stock” means, with respect to any Person, any and all shares of, interests in, rights to purchase, warrants to purchase, options for, participations in or other equivalents of or interests in (however designated) stock issued by such Person.\n“Closing” means the Initial Closing or an Additional Closing, as applicable.\n“Closing Date” means the Initial Closing Date or an Additional Closing Date, as applicable.\n“Code” means the United States Internal Revenue Code of 1986, as amended.\n“Common Equity” of any Person means Capital Stock of such Person that is generally entitled (a) to vote in the election of directors of such Person or (b) if such Person is not a corporation, to vote or otherwise participate in the selection of the governing body, partners, managers or others that will control the management or policies of such Person.\n“Common Stock” means the common stock, par value $0.0001 per share, of the Company.\n“Company Charter Documents” means the Company’s charter and bylaws, each as amended to the date of this Agreement, and shall include the Certificate of Designations, when filed with and accepted for record by the DSS.\n“Company Plan” means each plan, program, policy, agreement or other arrangement covering current or former employees, directors or consultants, that is (i) an employee welfare plan within the meaning of Section 3(1) of ERISA, (ii) an employee pension benefit plan within the meaning of Section 3(2) of ERISA, other than any plan which is a “multiemployer plan” (as defined in Section 4001(a)(3) of ERISA), (iii) a stock option, stock purchase, stock appreciation right or other stock-based agreement, program or plan, (iv) an individual employment, consulting, severance, retention or other similar agreement or (v) a bonus, incentive, deferred compensation, profit-sharing, retirement, post-retirement, vacation, severance or termination pay, benefit or fringe-benefit plan, program, policy, agreement or other arrangement, in each case that is sponsored, maintained or contributed to by the Company or any of its Subsidiaries or to which the Company or any of its Subsidiaries contributes or is obligated to contribute to or has or may have any liability, other than any plan, program, policy, agreement or arrangement sponsored and administered by a Governmental Authority.\n“Company MSU” means a restricted stock unit of the Company subject to vesting conditions based on the total stockholder return of the Company’s common stock against that of the Russell 2000 Index.\n“Company PSU” means a restricted stock unit of the Company subject to performance-based vesting conditions.\n“Company Restricted Share” means a share of Common Stock that is subject to forfeiture conditions.\n“Company Stock Option” means an option to purchase shares of Common Stock.\n“Company Stock Plans” means the Company’s 2000 Stock Incentive Plan, 2004 Stock Plan and the 2011 Equity Incentive Plan, in each case as amended.\n“Conversion Rate” has the meaning set forth in the Certificate of Designations.\n“Credit Agreement” means the Amendment and Restatement Agreement to Credit Agreement, as previously amended and restated as of September 12, 2013, among the Company, the Lenders party thereto and JPMorgan Chase Bank, N.A. as Administrative Agent, dated as of December 21, 2015.\n“DGCL” means the Delaware General Corporation Law, as amended, supplemented or restated from time to time.\n“DSS” means Delaware Secretary of State, Division of Corporations.\n“ERISA” means the Employee Retirement Income Security Act of 1974, as amended.\n“Exchange Act” means the Securities Exchange Act of 1934, as amended, and the rules and regulations promulgated thereunder.\n“Fall-Away of Purchaser Board Rights” means the first day on which the 50% Beneficial Ownership Requirement is not satisfied.\n“Fair Market Value” means, with respect to any security or other property, the fair market value of such security or other property as reasonably determined in good faith by a majority of the Board, or an authorized committee thereof, (i) after consultation with an Independent Financial Advisor, as to any security or other property with a Fair Market Value of less than $25,000,000, or (ii) otherwise using an Independent Financial Advisor to provide a valuation opinion.\n(a) a “person” or “group” within the meaning of Section 13(d) of the Exchange Act, other than the Company, its Wholly-owned Subsidiaries and the employee benefit plans of the Company and its Wholly-Owned Subsidiaries, files a Schedule TO or any schedule, form or report under the Exchange Act disclosing that such person or group, has become the direct or indirect “beneficial owner,” as defined in Rule 13d-3 under the Exchange Act, of the Company’s Common Equity representing more than 50% of the voting power of the Company’s Common Equity;\n(b) the consummation of (A) any recapitalization, reclassification or change of the Common Stock (other than changes resulting from a subdivision or combination) as a result of which the Common Stock would be converted into, or exchanged for, stock, other securities, other property or assets; (B) any share exchange, consolidation or merger of the Company pursuant to which the Common Stock will be converted into cash, securities or other property or assets; or (C) any sale, lease or other transfer in one transaction or a series of transactions of all or substantially all of the consolidated assets of the Company and its Subsidiaries, taken as a whole, to any Person other than one of the Company’s Wholly-Owned Subsidiaries; provided, however, that a transaction\ndescribed in clause (B) in which the holders of all classes of the Company’s Common Equity immediately prior to such transaction own, directly or indirectly, more than 50% of all classes of Common Equity of the continuing or surviving corporation or transferee or the parent thereof immediately after such transaction in substantially the same proportions as such ownership immediately prior to such transaction shall not be a Fundamental Change pursuant to this clause (b);\n(c) the stockholders of the Company approve any plan or proposal for the liquidation or dissolution of the Company;\n(d) the occurrence of any “change in control” or “fundamental change” (or any similar event, however denominated) with respect to the Company under and as defined in any indenture, credit agreement or other agreement or instrument evidencing, governing the rights of the holders or otherwise relating to any indebtedness for borrowed money of the Company in an aggregate principal amount of $2,000,000 or more or any other series of preferred equity interests; or\n(e) the Common Stock (or other common stock underlying the Notes) ceases to be listed or quoted on any of The New York Stock Exchange, The NASDAQ Global Select Market or The NASDAQ Global Market (or any of their respective successors);"}
-{"idx": 2, "level": 2, "span": "provided, however\n, that a transaction or transactions described in clause (a) or clause (b) above shall not constitute a Fundamental Change if at least 90% of the consideration received or to be received by the common stockholders of the Company, excluding cash payments for fractional shares, in connection with such transaction or transactions consists of shares of common stock that are listed or quoted on any of The New York Stock Exchange, The NASDAQ Global Select Market or The NASDAQ Global Market (or any of their respective successors) or will be so listed or quoted when issued or exchanged in connection with such transaction or transactions and as a result of such transaction or transactions the shares of Series A Preferred Stock become convertible into such consideration, excluding cash payments for fractional shares (subject to the provisions of Section 13 of the Certificate of Designations).\n“GAAP” means generally accepted accounting principles in the United States, consistently applied.\n“Governmental Authority” means any government, court, regulatory or administrative agency, commission, arbitrator or authority or other legislative, executive or judicial governmental entity (in each case including any self-regulatory organization), whether federal, state or local, domestic, foreign or multinational.\n“HSR Act” means the Hart-Scott-Rodino Antitrust Improvements Act of 1976, as amended, and the rules and regulations promulgated thereunder.\n“Indenture” means the 1.75% Convertible Senior Notes Indenture, dated December 9, 2015, between the Company and Citibank, N.A, as trustee.\n“Independent Director” means a person other than (i) a person who has been or who has an immediate family member who has been an officer, employee or director of a Purchaser or Affiliate thereof within the three years prior to the designation of such person to the Board, (ii) a person who has received, or has an immediate family member who has received, during any twelve-month period within the three years prior to the designation of such person to the Board, more than $120,000 in direct compensation from the Purchaser or any Affiliate thereof, other than deferred compensation for prior service (provided such compensation is not contingent in any way on continued service), (iii) a person who is or who has an immediate family member who is an officer, employee or director of a company or an Affiliate thereof that has made payments to, or received payments from, a Purchaser or its Affiliates for property or services in an amount which, in any of the three years prior to the designation of such person to the Board, in excess of the greater of $1 million, or 2% of such other company's or its Affiliate’s, as applicable, consolidated gross revenues or (iv) any other individual having a relationship, which, in the opinion of the Board, would interfere with the exercise of independent judgment in carrying out the responsibilities of a director. An “immediate family member” includes a person’s spouse, parents, children, siblings, mothers and fathers-in-law, sons and daughters-in-law, brothers and sisters-in-law, and anyone (other than domestic employees) who shares such person’s home.\n“Independent Financial Advisor” means an accounting, appraisal, investment banking firm or consultant of nationally recognized standing selected by the Company.\n“Intellectual Property” means any of the following, as they exist anywhere in the world, whether registered or unregistered: (a) patents, patentable inventions and other patent rights; (b) trademarks, service marks, trade dress, trade names, domain names, logos and corporate names and all goodwill related thereto; (c) copyrights; (d) trade secrets, know-how, inventions, algorithms, databases, confidential business information and other proprietary information and rights; (e) computer software programs; and (f) other technology and intellectual property rights.\n“Knowledge” means, with respect to the Company, the actual knowledge of the individuals listed on Section 1.01 of the Company Disclosure Letter, after reasonable inquiry of an officer or employee of the Company that has primary responsibility for such matter.\n“Lead Purchasers” means all Purchasers that are affiliates or managed funds or accounts of KKR Classic Investors LLC.\n“Liens” means any mortgage, pledge, lien, charge, encumbrance, security interest or other restriction of any kind or nature, whether based on common law, statute or contract.\n“Material Adverse Effect” means any effect, change, event or occurrence that has or would reasonably be expected to have, individually or in the aggregate, (x) a material adverse effect on the business, results of operations, assets or condition (financial or otherwise) of the Company and its Subsidiaries, taken as a whole or (y) would prevent, materially delay or materially impede (i) the ability of the Company to consummate the Transactions on a timely basis, (ii) the ability of the Company to comply with its obligations under this Agreement or (iii) the enforceability of the Certificate of Designations; provided, however, that, for purposes of clause (x) above, none of the following, and no effect, change, event or occurrence arising out of, or resulting from, the following,\nshall constitute or be taken into account in determining whether a Material Adverse Effect has occurred or would reasonably be expected to occur: any effect, change, event or occurrence (A) generally affecting (1) the industry in which the Company and its Subsidiaries operate or (2) the economy, credit or financial or capital markets, in the United States or elsewhere in the world, including changes in interest or exchange rates, or (B) to the extent arising out of, resulting from or attributable to (1) changes or prospective changes in Law or in GAAP or in accounting standards, or any changes or prospective changes in the interpretation or enforcement of any of the foregoing, or any changes or prospective changes in general legal, regulatory or political conditions, (2) the negotiation, execution or announcement of this Agreement or the consummation of the Transactions, including the impact thereof on relationships, contractual or otherwise, with customers, suppliers, distributors, partners, employees or regulators, or any claims or litigation arising from allegations of breach of fiduciary duty or violation of Law relating to this Agreement or the Transactions, (3) acts of war (whether or not declared), sabotage or terrorism, or any escalation or worsening of any such acts of war (whether or not declared), sabotage or terrorism, (4) volcanoes, tsunamis, pandemics, earthquakes, hurricanes, tornados or other natural disasters, (5) any action taken by the Company or its Subsidiaries that is required by this Agreement or with a Purchaser’s express written consent or at a Purchaser’s express written request, (6) any change resulting or arising from the identity of, or any facts or circumstances relating to, the Purchasers or any of their Affiliates, (7) any change or prospective change in the Company’s credit ratings, (8) any decline in the market price, or change in trading volume, of the capital stock of the Company or (9) any failure to meet any internal or public projections, forecasts, guidance, estimates, milestones, budgets or internal or published financial or operating predictions of revenue, earnings, cash flow or cash position (it being understood that the exceptions in clauses (7), (8) and (9) shall not prevent or otherwise affect a determination that the underlying cause of any such change, decline or failure referred to therein (if not otherwise falling within any of the exceptions provided by clause (A) and clauses (B)(1) through (9) hereof) is a Material Adverse Effect); provided further, however, that any effect, change, event or occurrence referred to in clause (A) or clauses (B)(1), (3) or (4) may be taken into account in determining whether there has been, or would reasonably be expected to be, individually or in the aggregate, a Material Adverse Effect to the extent such effect, change, event or occurrence has a disproportionate adverse effect on the business, results of operations, assets or condition (financial or otherwise) of the Company and its Subsidiaries, taken as a whole, as compared to other participants in the industry in which the Company and its Subsidiaries operate (in which case the incremental disproportionate impact or impacts may be taken into account in determining whether there has been, or would reasonably be expected to be, a Material Adverse Effect).\n“NYSE” means the New York Stock Exchange.\n“PCI DSS” means the Payment Card Industry Data Security Standards, as amended from time to time.\n“Permitted Transferee” means, with respect to any Person, (i) any Affiliate of such Person, (ii) any successor entity of such Person, (iii) with respect to any Person that is an investment fund, vehicle or similar entity, any other investment fund, vehicle or similar entity of which such Person or an Affiliate, advisor or manager of such Person serves as the general partner, manager or advisor, (iv) with respect to any Person that is an investment fund, vehicle or similar entity, the limited\npartners of such Person pursuant to a distribution in kind in connection with the winding up or dissolution of such Person, (v) any Person who purchases, in the aggregate, up to 25,000 shares of Series A Preferred Stock from the Lead Purchasers within 90 days from the date hereof; provided that such Person is not a Prohibited Transferee and is a US Person and such Transfer does not violate Section 5.08(d), and (vi) any transferee consented to in writing by the Company; provided that, in each such case with respect to the Series A Preferred Stock, such Person is a U.S. Person, unless otherwise consented to in writing by the Company.\n“Person” means an individual, corporation, limited liability company, partnership, joint venture, association, trust, unincorporated organization or any other entity, including a Governmental Authority.\n“Prohibited Transferee” means the Persons listed on Section 1.01 of the Company Disclosure Letter as a “Prohibited Transferee” and the Affiliates thereof.\n“Purchasers” means the Lead Purchasers and the other Persons who become a party hereto as a Purchaser pursuant to Section 2.03, each of which shall be a “Purchaser”.\n“Purchaser Designee” means an individual designated in writing by the Lead Purchasers or the Purchasers, as applicable, for election to the Board pursuant to Section 5.10.\n“Purchaser Director” means a member of the Board who was elected to the Board as a Purchaser Designee.\n“Purchaser Material Adverse Effect” means any effect, change, event, occurrence, state of facts, development or condition that would prevent or materially delay, interfere with, hinder or impair (i) the consummation by the Purchasers of any of the Transactions on a timely basis or (ii) the compliance by the Purchasers with their obligations under this Agreement.\n“Purchaser Parties” means the Purchasers and each Permitted Transferee of the Purchasers to whom shares of Series A Preferred Stock or Common Stock are transferred pursuant to Section 5.08(b)(i).\n“Registration Rights Agreement” means that certain Registration Rights Agreement to be entered into by the Company and the Purchasers, the form of which is set forth as Annex II hereto.\n“Representatives” means, with respect to any Person, its officers, directors, principals, partners, managers, members, employees, consultants, agents, financial advisors, investment bankers, attorneys, accountants, other advisors and other representatives.\n“SEC” means the Securities and Exchange Commission.\n“Securities Act” means the Securities Act of 1933, as amended, and the rules and regulations promulgated thereunder.\n“Standstill Period” means (i) for the Lead Purchasers and their Permitted Transferees, the period beginning on the Initial Closing Date and ending on the date that is six (6) months after the\ndate on which both (x) the Lead Purchasers and their Permitted Transferees no longer have the right to designate a Board member pursuant to Section 5.10 and (y) a Purchaser Director is no longer serving on the Board and (ii) for any other Purchaser, the period beginning on the Closing Date on which such Person purchased shares of Series A Preferred Stock and ending on the one-year anniversary of such date.\n“Subsidiary”, when used with respect to any Person, means any corporation, limited liability company, partnership, association, trust or other entity of which (x) securities or other ownership interests representing more than 50% of the ordinary voting power (or, in the case of a partnership, more than 50% of the general partnership interests) or (y) sufficient voting rights to elect at least a majority of the board of directors or other governing body are, as of such date, owned by such Person or one or more Subsidiaries of such Person or by such Person and one or more Subsidiaries of such Person.\n“Tax” means any and all federal, state, local or foreign taxes, fees, levies, duties, tariffs, imposts, and other similar charges (together with any and all interest, penalties and additions to tax) imposed by any Governmental Authority, including taxes or other charges on or with respect to income, franchises, windfall or other profits, gross receipts, property, sales, use, capital stock, payroll, employment, social security, workers’ compensation, unemployment compensation or net worth; taxes or other charges in the nature of excise, withholding, ad valorem, stamp, transfer, value added or gains taxes; license, registration and documentation fees; and customs duties, tariffs and similar charges, together with any interest or penalty, in addition to tax or additional amount imposed by any Governmental Authority.\n“Tax Return” means returns, reports, claims for refund, declarations of estimated Taxes and information statements, including any schedule or attachment thereto or any amendment thereof, with respect to Taxes filed or required to be filed with any Governmental Authority, including consolidated, combined and unitary tax returns."}
-{"idx": 2, "level": 3, "span": "(a) a “person” or “group” within the meaning of Section 13(d) of the Exchange Act, other than the Company, its Wholly-owned Subsidiaries and the employee benefit plans of the Company and its Wholly-Owned Subsidiaries, files a Schedule TO or any schedule, form or report under the Exchange Act disclosing that such person or group, has become the direct or indirect “beneficial owner,” as defined in Rule 13d-3 under the Exchange Act, of the Company’s Common Equity representing more than 50% of the voting power of the Company’s Common Equity;"}
-{"idx": 2, "level": 3, "span": "(b) the consummation of (A) any recapitalization, reclassification or change of the Common Stock (other than changes resulting from a subdivision or combination) as a result of which the Common Stock would be converted into, or exchanged for, stock, other securities, other property or assets; (B) any share exchange, consolidation or merger of the Company pursuant to which the Common Stock will be converted into cash, securities or other property or assets; or (C) any sale, lease or other transfer in one transaction or a series of transactions of all or substantially all of the consolidated assets of the Company and its Subsidiaries, taken as a whole, to any Person other than one of the Company’s Wholly-Owned Subsidiaries; provided, however, that a transaction"}
-{"idx": 2, "level": 3, "span": "(c) the stockholders of the Company approve any plan or proposal for the liquidation or dissolution of the Company;"}
-{"idx": 2, "level": 3, "span": "(d) the occurrence of any “change in control” or “fundamental change” (or any similar event, however denominated) with respect to the Company under and as defined in any indenture, credit agreement or other agreement or instrument evidencing, governing the rights of the holders or otherwise relating to any indebtedness for borrowed money of the Company in an aggregate principal amount of $2,000,000 or more or any other series of preferred equity interests; or"}
-{"idx": 2, "level": 3, "span": "(e) the Common Stock (or other common stock underlying the Notes) ceases to be listed or quoted on any of The New York Stock Exchange, The NASDAQ Global Select Market or The NASDAQ Global Market (or any of their respective successors);"}
-{"idx": 2, "level": 2, "span": "ARTICLE II"}
-{"idx": 2, "level": 2, "span": "Purchase and Sale\nSection 2.01 Purchase and Sale. On the terms of this Agreement and subject to the satisfaction (or, to the extent permitted by applicable Law, waiver by the party entitled to the benefit thereof) of the conditions set forth in Article VI, at the applicable Closing, the Purchasers shall purchase and acquire from the Company the number of shares of Series A Preferred Stock set forth in Section 2.01 of the Company Disclosure Letter, and the Company shall issue, sell and deliver to each Purchaser, such shares of Series A Preferred Stock (the “Acquired Shares”) set forth opposite such Purchaser’s name in Section 2.01 of the Company Disclosure Letter, for a purchase price per Acquired Share equal to $1,000 (the “Purchase Price”). The purchase and sale of the Acquired Shares pursuant to this Section 2.01 is referred to as the “Purchase”.\nSection 2.02 Initial Closing. (a) On the terms of this Agreement, the initial closing of the Purchase (the “Initial Closing”) shall occur at 10:00 a.m. (New York City time) on the later of (i) June 8, 2017 and (ii) first Business Day after all of the conditions to the Closing set forth in Article VI of this Agreement have been satisfied or, to the extent permitted by applicable Law, waived by the party entitled to the benefit thereof (other than those conditions that by their nature are to be satisfied at the Closing, but subject to the satisfaction or waiver of those conditions at such time) at the offices of Sidley Austin LLP, 1999 Avenue of the Stars, Los Angeles, California 90067, or at such other place, time and date as shall be agreed between the Company and the Purchasers (the date on which the Initial Closing occurs, the “Initial Closing Date”).\n(a) At the Initial Closing:\n(i) the Company shall deliver to the Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and\n(ii) the Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S. federal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers.\nSection 2.03 Additional Closings. (a) The Company may conduct one or more additional closings (an “Additional Closing”) for the issuance of shares of Series A Preferred Stock with additional Persons who become Purchasers under this Agreement by signing a joinder whereby such Persons agree to become Purchasers hereunder (“Additional Closing Purchasers”); provided that the aggregate number of shares of Series A Preferred Stock issued shall not exceed 250,000.\n(a) At each Additional Closing:\n(i) the Company shall deliver to the Additional Closing Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and\n(ii) the Additional Closing Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S. federal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers.\nFor the avoidance of doubt, additional Purchasers who become party to this Agreement prior to the Initial Closing Date shall purchase their Acquired Shares at the Initial Closing. The Company shall amend and restate Section 2.01 of the Company Disclosure Letter for each Additional Closing Purchaser who becomes a party to this Agreement."}
-{"idx": 2, "level": 3, "span": "(a) At the Initial Closing:"}
-{"idx": 2, "level": 4, "span": "(i) the Company shall deliver to the Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and"}
-{"idx": 2, "level": 4, "span": "(ii) the Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S\nfederal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers."}
-{"idx": 2, "level": 3, "span": "(a) At each Additional Closing:"}
-{"idx": 2, "level": 4, "span": "(i) the Company shall deliver to the Additional Closing Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and"}
-{"idx": 2, "level": 4, "span": "(ii) the Additional Closing Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S\nfederal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers."}
-{"idx": 2, "level": 2, "span": "ARTICLE III"}
-{"idx": 2, "level": 2, "span": "Representations and Warranties of the Company\nThe Company represents and warrants to each Purchaser as of the date hereof and as of the Initial Closing (except to the extent made only as of a specified date, in which case such representation and warranty is made as of such date) that, except as (A) set forth in the confidential disclosure letter delivered by the Company to the Purchasers prior to the execution of this Agreement\n(the “Company Disclosure Letter”) (it being understood that any information, item or matter set forth on one section or subsection of the Company Disclosure Letter shall only be deemed disclosure with respect to, and shall only be deemed to apply to and qualify, the section or subsection of this Agreement to which it corresponds in number and each other section or subsection of this Agreement to the extent that it is reasonably apparent that such information, item or matter is relevant to such other section or subsection) or (B) disclosed in any report, schedule, form, statement or other document (including exhibits) filed with, or furnished to, the SEC and publicly available after December 31, 2016 and prior to the date hereof (the “Filed SEC Documents”), other than any risk factor disclosures in any such Filed SEC Document contained in the “Risk Factors” section or any forward-looking statements within the meaning of the Securities Act or the Exchange Act thereof (it being acknowledged that nothing disclosed in the Filed SEC Documents shall be deemed to qualify or modify the representations and warranties set forth in Sections 3.01, 3.02(a), 3.03, 3.05, 3.12 and 3.13):\nSection 3.01 Organization; Standing. (a) The Company is a corporation duly organized and validly existing under the Laws of the State of Delaware, is in good standing with the DSS and has all requisite corporate power and corporate authority necessary to carry on its business as it is now being conducted. The Company is duly licensed or qualified to do business and is in good standing (where such concept is recognized under applicable Law) in each jurisdiction in which the nature of the business conducted by it or the character or location of the properties and assets owned or leased by it makes such licensing or qualification necessary, except where the failure to be so licensed, qualified or in good standing would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. True and complete copies of the Company Charter Documents are included in the Filed SEC Documents.\n(a) Each of the Company’s Subsidiaries is duly organized, validly existing and in good standing (where such concept is recognized under applicable Law) under the Laws of the jurisdiction of its organization, except where the failure to be so organized, existing and in good standing would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\nSection 3.02 Capitalization. (a) The authorized capital stock of the Company consists of 1,000,000,000 shares of Common Stock and 10,000,000 shares of preferred stock, par value $0.0001 per share (“Company Preferred Stock”), of which 250,000 shares of Series A Preferred Stock, par value $0.0001 per share will be authorized as of the date hereof. At the close of business on May 5, 2017 (the “Capitalization Date”), (i) 240,358,500 shares of Common Stock were issued and outstanding (and no Company Restricted Shares were issued and outstanding), (ii) 11,429,472 shares of Common Stock were reserved and available for issuance pursuant to the Company Stock Plans, (iii) 9,668,144 shares of Common Stock were subject to outstanding Company Stock Options, (iv) 357,696 Company MSUs were outstanding pursuant to which a maximum of 386,000 shares of Common Stock could be issued, (v) 1,697,750 Company PSUs were outstanding, (vi) 1,516,662 shares of Common Stock were reserved and available for purchase under the Company’s 2014 Equity Stock Purchase Plan and (vii) no shares of Company Preferred Stock were issued or outstanding.\n(a) Except as described in this Section 3.02, as of the Capitalization Date, there were (i) no outstanding shares of capital stock of, or other equity or voting interests in, the Company, (ii) no outstanding securities of the Company convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company, (iii) no outstanding options, warrants, rights or other commitments or agreements to acquire from the Company, or that obligate the Company to issue, any capital stock of, or other equity or voting interests (or voting debt) in, or any securities convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company other than obligations under the Company Plans in the ordinary course of business, (iv) no obligations of the Company to grant, extend or enter into any subscription, warrant, right, convertible or exchangeable security or other similar agreement or commitment relating to any capital stock of, or other equity or voting interests in, the Company (the items in clauses (i), (ii), (iii) and (iv) being referred to collectively as “Company Securities”) and (v) no other obligations by the Company or any of its Subsidiaries to make any payments based on the price or value of any Company Securities. There are no outstanding agreements of any kind which obligate the Company or any of its Subsidiaries to repurchase, redeem or otherwise acquire any Company Securities (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs), or obligate the Company to grant, extend or enter into any such agreements relating to any Company Securities, including any agreements granting any preemptive rights, subscription rights, anti-dilutive rights, rights of first refusal or similar rights with respect to any Company Securities. None of the Company or any Subsidiary of the Company is a party to any stockholders’ agreement, voting trust agreement, registration rights agreement or other similar agreement or understanding relating to any Company Securities or any other agreement relating to the disposition, voting or dividends with respect to any Company Securities. All outstanding shares of Common Stock have been duly authorized and validly issued and are fully paid, nonassessable and free of preemptive rights.\nSection 3.03 Authority; Noncontravention. (a) The Company has all necessary corporate power and corporate authority to execute and deliver this Agreement and the other Transaction Agreements and to perform its obligations hereunder and thereunder and to consummate the Transactions. The execution, delivery and performance by the Company of this Agreement and the other Transaction Agreements, and the consummation by it of the Transactions, have been duly authorized by the Board and no other corporate action on the part of the Company is necessary to authorize the execution, delivery and performance by the Company of this Agreement and the other Transaction Agreements and the consummation by it of the Transactions. This Agreement has been duly executed and delivered by the Company and, assuming due authorization, execution and delivery hereof by the Purchasers, constitutes a legal, valid and binding obligation of the Company, enforceable against the Company in accordance with its terms, except that such enforceability (i) may be limited by bankruptcy, insolvency, fraudulent transfer, reorganization, moratorium and other similar Laws of general application affecting or relating to the enforcement of creditors’ rights generally and (ii) is subject to general principles of equity, whether considered in a proceeding at law or in equity (the “Bankruptcy and Equity Exception”).\n(a) Neither the execution and delivery of this Agreement or the other Transaction Agreements by the Company, nor the consummation by the Company of the Transactions, nor\nperformance or compliance by the Company with any of the terms or provisions hereof or thereof, will (i) conflict with or violate any provision of (A) the Company Charter Documents or (B) the similar organizational documents of any of the Company’s Subsidiaries or (ii) assuming that the authorizations, consents and approvals referred to in Section 3.04 are obtained prior to the Initial Closing Date and the filings referred to in Section 3.04 are made and any waiting periods thereunder have terminated or expired prior to the Initial Closing Date, (x) violate any Law or Judgment applicable to the Company or any of its Subsidiaries or (y) violate or constitute a default (or constitute an event which, with notice or lapse of time or both, would violate or constitute a default) under any of the terms or provisions of any loan or credit agreement, indenture, debenture, note, bond, mortgage, deed of trust, lease, sublease, license, contract or other agreement (each, a “Contract”) to which the Company or any of its Subsidiaries is a party or accelerate the Company’s or, if applicable, any of its Subsidiaries’ obligations under any such Contract, except, in the case of clause (i)(B) and clause (ii), as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\nSection 3.04 Governmental Approvals. Except for (a) the filing of the Certificate of Designations with the DSS and the acceptance for record by the DSS of the Certificate of Designations pursuant to the DGCL, (b) filings required under, and compliance with other applicable requirements of the HSR Act and (c) compliance with any applicable state securities or blue sky laws, no consent or approval of, or filing, license, permit or authorization, declaration or registration with, any Governmental Authority is necessary for the execution and delivery of this Agreement and the other Transaction Agreements by the Company, the performance by the Company of its obligations hereunder and thereunder and the consummation by the Company of the Transactions, other than such other consents, approvals, filings, licenses, permits or authorizations, declarations or registrations that, if not obtained, made or given, would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\nSection 3.05 Company SEC Documents; Undisclosed Liabilities. (a) The Company has filed with the SEC, on a timely basis, all required reports, schedules, forms, statements and other documents required to be filed by the Company with the SEC pursuant to the Exchange Act since January 1, 2015 (collectively, the “Company SEC Documents”). As of their respective SEC filing dates, the Company SEC Documents complied as to form in all material respects with the requirements of the Securities Act, the Exchange Act or the Sarbanes-Oxley Act of 2002 (and the regulations promulgated thereunder), as the case may be, applicable to such Company SEC Documents, and none of the Company SEC Documents as of such respective dates (or, if amended prior to the date hereof, the date of the filing of such amendment, with respect to the disclosures that are amended) contained any untrue statement of a material fact or omitted to state a material fact required to be stated therein or necessary in order to make the statements therein, in light of the circumstances under which they were made, not misleading.\n(a) The consolidated financial statements of the Company (including all related notes or schedules) included or incorporated by reference in the Company SEC Documents complied as to form, as of their respective dates of filing with the SEC, in all material respects with the published rules and regulations of the SEC with respect thereto, have been prepared in all material respects in accordance with GAAP (except, in the case of unaudited quarterly statements, as\npermitted by Form 10-Q of the SEC or other rules and regulations of the SEC) applied on a consistent basis during the periods involved (except (i) as may be indicated in the notes thereto or (ii) as permitted by Regulation S‑X) and fairly present in all material respects the consolidated financial position of the Company and its consolidated Subsidiaries as of the dates thereof and the consolidated results of their operations and cash flows for the periods shown (subject, in the case of unaudited quarterly financial statements, to normal year-end adjustments).\n(b) Neither the Company nor any of its Subsidiaries has any liabilities of any nature (whether accrued, absolute, contingent or otherwise) that would be required under GAAP, as in effect on the date hereof, to be reflected on a consolidated balance sheet of the Company (including the notes thereto) except liabilities (i) reflected or reserved against in the balance sheet (or the notes thereto) of the Company and its Subsidiaries as of December 31, 2016 (the “Balance Sheet Date”) included in the Filed SEC Documents, (ii) incurred after the Balance Sheet Date in the ordinary course of business, (iii) as expressly contemplated by this Agreement or otherwise incurred in connection with the Transactions, (iv) that have been discharged or paid prior to the date of this Agreement or (v) as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\n(c) The Company has established and maintains, and at all times since January 1, 2015 has maintained, disclosure controls and procedures and a system of internal controls over financial reporting (as such terms are defined in paragraphs (e) and (f), respectively, of Rule 13a-15 under the Exchange Act) in accordance with Rule 13a-15 under the Exchange Act in all material respects. Neither the Company nor, to the Company’s Knowledge, the Company’s independent registered public accounting firm, has identified or been made aware of “significant deficiencies” or “material weaknesses” (as defined by the Public Company Accounting Oversight Board) in the design or operation of the Company’s internal controls over and procedures relating to financial reporting which would reasonably be expected to adversely affect in any material respect the Company’s ability to record, process, summarize and report financial data, in each case which has not been subsequently remediated.\nSection 3.06 Absence of Certain Changes. Since January 1, 2015, through the date of this Agreement (a) except for the execution and performance of this Agreement and the discussions, negotiations and transactions related thereto and any transaction of the type contemplated by this Agreement or other extraordinary transaction, the business of the Company and its Subsidiaries has been carried on and conducted in all material respects in the ordinary course of business and (b) there has not been any Material Adverse Effect or any event, change or occurrence that would, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. Since January 1, 2015, through the date of this Agreement, the Company has not taken any actions which, had such actions been taken after the date of this Agreement, would have required the written consent of the Purchasers pursuant to Section 5.01.\nSection 3.07 Legal Proceedings. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, as of the date of this Agreement, there is no (a) pending or, to the Knowledge of the Company, threatened legal, regulatory or administrative proceeding, suit, investigation, arbitration or action (an “Action”) against the Company or any of\nits Subsidiaries or (b) outstanding order, judgment, injunction, ruling, writ or decree of any Governmental Authority (“Judgments”) imposed upon the Company or any of its Subsidiaries, in each case, by or before any Governmental Authority.\nSection 3.08 Compliance with Laws; Permits; USA PATRIOT ACT; OFAC; Sanctions; FCPA.\n(a) The Company and each of its Subsidiaries are and since January 1, 2015 have been, in compliance with all state or federal laws, common law, statutes, ordinances, codes, rules or regulations or other similar requirement enacted, adopted, promulgated, or applied by any Governmental Authority (“Laws”) or Judgments, in each case, that are applicable to the Company or any of its Subsidiaries, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. The Company and each of its Subsidiaries hold all licenses, franchises, permits, certificates, approvals and authorizations from Governmental Authorities (“Permits”) necessary for the lawful conduct of their respective businesses, except where the failure to hold the same would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\n(b) The Company and each of its Subsidiaries is in compliance with the applicable provisions of the USA PATRIOT Act, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, and, on or prior to the Closing Date, the Company has provided to the Purchasers information related to the Company and its Subsidiaries (including names, addresses and tax identification numbers (if applicable)) reasonably requested in writing by the Purchasers and to be mutually agreed to be required under applicable U.S. “know your customer” and anti-money laundering rules and regulations, including the USA PATRIOT Act.\n(c) None of the Company or any of its Subsidiaries nor, to the Knowledge of the Company, any directors or officer of the Company or any of its Subsidiaries is currently the target of any sanctions administered by the Office of Foreign Assets Control of the U.S. Treasury Department (“OFAC”) U.S. State Department, the United Nations Security Council, Her Majesty’s Treasury, the European Union or relevant member states of the European Union (collectively, the “Sanctions”) and the Company and its Subsidiaries and, to the Knowledge of the Company, their respective directors, officers, employees and agents (to the extent such persons are acting for or on behalf of the Company of any of its Subsidiaries) are, and since January 1, 2015 have been, in compliance with Sanctions, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. The Company shall not directly or indirectly use the proceeds of the Purchase Price or otherwise make available such proceeds to any Person, for the purpose of financing the activities of any Person that is currently the target of any Sanctions program or for the purpose of funding, financing or facilitating any activities, business or transaction with or in any country that is the target of the Sanctions, to the extent such activities, businesses or transaction would be prohibited by the Sanctions, or in any manner that would result in the violation of any Sanctions applicable to any Person.\n(d) The Company and its Subsidiaries, and, to the Knowledge of the Company, their respective directors, officers, employees, and agents acting on behalf of or for the Company’s\nor any Subsidiary’s benefit are, and since January 1, 2015 have been, in compliance with the U.S. Foreign Corrupt Practices Act of 1977 or similar law of a jurisdiction in which the Company or any of its Subsidiaries conduct their respective businesses and to which they are lawfully subject, in each case, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. No part of the proceeds of the Purchase Price paid hereunder shall be used to make any unlawful bribe, rebate, payoff, influence payment, kickback or other unlawful payment.\nSection 3.09 Intellectual Property.\n(a) Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, (i) all Intellectual Property used or held for use in the operation of the business of the Company and its Subsidiaries (the “Company Intellectual Property”) is either owned by the Company or one or more of its Subsidiaries (the “Owned Intellectual Property”) or is used by the Company or one or more of its Subsidiaries pursuant to a valid license Contract (the “Licensed Intellectual Property”), and (ii) the Company and its Subsidiaries have taken all necessary actions to maintain and protect each item of Company Intellectual Property. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the conduct of the business of the Company and its Subsidiaries does not infringe or otherwise violate any Intellectual Property or other proprietary rights of any other Person, and to the Knowledge of the Company, no Person is infringing or otherwise violating any Owned Intellectual Property.\n(b) Each material Contract pursuant to which the Company or any of its Subsidiaries use any Licensed Intellectual Property or have granted to a third party any right in or to any Owned Intellectual Property (collectively, the “IP Licenses”) is a legal, valid and binding obligation of the Company or its Subsidiaries, as applicable, and is enforceable against the Company or its Subsidiaries, as applicable, and, to the Knowledge of the Company, the other parties thereto, subject to the Bankruptcy and Equity Exception. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, none of the Company and its Subsidiaries is in breach, violation or default under any IP License and no event has occurred that, with notice or lapse of time or both, would constitute such a breach, violation or default by the Company or any of its Subsidiaries.\n(c) Except as set forth in the Company Disclosure Letter or as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the Company and each of its Subsidiaries is in compliance with PCI DSS, to the extent applicable, as well as with their privacy policy regarding the collection, use and protection of personally identifiable information, and, to the Knowledge of the Company, no Person has gained unauthorized access to or made any unauthorized use of any personally identifiable information or “cardholder data” (as defined in PCI DSS) maintained by the Company or any of its Subsidiaries.\nSection 3.10 Tax Matters. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect: (a) the Company and each of its Subsidiaries has prepared (or caused to be prepared) and timely filed (taking into account valid extensions of time within which to file) all Tax Returns required to be filed by any of them, and all such filed Tax Returns (taking into account all amendments thereto) are true, complete and accurate, (b) all Taxes owed by the Company and each of its Subsidiaries that are due (whether or not shown\non any Tax Return) have been timely paid except for Taxes which are being contested in good faith by appropriate proceedings and which have been adequately reserved against in accordance with GAAP, (c) no examination or audit of any Tax Return relating to any Taxes of the Company or any of its Subsidiaries or with respect to any Taxes due from or with respect to the Company or any of its Subsidiaries by any Governmental Authority is currently in progress or threatened in writing and (d) none of the Company or any of its Subsidiaries has engaged in, or has any liability or obligation with respect to, any “listed transaction” within the meaning of Treasury Regulations Section 1.6011-4(b)(2).\nSection 3.11 Environmental Matters. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, (a) the Company and each of its Subsidiaries has complied since January 1, 2015 with and is in compliance with all applicable Laws relating to pollution or the protection of the environment or natural resources (“Environmental Laws”), and the Company has not received any written notice since January 1, 2015 alleging that the Company is in violation of or has liability under any Environmental Law, (b) the Company and its Subsidiaries possess and have complied since January 1, 2015 with and are in compliance with all Permits required under Environmental Laws for the operation of their respective businesses, (c) there is no Action under or pursuant to any Environmental Law or environmental Permit that is pending or, to the Knowledge of the Company, threatened in writing against the Company or any of its Subsidiaries, (d) neither the Company nor any of its Subsidiaries has become subject to any Judgment imposed by any Governmental Authority under which there are uncompleted, outstanding or unresolved obligations on the part of the Company or its Subsidiaries arising under Environmental Laws, (e) neither the Company nor any of its Subsidiaries has any liabilities or obligations arising from the Company’s or any of its Subsidiaries’ management disposal or release of, or exposure of any Person to, any hazardous or toxic substance, or any owned or operated property or facility contaminated by any such substance and (f) neither the Company nor any of its Subsidiaries has by contract or operation of law assumed responsibility or provided an indemnity for any liability of any other Person relating to Environmental Laws.\nSection 3.12 No Rights Agreement; Anti-Takeover Provisions. The Company is not party to a stockholder rights agreement, “poison pill” or similar anti-takeover agreement or plan.\nSection 3.13 Brokers and Other Advisors. Except for Morgan Stanley and Centerview Partners LLC, the fees and expenses of which will be paid by the Company, no broker, investment banker, financial advisor or other Person is entitled to any broker’s, finder’s, financial advisor’s or other similar fee or commission, or the reimbursement of expenses in connection therewith, in connection with the Transactions based upon arrangements made by or on behalf of the Company or any of its Subsidiaries.\nSection 3.14 Sale of Securities. Assuming the accuracy of the representations and warranties set forth in Section 4.08, the sale of the shares of Series A Preferred Stock pursuant to this Agreement is exempt from the registration and prospectus delivery requirements of the Securities Act and the rules and regulations thereunder. Without limiting the foregoing, neither the Company nor, to the Knowledge of the Company, any other Person authorized by the Company to act on its behalf, has engaged in a general solicitation or general advertising (within the meaning\nof Regulation D of the Securities Act) of investors with respect to offers or sales of Series A Preferred Stock, and neither the Company nor, to the Knowledge of the Company, any Person acting on its behalf has made any offers or sales of any security or solicited any offers to buy any security, under circumstances that would cause the offering or issuance of Series A Preferred Stock under this Agreement to be integrated with prior offerings by the Company for purposes of the Securities Act that would result in none of Regulation D or any other applicable exemption from registration under the Securities Act to be available, nor will the Company take any action or steps that would cause the offering or issuance of Series A Preferred Stock under this Agreement to be integrated with other offerings by the Company.\nSection 3.15 Listing and Maintenance Requirements. The Common Stock is registered pursuant to Section 12(b) of the Exchange Act and listed on the NYSE, and the Company has taken no action designed to, or which to the Knowledge of the Company is reasonably likely to have the effect of, terminating the registration of the Common Stock under the Exchange Act or delisting the Common Stock from the NYSE, nor has the Company received as of the date of this Agreement any notification that the SEC or the NYSE is contemplating terminating such registration or listing.\nSection 3.16 Status of Securities. As of the applicable Closing, the Acquired Shares will be duly classified pursuant to applicable provisions of the Company Charter Documents and the DGCL and such Acquired Shares and the shares of Common Stock issuable upon conversion of any of the Acquired Shares will be, when issued, duly authorized by all necessary corporate action on the part of the Company, validly issued, fully paid and nonassessable and issued in compliance with all applicable federal and state securities laws and will not be subject to preemptive rights of any other stockholder of the Company, and will be free and clear of all Liens, except restrictions imposed by the Securities Act, Section 5.08 and any applicable securities Laws.\nSection 3.17 Indebtedness. Except with respect to the covenants contained in the Credit Agreement, the Company is not party to any material Contract, and is not subject to any provision in the Company Charter Documents or resolutions of the Board that, in each case, by its terms prohibits or prevents the Company from paying dividends in form and the amounts contemplated by the Certificate of Designations. The Company and its Subsidiaries are not in material breach of, or default or violation under, the Credit Agreement or the Indenture.\nSection 3.18 No Other Representations or Warranties. Except for the representations and warranties made by the Company in this Article III and in any certificate or other document delivered in connection with this Agreement, neither the Company nor any other Person acting on its behalf makes any other express or implied representation or warranty with respect to the Series A Preferred Stock, the Common Stock, the Company or any of its Subsidiaries or their respective businesses, operations, properties, assets, liabilities, condition (financial or otherwise) or prospects, notwithstanding the delivery or disclosure to the Purchasers or any of their Representatives of any documentation, forecasts or other information with respect to any one or more of the foregoing, and the Purchasers acknowledges the foregoing. In particular, and without limiting the generality of the foregoing, except for the representations and warranties made by the Company in this Article III and in any certificate or other document delivered in connection with this Agreement, neither the Company nor any other Person makes or has made any express or implied representation\nor warranty to the Purchasers or any of their Representatives with respect to (a) any financial projection, forecast, estimate, budget or prospect information relating to the Company, any of its Subsidiaries or their respective businesses or (b) any oral or written information presented to the Purchasers or any of their Representatives in the course of its due diligence investigation of the Company, the negotiation of this Agreement or the course of the Transactions or any other transactions or potential transactions involving the Company and the Purchasers.\nSection 3.19 No Other Purchaser Representations or Warranties. Except for the representations and warranties expressly set forth in Article IV and in any certificate or other document delivered in connection with this Agreement, the Company hereby acknowledges that no Purchaser nor any other Person (a) has made or is making any other express or implied representation or warranty with respect to such Purchaser or any of its Subsidiaries or their respective businesses, operations, assets, liabilities, condition (financial or otherwise) or prospects, including with respect to any information provided or made available to the Company or any of its Representatives or any information developed by the Company or any of its Representatives or (b) except in the case of fraud, will have or be subject to any liability or indemnification obligation to the Company resulting from the delivery, dissemination or any other distribution to the Company or any of its Representatives, or the use by the Company or any of its Representatives, of any information, documents, estimates, projections, forecasts or other forward-looking information, business plans or other material developed by or provided or made available to the Company or any of its Representatives, including in due diligence materials, in anticipation or contemplation of any of the Transactions or any other transactions or potential transactions involving the Company and the Purchasers. The Company, on behalf of itself and on behalf of its respective Affiliates, expressly waives any such claim relating to the foregoing matters, except with respect to fraud."}
-{"idx": 2, "level": 3, "span": "(a) Each of the Company’s Subsidiaries is duly organized, validly existing and in good standing (where such concept is recognized under applicable Law) under the Laws of the jurisdiction of its organization, except where the failure to be so organized, existing and in good standing would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect."}
-{"idx": 2, "level": 3, "span": "(a) Except as described in this Section 3.02, as of the Capitalization Date, there were (i) no outstanding shares of capital stock of, or other equity or voting interests in, the Company, (ii) no outstanding securities of the Company convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company, (iii) no outstanding options, warrants, rights or other commitments or agreements to acquire from the Company, or that obligate the Company to issue, any capital stock of, or other equity or voting interests (or voting debt) in, or any securities convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company other than obligations under the Company Plans in the ordinary course of business, (iv) no obligations of the Company to grant, extend or enter into any subscription, warrant, right, convertible or exchangeable security or other similar agreement or commitment relating to any capital stock of, or other equity or voting interests in, the Company (the items in clauses (i), (ii), (iii) and (iv) being referred to collectively as “Company Securities”) and (v) no other obligations by the Company or any of its Subsidiaries to make any payments based on the price or value of any Company Securities\nThere are no outstanding agreements of any kind which obligate the Company or any of its Subsidiaries to repurchase, redeem or otherwise acquire any Company Securities (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs), or obligate the Company to grant, extend or enter into any such agreements relating to any Company Securities, including any agreements granting any preemptive rights, subscription rights, anti-dilutive rights, rights of first refusal or similar rights with respect to any Company Securities. None of the Company or any Subsidiary of the Company is a party to any stockholders’ agreement, voting trust agreement, registration rights agreement or other similar agreement or understanding relating to any Company Securities or any other agreement relating to the disposition, voting or dividends with respect to any Company Securities. All outstanding shares of Common Stock have been duly authorized and validly issued and are fully paid, nonassessable and free of preemptive rights."}
-{"idx": 2, "level": 3, "span": "(a) Neither the execution and delivery of this Agreement or the other Transaction Agreements by the Company, nor the consummation by the Company of the Transactions, nor"}
-{"idx": 2, "level": 3, "span": "(a) The consolidated financial statements of the Company (including all related notes or schedules) included or incorporated by reference in the Company SEC Documents complied as to form, as of their respective dates of filing with the SEC, in all material respects with the published rules and regulations of the SEC with respect thereto, have been prepared in all material respects in accordance with GAAP (except, in the case of unaudited quarterly statements, as"}
-{"idx": 2, "level": 3, "span": "(b) Neither the Company nor any of its Subsidiaries has any liabilities of any nature (whether accrued, absolute, contingent or otherwise) that would be required under GAAP, as in effect on the date hereof, to be reflected on a consolidated balance sheet of the Company (including the notes thereto) except liabilities (i) reflected or reserved against in the balance sheet (or the notes thereto) of the Company and its Subsidiaries as of December 31, 2016 (the “Balance Sheet Date”) included in the Filed SEC Documents, (ii) incurred after the Balance Sheet Date in the ordinary course of business, (iii) as expressly contemplated by this Agreement or otherwise incurred in connection with the Transactions, (iv) that have been discharged or paid prior to the date of this Agreement or (v) as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect."}
-{"idx": 2, "level": 3, "span": "(c) The Company has established and maintains, and at all times since January 1, 2015 has maintained, disclosure controls and procedures and a system of internal controls over financial reporting (as such terms are defined in paragraphs (e) and (f), respectively, of Rule 13a-15 under the Exchange Act) in accordance with Rule 13a-15 under the Exchange Act in all material respects\nNeither the Company nor, to the Company’s Knowledge, the Company’s independent registered public accounting firm, has identified or been made aware of “significant deficiencies” or “material weaknesses” (as defined by the Public Company Accounting Oversight Board) in the design or operation of the Company’s internal controls over and procedures relating to financial reporting which would reasonably be expected to adversely affect in any material respect the Company’s ability to record, process, summarize and report financial data, in each case which has not been subsequently remediated."}
-{"idx": 2, "level": 3, "span": "(a) The Company and each of its Subsidiaries are and since January 1, 2015 have been, in compliance with all state or federal laws, common law, statutes, ordinances, codes, rules or regulations or other similar requirement enacted, adopted, promulgated, or applied by any Governmental Authority (“Laws”) or Judgments, in each case, that are applicable to the Company or any of its Subsidiaries, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect\nThe Company and each of its Subsidiaries hold all licenses, franchises, permits, certificates, approvals and authorizations from Governmental Authorities (“Permits”) necessary for the lawful conduct of their respective businesses, except where the failure to hold the same would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect."}
-{"idx": 2, "level": 3, "span": "(b) The Company and each of its Subsidiaries is in compliance with the applicable provisions of the USA PATRIOT Act, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, and, on or prior to the Closing Date, the Company has provided to the Purchasers information related to the Company and its Subsidiaries (including names, addresses and tax identification numbers (if applicable)) reasonably requested in writing by the Purchasers and to be mutually agreed to be required under applicable U.S\n“know your customer” and anti-money laundering rules and regulations, including the USA PATRIOT Act."}
-{"idx": 2, "level": 3, "span": "(c) None of the Company or any of its Subsidiaries nor, to the Knowledge of the Company, any directors or officer of the Company or any of its Subsidiaries is currently the target of any sanctions administered by the Office of Foreign Assets Control of the U.S\nTreasury Department (“OFAC”) U.S. State Department, the United Nations Security Council, Her Majesty’s Treasury, the European Union or relevant member states of the European Union (collectively, the “Sanctions”) and the Company and its Subsidiaries and, to the Knowledge of the Company, their respective directors, officers, employees and agents (to the extent such persons are acting for or on behalf of the Company of any of its Subsidiaries) are, and since January 1, 2015 have been, in compliance with Sanctions, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. The Company shall not directly or indirectly use the proceeds of the Purchase Price or otherwise make available such proceeds to any Person, for the purpose of financing the activities of any Person that is currently the target of any Sanctions program or for the purpose of funding, financing or facilitating any activities, business or transaction with or in any country that is the target of the Sanctions, to the extent such activities, businesses or transaction would be prohibited by the Sanctions, or in any manner that would result in the violation of any Sanctions applicable to any Person."}
-{"idx": 2, "level": 3, "span": "(d) The Company and its Subsidiaries, and, to the Knowledge of the Company, their respective directors, officers, employees, and agents acting on behalf of or for the Company’s"}
-{"idx": 2, "level": 3, "span": "(a) Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, (i) all Intellectual Property used or held for use in the operation of the business of the Company and its Subsidiaries (the “Company Intellectual Property”) is either owned by the Company or one or more of its Subsidiaries (the “Owned Intellectual Property”) or is used by the Company or one or more of its Subsidiaries pursuant to a valid license Contract (the “Licensed Intellectual Property”), and (ii) the Company and its Subsidiaries have taken all necessary actions to maintain and protect each item of Company Intellectual Property\nExcept as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the conduct of the business of the Company and its Subsidiaries does not infringe or otherwise violate any Intellectual Property or other proprietary rights of any other Person, and to the Knowledge of the Company, no Person is infringing or otherwise violating any Owned Intellectual Property."}
-{"idx": 2, "level": 3, "span": "(b) Each material Contract pursuant to which the Company or any of its Subsidiaries use any Licensed Intellectual Property or have granted to a third party any right in or to any Owned Intellectual Property (collectively, the “IP Licenses”) is a legal, valid and binding obligation of the Company or its Subsidiaries, as applicable, and is enforceable against the Company or its Subsidiaries, as applicable, and, to the Knowledge of the Company, the other parties thereto, subject to the Bankruptcy and Equity Exception\nExcept as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, none of the Company and its Subsidiaries is in breach, violation or default under any IP License and no event has occurred that, with notice or lapse of time or both, would constitute such a breach, violation or default by the Company or any of its Subsidiaries."}
-{"idx": 2, "level": 3, "span": "(c) Except as set forth in the Company Disclosure Letter or as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the Company and each of its Subsidiaries is in compliance with PCI DSS, to the extent applicable, as well as with their privacy policy regarding the collection, use and protection of personally identifiable information, and, to the Knowledge of the Company, no Person has gained unauthorized access to or made any unauthorized use of any personally identifiable information or “cardholder data” (as defined in PCI DSS) maintained by the Company or any of its Subsidiaries."}
-{"idx": 2, "level": 2, "span": "ARTICLE IV"}
-{"idx": 2, "level": 2, "span": "Representations and Warranties of the Purchasers\nEach Purchaser represents and warrants to the Company, as of the date hereof and as of the applicable Closing Date for such Purchaser:\nSection 4.01 Organization; Standing. Each Purchaser is the type of entity set forth on the signature pages hereto, duly organized, validly existing and in good standing under the Laws of its jurisdiction of incorporation or formation, as applicable, and is a U.S. Person, and each Purchaser has all requisite power and authority necessary to carry on its business as it is now being conducted and is duly licensed or qualified to do business and is in good standing (where such concept is recognized under applicable Law) in each jurisdiction in which the nature of the business conducted by it or the character or location of the properties and assets owned or leased by it makes such licensing or qualification necessary, except where the failure to be so licensed, qualified or in good standing would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect.\nSection 4.02 Authority; Noncontravention. (a) Each Purchaser has all necessary power and authority to execute and deliver this Agreement and the other Transaction Agreements, to perform its obligations hereunder and thereunder and to consummate the Transactions. The\nexecution, delivery and performance by each Purchaser of this Agreement and the other Transaction Agreements and the consummation by such Purchaser of the Transactions have been duly authorized and approved by all necessary action on the part of such Purchaser, and no further action, approval or authorization by any of its stockholders, partners, members or other equity owners, as the case may be, is necessary to authorize the execution, delivery and performance by such Purchaser of this Agreement and the other Transaction Agreements and the consummation by each Purchaser of the Transactions. This Agreement has been duly executed and delivered by each Purchaser and, assuming due authorization, execution and delivery hereof by the Company, constitutes a legal, valid and binding obligation of such Purchaser, enforceable against it in accordance with its terms, subject to the Bankruptcy and Equity Exception. Neither the execution and delivery of this Agreement or the other Transaction Agreements by any Purchaser, nor the consummation of the Transactions by any Purchaser, nor performance or compliance by any Purchaser with any of the terms or provisions hereof or thereof, will (i) conflict with or violate any provision of the certificate or articles of incorporation, bylaws or other comparable charter or organizational documents of such Purchaser or (ii) assuming that the authorizations, consents and approvals referred to in Section 4.03 are obtained prior to the applicable Closing Date and the filings referred to in Section 4.03 are made and any waiting periods with respect to such filings have terminated or expired prior to the applicable Closing Date, (x) violate any Law or Judgment applicable to such Purchaser or any of its Subsidiaries or (y) violate or constitute a default (or constitute an event which, with notice or lapse of time or both, would violate or constitute a default) under any of the terms, conditions or provisions of any Contract to which such Purchaser or any of its Subsidiaries is a party or accelerate such Purchaser’s or any of its Subsidiaries’, if applicable, obligations under any such Contract, except, in the case of clause (ii), as would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect.\nSection 4.03 Governmental Approvals. Except for (a) the filing by the Company of the Certificate of Designations with the DSS and the acceptance for record by the DSS of the Certificate of Designations pursuant to the DGCL and (b) filings required under, and compliance with other applicable requirements of, the HSR Act, no consent or approval of, or filing, license, permit or authorization, declaration or registration with, any Governmental Authority is necessary for the execution and delivery of this Agreement and the other Transaction Agreements by such Purchaser, the performance by such Purchaser of its obligations hereunder and thereunder and the consummation by such Purchaser of the Transactions, other than such other consents, approvals, filings, licenses, permits, authorizations, declarations or registrations that, if not obtained, made or given, would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect.\nSection 4.04 Financing. At the applicable Closing, each Purchaser acquiring shares of Series A Preferred Stock at such Closing will have available funds necessary to, consummate the Purchase and pay the Purchase Price for its Acquired Shares on the terms and conditions contemplated by this Agreement.\nSection 4.05 Ownership of Company Stock. None of the Purchasers nor any of their respective Affiliates owns any capital stock or other securities of the Company.\nSection 4.06 Brokers and Other Advisors. No broker, investment banker, financial advisor or other Person is entitled to any broker’s, finder’s, financial advisor’s or other similar fee or commission, or the reimbursement of expenses in connection therewith, in connection with the Transactions based upon arrangements made by or on behalf of any Purchaser or any of their respective Subsidiaries, except for Persons, if any, whose fees and expenses will be paid by the Purchasers.\nSection 4.07 Non-Reliance on Company Estimates, Projections, Forecasts, Forward-Looking Statements and Business Plans. In connection with the due diligence investigation of the Company by each Purchaser and its respective Representatives, each Purchaser and its respective Representatives have received and may continue to receive from the Company and its Representatives certain estimates, projections, forecasts and other forward-looking information, as well as certain business plan information containing such information, regarding the Company and its Subsidiaries and their respective businesses and operations. Such Purchaser hereby acknowledges that there are uncertainties inherent in attempting to make such estimates, projections, forecasts and other forward-looking statements, as well as in such business plans, with which such Purchaser is familiar, that each Purchaser is making its own evaluation of the adequacy and accuracy of all estimates, projections, forecasts and other forward-looking information, as well as such business plans, so furnished to such Purchaser (including the reasonableness of the assumptions underlying such estimates, projections, forecasts, forward-looking information or business plans), and that except for fraud or the representations and warranties made by the Company in Article III of this Agreement and in any certificate or other document delivered in connection with this Agreement, such Purchaser will have no claim against the Company or any of its Subsidiaries, or any of their respective Representatives, with respect thereto.\nSection 4.08 Purchase for Investment. Each Purchaser acknowledges that the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock have not been registered under the Securities Act or under any state or other applicable securities laws. Such Purchaser (a) acknowledges that it is acquiring the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock pursuant to an exemption from registration under the Securities Act solely for investment with no intention to distribute any of the foregoing to any Person, (b) will not sell, transfer, or otherwise dispose of any of the Series A Preferred Stock or the Common Stock issuable upon the conversion of the Series A Preferred Stock, except in compliance with this Agreement and the registration requirements or exemption provisions of the Securities Act and any other applicable securities Laws, (c) has such knowledge and experience in financial and business matters and in investments of this type that it is capable of evaluating the merits and risks of its investment in the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock and of making an informed investment decision, (d) is an “accredited investor” (as that term is defined by Rule 501 of the Securities Act) and (e) (1) has been furnished with or has had full access to all the information that it considers necessary or appropriate to make an informed investment decision with respect to the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock, (2) has had an opportunity to discuss with the Company and its Representatives the intended business and financial affairs of the Company and to obtain information necessary to verify any information furnished to it or to which it had access and (3) can bear the economic risk\nof (i) an investment in the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock indefinitely and (ii) a total loss in respect of such investment. Such Purchaser has such knowledge and experience in business and financial matters so as to enable it to understand and evaluate the risks of, and form an investment decision with respect to its investment in, the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock and to protect its own interest in connection with such investment.\nSection 4.09 No Other Company Representations or Warranties. Except for the representations and warranties expressly set forth in Article III and in any certificate or other document delivered in connection with this Agreement, such Purchaser hereby acknowledges that neither the Company nor any of its Subsidiaries, nor any other Person, (a) has made or is making any other express or implied representation or warranty with respect to the Company or any of its Subsidiaries or their respective businesses, operations, assets, liabilities, condition (financial or otherwise) or prospects, including with respect to any information provided or made available to such Purchaser or any of its Representatives or any information developed by such Purchaser or any of its Representatives or (b) except in the case of fraud, will have or be subject to any liability or indemnification obligation to such Purchaser resulting from the delivery, dissemination or any other distribution to such Purchaser or any of its Representatives, or the use by such Purchaser or any of its Representatives, of any information, documents, estimates, projections, forecasts or other forward-looking information, business plans or other material developed by or provided or made available to such Purchaser or any of its Representatives, including in due diligence materials, “data rooms” or management presentations (formal or informal), in anticipation or contemplation of any of the Transactions or any other transactions or potential transactions involving the Company and such Purchaser. Such Purchaser, on behalf of itself and on behalf of its respective Affiliates, expressly waives any such claim relating to the foregoing matters, except with respect to fraud. Such Purchaser hereby acknowledges (for itself and on behalf of its Affiliates and Representatives) that it has conducted, to its satisfaction, its own independent investigation of the business, operations, assets and financial condition of the Company and its Subsidiaries and, in making its determination to proceed with the Transactions, such Purchaser and its Affiliates and Representatives have relied on the results of their own independent investigation."}
-{"idx": 2, "level": 2, "span": "ARTICLE V"}
-{"idx": 2, "level": 2, "span": "Additional Agreements\nSection 5.01 Pre-Closing Covenants. Except as required by applicable Law, Judgment or to comply with any notice from a Governmental Authority, as expressly contemplated, required or permitted by this Agreement, during the period from the date of this Agreement until the Initial Closing Date (or such earlier date on which this Agreement may be terminated pursuant to Section 7.01), unless the Purchasers otherwise consent in writing (such consent not to be unreasonably withheld, delayed or conditioned) the Company shall, and shall cause its Subsidiaries to, use their commercially reasonable efforts to operate their businesses in all material respects in the ordinary course and, unless the Purchasers otherwise consent in writing (such consent not to be unreasonably withheld, delayed or conditioned), the Company shall not:\n(a) other than the authorization and issuance of the Series A Preferred Stock to the Purchasers and the consummation of the other Transactions, issue, sell or grant any shares of its capital stock, or any securities or rights convertible into, exchangeable or exercisable for, or evidencing the right to subscribe for any shares of its capital stock, or any rights, warrants or options to purchase any shares of its capital stock; provided that the Company may issue or grant shares of Common Stock or other securities in the ordinary course of business pursuant to the terms of a Company Plan in effect on the date of this Agreement;\n(b) redeem, purchase or otherwise acquire any of its outstanding shares of capital stock or other equity or voting interests, or any rights, warrants or options to acquire any shares of its capital stock or other equity or voting interests (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs);\n(c) establish a record date for, declare, set aside for payment or pay any dividend on, or make any other distribution in respect of, any shares of its capital stock or other equity or voting interests;\n(d) split, combine, subdivide or reclassify any shares of its capital stock or other equity or voting interests; or\n(e) amend or supplement the Company Charter Documents in a manner that would affect the Purchasers in an adverse manner either as a holder of Series A Preferred Stock or with respect to the rights of the Purchasers under this Agreement.\nSection 5.02 Reasonable Best Efforts; Filings. (a) Subject to the terms and conditions of this Agreement, each of the Company and the Purchasers shall cooperate with each other and use (and shall cause its Subsidiaries to use) its reasonable best efforts (unless, with respect to any action, another standard of performance is expressly provided for herein) to promptly (i) take, or cause to be taken, all actions, and do, or cause to be done, and assist and cooperate with each other in doing, all things necessary, proper or advisable to cause the conditions to Initial Closing to be satisfied as promptly as reasonably practicable and to consummate and make effective, in the most expeditious manner reasonably practicable, the Transactions, including preparing and filing promptly and fully all documentation to effect all necessary filings, notices, petitions, statements, registrations, submissions of information, applications and other documents, (ii) obtain all approvals, consents, registrations, waivers, permits, authorizations, orders and other confirmations from any Governmental Authority or third party necessary, proper or advisable to consummate the Transactions, (iii) execute and deliver any additional instruments necessary to consummate the Transactions and (iv) defend or contest in good faith any Action brought by a third party that could otherwise prevent or impede, interfere with, hinder or delay in any material respect the consummation of the Transactions.\n(a) The Company and the Purchasers agree to make an appropriate filing of a Notification and Report Form (“HSR Form”) pursuant to the HSR Act with respect to the Transactions (which shall request the early termination of any waiting period applicable to the Transactions under the HSR Act) as promptly as reasonably practicable following the date of this\nAgreement, and to supply as promptly as reasonably practicable any additional information and documentary material that may be requested pursuant to the HSR Act and to promptly take any and all steps necessary to avoid or eliminate each and every impediment and obtain all consents that may be required pursuant to the HSR Act, so as to enable the parties hereto to consummate the Transactions.\n(b) Each of the Company and the Purchasers shall use their respective reasonable best efforts to (i) cooperate in all respects with the other party in connection with any filing or submission with a Governmental Authority in connection with the Transactions and in connection with any investigation or other inquiry by or before a Governmental Authority relating to the Transactions, including any proceeding initiated by a private person, (ii) keep the other party informed in all material respects and on a reasonably timely basis of any material communication received by the Company or the Purchaser, as the case may be, from or given by the Company or the Purchasers, as the case may be, to the Federal Trade Commission (“FTC”), the Department of Justice (“DOJ”) or any other Governmental Authority and of any material communication received or given in connection with any proceeding by a private Person, in each case regarding the Transactions, (iii) subject to applicable Laws relating to the exchange of information, and to the extent reasonably practicable, consult with the other party with respect to information relating to such party and its respective Subsidiaries, as the case may be, that appears in any filing made with, or written materials submitted to, any third Person or any Governmental Authority in connection with the Transactions, other than “4(c) and 4(d) documents” as that term is used in the rules and regulations under the HSR Act and other confidential information contained in the HSR Form, and (iv) to the extent permitted by the FTC, the DOJ or such other applicable Governmental Authority or other Person, give the other party the opportunity to attend and participate in such meetings and conferences.\n(c) Notwithstanding anything to the contrary in this Agreement, nothing in this Section 5.02 shall require any Purchaser to take any action or to cause any of its Affiliates (other than the Purchaser Parties or any assignees of a Purchaser that become a party to this Agreement pursuant to Section 8.03 and their respective controlled Affiliates) to take any action, including selling, divesting, conveying, holding separate, or otherwise limiting its freedom of action, with respect to any assets, rights, products, licenses, businesses, operations, or interest therein, of any such Purchaser, Affiliates or any direct or indirect portfolio companies of investment funds advised or managed by one or more Affiliates of such Purchaser with respect to satisfying the condition set forth in Section 6.01(b).\nSection 5.03 Corporate Actions. (a) At any time that any Series A Preferred Stock is outstanding, the Company shall:\n(i) from time to time take all lawful action within its control to cause the authorized capital stock of the Company to include a sufficient number of authorized but unissued shares of Common Stock to satisfy the conversion requirements of all shares of the Series A Preferred Stock then outstanding; and\n(ii) not effect any voluntary deregistration under the Exchange Act or any voluntary delisting with the NYSE in respect of the Common Stock other than in connection with a Change of Control (as defined in the Certificate of Designations).\n(b) Prior to the Initial Closing, the Company shall file with the DSS the Certificate of Designations in the form attached hereto as Annex I, with such changes thereto as the parties may reasonably agree.\n(c) If any occurrence since the date of this Agreement until the Initial Closing would have resulted in an adjustment to the Conversion Rate pursuant to the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement, the Company shall adjust the Conversion Rate, effective as of the Initial Closing, in the same manner as would have been required by the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement.\nSection 5.04 Public Disclosure. The Purchasers and the Company shall consult with each other before issuing, and give each other the opportunity to review and comment upon, any press release or other public statements with respect to the Transaction Agreements or the Transactions, and shall not issue any such press release or make any such public statement prior to such consultation, except as may be required by applicable Law, Judgment, court process or the rules and regulations of any national securities exchange or national securities quotation system. The Purchasers and the Company agree that the initial press release to be issued with respect to the Transactions following execution of this Agreement shall be in the form attached hereto as Annex III (the “Announcement”). Notwithstanding the forgoing, this Section 5.04 shall not apply to any press release or other public statement made by the Company or the Purchasers (a) which is consistent with the Announcement and does not contain any information relating to the Transactions that has not been previously announced or made public in accordance with the terms of this Agreement or (b) is made in the ordinary course of business and does not relate specifically to the signing of the Transaction Agreements or the Transactions.\nSection 5.05 Confidentiality. The Purchasers will, and will cause their Affiliates and their respective Representatives to, keep confidential any information (including oral, written and electronic information) concerning the Company, its Subsidiaries or its Affiliates that may be furnished to any Purchaser, its Affiliates or its or their respective Representatives by or on behalf of the Company or any of its Representatives pursuant to (x) this Agreement, including any such information provided pursuant to Section 5.14 of this Agreement or (y) pursuant to the non-disclosure agreement, dated March 27, 2017, by and between Kohlberg Kravis Roberts & Co. L.P. and the Company (the “Confidentiality Agreement”) (the information referred to in clauses (x) and (y), collectively referred to as the “Confidential Information”) and to use the Confidential Information solely for the purposes of monitoring, administering or managing the Purchaser Parties’ investment in the Company made pursuant to this Agreement; provided that the Confidential Information shall not include information that (i) was or becomes available to the public other than as a result of a disclosure by any Purchaser, any of its Affiliates or any of their respective Representatives in violation of this Section 5.05, (ii) was or becomes available to any Purchaser, any of its Affiliates or any of their respective Representatives from a source other than the Company\nor its Representatives, provided that such source is believed by such Purchaser not to be disclosing such information in violation of an obligation of confidentiality (whether by agreement or otherwise) to the Company, (iii) at the time of disclosure is already in the possession of any Purchaser, any of its Affiliates or any of their respective Representatives, provided that such information is believed by such Purchaser not to be subject to an obligation of confidentiality (whether by agreement or otherwise) to the Company, or (iv) was independently developed by any Purchaser, any of its Affiliates or any of their respective Representatives without reference to, incorporation of, or other use of any Confidential Information. Each Purchaser agrees, on behalf of itself and its Affiliates and its and their respective Representatives, that Confidential Information may be disclosed solely (i) to such Purchaser’s Affiliates and its and their respective Representatives on a need-to-know basis, (ii) to its stockholders, limited partners, members or other owners, as the case may be, regarding the general status of its investment in the Company (without disclosing specific confidential information), (iii) to any third-party that has entered into a confidentiality agreement with a Purchaser in form similar to the Confidentiality Agreement and (iv) in the event that such Purchaser, any of its Affiliates or any of its or their respective Representatives are requested or required by applicable Law, Judgment, stock exchange rule or other applicable judicial or governmental process (including by deposition, interrogatory, request for documents, subpoena, civil investigative demand or similar process) to disclose any Confidential Information, in each of which instances such Purchaser, its Affiliates and its and their respective Representatives, as the case may be, shall, to the extent legally permitted, provide notice to the Company sufficiently in advance of any such disclosure so that the Company will have a reasonable opportunity to timely seek to limit, condition or quash such disclosure.\nSection 5.06 NYSE Listing of Shares. To the extent the Company has not done so prior to the date of this Agreement, the Company shall promptly apply to cause the aggregate number of shares of Common Stock issuable upon the conversion of the Acquired Shares, including Accrued Dividends (as defined in the Certificate of Designations) until the fifth anniversary of the first Dividend Payment Date (as defined in the Certificate of Designations), to be approved for listing on the NYSE, subject to official notice of issuance. From time to time following the Initial Closing Date, the Company shall cause the number of shares of Common Stock issuable upon conversion of the then outstanding shares of Series A Preferred Stock to be approved for listing on the NYSE, subject to official notice of issuance.\nSection 5.07 Standstill. The Purchasers agree that during the applicable Standstill Period, without the prior written approval of the Board, the Purchasers will not, directly or indirectly, and will cause its Affiliates not to:\n(a) acquire, offer or seek to acquire, agree to acquire or make a proposal to acquire, by purchase or otherwise, any securities or direct or indirect rights to acquire any equity securities of the Company or any of its Affiliates, any securities convertible into or exchangeable for any such equity securities, any options or other derivative securities or contracts or instruments in any way related to the price of shares of Common Stock or substantially all of the assets or property of the Company and its Subsidiaries (but in any case excluding any issuance by the Company of shares of Company Common Stock or options, warrants or other rights to acquire Common Stock (or the exercise thereof) to any Purchaser Director (A) as compensation for their\nmembership on the Board or (B) as a result of a dividend payment on, or the conversion of, the Series A Preferred Stock pursuant to the provisions of the Certificate of Designations);\n(b) make or in any way encourage or participate in any “solicitation” of “proxies” (whether or not relating to the election or removal of directors), as such terms are used in the rules of the SEC, to vote, or knowingly seek to advise or influence any Person with respect to voting of, any voting securities of the Company or any of its Subsidiaries (excluding any votes required for the approval of the Transactions), or call or seek to call a meeting of the Company’s stockholders or initiate any stockholder proposal for action by the Company’s stockholders, or other than with respect to the Purchaser Director, seek election to or to place a representative on the Board or seek the removal of any director from the Board;\n(c) [Reserved];\n(d) make any public announcement with respect to, or offer, seek, propose or indicate an interest in (in each case with or without conditions), any merger, consolidation, business combination, tender or exchange offer, recapitalization, reorganization or purchase of all or substantially all of the assets of the Company and its Subsidiaries, or any other extraordinary transaction involving the Company or any Subsidiary of the Company or any of their respective securities, or enter into any discussions, negotiations, arrangements, understandings or agreements (whether written or oral) with any other Person regarding any of the foregoing; provided that the Purchasers may make confidential proposals to the Board of Directors of the Company regarding mergers, consolidations or other business combinations with the Company or a purchase of all or substantially all of the Company’s assets so long as such proposals would not reasonably be expected to require any public disclosure by the Company;\n(e) otherwise act, alone or in concert with others, to seek to control or influence, in any manner, management or the board of directors of the Company or any of its Subsidiaries (other than in the capacity of the Purchaser Director);\n(f) make any proposal or statement of inquiry or disclose any intention, plan or arrangement inconsistent with any of the foregoing;\n(g) advise, assist, knowingly encourage or direct any Person to do, or to advise, assist, encourage or direct any other Person to do, any of the foregoing;\n(h) take any action that would, in effect, require the Company to make a public announcement regarding the possibility of a transaction or any of the events described in this Section 5.07;\n(i) enter into any discussions, negotiations, arrangements or understandings with any third party (including, without limitation, security holders of the Company, but excluding, for the avoidance of doubt, any Purchaser Parties) with respect to any of the foregoing, including, without limitation, forming, joining or in any way participating in a “group” (as defined in Section 13(d)(3) of the Exchange Act) with any third party with respect to any securities of the Company or otherwise in connection with any of the foregoing;\n(j) request the Company or any of its Representatives, directly or indirectly, to amend or waive any provision of this Section 5.07, provided that this clause shall not prohibit the Purchaser Parties from making a confidential request to the Company seeking an amendment or waiver of the provisions of this Section 5.07, which the Company may accept or reject in its sole discretion, so long as any such request is made in a manner that does not require public disclosure thereof by any Person; or\n(k) contest the validity of this Section 5.07 or make, initiate, take or participate in any demand, Action (legal or otherwise) or proposal to amend, waive or terminate any provision of this Section 5.07;"}
-{"idx": 2, "level": 2, "span": "provided, however, that nothing in this Section 5.07 will limit (1) the Purchaser Parties’ ability to vote (subject to Section 5.10), Transfer (subject to Section 5.08\n), convert (subject to Section 6 of the Certificate of Designations) or otherwise exercise rights under its Common Stock or Series A Preferred Stock or (2) the ability of any Purchaser Director to vote or otherwise exercise his or her legal duties or otherwise act in his or her capacity as a member of the Board.\nSection 5.08 Transfer Restrictions. (a) Except as otherwise permitted in Section 5.08(b), until the earlier of (i) the one-year anniversary of the Initial Closing Date and (ii) a Fundamental Change, the Purchaser Parties will not (i) Transfer any Series A Preferred Stock or any Common Stock issued upon conversion of the Series A Preferred Stock or (ii) make any short sale of, grant any option for the purchase of, or enter into any hedging or similar transaction with the same economic effect as a short sale of or the purpose of which is to offset the loss which results from a decline in the market price of, any shares of Series A Preferred Stock or Common Stock, or otherwise establish or increase, directly or indirectly, a put equivalent position, as defined in Rule 16a-1(h) under the Exchange Act, with respect to any of the Series A Preferred Stock, the Common Stock or any other capital stock of the Company (any such action, a “Hedge”).\n(a) Notwithstanding Section 5.08(a), the Purchaser Parties shall be permitted to Transfer any portion or all of their Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock at any time under the following circumstances:\n(i) Transfers to any Permitted Transferees of the Purchaser or a Purchaser Party, but only if the transferee agrees in writing prior to such Transfer for the express benefit of the Company (in form and substance reasonably satisfactory to the Company and with a copy thereof to be furnished to the Company) to be bound by the terms of this Agreement and if the transferee and the transferor agree for the express benefit of the Company that the transferee shall Transfer the Series A Preferred Stock or Common Stock so Transferred back to the transferor at or before such time as the transferee ceases to be a Permitted Transferee of the transferor;\n(ii) Transfers pursuant to a merger, consolidation or other business combination involving the Company;\n(iii) Transfers pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock; and\n(iv) Transfers that have been approved by the Board, subject to such conditions as the Board determines.\n(b) Notwithstanding Sections 5.08(a) and (b), the Purchaser Parties will not at any time, directly or knowingly indirectly (without the prior written consent of the Board) Transfer any Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock to a Prohibited Transferee; provided, however, that this Section 5.08(c) shall not restrict (i) any Transfer into the public market pursuant to a bona-fide, broadly distributed underwritten public offering made pursuant to the Registration Rights Agreement, (ii) any Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business, (iii) any Transfer pursuant to a merger, consolidation or other business combination involving the Company or (iv) any Transfer pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock.\n(c) Notwithstanding Sections 5.08(a), (b) or (c), until the earlier of (i) the three-year anniversary of the Initial Closing Date and (ii) a Fundamental Change, no Purchaser Party will directly or indirectly (without the prior written consent of the Board) Transfer, in one or more related transactions, shares of Series A Preferred Stock or shares of Common Stock issued upon conversion of the Series A Preferred Stock to any single Person or any “group” (as defined in Section 13(d)(3) of the Exchange Act) of Persons who such Purchaser Party knows or would know after reasonable inquiry at the time of such Transfer to beneficially own 5% or more of the Common Stock then outstanding on an as converted basis; provided, however, that this Section 5.08(d) shall not restrict (i) Transfers permitted in Section 5.08(b), (ii) Transfers to a mutual fund that, to the relevant Purchaser Party’s or broker-dealer’s, as applicable knowledge after reasonable inquiry, typically makes investments in Persons in the ordinary course of its business for investment purposes and not with the purpose or intent of changing or influencing the control of such Person, (iii) a bona fide underwritten public offering, in an open market transaction effected through a broker-dealer, (iv) a Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business or (v) a derivatives transaction entered into with a bank, broker-dealer or other derivatives dealer.\n(d) Any attempted Transfer in violation of this Section 5.08 shall be null and void ab initio.\nSection 5.09 Legend. (a) All certificates or other instruments representing the Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock will bear a legend substantially to the following effect:"}
-{"idx": 2, "level": 3, "span": "THE SECURITIES REPRESENTED BY THIS INSTRUMENT HAVE NOT BEEN REGISTERED UNDER THE SECURITIES ACT OF 1933, AS AMENDED, OR THE SECURITIES LAWS OF ANY STATE AND MAY NOT BE TRANSFERRED, SOLD OR"}
-{"idx": 2, "level": 3, "span": "OTHERWISE DISPOSED OF EXCEPT WHILE A REGISTRATION STATEMENT RELATING THERETO IS IN EFFECT UNDER SUCH ACT AND APPLICABLE STATE SECURITIES LAWS OR PURSUANT TO AN EXEMPTION FROM REGISTRATION UNDER SUCH ACT OR SUCH LAWS."}
-{"idx": 2, "level": 3, "span": "THE SECURITIES REPRESENTED BY THIS CERTIFICATE ARE SUBJECT TO TRANSFER AND OTHER RESTRICTIONS SET FORTH IN AN INVESTMENT AGREEMENT, DATED AS OF MAY 8, 2017, COPIES OF WHICH ARE ON FILE WITH THE SECRETARY OF THE ISSUER.\n(a) Upon request of the applicable Purchaser Party, upon receipt by the Company of an opinion of counsel reasonably satisfactory to the Company to the effect that such legend is no longer required under the Securities Act and applicable state securities laws, the Company shall promptly cause the first paragraph of the legend to be removed from any certificate for any Series A Preferred Stock or Common Stock to be Transferred in accordance with the terms of this Agreement and the second paragraph of the legend shall be removed upon the expiration of such transfer and other restrictions set forth in this Agreement (and, for the avoidance of doubt, immediately prior to any termination of this Agreement).\nSection 5.10 Election of Directors. (a) [Reserved].\n(a) Upon the occurrence of the Fall-Away of Purchaser Board Rights, at the written request of the Board, the Purchaser Director shall immediately resign, and the Purchasers shall cause the Purchaser Director immediately to resign, from the Board effective as of the date of the Fall-Away of Purchaser Board Rights, and the Purchasers shall no longer have any rights under this Section 5.10, including, for the avoidance of doubt, any designation and/or nomination rights under Section 5.10(c)\n(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, at each annual meeting of the Company’s stockholders, the Lead Purchasers shall have the right to designate a Purchaser Designee for election (in accordance with Section 15 of the Certificate of Designations) to the Board at such annual meeting; provided that if at any time the Lead Purchasers and their Permitted Transferees fail to satisfy clause (i) of the 50% Beneficial Ownership Requirement while all Purchasers collectively continue to satisfy clause (ii) of the 50% Beneficial Ownership Requirement, then the Purchasers, by vote or written consent of Purchasers having beneficial ownership of a majority of shares of Series Common Stock issued or issuable upon conversion of the Series A Preferred Stock, shall have the right to designate the Purchaser Designee. Subject to Section 5.10(e), the Company shall include the Purchaser Designee designated by the Lead Purchasers or the Purchasers, as applicable, in accordance with this Section 5.10(c) in the Company’s slate of nominees as “Purchaser Designee” (in accordance with Section 15 of the Certificate of Designations) for each relevant annual meeting of the Company’s stockholders and shall recommend that the holders of the Series A Preferred Stock vote in favor of the Purchaser Designee and shall support the Purchaser Designee in a manner no less rigorous and favorable than the manner in which the Company supports its other nominees in the aggregate.\n(c) Until the occurrence of the Fall-Away of Purchaser Board Rights, in the event of the death, disability, resignation or removal of any Purchaser Director as a member of the Board, the Lead Purchasers or the Purchasers, as applicable, may designate a Purchaser Designee to replace such Purchaser Director and, subject to Section 5.10(e) and any applicable provisions of the DGCL, the Company shall cause such Purchaser Designee to fill such resulting vacancy.\n(d) The Company’s obligations to have any Purchaser Designee elected to the Board or nominate any Purchaser Designee for election as a director at any meeting of the Company’s stockholders pursuant to this Section 5.10, as applicable, shall in each case be subject to (A) such Purchaser Designee’s satisfaction of all requirements regarding service as a director of the Company under applicable Law and stock exchange rules regarding service as a director of the Company and all other criteria and qualifications for service as a director applicable to all directors of the Company, (B) such Purchaser Designee meeting all independence requirements under the listing rules of the NYSE and (C) in the event the Purchaser Designee is to be designated by the Purchasers pursuant to Section 5.10(c), then such Purchaser Designee shall be an Independent Director; provided that in no event shall such Purchaser Designee’s relationship with the Purchaser Parties or their Affiliates (or any other actual or potential lack of independence resulting therefrom), in and of itself, be considered to disqualify such Purchaser Designee from being a member of the Board pursuant to this Section 5.10. The Purchaser Parties will cause each Purchaser Designee to make himself or herself reasonably available for interviews and to consent to such reference and background checks or other investigations as the Board may reasonably request from any individual nominated as a director of the Company to determine the Purchaser’s Nominee’s eligibility and qualification to serve as a director of the Company. No Purchaser Designee shall be eligible to serve on the Board if he or she has been involved in any of the events enumerated under Item 2(d) or (2) of Schedule 13D under the Exchange Act or Item 401(f) of Regulation S-K under the Securities Act or is subject to any Judgment prohibiting service as a director of any public company. As a condition to any Purchaser Designee’s election to the Board or nomination for election as a director of the Company at any meeting of the Company’s stockholders, the Purchaser Parties and the Purchaser Designee must provide to the Company:\n(i) all information requested by the Company that is required to be or is customarily disclosed for directors, candidates for directors and their respective Affiliates and Representatives in a proxy statement or other filings in accordance with applicable Law, any stock exchange rules or listing standards or the Company Charter Documents or corporate governance guidelines, in each case, relating to the Purchaser Designee’s election as a director of the Company;\n(ii) all information requested by the Company in connection with assessing eligibility, independence and other criteria applicable to directors or satisfying compliance and legal or regulatory obligations, in each case, relating to the Purchaser Designee’s nomination or election, as applicable, as a director of the Company or the Company’s operations in the ordinary course of business;\n(iii) an undertaking in writing by the Purchaser Designee:\na. to be subject to, bound by and duly comply with the code of conduct in the form agreed upon by the other directors of the Company; and\nb. to recuse himself or herself from any deliberations or discussion of the Board or any committee thereof regarding any Transaction Agreement or the Transactions.\n(e) The Company shall indemnify the Purchaser Director and provide the Purchaser Director with director and officer insurance to the same extent as it indemnifies and provides such insurance to other members of the Board, pursuant to the Company Charter Documents, the DGCL or otherwise.\nSection 5.11 Voting. Until the Fall-Away of Purchaser Board Rights:\n(a) At the first meeting of the stockholders of the Company for the election of directors following the execution of this Agreement and at every postponement or adjournment thereof, the Purchasers shall, and shall cause the Purchaser Parties to, take such action as may be required so that all of the shares of Series A Preferred Stock or Common Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of each director nominated or recommended by the Board for election, and until the Fall Away of Purchaser Board Rights, the Purchasers shall, and shall cause the Purchaser Parties to, at each applicable meeting of the stockholders of the Company, take such action as may be required so that all of the shares of the Series A Preferred Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of the Purchaser Designee, who shall be nominated and recommended by the Board for election at any such meeting; provided that no Purchaser Party shall be under any obligation to vote in the same manner as recommended by the Board or in any other manner, other than in the Purchaser Parties’ sole discretion, with respect to any other matter, including the approval (or non-approval) or adoption (or non-adoption) of, or other proposal directly related to, any merger or other business combination transaction involving the Company, the sale of all or substantially all of the assets of the Company and its Subsidiaries or any other change of control transaction involving the Company; and\n(b) Until the Fall-Away of Purchaser Board Rights, the Purchasers shall, and shall (to the extent necessary to comply with this Section 5.11) cause the Purchaser Parties to, be present, in person or by proxy, at all meetings of the stockholders of the Company so that all shares of Series A Preferred Stock or Common Stock beneficially owned by the Purchasers or the Purchaser Parties may be counted for the purposes of determining the presence of a quorum and voted in accordance with Section 5.11(a) at such meetings (including at any adjournments or postponements thereof).\n(c) The provisions of this Section 5.11 shall not apply to the exclusive consent and voting rights of the holders of Series A Preferred Stock set forth in Section 15 of the Certificate of Designations and Section 5.10.\nSection 5.12 Tax Matters. (a) The Company and its paying agent shall be entitled to withhold Taxes on all payments and distributions (or deemed distributions) on the Series A Preferred Stock or Common Stock or other securities issued upon conversion of the Series A Preferred Stock to the extent required by applicable Law. Prior to the date of any such payment, each Purchaser, and each Permitted Transferee with respect to the Series A Preferred Stock, shall have delivered to the Company or its paying agent a duly executed, valid, accurate and properly completed Internal Revenue Service (“IRS”) Form W‑9, certifying that such Purchaser is a U.S. Person exempt from U.S. federal backup withholding tax.\n(a) Absent a change in law or IRS practice, issuance of contrary guidance or a contrary determination (as defined in Section 1313(a) of the Code), the Purchasers and the Company agree not to treat the Series A Preferred Stock (based on their terms as set forth in the Certificate of Designations) as indebtedness for United States federal income Tax and withholding Tax purposes, and shall not take any position inconsistent with such treatment.\n(b) The Company shall pay any and all documentary, stamp and similar issue or transfer Tax due on (x) the issue of the Series A Preferred Stock and (y) the issue of shares of Common Stock upon conversion of the Series A Preferred Stock. However, in the case of conversion of Series A Preferred Stock, the Company shall not be required to pay any Tax or duty that may be payable in respect of any transfer involved in the issue and delivery of shares of Common Stock or Series A Preferred Stock to a beneficial owner other than the beneficial owner of the Series A Preferred Stock immediately prior to such conversion, and no such issue or delivery shall be made unless and until the person requesting such issue has paid to the Company the amount of any such Tax or duty, or has established to the satisfaction of the Company that such Tax or duty has been paid.\nSection 5.13 Use of Proceeds. The Company shall use the proceeds from the issuance and sale of the Acquired Shares (a) to pay for any costs, fees and expenses incurred in connection with the Transactions and/or (b) for general corporate purposes.\nSection 5.14 Participation.\n(a) For the purposes of this Section 5.14, “Excluded Issuance” shall mean (i) the issuance of any shares of equity securities that is subject to Section 12 of the Certificate of Designations, but solely to the extent than an adjustment is made or the holders of Series A Preferred Stock participate in such issuance pursuant to Section 12 of the Certificate of Designations, (ii) the issuance of shares of any equity securities (including upon exercise of options) to directors, officers, employees, consultants or other agents of the Company as approved by the Board, (iii) the issuance of shares of any equity securities pursuant to an employee stock option plan, management incentive plan, restricted stock plan, stock purchase plan or stock, ownership plan or similar benefit plan, program or agreement as approved by the Board, (iv) the issuance of shares of equity securities in connection with any “business combination” (as defined in the rules and regulations promulgated by the SEC) or otherwise in connection with bona fide acquisitions of securities or substantially all of the assets of another Person, business unit, division or business, (v) securities issued pursuant to the conversion, exercise or exchange of Series A Preferred Stock issued to the Purchaser, (vi) shares of a Subsidiary of the Company issued to the Company or a Wholly-Owned Subsidiary of the\nCompany, (vii) securities of a joint venture (provided that no Affiliate (other than any Subsidiary of the Company) of the Company acquires any interest in such securities in connection with such issuance) or (viii) the issuance of bonds, debentures, notes or similar debt securities convertible into Common Stock into the public market pursuant to a bona-fide, broadly distributed underwritten public offering, if the conversion or exercise price is at least the greater of (x) the then applicable Conversion Price (as defined in the Certificate of Designations) and (y) the Current Market Price (as defined in the Certificate of Designations) as of the date the Company would have been required to give the Purchasers notice of such issuance if it were not an Excluded Issuance.\n(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, if the Company proposes to issue equity securities of any kind (the term “equity securities” shall include for these purposes Common Stock and any warrants, options or other rights to acquire, or any securities that are exercisable for, exchangeable for or convertible into, Common Stock or any other class of capital stock of the Company), other than in an Excluded Issuance, then the Company shall:\n(i) give written notice to the Purchasers (no less than ten (10) Business Days prior to the closing of such issuance, setting forth in reasonable detail (A) the designation and all of the terms and provisions of the securities proposed to be issued (the “Proposed Securities”), including, to the extent applicable, the voting powers, preferences and relative participating, optional or other special rights, and the qualification, limitations or restrictions thereof and interest rate and maturity; (B) the price and other terms of the proposed sale of such securities; and (C) the amount of such securities proposed to be issued; provided that following the delivery of such notice, the Company shall deliver to the Purchasers any such information the Purchasers may reasonably request in order to evaluate the proposed issuance, except that the Company shall not be required to deliver any information that has not been or will not be provided or otherwise made available to the proposed purchasers of the Proposed Securities; and\n(ii) offer to issue and sell to the Purchaser Parties, on such terms as the Proposed Securities are issued and upon full payment by the Purchaser Parties, a portion of the Proposed Securities equal to a percentage determined by dividing (A) the number of shares of Common Stock the Purchaser Parties beneficially own (on an as converted basis) by (B) the total number of shares of Common Stock then outstanding (on an as-converted basis) (such percentage, a Purchaser Party’s “Participation Portion”); provided, however, that the Company shall not be required to offer to issue or sell to the Purchaser Parties (or to any of them) the portion of the Proposed Securities that would require the Company to obtain stockholder approval in respect of the issuance of any Proposed Securities under the listing rules of the NYSE or any other securities exchange or any other applicable Law.\n(c) The Purchasers will have the option, on behalf of the applicable Purchaser Parties, exercisable by written notice to the Company, to accept the Company’s offer and commit to purchase any or all of the equity securities offered to be sold by the Company to the Purchaser Parties, which notice must be given within seven (7) Business Days after receipt of such notice\nfrom the Company. If the Company offers two (2) or more securities in units to the other participants in the offering, the Purchaser Parties must purchase such units as a whole and will not be given the opportunity to purchase only one (1) of the securities making up such unit. The closing of the exercise of such subscription right shall take place simultaneously with the closing of the sale of the Proposed Securities giving rise to such subscription right; provided, however, that the closing of any purchase by any such Purchaser Party may be extended beyond the closing of the sale of the Proposed Securities giving rise to such preemptive right to the extent necessary to (i) obtain required approvals from any Governmental Authority or (ii) permit the Purchaser Parties to receive proceeds from calling capital pursuant to commitments made by its (or its affiliated investment funds’) limited partners. Upon the expiration of the offering period described above, the Company will be free to sell such Proposed Securities that the Purchaser Parties have not elected to purchase during the 90 days following such expiration on terms and conditions no more favorable to the purchasers thereof than those offered to the Purchaser Parties in the notice delivered in accordance with Section 5.14(b). Any Proposed Securities offered or sold by the Company after such 90-day period shall be reoffered to the Purchaser Parties pursuant to this Section 5.14.\n(d) The election by any Purchaser Party not to exercise its subscription rights under this Section 5.14 in any one instance shall not affect their right as to any subsequent proposed issuance.\n(e) Notwithstanding anything in this Section 5.14 to the contrary, the Company will not be deemed to have breached this Section 5.14 if not later than thirty (30) Business Days following the issuance of any Proposed Securities in contravention of this Section 5.14, the Company or the transferee of such Proposed Securities offers to sell a portion of such equity securities or additional equity securities of the type(s) in question to each Purchaser Party so that, taking into account such previously-issued Proposed Securities and any such additional Proposed Securities, each Purchaser Party will have had the right to purchase or subscribe for Proposed Securities in a manner consistent with the allocation and other terms and upon same economic and other terms provided for in Sections 5.14(b) and 5.14(c).\n(f) In the case of an issuance subject to this Section 5.14 for consideration in whole or in part other than cash, including securities acquired in exchange therefor (other than securities by their terms so exchangeable), the consideration other than cash shall be deemed to be the Fair Market Value thereof.\nSection 5.15 Certain Redemptions. If a Physical Settlement or Combination Settlement under Section 9 or Section 10 of the Certificate of Designations would result in the issuance to the Purchaser Parties and their Affiliates of five percent (5.0%) or more, but less than ten percent (10.0%), of the outstanding shares of Common Stock of the Company as of the relevant Redemption Date (after giving effect to such issuance), then in addition to the settlement of the Redemption Price for each redeemed Share of Series A Preferred Stock from the Purchaser Parties and their Affiliates, the Company shall pay to the Purchaser Parties an aggregate amount of cash (the “Additional Amount”) equal to the Applicable Percentage (as defined below) multiplied by the aggregate Redemption Price to be paid to the Purchaser Parties and their Affiliates (such payment to be made pro rata among the Purchaser Parties and their Affiliates based on the number of shares\nof Series A Preferred Stock being redeemed by each of them). The “Applicable Percentage” means the result of (i) the percentage of the outstanding shares of Common Stock of the Company as of the relevant Redemption Date issued to the Purchaser Parties and their Affiliates in the redemption (after giving effect to such issuance) minus (ii) five percent (5.0%).\nSection 5.16 Credit Agreement. If the Company proposes to enter into any new credit facility after the date hereof or to extend the maturity of the Credit Agreement, the Company shall use commercially reasonable efforts to obtain terms and conditions under such credit facility or extension that would permit the redemption of the Series A Preferred Stock pursuant to Sections 8, 8.1, 9 and 10 of the Certificate of Designations entirely for cash. For the avoidance of doubt, the Company should have no liability to the Purchasers if it is not able to obtain the foregoing terms and conditions.\nSection 5.17 Offers and Sales of Series A Preferred Stock by the Lead Purchasers. The Lead Purchasers shall not take any action or omit to take any action in connection with the offering for sale and/or sale by the Lead Investor of any shares of Series A Preferred Stock if such action or omission would result in a requirement under the Securities Act to register the offer and/or sale of shares of Series A Preferred Stock by the Company.\nSection 5.18 FCC. The Company and the Lead Purchasers shall use their commercially reasonable efforts to cooperate, including in the restructuring of the Transactions (provided that, for the avoidance of doubt, such restructuring shall not amend Section 5.10 of this Agreement), to avoid any requirement for approval of the Transactions by the Federal Communications Commission (“FCC”), including, without limitation, any approvals required pursuant to (x) the FCC Declaratory Ruling applicable to the Company and its Subsidiaries and (y) the FCC’s foreign ownership rules. Notwithstanding the foregoing, if, prior to June 1, 2017, the parties have not either (i) determined that approval of the Transactions by the FCC is not required or (ii) agreed upon a restructuring of the Transactions that the parties determine will not require approval by the FCC, then the Company hereby agrees to return the license of Radio Station KXMZ to the FCC for cancellation no later than June 2, 2017. In any event, the Company agrees to dispose of Radio Station KXMZ no later than September 30, 2017."}
-{"idx": 2, "level": 3, "span": "(a) Upon request of the applicable Purchaser Party, upon receipt by the Company of an opinion of counsel reasonably satisfactory to the Company to the effect that such legend is no longer required under the Securities Act and applicable state securities laws, the Company shall promptly cause the first paragraph of the legend to be removed from any certificate for any Series A Preferred Stock or Common Stock to be Transferred in accordance with the terms of this Agreement and the second paragraph of the legend shall be removed upon the expiration of such transfer and other restrictions set forth in this Agreement (and, for the avoidance of doubt, immediately prior to any termination of this Agreement)."}
-{"idx": 2, "level": 3, "span": "(a) Upon the occurrence of the Fall-Away of Purchaser Board Rights, at the written request of the Board, the Purchaser Director shall immediately resign, and the Purchasers shall cause the Purchaser Director immediately to resign, from the Board effective as of the date of the Fall-Away of Purchaser Board Rights, and the Purchasers shall no longer have any rights under this Section 5.10, including, for the avoidance of doubt, any designation and/or nomination rights under Section 5.10(c)"}
-{"idx": 2, "level": 3, "span": "(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, at each annual meeting of the Company’s stockholders, the Lead Purchasers shall have the right to designate a Purchaser Designee for election (in accordance with Section 15 of the Certificate of Designations) to the Board at such annual meeting; provided that if at any time the Lead Purchasers and their Permitted Transferees fail to satisfy clause (i) of the 50% Beneficial Ownership Requirement while all Purchasers collectively continue to satisfy clause (ii) of the 50% Beneficial Ownership Requirement, then the Purchasers, by vote or written consent of Purchasers having beneficial ownership of a majority of shares of Series Common Stock issued or issuable upon conversion of the Series A Preferred Stock, shall have the right to designate the Purchaser Designee\nSubject to Section 5.10(e), the Company shall include the Purchaser Designee designated by the Lead Purchasers or the Purchasers, as applicable, in accordance with this Section 5.10(c) in the Company’s slate of nominees as “Purchaser Designee” (in accordance with Section 15 of the Certificate of Designations) for each relevant annual meeting of the Company’s stockholders and shall recommend that the holders of the Series A Preferred Stock vote in favor of the Purchaser Designee and shall support the Purchaser Designee in a manner no less rigorous and favorable than the manner in which the Company supports its other nominees in the aggregate."}
-{"idx": 2, "level": 3, "span": "(c) Until the occurrence of the Fall-Away of Purchaser Board Rights, in the event of the death, disability, resignation or removal of any Purchaser Director as a member of the Board, the Lead Purchasers or the Purchasers, as applicable, may designate a Purchaser Designee to replace such Purchaser Director and, subject to Section 5.10(e) and any applicable provisions of the DGCL, the Company shall cause such Purchaser Designee to fill such resulting vacancy."}
-{"idx": 2, "level": 3, "span": "(d) The Company’s obligations to have any Purchaser Designee elected to the Board or nominate any Purchaser Designee for election as a director at any meeting of the Company’s stockholders pursuant to this Section 5.10, as applicable, shall in each case be subject to (A) such Purchaser Designee’s satisfaction of all requirements regarding service as a director of the Company under applicable Law and stock exchange rules regarding service as a director of the Company and all other criteria and qualifications for service as a director applicable to all directors of the Company, (B) such Purchaser Designee meeting all independence requirements under the listing rules of the NYSE and (C) in the event the Purchaser Designee is to be designated by the Purchasers pursuant to Section 5.10(c), then such Purchaser Designee shall be an Independent Director; provided that in no event shall such Purchaser Designee’s relationship with the Purchaser Parties or their Affiliates (or any other actual or potential lack of independence resulting therefrom), in and of itself, be considered to disqualify such Purchaser Designee from being a member of the Board pursuant to this Section 5.10\nThe Purchaser Parties will cause each Purchaser Designee to make himself or herself reasonably available for interviews and to consent to such reference and background checks or other investigations as the Board may reasonably request from any individual nominated as a director of the Company to determine the Purchaser’s Nominee’s eligibility and qualification to serve as a director of the Company. No Purchaser Designee shall be eligible to serve on the Board if he or she has been involved in any of the events enumerated under Item 2(d) or (2) of Schedule 13D under the Exchange Act or Item 401(f) of Regulation S-K under the Securities Act or is subject to any Judgment prohibiting service as a director of any public company. As a condition to any Purchaser Designee’s election to the Board or nomination for election as a director of the Company at any meeting of the Company’s stockholders, the Purchaser Parties and the Purchaser Designee must provide to the Company:"}
-{"idx": 2, "level": 4, "span": "(i) all information requested by the Company that is required to be or is customarily disclosed for directors, candidates for directors and their respective Affiliates and Representatives in a proxy statement or other filings in accordance with applicable Law, any stock exchange rules or listing standards or the Company Charter Documents or corporate governance guidelines, in each case, relating to the Purchaser Designee’s election as a director of the Company;"}
-{"idx": 2, "level": 4, "span": "(ii) all information requested by the Company in connection with assessing eligibility, independence and other criteria applicable to directors or satisfying compliance and legal or regulatory obligations, in each case, relating to the Purchaser Designee’s nomination or election, as applicable, as a director of the Company or the Company’s operations in the ordinary course of business;"}
-{"idx": 2, "level": 4, "span": "(iii) an undertaking in writing by the Purchaser Designee:"}
-{"idx": 2, "level": 3, "span": "(e) The Company shall indemnify the Purchaser Director and provide the Purchaser Director with director and officer insurance to the same extent as it indemnifies and provides such insurance to other members of the Board, pursuant to the Company Charter Documents, the DGCL or otherwise."}
-{"idx": 2, "level": 3, "span": "(a) At the first meeting of the stockholders of the Company for the election of directors following the execution of this Agreement and at every postponement or adjournment thereof, the Purchasers shall, and shall cause the Purchaser Parties to, take such action as may be required so that all of the shares of Series A Preferred Stock or Common Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of each director nominated or recommended by the Board for election, and until the Fall Away of Purchaser Board Rights, the Purchasers shall, and shall cause the Purchaser Parties to, at each applicable meeting of the stockholders of the Company, take such action as may be required so that all of the shares of the Series A Preferred Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of the Purchaser Designee, who shall be nominated and recommended by the Board for election at any such meeting; provided that no Purchaser Party shall be under any obligation to vote in the same manner as recommended by the Board or in any other manner, other than in the Purchaser Parties’ sole discretion, with respect to any other matter, including the approval (or non-approval) or adoption (or non-adoption) of, or other proposal directly related to, any merger or other business combination transaction involving the Company, the sale of all or substantially all of the assets of the Company and its Subsidiaries or any other change of control transaction involving the Company; and"}
-{"idx": 2, "level": 3, "span": "(b) Until the Fall-Away of Purchaser Board Rights, the Purchasers shall, and shall (to the extent necessary to comply with this Section 5.11) cause the Purchaser Parties to, be present, in person or by proxy, at all meetings of the stockholders of the Company so that all shares of Series A Preferred Stock or Common Stock beneficially owned by the Purchasers or the Purchaser Parties may be counted for the purposes of determining the presence of a quorum and voted in accordance with Section 5.11(a) at such meetings (including at any adjournments or postponements thereof)."}
-{"idx": 2, "level": 3, "span": "(c) The provisions of this Section 5.11 shall not apply to the exclusive consent and voting rights of the holders of Series A Preferred Stock set forth in Section 15 of the Certificate of Designations and Section 5.10."}
-{"idx": 2, "level": 3, "span": "(a) Absent a change in law or IRS practice, issuance of contrary guidance or a contrary determination (as defined in Section 1313(a) of the Code), the Purchasers and the Company agree not to treat the Series A Preferred Stock (based on their terms as set forth in the Certificate of Designations) as indebtedness for United States federal income Tax and withholding Tax purposes, and shall not take any position inconsistent with such treatment."}
-{"idx": 2, "level": 3, "span": "(b) The Company shall pay any and all documentary, stamp and similar issue or transfer Tax due on (x) the issue of the Series A Preferred Stock and (y) the issue of shares of Common Stock upon conversion of the Series A Preferred Stock\nHowever, in the case of conversion of Series A Preferred Stock, the Company shall not be required to pay any Tax or duty that may be payable in respect of any transfer involved in the issue and delivery of shares of Common Stock or Series A Preferred Stock to a beneficial owner other than the beneficial owner of the Series A Preferred Stock immediately prior to such conversion, and no such issue or delivery shall be made unless and until the person requesting such issue has paid to the Company the amount of any such Tax or duty, or has established to the satisfaction of the Company that such Tax or duty has been paid."}
-{"idx": 2, "level": 3, "span": "(a) For the purposes of this Section 5.14, “Excluded Issuance” shall mean (i) the issuance of any shares of equity securities that is subject to Section 12 of the Certificate of Designations, but solely to the extent than an adjustment is made or the holders of Series A Preferred Stock participate in such issuance pursuant to Section 12 of the Certificate of Designations, (ii) the issuance of shares of any equity securities (including upon exercise of options) to directors, officers, employees, consultants or other agents of the Company as approved by the Board, (iii) the issuance of shares of any equity securities pursuant to an employee stock option plan, management incentive plan, restricted stock plan, stock purchase plan or stock, ownership plan or similar benefit plan, program or agreement as approved by the Board, (iv) the issuance of shares of equity securities in connection with any “business combination” (as defined in the rules and regulations promulgated by the SEC) or otherwise in connection with bona fide acquisitions of securities or substantially all of the assets of another Person, business unit, division or business, (v) securities issued pursuant to the conversion, exercise or exchange of Series A Preferred Stock issued to the Purchaser, (vi) shares of a Subsidiary of the Company issued to the Company or a Wholly-Owned Subsidiary of the"}
-{"idx": 2, "level": 3, "span": "(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, if the Company proposes to issue equity securities of any kind (the term “equity securities” shall include for these purposes Common Stock and any warrants, options or other rights to acquire, or any securities that are exercisable for, exchangeable for or convertible into, Common Stock or any other class of capital stock of the Company), other than in an Excluded Issuance, then the Company shall:"}
-{"idx": 2, "level": 4, "span": "(i) give written notice to the Purchasers (no less than ten (10) Business Days prior to the closing of such issuance, setting forth in reasonable detail (A) the designation and all of the terms and provisions of the securities proposed to be issued (the “Proposed Securities”), including, to the extent applicable, the voting powers, preferences and relative participating, optional or other special rights, and the qualification, limitations or restrictions thereof and interest rate and maturity; (B) the price and other terms of the proposed sale of such securities; and (C) the amount of such securities proposed to be issued; provided that following the delivery of such notice, the Company shall deliver to the Purchasers any such information the Purchasers may reasonably request in order to evaluate the proposed issuance, except that the Company shall not be required to deliver any information that has not been or will not be provided or otherwise made available to the proposed purchasers of the Proposed Securities; and"}
-{"idx": 2, "level": 4, "span": "(ii) offer to issue and sell to the Purchaser Parties, on such terms as the Proposed Securities are issued and upon full payment by the Purchaser Parties, a portion of the Proposed Securities equal to a percentage determined by dividing (A) the number of shares of Common Stock the Purchaser Parties beneficially own (on an as converted basis) by (B) the total number of shares of Common Stock then outstanding (on an as-converted basis) (such percentage, a Purchaser Party’s “Participation Portion”); provided, however, that the Company shall not be required to offer to issue or sell to the Purchaser Parties (or to any of them) the portion of the Proposed Securities that would require the Company to obtain stockholder approval in respect of the issuance of any Proposed Securities under the listing rules of the NYSE or any other securities exchange or any other applicable Law."}
-{"idx": 2, "level": 3, "span": "(c) The Purchasers will have the option, on behalf of the applicable Purchaser Parties, exercisable by written notice to the Company, to accept the Company’s offer and commit to purchase any or all of the equity securities offered to be sold by the Company to the Purchaser Parties, which notice must be given within seven (7) Business Days after receipt of such notice"}
-{"idx": 2, "level": 3, "span": "(d) The election by any Purchaser Party not to exercise its subscription rights under this Section 5.14 in any one instance shall not affect their right as to any subsequent proposed issuance."}
-{"idx": 2, "level": 3, "span": "(e) Notwithstanding anything in this Section 5.14 to the contrary, the Company will not be deemed to have breached this Section 5.14 if not later than thirty (30) Business Days following the issuance of any Proposed Securities in contravention of this Section 5.14, the Company or the transferee of such Proposed Securities offers to sell a portion of such equity securities or additional equity securities of the type(s) in question to each Purchaser Party so that, taking into account such previously-issued Proposed Securities and any such additional Proposed Securities, each Purchaser Party will have had the right to purchase or subscribe for Proposed Securities in a manner consistent with the allocation and other terms and upon same economic and other terms provided for in Sections 5.14(b) and 5.14(c)."}
-{"idx": 2, "level": 3, "span": "(f) In the case of an issuance subject to this Section 5.14 for consideration in whole or in part other than cash, including securities acquired in exchange therefor (other than securities by their terms so exchangeable), the consideration other than cash shall be deemed to be the Fair Market Value thereof."}
-{"idx": 2, "level": 3, "span": "(a) Notwithstanding Section 5.08(a), the Purchaser Parties shall be permitted to Transfer any portion or all of their Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock at any time under the following circumstances:"}
-{"idx": 2, "level": 4, "span": "(i) Transfers to any Permitted Transferees of the Purchaser or a Purchaser Party, but only if the transferee agrees in writing prior to such Transfer for the express benefit of the Company (in form and substance reasonably satisfactory to the Company and with a copy thereof to be furnished to the Company) to be bound by the terms of this Agreement and if the transferee and the transferor agree for the express benefit of the Company that the transferee shall Transfer the Series A Preferred Stock or Common Stock so Transferred back to the transferor at or before such time as the transferee ceases to be a Permitted Transferee of the transferor;"}
-{"idx": 2, "level": 4, "span": "(ii) Transfers pursuant to a merger, consolidation or other business combination involving the Company;"}
-{"idx": 2, "level": 4, "span": "(iii) Transfers pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock; and"}
-{"idx": 2, "level": 4, "span": "(iv) Transfers that have been approved by the Board, subject to such conditions as the Board determines."}
-{"idx": 2, "level": 3, "span": "(b) Notwithstanding Sections 5.08(a) and (b), the Purchaser Parties will not at any time, directly or knowingly indirectly (without the prior written consent of the Board) Transfer any Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock to a Prohibited Transferee; provided, however, that this Section 5.08(c) shall not restrict (i) any Transfer into the public market pursuant to a bona-fide, broadly distributed underwritten public offering made pursuant to the Registration Rights Agreement, (ii) any Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business, (iii) any Transfer pursuant to a merger, consolidation or other business combination involving the Company or (iv) any Transfer pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock."}
-{"idx": 2, "level": 3, "span": "(c) Notwithstanding Sections 5.08(a), (b) or (c), until the earlier of (i) the three-year anniversary of the Initial Closing Date and (ii) a Fundamental Change, no Purchaser Party will directly or indirectly (without the prior written consent of the Board) Transfer, in one or more related transactions, shares of Series A Preferred Stock or shares of Common Stock issued upon conversion of the Series A Preferred Stock to any single Person or any “group” (as defined in Section 13(d)(3) of the Exchange Act) of Persons who such Purchaser Party knows or would know after reasonable inquiry at the time of such Transfer to beneficially own 5% or more of the Common Stock then outstanding on an as converted basis; provided, however, that this Section 5.08(d) shall not restrict (i) Transfers permitted in Section 5.08(b), (ii) Transfers to a mutual fund that, to the relevant Purchaser Party’s or broker-dealer’s, as applicable knowledge after reasonable inquiry, typically makes investments in Persons in the ordinary course of its business for investment purposes and not with the purpose or intent of changing or influencing the control of such Person, (iii) a bona fide underwritten public offering, in an open market transaction effected through a broker-dealer, (iv) a Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business or (v) a derivatives transaction entered into with a bank, broker-dealer or other derivatives dealer."}
-{"idx": 2, "level": 3, "span": "(d) Any attempted Transfer in violation of this Section 5.08 shall be null and void ab initio."}
-{"idx": 2, "level": 3, "span": "(a) other than the authorization and issuance of the Series A Preferred Stock to the Purchasers and the consummation of the other Transactions, issue, sell or grant any shares of its capital stock, or any securities or rights convertible into, exchangeable or exercisable for, or evidencing the right to subscribe for any shares of its capital stock, or any rights, warrants or options to purchase any shares of its capital stock; provided that the Company may issue or grant shares of Common Stock or other securities in the ordinary course of business pursuant to the terms of a Company Plan in effect on the date of this Agreement;"}
-{"idx": 2, "level": 3, "span": "(b) redeem, purchase or otherwise acquire any of its outstanding shares of capital stock or other equity or voting interests, or any rights, warrants or options to acquire any shares of its capital stock or other equity or voting interests (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs);"}
-{"idx": 2, "level": 3, "span": "(c) establish a record date for, declare, set aside for payment or pay any dividend on, or make any other distribution in respect of, any shares of its capital stock or other equity or voting interests;"}
-{"idx": 2, "level": 3, "span": "(d) split, combine, subdivide or reclassify any shares of its capital stock or other equity or voting interests; or"}
-{"idx": 2, "level": 3, "span": "(e) amend or supplement the Company Charter Documents in a manner that would affect the Purchasers in an adverse manner either as a holder of Series A Preferred Stock or with respect to the rights of the Purchasers under this Agreement."}
-{"idx": 2, "level": 3, "span": "(a) The Company and the Purchasers agree to make an appropriate filing of a Notification and Report Form (“HSR Form”) pursuant to the HSR Act with respect to the Transactions (which shall request the early termination of any waiting period applicable to the Transactions under the HSR Act) as promptly as reasonably practicable following the date of this"}
-{"idx": 2, "level": 3, "span": "(b) Each of the Company and the Purchasers shall use their respective reasonable best efforts to (i) cooperate in all respects with the other party in connection with any filing or submission with a Governmental Authority in connection with the Transactions and in connection with any investigation or other inquiry by or before a Governmental Authority relating to the Transactions, including any proceeding initiated by a private person, (ii) keep the other party informed in all material respects and on a reasonably timely basis of any material communication received by the Company or the Purchaser, as the case may be, from or given by the Company or the Purchasers, as the case may be, to the Federal Trade Commission (“FTC”), the Department of Justice (“DOJ”) or any other Governmental Authority and of any material communication received or given in connection with any proceeding by a private Person, in each case regarding the Transactions, (iii) subject to applicable Laws relating to the exchange of information, and to the extent reasonably practicable, consult with the other party with respect to information relating to such party and its respective Subsidiaries, as the case may be, that appears in any filing made with, or written materials submitted to, any third Person or any Governmental Authority in connection with the Transactions, other than “4(c) and 4(d) documents” as that term is used in the rules and regulations under the HSR Act and other confidential information contained in the HSR Form, and (iv) to the extent permitted by the FTC, the DOJ or such other applicable Governmental Authority or other Person, give the other party the opportunity to attend and participate in such meetings and conferences."}
-{"idx": 2, "level": 3, "span": "(c) Notwithstanding anything to the contrary in this Agreement, nothing in this Section 5.02 shall require any Purchaser to take any action or to cause any of its Affiliates (other than the Purchaser Parties or any assignees of a Purchaser that become a party to this Agreement pursuant to Section 8.03 and their respective controlled Affiliates) to take any action, including selling, divesting, conveying, holding separate, or otherwise limiting its freedom of action, with respect to any assets, rights, products, licenses, businesses, operations, or interest therein, of any such Purchaser, Affiliates or any direct or indirect portfolio companies of investment funds advised or managed by one or more Affiliates of such Purchaser with respect to satisfying the condition set forth in Section 6.01(b)."}
-{"idx": 2, "level": 4, "span": "(i) from time to time take all lawful action within its control to cause the authorized capital stock of the Company to include a sufficient number of authorized but unissued shares of Common Stock to satisfy the conversion requirements of all shares of the Series A Preferred Stock then outstanding; and"}
-{"idx": 2, "level": 4, "span": "(ii) not effect any voluntary deregistration under the Exchange Act or any voluntary delisting with the NYSE in respect of the Common Stock other than in connection with a Change of Control (as defined in the Certificate of Designations)."}
-{"idx": 2, "level": 3, "span": "(b) Prior to the Initial Closing, the Company shall file with the DSS the Certificate of Designations in the form attached hereto as Annex I, with such changes thereto as the parties may reasonably agree."}
-{"idx": 2, "level": 3, "span": "(c) If any occurrence since the date of this Agreement until the Initial Closing would have resulted in an adjustment to the Conversion Rate pursuant to the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement, the Company shall adjust the Conversion Rate, effective as of the Initial Closing, in the same manner as would have been required by the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement."}
-{"idx": 2, "level": 3, "span": "(a) acquire, offer or seek to acquire, agree to acquire or make a proposal to acquire, by purchase or otherwise, any securities or direct or indirect rights to acquire any equity securities of the Company or any of its Affiliates, any securities convertible into or exchangeable for any such equity securities, any options or other derivative securities or contracts or instruments in any way related to the price of shares of Common Stock or substantially all of the assets or property of the Company and its Subsidiaries (but in any case excluding any issuance by the Company of shares of Company Common Stock or options, warrants or other rights to acquire Common Stock (or the exercise thereof) to any Purchaser Director (A) as compensation for their"}
-{"idx": 2, "level": 3, "span": "(b) make or in any way encourage or participate in any “solicitation” of “proxies” (whether or not relating to the election or removal of directors), as such terms are used in the rules of the SEC, to vote, or knowingly seek to advise or influence any Person with respect to voting of, any voting securities of the Company or any of its Subsidiaries (excluding any votes required for the approval of the Transactions), or call or seek to call a meeting of the Company’s stockholders or initiate any stockholder proposal for action by the Company’s stockholders, or other than with respect to the Purchaser Director, seek election to or to place a representative on the Board or seek the removal of any director from the Board;"}
-{"idx": 2, "level": 3, "span": "(c) [Reserved];"}
-{"idx": 2, "level": 3, "span": "(d) make any public announcement with respect to, or offer, seek, propose or indicate an interest in (in each case with or without conditions), any merger, consolidation, business combination, tender or exchange offer, recapitalization, reorganization or purchase of all or substantially all of the assets of the Company and its Subsidiaries, or any other extraordinary transaction involving the Company or any Subsidiary of the Company or any of their respective securities, or enter into any discussions, negotiations, arrangements, understandings or agreements (whether written or oral) with any other Person regarding any of the foregoing; provided that the Purchasers may make confidential proposals to the Board of Directors of the Company regarding mergers, consolidations or other business combinations with the Company or a purchase of all or substantially all of the Company’s assets so long as such proposals would not reasonably be expected to require any public disclosure by the Company;"}
-{"idx": 2, "level": 3, "span": "(e) otherwise act, alone or in concert with others, to seek to control or influence, in any manner, management or the board of directors of the Company or any of its Subsidiaries (other than in the capacity of the Purchaser Director);"}
-{"idx": 2, "level": 3, "span": "(f) make any proposal or statement of inquiry or disclose any intention, plan or arrangement inconsistent with any of the foregoing;"}
-{"idx": 2, "level": 3, "span": "(g) advise, assist, knowingly encourage or direct any Person to do, or to advise, assist, encourage or direct any other Person to do, any of the foregoing;"}
-{"idx": 2, "level": 3, "span": "(h) take any action that would, in effect, require the Company to make a public announcement regarding the possibility of a transaction or any of the events described in this Section 5.07;"}
-{"idx": 2, "level": 4, "span": "(i) enter into any discussions, negotiations, arrangements or understandings with any third party (including, without limitation, security holders of the Company, but excluding, for the avoidance of doubt, any Purchaser Parties) with respect to any of the foregoing, including, without limitation, forming, joining or in any way participating in a “group” (as defined in Section 13(d)(3) of the Exchange Act) with any third party with respect to any securities of the Company or otherwise in connection with any of the foregoing;"}
-{"idx": 2, "level": 3, "span": "(j) request the Company or any of its Representatives, directly or indirectly, to amend or waive any provision of this Section 5.07, provided that this clause shall not prohibit the Purchaser Parties from making a confidential request to the Company seeking an amendment or waiver of the provisions of this Section 5.07, which the Company may accept or reject in its sole discretion, so long as any such request is made in a manner that does not require public disclosure thereof by any Person; or"}
-{"idx": 2, "level": 3, "span": "(k) contest the validity of this Section 5.07 or make, initiate, take or participate in any demand, Action (legal or otherwise) or proposal to amend, waive or terminate any provision of this Section 5.07;"}
-{"idx": 2, "level": 2, "span": "ARTICLE VI"}
-{"idx": 2, "level": 2, "span": "Conditions to Closing\nSection 6.01 Conditions to the Obligations of the Company and the Purchasers. The respective obligations of each of the Company and the Purchasers to effect the Initial Closing shall be subject to the satisfaction (or waiver, if permissible under applicable Law) on or prior to the Closing Date of the following conditions:\n(a) no temporary or permanent Judgment shall have been enacted, promulgated, issued, entered, amended or enforced by any Governmental Authority nor shall any proceeding brought by a Governmental Authority seeking any of the foregoing be pending, or any applicable Law shall be in effect enjoining or otherwise prohibiting consummation of the Transactions (collectively, “Restraints”); and\n(b) the waiting period (and any extension thereof) applicable to the consummation of Transactions under the HSR Act shall have expired or early termination thereof shall have been granted.\nSection 6.02 Conditions to the Obligations of the Company. The obligations of the Company to effect the Initial Closing shall be further subject to the satisfaction (or waiver, if permissible under applicable Law) on or prior to the Initial Closing Date of the following conditions:\n(a) the representations and warranties of the Purchasers set forth in this Agreement shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect;\n(b) the Purchasers shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing; and\n(c) the Company shall have received a certificate, signed on behalf of each of the Purchasers by an executive officer thereof, certifying that the conditions set forth in Section 6.02(a) and Section 6.02(b) have been satisfied.\nSection 6.03 Conditions to the Obligations of the Purchasers. The obligations of the Purchasers to effect the Initial Closing shall be further subject to the satisfaction (or waiver, if permissible under applicable Law) on or prior to the Initial Closing Date of the following conditions:\n(a) the representations and warranties of the Company (i) set forth in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16 shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date) and (ii) set forth in this Agreement, other than in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16, shall be true and correct (disregarding all qualifications or limitations as to “materiality”, “Material Adverse Effect” and words of similar import set forth therein) as of the Initial Closing Date with the same effect as though made as of the date hereof and as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except, in the case of this clause (ii), where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect;\n(b) the Company shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing;\n(c) the Purchasers shall have received a certificate, signed on behalf of the Company by an executive officer thereof, certifying that the conditions set forth in Section 6.03(a) and Section 6.03(b) have been satisfied;\n(d) the Company shall have duly adopted and filed with the DSS the Certificate of Designations, and the Certificate of Designations shall have been accepted for record by the DSS and a certified copy thereof shall have been delivered to the Purchaser;\n(e) the Board shall have taken all actions necessary and appropriate to elect Richard Sarnoff to the Board, effective immediately upon the Initial Closing;\n(f) any shares of Common Stock issuable upon conversion of the Series A Preferred Stock (other than any additional shares of Series A Preferred Stock that may be issued as dividends in kind) at the Conversion Rate specified in the Certificate of Designations as in effect on the date hereof shall have been approved for listing on the NYSE, subject to official notice of issuance;\n(g) The Purchasers (or their counsel) shall have received a counterpart of this Agreement and each other Transaction Document signed by each of the requisite parties thereto (which may include delivery of a signed signature page of this Agreement and each other Transaction Document by facsimile or other means of electronic transmission (e.g., “pdf”));\n(h) The Purchasers shall have received a written opinion of Sidley Austin LLP (i) dated as of the Initial Closing Date, (ii) addressed to the Lead Purchasers and (iii) in form and substance reasonably satisfactory to the Lead Purchasers covering the following matters with respect to the Company: due incorporation, valid existence and good standing; due authorization, execution and delivery of the Investment Agreement and Registration Rights Agreement; no conflict with organizational documents, applicable law, the Credit Agreement and the Indenture; no governmental consent; the shares of Series A Preferred Stock are validly issued, fully paid and non-assessable; no registration; and 1940 Act compliance;\n(i) The Purchasers shall have received a certificate of the Secretary or Assistant Secretary or similar officer of the Company dated as of the Initial Closing Date and certifying and attaching:\n(i) a copy of the certificate of incorporation or other equivalent constituent and governing documents, including all amendments thereto (including, the Certificates of Designation), of the Company, certified as of a recent date by the Secretary of State of the State of Delaware;\n(ii) a certificate as to the good standing of the Company as of a recent date from the Secretary of State of the State of Delaware;\n(iii) that attached thereto is a true and complete copy of the by-laws (or other equivalent constituent and governing documents) of the Company as in effect on the\nInitial Closing Date and at all times since a date prior to the date of the resolutions described in Section 6.03(i)(iv);\n(iv) that attached thereto is a true and complete copy of resolutions duly adopted by the board of directors (or equivalent governing body) of the Company authorizing the execution, delivery and performance of this Agreement and each other Transaction Document dated as of the Initial Closing Date to which the Company is a party, the filing of the Certificates of Designation with the Secretary of State of the State of Delaware, the sale and purchase of the Series A Preferred Stock hereunder, the increase in the number of directors which constitute the Company’s board of directors and the election to the board of directors of the Initial Purchaser Director Designee, and that such resolutions have not been modified, rescinded or amended and are in full force and effect on the Initial Closing Date;\n(v) as to the incumbency and specimen signature of each officer executing this Agreement, any other Transaction Document or any other document delivered in connection herewith or therewith on behalf of the Company; and\n(vi) as to the absence of any pending proceeding for the dissolution or liquidation of the Company or, to the knowledge of the Company, threatening the existence of the Company; and\n(j) The Lead Purchasers shall have received reimbursement for all reasonable and documented out-of-pocket fees and expenses, including reasonable travel expenses, incurred in connection with the Transaction Documents (including reasonable and documented fees, charges and disbursements of Paul, Weiss, Rifkind, Wharton & Garrison LLP, Wiley Rein LLP, Ropes & Gray LLP, Deloitte & Touche) that have been invoiced to the Company not less than three Business Days prior to the Initial Closing Date, up to a maximum amount of $850,000 in the aggregate;\nSection 6.04 Alternative Acquisition. Notwithstanding this Agreement or any of the terms or conditions herein, if within 30 days of the date hereof (the “Alternative Acquisition Conditions Date”), the Alternative Acquisition Conditions (as defined below) have been satisfied and the Company has given written notice to this effect to the Purchasers, then the Company may terminate this Agreement; provided that the Company shall, within two business days after the date of such notice, pay KKR Classic Investors LLC or its designees a fee equal to $15,000,000. The “Alternative Acquisition Conditions” shall have been met if:\n(a) On or prior to the Alternative Acquisition Conditions Date, a bona fide Acquisition Proposal shall have been made to the Company or any of its Subsidiaries or shall have been made directly to the Company’s stockholders generally or any person shall have publicly announced an intention (whether or not conditional) to make a bona fide Acquisition Proposal with respect to the Company; and\n(b) The Company shall approve or recommend, or publicly declare advisable, publicly propose to enter into or enter into, any letter of intent, memorandum of understanding, agreement in principle, acquisition agreement, merger agreement, option agreement, joint venture\nagreement, partnership agreement, lease agreement or other agreement relating to any Acquisition Proposal."}
-{"idx": 2, "level": 3, "span": "(a) no temporary or permanent Judgment shall have been enacted, promulgated, issued, entered, amended or enforced by any Governmental Authority nor shall any proceeding brought by a Governmental Authority seeking any of the foregoing be pending, or any applicable Law shall be in effect enjoining or otherwise prohibiting consummation of the Transactions (collectively, “Restraints”); and"}
-{"idx": 2, "level": 3, "span": "(b) the waiting period (and any extension thereof) applicable to the consummation of Transactions under the HSR Act shall have expired or early termination thereof shall have been granted."}
-{"idx": 2, "level": 3, "span": "(a) the representations and warranties of the Purchasers set forth in this Agreement shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect;"}
-{"idx": 2, "level": 3, "span": "(b) the Purchasers shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing; and"}
-{"idx": 2, "level": 3, "span": "(c) the Company shall have received a certificate, signed on behalf of each of the Purchasers by an executive officer thereof, certifying that the conditions set forth in Section 6.02(a) and Section 6.02(b) have been satisfied."}
-{"idx": 2, "level": 3, "span": "(a) the representations and warranties of the Company (i) set forth in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16 shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date) and (ii) set forth in this Agreement, other than in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16, shall be true and correct (disregarding all qualifications or limitations as to “materiality”, “Material Adverse Effect” and words of similar import set forth therein) as of the Initial Closing Date with the same effect as though made as of the date hereof and as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except, in the case of this clause (ii), where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect;"}
-{"idx": 2, "level": 3, "span": "(b) the Company shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing;"}
-{"idx": 2, "level": 3, "span": "(c) the Purchasers shall have received a certificate, signed on behalf of the Company by an executive officer thereof, certifying that the conditions set forth in Section 6.03(a) and Section 6.03(b) have been satisfied;"}
-{"idx": 2, "level": 3, "span": "(d) the Company shall have duly adopted and filed with the DSS the Certificate of Designations, and the Certificate of Designations shall have been accepted for record by the DSS and a certified copy thereof shall have been delivered to the Purchaser;"}
-{"idx": 2, "level": 3, "span": "(e) the Board shall have taken all actions necessary and appropriate to elect Richard Sarnoff to the Board, effective immediately upon the Initial Closing;"}
-{"idx": 2, "level": 3, "span": "(f) any shares of Common Stock issuable upon conversion of the Series A Preferred Stock (other than any additional shares of Series A Preferred Stock that may be issued as dividends in kind) at the Conversion Rate specified in the Certificate of Designations as in effect on the date hereof shall have been approved for listing on the NYSE, subject to official notice of issuance;"}
-{"idx": 2, "level": 3, "span": "(g) The Purchasers (or their counsel) shall have received a counterpart of this Agreement and each other Transaction Document signed by each of the requisite parties thereto (which may include delivery of a signed signature page of this Agreement and each other Transaction Document by facsimile or other means of electronic transmission (e.g., “pdf”));"}
-{"idx": 2, "level": 3, "span": "(h) The Purchasers shall have received a written opinion of Sidley Austin LLP (i) dated as of the Initial Closing Date, (ii) addressed to the Lead Purchasers and (iii) in form and substance reasonably satisfactory to the Lead Purchasers covering the following matters with respect to the Company: due incorporation, valid existence and good standing; due authorization, execution and delivery of the Investment Agreement and Registration Rights Agreement; no conflict with organizational documents, applicable law, the Credit Agreement and the Indenture; no governmental consent; the shares of Series A Preferred Stock are validly issued, fully paid and non-assessable; no registration; and 1940 Act compliance;"}
-{"idx": 2, "level": 4, "span": "(i) The Purchasers shall have received a certificate of the Secretary or Assistant Secretary or similar officer of the Company dated as of the Initial Closing Date and certifying and attaching:"}
-{"idx": 2, "level": 4, "span": "(i) a copy of the certificate of incorporation or other equivalent constituent and governing documents, including all amendments thereto (including, the Certificates of Designation), of the Company, certified as of a recent date by the Secretary of State of the State of Delaware;"}
-{"idx": 2, "level": 4, "span": "(ii) a certificate as to the good standing of the Company as of a recent date from the Secretary of State of the State of Delaware;"}
-{"idx": 2, "level": 4, "span": "(iii) that attached thereto is a true and complete copy of the by-laws (or other equivalent constituent and governing documents) of the Company as in effect on the"}
-{"idx": 2, "level": 4, "span": "(iv) that attached thereto is a true and complete copy of resolutions duly adopted by the board of directors (or equivalent governing body) of the Company authorizing the execution, delivery and performance of this Agreement and each other Transaction Document dated as of the Initial Closing Date to which the Company is a party, the filing of the Certificates of Designation with the Secretary of State of the State of Delaware, the sale and purchase of the Series A Preferred Stock hereunder, the increase in the number of directors which constitute the Company’s board of directors and the election to the board of directors of the Initial Purchaser Director Designee, and that such resolutions have not been modified, rescinded or amended and are in full force and effect on the Initial Closing Date;"}
-{"idx": 2, "level": 4, "span": "(v) as to the incumbency and specimen signature of each officer executing this Agreement, any other Transaction Document or any other document delivered in connection herewith or therewith on behalf of the Company; and"}
-{"idx": 2, "level": 4, "span": "(vi) as to the absence of any pending proceeding for the dissolution or liquidation of the Company or, to the knowledge of the Company, threatening the existence of the Company; and"}
-{"idx": 2, "level": 3, "span": "(j) The Lead Purchasers shall have received reimbursement for all reasonable and documented out-of-pocket fees and expenses, including reasonable travel expenses, incurred in connection with the Transaction Documents (including reasonable and documented fees, charges and disbursements of Paul, Weiss, Rifkind, Wharton & Garrison LLP, Wiley Rein LLP, Ropes & Gray LLP, Deloitte & Touche) that have been invoiced to the Company not less than three Business Days prior to the Initial Closing Date, up to a maximum amount of $850,000 in the aggregate;"}
-{"idx": 2, "level": 3, "span": "(a) On or prior to the Alternative Acquisition Conditions Date, a bona fide Acquisition Proposal shall have been made to the Company or any of its Subsidiaries or shall have been made directly to the Company’s stockholders generally or any person shall have publicly announced an intention (whether or not conditional) to make a bona fide Acquisition Proposal with respect to the Company; and"}
-{"idx": 2, "level": 3, "span": "(b) The Company shall approve or recommend, or publicly declare advisable, publicly propose to enter into or enter into, any letter of intent, memorandum of understanding, agreement in principle, acquisition agreement, merger agreement, option agreement, joint venture"}
-{"idx": 2, "level": 2, "span": "ARTICLE VII"}
-{"idx": 2, "level": 2, "span": "Termination; Survival\nSection 7.01 Termination. This Agreement may be terminated and the Transactions abandoned at any time prior to the Initial Closing:\n(a) by the mutual written consent of the Company and the Purchasers;\n(b) by either the Company or the Purchasers upon written notice to the other, if the Initial Closing should not have occurred on or prior to August 8, 2017 (the “Termination Date”); provided that the right to terminate this Agreement under this Section 7.01(b) shall not be available to any party if the breach by such party of its representations and warranties set forth in this Agreement or the failure of such party to perform any of its obligations under this Agreement has been a principal cause of or primarily resulted in the events specified in this Section 7.01(b);\n(c) by either the Company or the Purchasers if any Restraint enjoining or otherwise prohibiting consummation of the Transactions shall be in effect and shall have become final and nonappealable prior to the Initial Closing Date; provided that the party seeking to terminate this Agreement pursuant to this Section 7.01(c) shall have used the required efforts to cause the conditions to Initial Closing to be satisfied in accordance with Section 6.02;\n(d) by the Purchasers if the Company shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.03(a) or Section 6.03(b) and (ii) has not been waived by the Purchasers or is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Company of written notice of such breach or failure to perform from the Purchasers stating the Purchasers’ intention to terminate this Agreement pursuant to this Section 7.01(d) and the basis for such termination; provided that the Purchasers shall not have the right to terminate this Agreement pursuant to this Section 7.01(d) if the Purchasers are then in material breach of any of their representations, warranties, covenants or agreements hereunder which breach would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b); or\n(e) by the Company if the Purchasers shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b) and (ii) is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Purchasers of written notice of such breach or failure to perform from the Company stating the Company’s intention to terminate this Agreement pursuant to this Section 7.01(e) and the basis for such termination;"}
-{"idx": 2, "level": 2, "span": "provided that the Company shall not have the right to terminate this Agreement pursuant to this Section 7.01(e) if the Company is then in material breach of any of its representations, warranties, covenants or agreements hereunder which breach would give rise to the failure of a condition set forth in Section 6.03(a) or Section 6.03(b)\n.\nSection 7.02 Effect of Termination. In the event of the termination of this Agreement as provided in Section 7.01, written notice thereof shall be given to the other party, specifying the provision hereof pursuant to which such termination is made, and this Agreement shall forthwith become null and void (other than Section 5.03, this Section 7.02 and Article VIII, all of which shall survive termination of this Agreement and the Confidentiality Agreement (which shall survive in accordance with its terms except as otherwise provided herein)), and there shall be no liability on the part of the Purchasers or the Company or their respective directors, officers and Affiliates in connection with this Agreement, except that no such termination shall relieve any party from liability for damages to another party resulting from a willful and material breach of this Agreement prior to the date of termination or from fraud; provided that, notwithstanding any other provision set forth in this Agreement, except in the case of fraud, the Company shall not have any such liability in excess of the Purchase Price for all of the Acquired Shares and each Purchaser (severally and not jointly) shall not have any liability in excess of the Purchase Price for the Acquired Shares to be purchased by such Purchaser.\nSection 7.03 Survival. All of the covenants or other agreements of the parties contained in this Agreement shall survive until fully performed or fulfilled, unless and to the extent that non‑compliance with such covenants or agreements is waived in writing by the party entitled to such performance. Except for the warranties and representations contained in Sections 3.01, 3.02(a), 3.03(a), 3.12, 3.13, 3.14 and 3.16 and the representations and warranties contained in Article IV, which shall survive until the sixth (6th) anniversary of the Initial Closing Date, the representations and warranties made herein shall survive for twelve (12) months following the Initial Closing Date and shall then expire; provided that nothing herein shall relieve any party of liability for any inaccuracy or breach of such representation or warranty to the extent that any good faith allegation of such inaccuracy or breach is made in writing prior to such expiration by a Person entitled to make such claim pursuant to the terms and conditions of this Agreement. For the avoidance of doubt, claims may be made with respect to the breach of any representation, warranty or covenant until the applicable survival period therefor as described above expires."}
-{"idx": 2, "level": 3, "span": "(a) by the mutual written consent of the Company and the Purchasers;"}
-{"idx": 2, "level": 3, "span": "(b) by either the Company or the Purchasers upon written notice to the other, if the Initial Closing should not have occurred on or prior to August 8, 2017 (the “Termination Date”); provided that the right to terminate this Agreement under this Section 7.01(b) shall not be available to any party if the breach by such party of its representations and warranties set forth in this Agreement or the failure of such party to perform any of its obligations under this Agreement has been a principal cause of or primarily resulted in the events specified in this Section 7.01(b);"}
-{"idx": 2, "level": 3, "span": "(c) by either the Company or the Purchasers if any Restraint enjoining or otherwise prohibiting consummation of the Transactions shall be in effect and shall have become final and nonappealable prior to the Initial Closing Date; provided that the party seeking to terminate this Agreement pursuant to this Section 7.01(c) shall have used the required efforts to cause the conditions to Initial Closing to be satisfied in accordance with Section 6.02;"}
-{"idx": 2, "level": 3, "span": "(d) by the Purchasers if the Company shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.03(a) or Section 6.03(b) and (ii) has not been waived by the Purchasers or is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Company of written notice of such breach or failure to perform from the Purchasers stating the Purchasers’ intention to terminate this Agreement pursuant to this Section 7.01(d) and the basis for such termination; provided that the Purchasers shall not have the right to terminate this Agreement pursuant to this Section 7.01(d) if the Purchasers are then in material breach of any of their representations, warranties, covenants or agreements hereunder which breach would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b); or"}
-{"idx": 2, "level": 3, "span": "(e) by the Company if the Purchasers shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b) and (ii) is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Purchasers of written notice of such breach or failure to perform from the Company stating the Company’s intention to terminate this Agreement pursuant to this Section 7.01(e) and the basis for such termination;"}
-{"idx": 2, "level": 2, "span": "ARTICLE VIII"}
-{"idx": 2, "level": 2, "span": "Miscellaneous\nSection 8.01 Amendments; Waivers. Subject to compliance with applicable Law, this Agreement may be amended or supplemented in any and all respects only by written agreement of the parties hereto.\nSection 8.02 Extension of Time, Waiver, Etc.. The Company and the Purchasers may, subject to applicable Law, (a) waive any inaccuracies in the representations and warranties of the other party contained herein or in any document delivered pursuant hereto, (b) extend the time for the performance of any of the obligations or acts of the other party or (c) waive compliance by the\nother party with any of the agreements contained herein applicable to such party or, except as otherwise provided herein, waive any of such party’s conditions. Notwithstanding the foregoing, no failure or delay by the Company or the Purchasers in exercising any right hereunder shall operate as a waiver thereof nor shall any single or partial exercise thereof preclude any other or further exercise thereof or the exercise of any other right hereunder. Any agreement on the part of a party hereto to any such extension or waiver shall be valid only if set forth in an instrument in writing signed on behalf of such party.\nSection 8.03 Assignment. Neither this Agreement nor any of the rights, interests or obligations hereunder shall be assigned, in whole or in part, by operation of Law or otherwise, by any of the parties hereto without the prior written consent of the other party hereto; provided, however, that (a) each Purchaser or any Purchaser Party may assign its rights, interests and obligations under this Agreement, in whole or in part, to one or more Permitted Transferees, as contemplated in Section 5.08 and (b) in the event of such assignment, the assignee shall agree in writing to be bound by the provisions of this Agreement, including the rights, interests and obligations so assigned; provided that no such assignment will relieve any Purchaser of its obligations hereunder prior to the Initial Closing; provided, further, that no party hereto shall assign any of its obligations hereunder with the primary intent of avoiding, circumventing or eliminating such party’s obligations hereunder. Subject to the immediately preceding sentence, this Agreement shall be binding upon, inure to the benefit of, and be enforceable by, the parties hereto and their respective successors and permitted assigns.\nSection 8.04 Counterparts. This Agreement may be executed in one or more counterparts (including by facsimile or electronic mail), each of which shall be deemed to be an original but all of which taken together shall constitute one and the same agreement, and shall become effective when one or more counterparts have been signed by each of the parties hereto and delivered to the other parties hereto.\nSection 8.05 Entire Agreement; No Third-Party Beneficiaries; No Recourse. (a) This Agreement, including the Company Disclosure Letter, together with the Confidentiality Agreement, the Registration Rights Agreement and the Certificate of Designations, constitutes the entire agreement, and supersedes all other prior agreements and understandings, both written and oral, among the parties and their Affiliates, or any of them, with respect to the subject matter hereof and thereof.\n(a) No provision of this Agreement shall confer upon any Person other than the parties hereto and their permitted assigns any rights or remedies hereunder. This Agreement may only be enforced against, and any claims or causes of action that may be based upon, arise out of or relate to this Agreement, or the negotiation, execution or performance of this Agreement may only be made against the entities that are expressly identified as parties hereto, including entities that become parties hereto after the date hereof or that agree in writing for the benefit of the Company to be bound by the terms of this Agreement applicable to the Purchaser Parties, and no former, current or future equityholders, controlling persons, directors, officers, employees, agents or Affiliates of any party hereto or any former, current or future equityholder, controlling person, director, officer, employee, general or limited partner, member, manager, advisor, agent or Affiliate\nof any of the foregoing (each, a “Non-Recourse Party”) shall have any liability for any obligations or liabilities of the parties to this Agreement or for any claim (whether in tort, contract or otherwise) based on, in respect of, or by reason of, the transactions contemplated hereby or in respect of any representations made or alleged to be made in connection herewith. Without limiting the rights of any party against the other parties hereto, in no event shall any party or any of its Affiliates seek to enforce this Agreement against, make any claims for breach of this Agreement against, or seek to recover monetary damages from, any Non-Recourse Party.\nSection 8.06 Governing Law; Jurisdiction. (a) This Agreement shall be governed by, and construed in accordance with, the laws of the State of Delaware applicable to contracts executed in and to be performed entirely within that State, regardless of the laws that might otherwise govern under any applicable conflict of Laws principles.\n(a) All Actions arising out of or relating to this Agreement shall be heard and determined in the Court of Chancery of the State of Delaware (or, if the Court of Chancery of the State of Delaware declines to accept jurisdiction over any Action, any state or federal court within the State of Delaware) and the parties hereto hereby irrevocably submit to the exclusive jurisdiction and venue of such courts in any such Action and irrevocably waive the defense of an inconvenient forum or lack of jurisdiction to the maintenance of any such Action. The consents to jurisdiction and venue set forth in this Section 8.06 shall not constitute general consents to service of process in the State of Delaware and shall have no effect for any purpose except as provided in this paragraph and shall not be deemed to confer rights on any Person other than the parties hereto. Each party hereto agrees that service of process upon such party in any Action arising out of or relating to this Agreement shall be effective if notice is given by overnight courier at the address set forth in Section 8.10 of this Agreement. The parties hereto agree that a final judgment in any such Action shall be conclusive and may be enforced in other jurisdictions by suit on the judgment or in any other manner provided by applicable Law; provided, however, that nothing in the foregoing shall restrict any party’s rights to seek any post-judgment relief regarding, or any appeal from, a final trial court judgment.\nSection 8.07 Specific Enforcement. The parties hereto agree that irreparable damage for which monetary relief, even if available, would not be an adequate remedy, would occur in the event that Sections 5.06 or Section 5.07 are not performed in accordance with their specific terms or are otherwise breached. The Purchasers acknowledge and agree that (a) the Company shall be entitled to seek an injunction or injunctions, specific performance or other equitable relief to prevent breaches of Sections 5.06 and Section 5.07 and to enforce specifically the terms and provisions thereof in the courts described in Section 8.06 without proof of damages or otherwise, this being in addition to any other remedy to which they are entitled under this Agreement and (b) this right of specific enforcement is an integral part of the Transactions and without that right, the Company would not have entered into this Agreement. The Purchasers agree not to assert that a remedy of specific enforcement is unenforceable, invalid, contrary to Law or inequitable for any reason, and agree not to assert that a remedy of monetary damages would provide an adequate remedy or that the parties otherwise have an adequate remedy at law. The Purchasers acknowledge and agree that the Company shall not be required to provide any bond or other security in connection with its pursuit of an\ninjunction or injunctions to prevent breaches of Sections 5.06 or Section 5.07 and to enforce specifically the terms and provisions thereof.\nSection 8.08 [Reserved].\nSection 8.09 WAIVER OF JURY TRIAL. EACH PARTY ACKNOWLEDGES AND AGREES THAT ANY CONTROVERSY WHICH MAY ARISE UNDER THIS AGREEMENT IS LIKELY TO INVOLVE COMPLICATED AND DIFFICULT ISSUES, AND THEREFORE IT HEREBY IRREVOCABLY AND UNCONDITIONALLY WAIVES, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, ANY RIGHT IT MAY HAVE TO A TRIAL BY JURY IN RESPECT OF ANY LITIGATION DIRECTLY OR INDIRECTLY ARISING OUT OF OR RELATING TO THIS AGREEMENT AND ANY OF THE AGREEMENTS DELIVERED IN CONNECTION HEREWITH OR THE TRANSACTIONS CONTEMPLATED HEREBY OR THEREBY. EACH PARTY CERTIFIES AND ACKNOWLEDGES THAT (A) NO REPRESENTATIVE, AGENT OR ATTORNEY OF ANY OTHER PARTY HAS REPRESENTED, EXPRESSLY OR OTHERWISE, THAT SUCH OTHER PARTY WOULD NOT, IN THE EVENT OF LITIGATION, SEEK TO ENFORCE THE FOREGOING WAIVER, (B) IT UNDERSTANDS AND HAS CONSIDERED THE IMPLICATIONS OF SUCH WAIVER, (C) IT MAKES SUCH WAIVER VOLUNTARILY AND (D) IT HAS BEEN INDUCED TO ENTER INTO THIS AGREEMENT BY, AMONG OTHER THINGS, THE MUTUAL WAIVER AND CERTIFICATIONS IN THIS SECTION 8.09.\nSection 8.10 Notices. All notices, requests and other communications to any party hereunder shall be in writing and shall be deemed given if delivered personally, by facsimile (which is confirmed), emailed (which is confirmed) or sent by overnight courier (providing proof of delivery) to the parties at the following addresses:\n(a) If to the Company, to it at:\nPandora Media, Inc.\n2101 Webster Street\nSuite 1650\nOakland, CA 94612\nAttention: General Counsel\nEmail: sbene@pandora.com\nwith a copy (which shall not constitute notice) to:\nSidley Austin LLP\n1001 Page Mill Road\nBuilding 1\nPalo Alto, CA 94304\nAttention: Martin Wellington, Esq.\nFacsimile: 650-565-7100\nEmail: mwellington@sidley.com"}
-{"idx": 2, "level": 2, "span": "Sidley Austin LLP\n1999 Avenue of the Stars\n17th Floor\nLos Angeles, CA 90067\nAttention: Stephen Blevit, Esq.\nFacsimile: 310-595-9501\nEmail: sblevit@sidley.com\n(b) If to the Purchasers at:"}
-{"idx": 2, "level": 3, "span": "(b) If to the Purchasers at:"}
-{"idx": 2, "level": 2, "span": "KKR Classic Investors LLC\nc/o KKR Credit Advisors (US) LLC\n555 California Street, 50th floor\nSan Francisco, CA 94104\nAttn: General Counsel\nPhone: (415) 315-3620\nFax: (415) 391-3077\nEmail: kkrcreditlegal@kkr.com\nwith a copy (which shall not constitute notice) to:\nPaul, Weiss, Rifkind, Wharton & Garrison LLP\n1285 Avenue of the Americas\nNew York, NY 06902\nAttention: Monica K. Thurmond, Esq.\nFacsimile: (212) 492-0055\nEmail: mthurmond@paulweiss.com\nor such other address, email address or facsimile number as such party may hereafter specify by like notice to the other parties hereto. All such notices, requests and other communications shall be deemed received on the date of actual receipt by the recipient thereof if received prior to 5:00 p.m. local time in the place of receipt and such day is a Business Day in the place of receipt. Otherwise, any such notice, request or communication shall be deemed not to have been received until the next succeeding Business Day in the place of receipt.\nSection 8.11 Severability. If any term, condition or other provision of this Agreement is determined by a court of competent jurisdiction to be invalid, illegal or incapable of being enforced by any rule of Law or public policy, all other terms, provisions and conditions of this Agreement shall nevertheless remain in full force and effect. Upon such determination that any term, condition or other provision is invalid, illegal or incapable of being enforced, the parties hereto shall negotiate in good faith to modify this Agreement so as to effect the original intent of the parties as closely as possible to the fullest extent permitted by applicable Law.\nSection 8.12 Expenses. Except as otherwise expressly provided herein, all costs and expenses, including fees and disbursements of counsel, financial advisors and accountants, incurred\nin connection with this Agreement and the Transactions shall be paid by the party incurring such costs and expenses, whether or not the Initial Closing shall have occurred.\nSection 8.13 Interpretation. (a) When a reference is made in this Agreement to an Article, a Section, Exhibit or Schedule, such reference shall be to an Article of, a Section of, or an Exhibit or Schedule to, this Agreement unless otherwise indicated. The table of contents and headings contained in this Agreement are for reference purposes only and shall not affect in any way the meaning or interpretation of this Agreement. Whenever the words “include”, “includes” or “including” are used in this Agreement, they shall be deemed to be followed by the words “without limitation”. The words “hereof”, “herein” and “hereunder” and words of similar import when used in this Agreement shall refer to this Agreement as a whole and not to any particular provision of this Agreement unless the context requires otherwise. The words “date hereof” when used in this Agreement shall refer to the date of this Agreement. The terms “or”, “any” and “either” are not exclusive. The word “extent” in the phrase “to the extent” shall mean the degree to which a subject or other thing extends, and such phrase shall not mean simply “if”. The word “will” shall be construed to have the same meaning and effect as the word “shall”. The words “made available to the Purchasers” and words of similar import refer to documents (A) posted to a diligence website by or on behalf of the Company and made available to the Purchasers or their respective Representatives or (B) delivered in Person or electronically to the Purchasers or their respective Representatives in each case no later than one Business Day prior to the date hereof. All accounting terms used and not defined herein shall have the respective meanings given to them under GAAP. All terms defined in this Agreement shall have the defined meanings when used in any document made or delivered pursuant hereto unless otherwise defined therein. The definitions contained in this Agreement are applicable to the singular as well as the plural forms of such terms and to the masculine as well as to the feminine and neuter genders of such term. Any agreement, instrument or statute defined or referred to herein or in any agreement or instrument that is referred to herein means such agreement, instrument or statute as from time to time amended, modified or supplemented, including (in the case of agreements or instruments) by waiver or consent and (in the case of statutes) by succession of comparable successor statutes and references to all attachments thereto and instruments incorporated therein. Unless otherwise specifically indicated, all references to “dollars” or “$” shall refer to the lawful money of the United States. References to a Person are also to its permitted assigns and successors. When calculating the period of time between which, within which or following which any act is to be done or step taken pursuant to this Agreement, the date that is the reference date in calculating such period shall be excluded (unless, otherwise required by Law, if the last day of such period is not a Business Day, the period in question shall end on the next succeeding Business Day).\n(a) The parties hereto have participated jointly in the negotiation and drafting of this Agreement and, in the event an ambiguity or question of intent or interpretation arises, this Agreement shall be construed as jointly drafted by the parties hereto and no presumption or burden of proof shall arise favoring or disfavoring any party hereto by virtue of the authorship of any provision of this Agreement."}
-{"idx": 2, "level": 3, "span": "[Remainder of page intentionally left blank]\nIN WITNESS WHEREOF, the parties hereto have caused this Agreement to be duly executed and delivered as of the date first above written."}
-{"idx": 2, "level": 4, "span": "PANDORA MEDIA, INC.\nBy: /s/ Naveen Chopra \nName: Naveen Chopra\nTitle: Chief Financial Officer"}
-{"idx": 2, "level": 3, "span": "[Signature Page to Investment Agreement]"}
-{"idx": 2, "level": 4, "span": "KKR CLASSIC INVESTORS LLC\nBy: /s/ Nicole Macarchuk \nName: Nicole Macarchuk\nTitle: Authorized Signatory"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_3.jsonl b/data/auto_parse/level_freeze/frozen/idx_3.jsonl
deleted file mode 100644
index 85c3112..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_3.jsonl
+++ /dev/null
@@ -1,103 +0,0 @@
-{"idx": 3, "level": 0, "span": "LOAN AND SECURITY AGREEMENT"}
-{"idx": 3, "level": 1, "span": "THIS LOAN AND SECURITY AGREEMENT (as amended, restated, modified or otherwise supplemented from time to time, this “Agreement”) dated as of April 28, 2017 between SILICON VALLEY BANK, a California corporation (“Bank”), and, SAVARA INC. f/k/a MAST THERAPEUTICS, INC., a Delaware corporation (“Parent”) and ARAVAS INC. f/k/a SAVARA INC. a Delaware corporation (each a “Co-Borrower” and collectively “Co‑Borrowers”), provides the terms on which Bank shall lend to Co-Borrowers and Co-Borrowers shall repay Bank. The parties agree as follows:"}
-{"idx": 3, "level": 1, "span": "ACCOUNTING AND OTHER TERMS\nAccounting terms not defined in this Agreement shall be construed following GAAP. Calculations and determinations must be made following GAAP; provided, however, that any obligations of a Person under a lease (whether existing now or entered into in the future) that is not (or would not be) a capital lease obligation under GAAP as in effect on the Closing Date shall not be treated as a capital lease obligation solely as a result of the adoption of changes in GAAP. Capitalized terms not otherwise defined in this Agreement shall have the meanings set forth in Section 13. All other terms contained in this Agreement, unless otherwise indicated, shall have the meaning provided by the Code to the extent such terms are defined therein."}
-{"idx": 3, "level": 1, "span": "LOAN AND TERMS OF PAYMENT"}
-{"idx": 3, "level": 2, "span": "2.1Promise to Pay. Co-Borrowers hereby unconditionally promise to pay Bank the outstanding principal amount of all Credit Extensions and accrued and unpaid interest thereon as and when due in accordance with this Agreement."}
-{"idx": 3, "level": 2, "span": "2.1.1Term Loans.\n(a)Availability. On the Effective Date, subject to the terms and conditions of this Agreement, Bank shall make one (1) term loan available to Co-Borrowers in the amount of Seven Million Five Hundred Thousand Dollars ($7,500,000.00) (the “Term A Loan”). Thereafter, subject to the terms and conditions of this Agreement, during the Draw Period, Co-Borrowers may request and Bank shall make one (1) term loan available to Co-Borrowers in the amount of Seven Million Five Hundred Thousand Dollars ($7,500,000.00) (the “Term B Loan” and, together with the Term A Loan, the “Term Loans”).\n(b)Repayment. The Term Loans shall be “interest only” during the Interest-Only Period, with interest due and payable on the first day of each month. Beginning on the Amortization Start Date, and continuing on the first day of each month thereafter, Co-Borrowers shall repay the Term Loans in equal monthly installments of principal plus interest (each, a “Term Loan Payment”) with a repayment schedule equal to (i) thirty (30) months if the Amortization Start Date is October 1, 2018 or (ii) twenty-four (24) months if the Amortization Start Date is April 1, 2019. Co-Borrowers’s final Term Loan Payment, due on the Term Loan Maturity Date, shall include all outstanding principal and accrued and unpaid interest under the Term Loans and the Final Payment. Once repaid, the Term Loans may not be reborrowed.\n(c)Prepayment.\n(i)Voluntary. Co-Borrowers shall have the option to prepay in whole or in part, the Term Loans advanced by Bank under this Agreement, provided Co-Borrowers (a) delivers written notice to Bank of its election to prepay the Term Loans at least five (5) Business Days prior to such prepayment (which notice may be conditioned upon the consummation of another financing or other events) and (b) pays, on the date of such prepayment, (i) all outstanding principal of the Term Loans to be prepaid, plus accrued and unpaid interest thereon, (ii) the Final Payment in respect of the principal amount of the Term Loans being prepaid, (iii) the Prepayment Fee in respect of the principal amount of the Term Loans being prepaid and (iv) all other sums, if any, that shall have become due and payable hereunder in connection with the Term Loans.\n(ii)Involuntary. If the Term Loans are accelerated during the continuance of an Event of Default, Co-Borrowers shall immediately pay to Bank an amount equal to the sum of (a) all outstanding principal, plus accrued and unpaid interest with respect to the Term Loans, (b) the Final Payment, (c) the Prepayment Fee and (d) all other sums, if any, that shall have become due and payable hereunder in connection with the Term Loans."}
-{"idx": 3, "level": 2, "span": "2.2Intentionally Omitted."}
-{"idx": 3, "level": 2, "span": "2.3Payment of Interest on the Credit Extensions.\n(a)Interest Rate. Subject to Section 2.3(b), the principal amount outstanding under the Term Loans shall accrue interest at a floating per annum rate equal to four and one quarter percentage points (4.25%) above the Prime Rate, which interest shall be payable monthly.\n(b)Default Rate. Upon the occurrence and during the continuance of an Event of Default, at Bank’s election, Obligations shall bear interest at a rate per annum which is five percentage points (5.0%) above the rate that is otherwise applicable thereto (the “Default Rate”). Fees and expenses which are required to be paid by Co-Borrowers pursuant to the Loan Documents (including, without limitation, Bank Expenses) but are not paid when due shall bear interest until paid at a rate equal to the highest rate applicable to the Obligations. Payment or acceptance of the increased interest rate provided in this Section 2.3(b) is not a permitted alternative to timely payment and shall not constitute a waiver of any Event of Default or otherwise prejudice or limit any rights or remedies of Bank.\n(c)Adjustment to Interest Rate. Changes to the interest rate of any Credit Extension based on changes to the Prime Rate shall be effective on the effective date of any change to the Prime Rate and to the extent of any such change.\n(d)Payment; Interest Computation. Interest is payable monthly on the first calendar day of each month and shall be computed on the basis of a 360-day year for the actual number of days elapsed. In computing interest, (i) all payments received after 12:00 p.m. Pacific time on any day shall be deemed received at the opening of business on the next Business Day, and (ii) the date of the making of any Credit Extension shall be included and the date of payment shall be excluded; provided, however, that if any Credit Extension is repaid on the same day on which it is made, such day shall be included in computing interest on such Credit Extension."}
-{"idx": 3, "level": 2, "span": "2.4Fees. Co-Borrowers shall pay to Bank:\n(a)Prepayment Fee. The Prepayment Fee, when due hereunder pursuant to the terms of Section 2.1.1(c);\n(b)Final Payment. The Final Payment, when due hereunder; and\n(c)Bank Expenses. All Bank Expenses (including reasonable attorneys’ fees and expenses for documentation and negotiation of this Agreement) incurred through and after the Effective Date, when due (or, if no stated due date, upon demand by Bank).\n(d)Fees Fully Earned. Unless otherwise provided in this Agreement or in a separate writing by Bank, Co-Borrowers shall not be entitled to any credit, rebate, or repayment of any fees earned by Bank pursuant to this Agreement notwithstanding any termination of this Agreement or the suspension or termination of Bank’s obligation to make loans and advances hereunder. Bank may deduct amounts owing by Co-Borrowers under the clauses of this Section 2.4 pursuant to the terms of Section 2.5(c). Bank shall provide Co-Borrowers written notice of deductions made from the Designated Deposit Account pursuant to the terms of the clauses of this Section 2.4."}
-{"idx": 3, "level": 2, "span": "2.5Payments; Application of Payments; Debit of Accounts.\n(a)All payments (including prepayments) to be made by Co-Borrowers under any Loan Document shall be made in immediately available funds in Dollars, without setoff or counterclaim, before 12:00 p.m. Pacific time on the date when due. Payments of principal and/or interest received after 12:00 p.m. Pacific time are considered received at the opening of business on the next Business Day. When a payment is due on a day that is not a Business Day, the payment shall be due the next Business Day, and additional fees or interest, as applicable, shall continue to accrue until paid.\n(b)Bank has the exclusive right to determine the order and manner in which all payments with respect to the Obligations may be applied while an Event of Default exists. If no Event of Default exists, Co-Borrowers shall have the right to specify the order or the accounts to which Bank shall allocate or apply any payments required to be made by Co-Borrowers to Bank or otherwise received by Bank under this Agreement when any such allocation or application is not specified elsewhere in this Agreement.\n(c)Bank may debit any of Co-Borrowers’ deposit accounts, including the Designated Deposit Account, for principal and interest payments or any other amounts Co-Borrowers owe Bank when due. These debits shall not constitute a set-off."}
-{"idx": 3, "level": 2, "span": "2.6Withholding.Payments received by Bank from Co-Borrowers under this Agreement will be made free and clear of and without deduction for any and all present or future taxes, levies, imposts, duties, deductions, withholdings, assessments, fees or other charges imposed by any Governmental Authority (including any interest, additions to tax or penalties applicable thereto) other than branch profits taxes or any taxes imposed on or measured by Lender’s net income or franchise taxes (in lieu of net income taxes). Specifically, however, if at any time any Governmental Authority, applicable law, regulation or international agreement requires Co-Borrowers to make any withholding or deduction from any such payment or other sum payable hereunder to Bank, Co-Borrowers hereby covenant and agree that the amount due from Co-Borrowers with respect to such payment or other sum payable hereunder will be increased to the extent necessary to ensure that, after the making of such required withholding or deduction, Bank receives a net sum equal to the sum which it would have received had no withholding or deduction been required, and Co-Borrowers shall pay the full amount withheld or deducted to the relevant Governmental Authority. Co-Borrowers will, upon request, furnish Bank with proof reasonably satisfactory to Bank indicating that Co-Borrowers have made such withholding payment; provided, however, that Co-Borrowers need not make any withholding payment if the amount or validity of such withholding payment is contested in good faith by appropriate and timely proceedings and as to which payment in full is bonded or reserved against by Co-Borrowers. The agreements and obligations of Co-Borrowers contained in this Section 2.6 shall survive the termination of this Agreement."}
-{"idx": 3, "level": 1, "span": "CONDITIONS OF LOANS"}
-{"idx": 3, "level": 2, "span": "3.1Conditions Precedent to the Effectiveness of This Agreement and the Initial Credit Extension. The effectiveness of this Agreement as well as the Bank’s obligation to make the initial Credit Extension are subject to the condition precedent that Bank shall have received, in form and substance satisfactory to Bank, such documents, and completion of such other matters, as Bank may reasonably deem necessary or appropriate, including, without limitation:\n(a)duly executed signatures to the Loan Documents;\n(b)duly executed signatures to the Warrants;\n(c)each Co-Borrower’s Operating Documents and long-form good standing certificates of each Co-Borrower certified by the Secretary of State (or equivalent agency) of such Co-Borrower’s jurisdiction of organization or formation and each jurisdiction in which such Co-Borrower and each Subsidiary is qualified to conduct business, each as of a date no earlier than thirty (30) days prior to the Effective Date;\n(d)duly executed signatures to the completed Borrowing Resolutions for each Co-Borrower;\n(e)the Denmark Share Pledge Documents;\n(f)duly executed signature to a payoff letter from Hercules Capital, Inc. in respect of the Existing Indebtedness, together with all documents and agreements executed in connection therewith, shall have been terminated and all amounts thereunder shall have been paid in full;\n(g)evidence that (i) the Liens securing the Existing Indebtedness will be terminated and (ii) the documents and/or filings evidencing the perfection of such Liens, including without limitation any financing statements and/or control agreements, have or will in connection with the initial Credit Extension, be terminated;\n(h)certified copies, dated as of a recent date, of financing statement searches, as Bank may request, accompanied by written evidence (including any UCC termination statements) that the Liens indicated in any such financing statements either constitute Permitted Liens or have been or, in connection with the initial Credit Extension, will be terminated or released;\n(i)the Perfection Certificates of Co-Borrowers, together with the duly executed signatures thereto;\n(j)evidence satisfactory to Bank that the insurance policies and endorsements required by Section 6.5 hereof are in full force and effect, together with appropriate evidence showing lender loss payable and/or additional insured clauses or endorsements in favor of Bank; and\n(k)payment of the fees and Bank Expenses then due as specified in Section 2.4 hereof."}
-{"idx": 3, "level": 2, "span": "3.2Post-Closing Items. The Co-Borrowers agree to the deliver the following items to Bank, on a best efforts basis, within forty-five (45) days after the date hereof:\n(a)a landlord’s consent in favor of Bank for 900 S. Capital of Texas Hwy, Suite 150, Austin, TX 78746 by the respective landlord thereof, together with the duly executed original signatures thereto."}
-{"idx": 3, "level": 2, "span": "3.3Conditions Precedent to all Credit Extensions. Bank’s obligations to make each Credit Extension, including the initial Credit Extension, is subject to the following conditions precedent:\n(a)timely receipt of an executed Payment/Advance Form;\n(b)duly executed original signatures to a Warrant to Purchase Stock (in form and substance substantially consistent with the Warrants delivered from Parent to Bank and Life Science Loans, LLC on the Effective Date) issued by Parent to each of Bank and Life Science Loans, LLC;\n(c)the representations and warranties of Co-Borrowers in this Agreement shall be true and correct in all material respects on the date of the Payment/Advance Form and on the Funding Date of each Credit Extension; provided, however, that such materiality qualifier shall not be applicable to any representations and warranties that already are qualified or modified by materiality in the text thereof; and provided, further that those representations and warranties expressly referring to a specific date shall be true and correct in all material respects as of such date, and no Event of Default shall have occurred and be continuing or result from the Credit Extension. Each Credit Extension is Co-Borrowers’ representation and warranty on that date that the representations and warranties in this Agreement remain true and correct in all material respects; provided, however, that such materiality qualifier shall not be applicable to any representations and warranties that already are qualified or modified by materiality in the text thereof; and provided, further that those representations and warranties expressly referring to a specific date shall be true and correct in all material respects as of such date; and\n(d)Bank determines to its satisfaction that there has not been a Material Adverse Change."}
-{"idx": 3, "level": 2, "span": "3.4Covenant to Deliver. Co-Borrowers agree to deliver to Bank each item required to be delivered to Bank under this Agreement as a condition precedent to any Credit Extension. Co-Borrowers expressly agree that a Credit Extension made prior to the receipt by Bank of any such item shall not constitute a waiver by Bank of Co-Borrowers’ obligation to deliver such item, and the making of any Credit Extension in the absence of a required item shall be in Bank’s sole discretion."}
-{"idx": 3, "level": 1, "span": "CREATION OF SECURITY INTEREST "}
-{"idx": 3, "level": 2, "span": "4.1Grant of Security Interest. Co-Borrowers hereby grant Bank, to secure the payment and performance in full of all of the Obligations, a continuing security interest in, and pledges to Bank, the Collateral, wherever located, whether now owned or hereafter acquired or arising, and all proceeds and products thereof.\nEach Co-Borrower acknowledges that it previously has entered, and/or may in the future enter, into Bank Services Agreements with Bank. Regardless of the terms of any Bank Services Agreement, Co-Borrowers agree that any amounts Co-Borrowers owe Bank thereunder shall be deemed to be Obligations hereunder and that it is the intent of Co-Borrowers and Bank to have all such Obligations secured by the first priority perfected security interest in the Collateral granted herein (subject only to Permitted Liens that are permitted pursuant to the terms of this Agreement to have superior priority to Bank’s Lien in this Agreement).\nIf this Agreement is terminated, Bank’s Lien in the Collateral shall continue until the Obligations (other than inchoate indemnity and reimbursement obligations) are repaid in full in cash. Upon payment in full in cash of the Obligations (other than inchoate indemnity or reimbursement obligations) and at such time as Bank’s obligation to make Credit Extensions has terminated, Bank shall, at the sole cost and expense of Co-Borrowers, release its Liens in the Collateral and all rights therein shall revert to Co-Borrowers. In the event (x) all Obligations (other than inchoate indemnity and reimbursement obligations), except for Bank Services, are satisfied in full, and (y) this Agreement is terminated, Bank shall terminate the security interest granted herein upon Co-Borrowers providing cash collateral reasonably acceptable to Bank in its good faith business judgment for Bank Services, if any. In the event such Bank Services consist of outstanding Letters of Credit, Co-Borrowers shall provide to Bank cash collateral in an amount equal to (x) if such Letters of Credit are denominated in Dollars, then at least one hundred five percent (105.0%); and (y) if such Letters of Credit are denominated in a Foreign Currency, then at least one hundred ten percent (110.0%), of the Dollar Equivalent of the face amount of all such Letters of Credit plus all interest, fees, and costs due or to become due in connection therewith (as estimated by Bank in its business judgment), to secure all of the Obligations relating to such Letters of Credit."}
-{"idx": 3, "level": 2, "span": "4.2Priority of Security Interest. Subject in each case below to Permitted Liens that may have seniority over Bank’s Lien, Co-Borrowers represent, warrant, and covenant that the security interest granted herein is and shall at all times (subject to any periods for perfection expressly provided for in this Agreement) continue to be a first priority perfected security interest in the Collateral to the extent such security interest may be perfected by the filing of financing statements under the Uniform Commercial Code or control over deposit accounts. If any Co-Borrower acquires a commercial tort claim, such Co-Borrower shall promptly notify Bank in a writing signed by Co-Borrower of the general details thereof and grant to Bank in such writing a security interest therein and in the proceeds thereof, all upon the terms of this Agreement, with such writing to be in form and substance reasonably satisfactory to Bank."}
-{"idx": 3, "level": 2, "span": "4.3Authorization to File Financing Statements. Co-Borrowers hereby authorize Bank to file financing statements, without notice to Co-Borrowers, with all appropriate jurisdictions to perfect or protect Bank’s interest or rights hereunder. Such financing statements may indicate the Collateral as “all assets of the Debtor” or words of similar effect, or as being of an equal or lesser scope, or with greater detail, all in Bank’s discretion."}
-{"idx": 3, "level": 1, "span": "REPRESENTATIONS AND WARRANTIES\nEach Co-Borrower represents and warrants as follows:"}
-{"idx": 3, "level": 2, "span": "5.1Due Organization, Authorization; Power and Authority. Co-Borrowers is duly existing and in good standing as a Registered Organization in its jurisdiction of formation and is qualified and licensed to do business and is in good standing in any jurisdiction in which the conduct of its business or its ownership of property requires that it be qualified except where the failure to be in good standing or qualified and licensed to do business could not reasonably be expected to have a material adverse effect on Co-Borrower’s business. In connection with this Agreement, Co-Borrower has delivered to Bank completed certificate signed by Co-Borrower entitled “Perfection Certificate”. Co-Borrower represents and warrants to Bank that (a) Co-Borrower’s exact legal name is that indicated on the Perfection Certificate and on the signature page hereof; (b) Co-Borrower is an organization of the type and is organized in the jurisdiction set forth in the Perfection Certificate; (c) the Perfection Certificate accurately sets forth Co-Borrower’s organizational identification number or accurately states that Co-Borrower has none; (d) the Perfection Certificate accurately sets forth Co-Borrower’s place of business, or, if more than one, its chief executive office as well as Co-Borrower’s mailing addresses (if different than its chief executive office); (e) except as disclosed in the Perfection Certificate, Co-Borrower (and each of its predecessors) has not, in the past five (5) years, changed its jurisdiction of formation, organizational structure or type, or any organizational number assigned by its jurisdiction; and (f) all other information set forth on the Perfection Certificate pertaining to Co-Borrower and each of its Subsidiaries is accurate and complete in all material respects (it being understood and agreed that Co-Borrower may from time to time update certain information in the Perfection Certificate after the Effective Date to the extent permitted by one or more specific provisions in this Agreement).\nThe execution, delivery and performance by Co-Borrower of the Loan Documents to which it is a party have been duly authorized by Co-Borrower, and do not (i) conflict with any of Co-Borrower’s organizational documents, (ii) contravene, conflict with, constitute a default under or violate any material Requirement of Law applicable to Co-Borrower, (iii) contravene, conflict or violate any applicable order, writ, judgment, injunction, decree, determination or award of any Governmental Authority by which Co-Borrower or any of its Subsidiaries or any of their property or assets is bound, (iv) require on the part of Co-Borrower any action by, filing, registration, or qualification with, or Governmental Approval from, any Governmental Authority (except such Governmental Approvals which have already been obtained and are in full force and effect, filings in connection with perfecting the security interest in the Collateral and filings under applicable securities laws in connection with the Warrants) or (v) conflict with, contravene, constitute a default or breach under, or result in or permit the termination or acceleration of, any material agreement by which Co-Borrower is bound. Co-Borrower is not in default under any agreement to which it is a party or by which it is bound in which the default could reasonably be expected to have a material adverse effect on Co-Borrower’s business."}
-{"idx": 3, "level": 2, "span": "5.2Collateral. Co-Borrower has good title to, rights in, and the power to transfer each item of the Collateral upon which it purports to grant a Lien hereunder, free and clear of any and all Liens except Permitted Liens. Co-Borrower has no Collateral Accounts at or with any bank or financial institution other than Bank or Bank’s Affiliates except for the Collateral Accounts described in the Perfection Certificate delivered to Bank in connection herewith and which Co-Borrower has taken such actions as are necessary to give Bank a perfected security interest therein, pursuant to the terms of Section 6.6(b). The Accounts are bona fide, existing obligations of the Account Debtors.\nThe Collateral is not in the possession of any third party bailee (such as a warehouse) except as otherwise provided in the Perfection Certificate or as updated in the Quarterly Compliance Certificate delivered pursuant to Section 6.2(b). None of the components of the Collateral shall be maintained at locations other than as provided in the Perfection Certificate or as permitted pursuant to Section 7.2.\nCo-Borrower is the sole owner of the Intellectual Property which it owns or purports to own except for (a) non-exclusive licenses granted to its customers in the ordinary course of business, (b) over-the-counter software that is commercially available to the public and other non-material Intellectual Property licensed to Co-Borrower, and (c) material Intellectual Property licensed to Co-Borrower and noted on the Perfection Certificate. Each Patent which it owns or purports to own and which is material to Co-Borrower’s business is valid and enforceable, and no part of the Intellectual Property which Co-Borrowers own or purport to own and which is material to Co-Borrower’s\nbusiness has been judged invalid or unenforceable, in whole or in part. To the best of Co-Borrower’s knowledge, no claim has been in made in writing that any part of the Intellectual Property violates the rights of any third party except to the extent such claim would not reasonably be expected to have a material adverse effect on Co-Borrower’s business."}
-{"idx": 3, "level": 2, "span": "5.3Intentionally Omitted."}
-{"idx": 3, "level": 2, "span": "5.4Litigation. There are no actions or proceedings pending or, to the knowledge of any Responsible Officer, threatened in writing by or against Co-Borrower or any of its Subsidiaries that could reasonably be expected to result in a Material Adverse Change."}
-{"idx": 3, "level": 2, "span": "5.5Financial Statements; Financial Condition. All consolidated financial statements for Co-Borrower and any of its Subsidiaries delivered to Bank fairly present in all material respects Co-Borrower’s consolidated financial condition and Co-Borrower’s consolidated results of operations as at their date or for the periods covered thereby. There has not been any material deterioration in Co-Borrower’s consolidated financial condition since the date of the most recent financial statements submitted to Bank."}
-{"idx": 3, "level": 2, "span": "5.6Solvency. The fair salable value of Co-Borrower’s consolidated assets (including goodwill minus disposition costs) exceeds the fair value of Co-Borrower’s liabilities; Co-Borrower is not left with unreasonably small capital after the transactions in this Agreement; and Co-Borrower is able to pay its debts (including trade debts) as they mature."}
-{"idx": 3, "level": 2, "span": "5.7Regulatory Compliance. Co-Borrower is not an “investment company” or a company “controlled” by an “investment company” under the Investment Company Act of 1940, as amended. Co-Borrower is not engaged as one of its important activities in extending credit for margin stock (under Regulations X, T and U of the Federal Reserve Board of Governors). Co-Borrower (a) has complied in all material respects with all Requirements of Law, and (b) has not violated any Requirements of Law the violation of which could reasonably be expected to have a material adverse effect on its business. None of Co-Borrower’s or any of its Subsidiaries’ properties or assets has been used by Co-Borrower or any Subsidiary or, to the best of Co-Borrower’s knowledge, by previous Persons, in disposing, producing, storing, treating, or transporting any hazardous substance other than legally. Co-Borrower and each of its Subsidiaries have obtained all consents, approvals and authorizations of, made all declarations or filings with, and given all notices to, all Government Authorities that are necessary to continue their respective businesses as currently conducted."}
-{"idx": 3, "level": 2, "span": "5.8Subsidiaries; Investments. Co-Borrower does not own any stock, partnership, or other ownership interest or other equity securities except for Permitted Investments."}
-{"idx": 3, "level": 2, "span": "5.9Tax Returns and Payments; Pension Contributions. Co-Borrower has timely filed all required tax returns and reports, and Co-Borrower has timely paid all foreign, federal, state and local taxes, assessments, deposits and contributions owed by Co-Borrower except to the extent (i) the aggregate amount of such taxes, assessments, deposits and contributions does not exceed One Hundred Thousand Dollars ($100,000) or (ii) such taxes are being contested in good faith by appropriate proceedings promptly instituted and diligently conducted, so long as such reserve or other appropriate provision, if any, as shall be required in conformity with GAAP shall have been made therefor.\nTo the extent Co-Borrower defers payment of any contested taxes, Co-Borrower shall (i) notify Bank in writing of the commencement of, and any material development in, the proceedings, and (ii) post bonds or take any other steps required to prevent the governmental authority levying such contested taxes from obtaining a Lien upon any of the Collateral that is other than a “Permitted Lien.” Co-Borrower is unaware of any claims or adjustments proposed for any of Co-Borrower's prior tax years which could result in additional taxes becoming due and payable by Co-Borrower. Co-Borrower has paid all amounts necessary to fund all present pension, profit sharing and deferred compensation plans in accordance with their terms, and Co-Borrower has not withdrawn from participation in, and has not permitted partial or complete termination of, or permitted the occurrence of any other event with respect to, any such plan which could reasonably be expected to result in any liability of Co-Borrower, including any liability to the Pension Benefit Guaranty Corporation or its successors or any other Governmental Authority."}
-{"idx": 3, "level": 2, "span": "5.10Use of Proceeds. Co-Borrower shall use the proceeds of the Credit Extensions solely as working capital, to pay off the Existing Indebtedness and to fund its general business requirements and not for personal, family, household or agricultural purposes."}
-{"idx": 3, "level": 2, "span": "5.11Full Disclosure. No written representation, warranty or other statement of Co-Borrower in any certificate or written statement given to Bank, as of the date such representation, warranty, or other statement was made, taken together with all such written certificates and written statements given to Bank and Co-Borrower’s filings with the SEC, contains any untrue statement of a material fact or omits to state a material fact necessary to make the statements contained in the certificates or statements not misleading (it being recognized by Bank that the projections and forecasts provided by Co-Borrower in good faith and based upon reasonable assumptions are not viewed as facts and that actual results during the period or periods covered by such projections and forecasts may differ from the projected or forecasted results)."}
-{"idx": 3, "level": 2, "span": "5.12Definition of “Knowledge.” For purposes of the Loan Documents, whenever a representation or warranty is made to Co-Borrower’s knowledge or awareness, to the “best of” Co-Borrower’s knowledge, or with a similar qualification, knowledge or awareness means the actual knowledge, after reasonable investigation, of any Responsible Officer."}
-{"idx": 3, "level": 1, "span": "AFFIRMATIVE COVENANTS\nCo-Borrowers shall do all of the following:"}
-{"idx": 3, "level": 2, "span": "6.1Government Compliance.\n(a)Except as permitted by Section 7.1 or Section 7.3, maintain their and all their Subsidiaries’ legal existence and good standing (to the extent such concept is applicable) in their respective jurisdictions of formation and maintain their respective qualification in each jurisdiction (to the extent such concept is applicable) in which the failure to so qualify would reasonably be expected to have a material adverse effect on a Co-Borrower’s business or operations. Each Co-Borrower shall comply, and have each Subsidiary comply, in all material respects, with all laws, ordinances and regulations to which it is subject.\n(b)Obtain all of the Governmental Approvals necessary for the performance by a Co-Borrower of its obligations under the Loan Documents to which it is a party and the grant of a security interest to Bank in all of its property. Upon Bank’s request, Co-Borrowers shall promptly provide copies of any such obtained Governmental Approvals to Bank."}
-{"idx": 3, "level": 2, "span": "6.2Financial Statements, Reports, Certificates. Provide Bank with the following:\n(a)Quarterly Financial Statements. As soon as available, but no later than forty-five (45) days after the last day of each of the first three (3) quarters of Parent’s fiscal year, a company prepared consolidated balance sheet and income statement covering Parent’s consolidated operations for such quarter certified by a Responsible Officer and in a form reasonably acceptable to Bank (it being agreed that the form of such financial statements included in Parent’s Quarterly Report on Form 10-Q filed with the SEC is acceptable to Bank) (the “Quarterly Financial Statements”);\n(b)Quarterly Compliance Certificate. Within forty-five (45) days after the last day of each fiscal quarter, a duly completed Compliance Certificate signed by a Responsible Officer, certifying that as of the end of such quarter or year, as applicable, Co-Borrowers were in full compliance with all of the terms and conditions of this Agreement;\n(c)Annual Operating Budget and Financial Projections. Within thirty (30) of being approved by Parent’s board of directors, (i) annual operating budgets (including income statements, balance sheets and cash flow statements, by month) for the upcoming fiscal year of Parent, and (ii) annual financial projections for the following fiscal year (on a quarterly basis) as approved by Parent’s board of directors, together with any related business forecasts used in the preparation of such annual financial projections;\n(d)Annual Audited Financial Statements. As soon as available, but no later than one hundred eighty (180) days after the last day of Parent’s fiscal year, audited consolidated financial statements prepared under GAAP, consistently applied, together with an unqualified opinion on the financial statements from an independent certified public accounting firm reasonably acceptable to Bank (the “Annual Financial Statements”);\n(e)Other Statements. Within five (5) days of delivery, copies of all statements, reports and notices made available to all of each Co-Borrower’s security holders or to any holders of Subordinated Debt, in each case in their capacities as such;\n(f)SEC Filings. Within five (5) days of filing, copies of all periodic and other reports, proxy statements and other materials filed by such Co-Borrower with the SEC, any Governmental Authority succeeding to any or all of the functions of the SEC. Documents required to be delivered pursuant to the terms of this Section 6.2 (to the extent any such documents are included in materials otherwise filed with the SEC) may be delivered electronically and if so delivered, shall be deemed to have been delivered on the date on which such Co-Borrower posts such documents, or provides a link thereto, on such Co-Borrower’s website on the Internet at such Co-Borrower’s website address; provided, however, Co-Borrower shall promptly notify Bank in writing (which may be by electronic mail) of the posting of any such documents;\n(g)Legal Action Notice. A prompt report of any legal actions pending or threatened in writing against a Co-Borrower or any of its Subsidiaries that could reasonably be expected to result in damages to a Co-Borrower or any of its Subsidiaries of, individually or in the aggregate, One Hundred Thousand Dollars ($100,000) or more; and\n(h)Other Financial Information. Other financial information reasonably requested by Bank."}
-{"idx": 3, "level": 2, "span": "6.3Inventory; Returns. Keep all Inventory in good and marketable condition, free from material defects. Returns and allowances between a Co-Borrower and its Account Debtors shall follow such Co-Borrower’s customary practices as they exist at the Effective Date or as they may be changed in such Co-Borrower’s business judgment."}
-{"idx": 3, "level": 2, "span": "6.4Taxes; Pensions. Timely file and require each of their Subsidiaries to timely file, all required tax returns and reports and timely pay, and require each of their Subsidiaries to timely pay, all foreign, federal, state and local taxes, assessments, deposits and contributions owed by a Co-Borrower and each of its Subsidiaries, except for deferred payment of any taxes contested pursuant to the terms of Section 5.9 hereof and taxes with respect to which the amount does not exceed the amount set forth in Section 5.9 hereof, and shall deliver to Bank, on demand, appropriate certificates attesting to such tax payments. Pay all amounts necessary to fund all present pension, profit sharing and deferred compensation plans in accordance with their terms."}
-{"idx": 3, "level": 2, "span": "6.5Insurance.\n(a)Keep their business and the Collateral insured for risks and in amounts standard for companies in Co-Borrowers’ industry and location and as Bank may reasonably request. Insurance policies shall be in a form, with financially sound and reputable insurance companies that are not Affiliates of Co-Borrowers, and in amounts that are customary for companies in Co-Borrowers’ industry and location. All property policies shall have a lender’s loss payable endorsement showing Bank as lender loss payee. All liability policies shall show, or have endorsements showing, Bank as an additional insured. Bank shall be named as lender loss payee and/or additional insured with respect to any such insurance providing coverage in respect of any Collateral.\n(b)Ensure that proceeds payable under any property policy are, at Bank’s option, payable to Bank on account of the Obligations. Notwithstanding the foregoing, (a) so long as no Event of Default has occurred and is continuing, Borrower shall have the option of applying the proceeds of any casualty policy up to One Hundred Thousand Dollars ($100,000.00) with respect to any loss, but not exceeding Two Hundred Fifty Thousand Dollars ($250,000.00) in the aggregate for all losses under all casualty policies in any one (1) year, toward the replacement or repair of destroyed or damaged property; provided that any such replaced or repaired property (i)\nshall be of equal or like value as the replaced or repaired Collateral and (ii) shall be deemed Collateral in which Bank has been granted a first priority security interest, and (b) after the occurrence and during the continuance of an Event of Default, all proceeds payable under such casualty policy shall, at the option of Bank, be payable to Bank on account of the Obligations."}
-{"idx": 3, "level": 2, "span": "6.6Operating Accounts.\n(a)Maintain their primary and their Domestic Subsidiaries’ primary operating and other deposit accounts and securities accounts with Bank and Bank’s Affiliates which accounts shall represent at least eighty percent (80%) of the dollar value of Co-Borrowers’ and such Domestic Subsidiaries accounts at all financial institutions. Savara Denmark may maintain accounts in Denmark outside of Bank and Bank’s affiliates so long as the aggregate balances in such accounts does not exceed One Million Dollars ($1,000,000) other than for any three (3) day period where the balances in such accounts may be in an amount not to exceed Five Million Dollars ($5,000,000), provided further that such amounts are within three (3) days used to fund clinical development.\n(b)Provide Bank five (5) days prior written notice before Co-Borrowers establish any Collateral Account at or with any bank or financial institution other than Bank or Bank’s Affiliates. For each Collateral Account that a Co-Borrower at any time maintains, such Co-Borrower shall cause the applicable bank or financial institution (other than Bank) at or with which any Collateral Account is maintained to execute and deliver a Control Agreement or other appropriate instrument with respect to such Collateral Account to perfect Bank’s Lien in such Collateral Account in accordance with the terms hereunder which Control Agreement may not be terminated without the prior written consent of Bank. The provisions of the previous sentence shall not apply to deposit accounts exclusively used for payroll, payroll taxes and other employee wage and benefit payments to or for the benefit of a Co-Borrower’s employees and identified to Bank by such Co-Borrower as such."}
-{"idx": 3, "level": 2, "span": "6.7Intentionally Omitted."}
-{"idx": 3, "level": 2, "span": "6.8Protection of Intellectual Property Rights.\n(a)(i) Protect, defend and maintain the validity and enforceability of its Intellectual Property that has any material value; (ii) promptly advise Bank in writing of material infringements or any other event that could reasonably be expected to materially and adversely affect the value of its Intellectual Property that has any material value; and (iii) not allow any Intellectual Property material to a Co-Borrower’s business to be abandoned, forfeited or dedicated to the public without Bank’s written consent.\n(b)Provide written notice to Bank concurrently with the required delivery of a Compliance Certificate pursuant to Section 6.2, of entering or becoming bound by any Restricted License (other than commercial off-the-shelf technology license agreements or other similar agreements that are commercially available to the public). Co-Borrowers shall take such commercially reasonable steps as Bank reasonably requests to obtain the consent of, or waiver by, any person whose consent or waiver is necessary for (i) any Restricted License to be deemed “Collateral” and for Bank to have a security interest in it that might otherwise be restricted or prohibited by law or by the terms of any such Restricted License, whether now existing or entered into in the future, and (ii) Bank to have the ability in the event of a liquidation of any Collateral to dispose of such Collateral in accordance with Bank’s rights and remedies under this Agreement and the other Loan Documents."}
-{"idx": 3, "level": 2, "span": "6.9Litigation Cooperation. From the date hereof and continuing through the termination of this Agreement, make available to Bank, without expense to Bank, Co-Borrowers and their officers, employees and agents and Co-Borrowers' books and records, to the extent that Bank may deem them reasonably necessary to prosecute or defend any third-party suit or proceeding instituted by or against Bank with respect to any Collateral or relating to a Co-Borrower."}
-{"idx": 3, "level": 2, "span": "6.10Access to Collateral; Books and Records. Allow Bank, or its agents, to inspect the Collateral and audit and copy any Co-Borrower’s Books. Such inspections or audits shall be conducted no more often than once every twelve (12) months unless an Event of Default has occurred and is continuing in which case such inspections and audits shall occur as often as Bank shall determine is necessary. The foregoing inspections and"}
-{"idx": 3, "level": 1, "span": "audits shall be at Co-Borrowers’ expense, and the charge therefor shall be One Thousand Dollars ($1,000) per person per day (or such higher amount as shall represent Bank’s then-current standard charge for the same), plus reasonable out-of-pocket expenses. In the event a Co-Borrower and Bank schedule an audit more than ten (10) days in advance, and such Co-Borrower cancels or seeks to reschedule the audit with less than ten (10) days written notice to Bank, then (without limiting any of Bank’s rights or remedies), such Co-Borrower shall pay Bank a fee of One Thousand Dollars ($1,000) plus any out-of-pocket expenses incurred by Bank to compensate Bank for the anticipated costs and expenses of the cancellation or rescheduling."}
-{"idx": 3, "level": 2, "span": "6.11Formation or Acquisition of Subsidiaries. Notwithstanding and without limiting the negative covenants contained in Sections 7.3 and 7.7 hereof, at the time that a Co-Borrower forms any direct or indirect Subsidiary or acquires any direct or indirect Subsidiary after the Effective Date, such Co-Borrower shall (a) cause such new Domestic Subsidiary to provide to Bank a joinder to the Loan Agreement to cause such Domestic Subsidiary to become a Co-Borrower hereunder, together with such appropriate financing statements and/or Control Agreements, all in form and substance reasonably satisfactory to Bank (including being sufficient to grant Bank a first priority Lien (subject to Permitted Liens) in and to the Collateral of such newly formed or acquired Subsidiary), (b) provide to Bank appropriate certificates and powers and financing statements, pledging all of the direct or beneficial ownership interest in such new Subsidiary (or sixty five percent (65%) thereof for any Subsidiary that is a Foreign Subsidiary or FSHCO), in form and substance reasonably satisfactory to Bank, and (c) provide to Bank all other documentation reasonably requested by Bank in form and substance reasonably satisfactory to Bank, including one or more opinions of counsel satisfactory to Bank, which in its opinion is appropriate with respect to the execution and delivery of the applicable documentation referred to above. Any document, agreement, or instrument executed or issued pursuant to this Section 6.11 shall be a Loan Document. For the avoidance of doubt, the foregoing provisions of this Section shall not apply to any of the Co-Borrowers’ existing Subsidiaries in existence as of the date hereof."}
-{"idx": 3, "level": 2, "span": "6.12Further Assurances. Execute any further instruments and take further action as Bank reasonably requests to perfect or continue Bank’s Lien in the Collateral or to effect the purposes of this Agreement. Upon Bank’s request, deliver to Bank, within five (5) days after such request, copies of all correspondence, reports, documents and other filings with any Governmental Authority regarding compliance with or maintenance of Governmental Approvals or Requirements of Law or that could reasonably be expected to have a material effect on the operations of Co-Borrowers or any of their Subsidiaries."}
-{"idx": 3, "level": 1, "span": "NEGATIVE COVENANTS\nNo Co-Borrower shall not do any of the following without Bank’s prior written consent:"}
-{"idx": 3, "level": 2, "span": "7.1Dispositions. Convey, sell, lease, transfer, assign, or otherwise dispose of (collectively, “Transfer”), or permit any of its Subsidiaries to Transfer, all or any part of its business or property, except for Transfers (a) of Inventory in the ordinary course of business; (b) of worn‑out, surplus or obsolete Equipment that is, in the reasonable judgment of Co-Borrower, no longer economically practicable to maintain or useful in the ordinary course of business of Co-Borrower; (c) consisting of Permitted Liens and Permitted Investments; (d) Transfers not to exceed One Hundred Thousand ($100,000) in the aggregate in any fiscal year; (e) consisting of Co-Borrower’s use or transfer of money or Cash Equivalents in a manner that is not prohibited by the terms of this Agreement or the other Loan Documents; (f) of non-exclusive licenses for the use of the property of Co-Borrower or its Subsidiaries in the ordinary course of business and licenses that could not result in a legal transfer of title of the licensed property but that may be exclusive in respects other than territory and that may be exclusive as to territory only as to discreet geographical areas outside of the United States; (g) the surrender or waiver of contractual rights or the settlement, release or surrender of contractual rights, obligations of customers or suppliers or other litigation claims in the ordinary course of business; (h) the abandonment of Intellectual Property that is, in the reasonable judgment of the Co-Borrower, no longer economically practicable or commercially desirable to maintain or that is not material to the conduct of the business of Co-Borrower and its Subsidiaries; and (i) Transfers permitted by Section 7.3, Section 7.7 or Section 7.11."}
-{"idx": 3, "level": 2, "span": "7.2Changes in Business, Control, or Business Locations. (a) Engage in or permit any of its Subsidiaries to engage in any business other than the businesses currently engaged in by each Co-Borrower and such Subsidiary, as applicable, or reasonably related thereto or constituting a reasonable extension thereof; (b) liquidate or dissolve; or (c) permit or suffer any Change in Control.\nCo-Borrower shall not, without at least ten (10) days prior written notice to Bank (or such shorter period as may be agreed by Bank): (1) add any new offices or business locations, including warehouses (unless such new offices or business locations contain less than Fifty Thousand Dollars ($50,000) in Co-Borrower’s assets or property) or deliver any portion of the Collateral (other than movable items of personal property such as laptop computers) valued, individually or in the aggregate, in excess of Fifty Thousand Dollars ($50,000) to a bailee at a location other than to a bailee and at a location already disclosed in the Perfection Certificate, (2) change its jurisdiction of organization, (3) change its organizational type, (4) change its legal name, or (5) change any organizational number (if any) assigned by its jurisdiction of organization. If Co-Borrower intends to deliver any portion of the Collateral (other than movable items of personal property such as laptop computers) valued, individually or in the aggregate, in excess of Fifty Thousand Dollars ($50,000) to a bailee, and Bank and such bailee are not already parties to a bailee agreement governing both the Collateral and the location to which Co-Borrower intends to deliver the Collateral, then Co-Borrower will first receive the written consent of Bank, and such bailee shall execute and deliver a bailee agreement in form and substance reasonably satisfactory to Bank."}
-{"idx": 3, "level": 2, "span": "7.3Mergers or Acquisitions. Merge or consolidate, or permit any of its Subsidiaries to merge or consolidate, with any other Person, or acquire, or permit any of its Subsidiaries to acquire, all or substantially all of the capital stock or property of another Person (including, without limitation, by the formation of any Subsidiary) other than a Permitted Investment. Notwithstanding the foregoing, a Subsidiary may merge or consolidate into another Subsidiary or into Co-Borrower."}
-{"idx": 3, "level": 2, "span": "7.4Indebtedness. Create, incur, assume, or be liable for any Indebtedness, or permit any Subsidiary to do so, other than Permitted Indebtedness."}
-{"idx": 3, "level": 2, "span": "7.5Encumbrance. (a) Create, incur, allow, or suffer any Lien on any of its property, or assign or convey any right to receive income, including the sale of any Accounts, or permit any of its Subsidiaries to do so, in each case except for Permitted Liens and Transfers permitted by Section 7.01, (b) permit any Collateral not to be subject to the first priority security interest granted herein (to the extent the perfection of such security interests is required by this Agreement), or (c) enter into any agreement, document, instrument or other arrangement (except with or in favor of Bank) with any Person which directly or indirectly prohibits or has the effect of prohibiting Co-Borrower or any Subsidiary from assigning, mortgaging, pledging, granting a security interest in or upon, or encumbering any of Co-Borrower’s or any Subsidiary’s Intellectual Property, except (i) as is otherwise permitted in Section 7.1 hereof, (ii) as permitted by the definition of Permitted Liens”, (iii) restrictions in merger or acquisition agreements, provided that such covenants do not prohibit Borrower from granting a security interest in such Borrower’s property in favor of Bank and provided further that the counter-parties to such covenants are not permitted to receive a security interest in Borrower’s property and (iv) customary provisions in contracts and licenses prohibiting the assignment thereof."}
-{"idx": 3, "level": 2, "span": "7.6Maintenance of Collateral Accounts. Maintain any Collateral Account except pursuant to the terms of Section 6.6(b) hereof."}
-{"idx": 3, "level": 2, "span": "7.7Distributions; Investments. (a) Pay any dividends or make any distribution or payment or redeem, retire or purchase any capital stock of a Co-Borrower other than Permitted Distributions; or (b) directly or indirectly make any Investment (including, without limitation, by the formation of any Subsidiary) other than Permitted Investments, or permit any of its Subsidiaries to do so other than Permitted Investments."}
-{"idx": 3, "level": 2, "span": "7.8Transactions with Affiliates. Directly or indirectly enter into or permit to exist any material transaction with any Affiliate of Co-Borrower, except for (a) transactions that are in the ordinary course of Co-Borrower’s business, upon fair and reasonable terms that are no less favorable to Co-Borrower than would be obtained in an arm’s length transaction with a non-affiliated Person, (b) Permitted Distributions and (c) Permitted Investments."}
-{"idx": 3, "level": 2, "span": "7.9Subordinated Debt. (a) Make or permit any payment on any Subordinated Debt, except under the terms of the subordination, intercreditor, or other similar agreement to which such Subordinated Debt is subject, or upon the conversion of any such Subordinated Debt into equity securities of any Co-Borrower (and cash in lieu of fractional shares), or (b) amend any provision in any document relating to the Subordinated Debt which would increase the amount thereof, provide for earlier or greater principal, interest, or other payments thereon, or adversely affect the subordination thereof to Obligations owed to Bank."}
-{"idx": 3, "level": 2, "span": "7.10Compliance. Become an “investment company” or a company controlled by an “investment company”, under the Investment Company Act of 1940, as amended, or undertake as one of its important activities extending credit to purchase or carry margin stock (as defined in Regulation U of the Board of Governors of the Federal Reserve System), or use the proceeds of any Credit Extension for that purpose; fail to (a) meet the minimum funding requirements of ERISA, (b) prevent a Reportable Event or Prohibited Transaction as defined in ERISA, or (c) comply with the Federal Labor Standards Act, the failure of any of the conditions in clauses (a) through (c) which could reasonably be expected to have a material adverse effect on Co-Borrower’s business, or violate any other law or regulation, if the violation could reasonably be expected to have a materials adverse effect on Co-Borrower’s business or permit any Subsidiaries to do so; withdraw or permit any Subsidiary to withdraw from participation in, permit partial or complete termination of, or permit the occurrence of any other event with respect to, any present pension, profit sharing and deferred compensation plan which could reasonably be expected to result in any liability of Co-Borrower, including any liability to the Pension Benefit Guaranty Corporation or its successors or any other Governmental Authority."}
-{"idx": 3, "level": 2, "span": "7.11Assets in Foreign Subsidiaries. (i) Transfer to, or permit Savara Denmark to hold or maintain, at any time tangible assets of an aggregate value in excess of Five Million Dollars ($5,000,000). (ii) Transfer to, or permit Foreign Subsidiaries that are not Savara Denmark to hold or maintain, at any time tangible assets of an aggregate value in excess of One Hundred Thousand Dollars ($100,000). (iii) Transfer to, or permit Domestic Subsidiaries, that are not Co-Borrowers, to hold or maintain, at any time tangible assets of an aggregate value in excess of One Hundred Thousand Dollars ($100,000)."}
-{"idx": 3, "level": 1, "span": "EVENTS OF DEFAULT\nAny one of the following shall constitute an event of default (an “Event of Default”) under this Agreement:"}
-{"idx": 3, "level": 2, "span": "8.1Payment Default. Co-Borrowers fail to (a) make any payment of principal or interest on any Credit Extension when due, or (b) pay any other Obligations within three (3) Business Days after such Obligations are due and payable (which three (3) Business Day cure period shall not apply to payments due on the Term Loan Maturity Date). During the cure period, the failure to make or pay any payment specified under clause (b) hereunder is not an Event of Default (but no Credit Extension will be made during the cure period);"}
-{"idx": 3, "level": 2, "span": "8.2Covenant Default.\n(a)Co-Borrowers fail or neglect to perform any obligation in Sections 6.2, 6.4, 6.5, 6.6, 6.8(b), 6.10, 6.11, 6.12 or violate any covenant in Section 7; or\n(b)Co-Borrowers fail or neglect to perform, keep, or observe any other term, provision, condition, covenant or agreement contained in this Agreement or any Loan Documents, and as to any default (other than those specified in this Section 8) under such other term, provision, condition, covenant or agreement that can be cured, have failed to cure the default within ten (10) Business Days after the occurrence thereof; provided, however, that if the default cannot by its nature be cured within the ten (10) Business Day period or cannot after diligent attempts by Co-Borrowers be cured within such ten (10) Business Day period, and such default is likely to be cured within a reasonable time, then Co-Borrowers shall have an additional period (which shall not in any case exceed thirty (30) days) to attempt to cure such default, and within such reasonable time period the failure to cure the default shall not be deemed an Event of Default (but no Credit Extensions shall be made during such cure period). Cure periods provided under this section shall not apply, among other things, any covenants set forth in clause (a) above;"}
-{"idx": 3, "level": 2, "span": "8.3Material Adverse Change. A Material Adverse Change occurs;"}
-{"idx": 3, "level": 2, "span": "8.4Attachment; Levy; Restraint on Business.\n(a)(i) The service of process seeking to attach, by trustee or similar process, any funds of a Co-Borrower or of any entity under the control of a Co-Borrower (including a Subsidiary), or (ii) a notice of lien or levy is filed against any of a Co-Borrower’s assets by any Governmental Authority, and the same under subclauses (i) and (ii) hereof are not, within ten (10) days after the occurrence thereof, discharged or stayed (whether through the posting of a bond or otherwise); provided, however, no Credit Extensions shall be made during any ten (10) day cure period; or\n(b)(i) any material portion of a Co-Borrower’s assets is attached, seized, levied on, or comes into possession of a trustee or receiver, or (ii) any court order enjoins, restrains, or prevents a Co-Borrower from conducting all or any material part of its business;"}
-{"idx": 3, "level": 2, "span": "8.5Insolvency. (a) A Co-Borrower or any of its Subsidiaries is unable to pay its debts (including trade debts) as they become due or otherwise becomes insolvent; a Co-Borrower or any of its Subsidiaries fails to be solvent as described under Section 5.6 hereof; (b) a Co-Borrower or any of its Subsidiaries begins an Insolvency Proceeding; or (c) an Insolvency Proceeding is begun against a Co-Borrower or any of its Subsidiaries and is not dismissed or stayed within forty five (45) days (but no Credit Extensions shall be made while any of the conditions described in clause (a) exist and/or until any Insolvency Proceeding is dismissed);"}
-{"idx": 3, "level": 2, "span": "8.6Other Agreements. There is, under any agreement to which a Co-Borrower or any Guarantor is a party with a third party or parties, (a) any default resulting in a right by such third party or parties, whether or not exercised, to accelerate the maturity of any Indebtedness in an amount individually or in the aggregate in excess of One Hundred Thousand Dollars ($100,000); or (b) any breach or default by a Co-Borrower or Guarantor, the result of which could have a material adverse effect on a Co-Borrower’s or any Guarantor’s business;"}
-{"idx": 3, "level": 2, "span": "8.7Judgments; Penalties. One or more fines, penalties or final judgments, orders or decrees for the payment of money in an amount, individually or in the aggregate, of at least Two Hundred Fifty Thousand Dollars ($250,000) (not covered by independent third-party insurance as to which liability has been accepted by such insurance carrier) shall be rendered against a Co-Borrower by any Governmental Authority, and the same are not, within fifteen (15) days after the entry, assessment or issuance thereof, discharged, satisfied, or paid, or after execution thereof, stayed or bonded pending appeal, or such judgments are not discharged prior to the expiration of any such stay (provided that no Credit Extensions will be made prior to the satisfaction, payment, discharge, stay, or bonding of such fine, penalty, judgment, order or decree);"}
-{"idx": 3, "level": 2, "span": "8.8Misrepresentations. A Co-Borrower or any Person acting for a Co-Borrower makes any representation, warranty, or other statement now or later in this Agreement, any Loan Document or in any writing delivered to Bank or to induce Bank to enter this Agreement or any Loan Document, and such representation, warranty, or other statement is incorrect in any material respect when made;"}
-{"idx": 3, "level": 2, "span": "8.9Subordinated Debt. Any document, instrument, or agreement evidencing any Subordinated Debt shall for any reason be revoked or invalidated or otherwise cease to be in full force and effect (other than pursuant to its terms), any Person shall be in breach thereof or contest in any manner the validity or enforceability thereof or deny that it has any further liability or obligation thereunder, or the Obligations shall for any reason be subordinated or shall not have the priority contemplated by this Agreement;"}
-{"idx": 3, "level": 2, "span": "8.10Guaranty. (a) Any guaranty of any Obligations terminates or ceases for any reason to be in full force and effect; (b) any Guarantor does not perform any obligation or covenant under any guaranty of the Obligations; (c) any circumstance described in Sections 8.3, 8.4, 8.5, 8.7, or 8.8 occurs with respect to any Guarantor, or (d) the liquidation, winding up, or termination of existence of any Guarantor; or (e) a material adverse change in the general affairs, management, results of operation, condition (financial or otherwise) or the prospect of repayment of the Obligations occurs with respect to any Guarantor."}
-{"idx": 3, "level": 1, "span": "BANK’S RIGHTS AND REMEDIES"}
-{"idx": 3, "level": 2, "span": "9.1Rights and Remedies. Upon the occurrence and during the continuance of an Event of Default, Bank may, without notice or demand, do any or all of the following:\n(a)declare all Obligations immediately due and payable (but if an Event of Default described in Section 8.5 occurs all Obligations are immediately due and payable without any action by Bank);\n(b)stop advancing money or extending credit for Co-Borrowers’ benefit under this Agreement or under any other agreement between Co-Borrowers and Bank;\n(c)for any letters of credit demand that any Co-Borrower (i) deposit cash with Bank in an amount equal to at least one hundred ten percent (110%) of the Dollar Equivalent of the aggregate face amount of all Letters of Credit remaining undrawn (plus all interest, fees, and costs due or to become due in connection therewith (as estimated by Bank in its good faith business judgment)), to secure all of the Obligations relating to such Letters of Credit, as collateral security for the repayment of any future drawings under such Letters of Credit, and such Co-Borrower shall forthwith deposit and pay such amounts, and (ii) pay in advance all letter of credit fees scheduled to be paid or payable over the remaining term of any Letters of Credit;\n(d)terminate any FX Contracts;\n(e)verify the amount of, demand payment of and performance under, and collect any Accounts and General Intangibles, settle or adjust disputes and claims directly with Account Debtors for amounts on terms and in any order that Bank considers advisable, and notify any Person owing a Co-Borrower money of Bank’s security interest in such funds;\n(f)make any payments and do any acts it considers necessary or reasonable to protect the Collateral and/or its security interest in the Collateral. Co-Borrowers shall assemble the Collateral if Bank requests and make it available as Bank designates. Bank may enter premises where the Collateral is located, take and maintain possession of any part of the Collateral, and pay, purchase, contest, or compromise any Lien which appears to be prior or superior to its security interest and pay all expenses incurred. Each Co-Borrower grants Bank a license to enter and occupy any of its premises, without charge, to exercise any of Bank’s rights or remedies;\n(g)apply to the Obligations any (i) balances and deposits of a Co-Borrower it holds, or (ii) any amount held by Bank owing to or for the credit or the account of a Co-Borrower;\n(h)ship, reclaim, recover, store, finish, maintain, repair, prepare for sale, advertise for sale, and sell the Collateral. Bank is hereby granted a non-exclusive, royalty-free license or other right to use, without charge, a Co-Borrower’s labels, Patents, Copyrights, mask works, rights of use of any name, trade secrets, trade names, Trademarks, and advertising matter, or any similar property as it pertains to the Collateral, in completing production of, advertising for sale, and selling any Collateral and, in connection with Bank’s exercise of its rights under this Section, Co-Borrowers’ rights under all licenses and all franchise agreements inure to Bank’s benefit;\n(i)place a “hold” on any account maintained with Bank and/or deliver a notice of exclusive control, any entitlement order, or other directions or instructions pursuant to any Control Agreement or similar agreements providing control of any Collateral;\n(j)demand and receive possession of a Co-Borrower’s Books; and\n(k)exercise all rights and remedies available to Bank under the Loan Documents or at law or equity, including all remedies provided under the Code (including disposal of the Collateral pursuant to the terms thereof)."}
-{"idx": 3, "level": 2, "span": "9.2Power of Attorney. Each Co-Borrower hereby irrevocably appoints Bank as its lawful attorney-in-fact, exercisable only upon the occurrence and during the continuance of an Event of Default, to: (a) endorse Co-Borrower’s name on any checks or other forms of payment or security; (b) sign Co-Borrower’s name on any invoice or bill of lading for any Account or drafts against Account Debtors; (c) settle and adjust disputes and claims about the Accounts directly with Account Debtors, for amounts and on terms Bank determines reasonable; (d) make, settle, and adjust all claims under Co-Borrower’s insurance policies; (e) pay, contest or settle any Lien, charge, encumbrance, security interest, and adverse claim in or to the Collateral, or any judgment based thereon, or otherwise take any action to terminate or discharge the same; and (f) transfer the Collateral into the name of Bank or a third party as the Code permits. Each Co-Borrower hereby appoints Bank as its lawful attorney-in-fact to sign Co-Borrower’s name on any documents necessary to perfect or continue the perfection of Bank’s security interest in the Collateral regardless of whether an Event of Default has occurred until all Obligations (other than contingent indemnity or reimbursement obligations for which no claim has been made) have been satisfied in full and Bank is under no further obligation to make Credit Extensions hereunder. Bank’s foregoing appointment as each Co-Borrower’s attorney in fact, and all of Bank’s rights and powers, coupled with an interest, are irrevocable until all Obligations (other than contingent indemnity or reimbursement obligations for which no claim has been made) have been fully repaid and performed and Bank’s obligation to provide Credit Extensions terminates."}
-{"idx": 3, "level": 2, "span": "9.3Protective Payments. If a Co-Borrower fails to obtain the insurance called for by Section 6.5 or fails to pay any premium thereon or fails to pay any other amount which such Co-Borrower is obligated to pay under this Agreement or any other Loan Document or which may be required to preserve the Collateral, Bank may obtain such insurance or make such payment, and all amounts so paid by Bank are Bank Expenses and immediately due and payable, bearing interest at the then highest rate applicable to the Obligations, and secured by the Collateral. Bank will make reasonable efforts to provide Co-Borrowers with notice of Bank obtaining such insurance at the time it is obtained or within a reasonable time thereafter. No payments by Bank are deemed an agreement to make similar payments in the future or Bank’s waiver of any Event of Default."}
-{"idx": 3, "level": 2, "span": "9.4Application of Payments and Proceeds Upon Default. If an Event of Default has occurred and is continuing, Bank shall have the right to apply in any order any funds in its possession, whether from Co-Borrowers account balances, payments, proceeds realized as the result of any collection of Accounts or other disposition of the Collateral, or otherwise, to the Obligations. Bank shall pay any surplus to Co-Borrowers by credit to the Designated Deposit Account or to other Persons legally entitled thereto; Co-Borrowers shall remain liable to Bank for any deficiency. If Bank, directly or indirectly, enters into a deferred payment or other credit transaction with any purchaser at any sale of Collateral, Bank shall have the option, exercisable at any time, of either reducing the Obligations by the principal amount of the purchase price or deferring the reduction of the Obligations until the actual receipt by Bank of cash therefor."}
-{"idx": 3, "level": 2, "span": "9.5Bank’s Liability for Collateral. So long as Bank complies with reasonable banking practices regarding the safekeeping of the Collateral in the possession or under the control of Bank, Bank shall not be liable or responsible for: (a) the safekeeping of the Collateral; (b) any loss or damage to the Collateral; (c) any diminution in the value of the Collateral; or (d) any act or default of any carrier, warehouseman, bailee, or other Person. Co-Borrowers bear all risk of loss, damage or destruction of the Collateral."}
-{"idx": 3, "level": 2, "span": "9.6No Waiver; Remedies Cumulative. Bank’s failure, at any time or times, to require strict performance by Co-Borrowers of any provision of this Agreement or any other Loan Document shall not waive, affect, or diminish any right of Bank thereafter to demand strict performance and compliance herewith or therewith. No waiver hereunder shall be effective unless signed by the party granting the waiver and then is only effective for the specific instance and purpose for which it is given. Bank’s rights and remedies under this Agreement and the other Loan Documents are cumulative. Bank has all rights and remedies provided under the Code, by law, or in equity. Bank’s exercise of one right or remedy is not an election and shall not preclude Bank from exercising any other remedy under this Agreement or other remedy available at law or in equity, and Bank’s waiver of any Event of Default is not a continuing waiver. Bank’s delay in exercising any remedy is not a waiver, election, or acquiescence."}
-{"idx": 3, "level": 2, "span": "9.7Demand Waiver. To the extent permitted by applicable law, each Co-Borrower waives demand, notice of default or dishonor, notice of payment and nonpayment, notice of any default, nonpayment at maturity, release, compromise, settlement, extension, or renewal of accounts, documents, instruments, chattel paper, and guarantees held by Bank on which such Co-Borrower is liable."}
-{"idx": 3, "level": 2, "span": "9.8Co‑Borrower Liability. Either Co Borrower may, acting singly, request Advances hereunder. Each Co Borrower hereby appoints the other as agent for the other for all purposes hereunder, including with respect to requesting Advances hereunder. Each Co Borrower hereunder shall be jointly and severally obligated to repay all Advances made hereunder, regardless of which Co Borrower actually receives said Advance, as if each Co Borrower hereunder directly received all Advances. Each Co Borrower waives, to the extent permitted by applicable law, (a) any suretyship defenses available to it under the Code or any other applicable law, including, without limitation, the benefit of California Civil Code Section 2815 permitting revocation as to future transactions and the benefit of California Civil Code Sections 1432, 2809, 2810, 2819, 2839, 2845, 2847, 2848, 2849, 2850, and 2899 and 3433, and (b) any right to require Bank to: (i) proceed against any Co Borrower or any other person; (ii) proceed against or exhaust any security; or (iii) pursue any other remedy. Bank may exercise or not exercise any right or remedy it has against any Co Borrower or any security it holds (including the right to foreclose by judicial or non-judicial sale) without affecting any Co Borrower’s liability. Notwithstanding any other provision of this Agreement or other related document, each Co Borrower irrevocably waives, to the extent permitted by applicable law, all rights that it may have at law or in equity to seek contribution, indemnification or any other form of reimbursement from any other Co Borrower, or any other Person now or hereafter primarily or secondarily liable for any of the Obligations, for any payment made by Co Borrower with respect to the Obligations in connection with this Agreement or otherwise and all rights that it might have to benefit from, or to participate in, any security for the Obligations as a result of any payment made by Co Borrower with respect to the Obligations in connection with this Agreement or otherwise. Any agreement providing for indemnification, reimbursement or any other arrangement prohibited under this Section shall be null and void. If any payment is made to a Co Borrower in contravention of this Section, such Co Borrower shall hold such payment in trust for Bank and such payment shall be promptly delivered to Bank for application to the Obligations, whether matured or unmatured."}
-{"idx": 3, "level": 1, "span": "NOTICES\nAll notices, consents, requests, approvals, demands, or other communication by any party to this Agreement or any other Loan Document must be in writing and shall be deemed to have been validly served, given, or delivered: (a) upon the earlier of actual receipt and three (3) Business Days after deposit in the U.S. mail, first class, registered or certified mail return receipt requested, with proper postage prepaid; (b) upon transmission, when sent by electronic mail or facsimile transmission; (c) one (1) Business Day after deposit with a reputable overnight courier with all charges prepaid; or (d) when delivered, if hand-delivered by messenger, all of which shall be addressed to the party to be notified and sent to the address, facsimile number, or email address indicated below. Bank or Co-Borrowers may change their mailing or electronic mail address or facsimile number by giving the other party written notice thereof in accordance with the terms of this Section 10.\nIf to Co-Borrowers:SAVARA INC., on behalf of all Co-Borrowers\n900 S. Capital of Texas Hwy; Suite 150 \nAustin, TX 78746\nAttn: David Lowrance, CFO\n \nEmail: dave.lowrance@savarapharma.com\nIf to Bank:Silicon Valley Bank\n4370 La Jolla Village Drive, Suite 1050\nSan Diego, CA 92122\nAttn: Igor DaCruz, Vice President\nEmail: IDaCruz@svb.com"}
-{"idx": 3, "level": 1, "span": "CHOICE OF LAW, VENUE, JURY TRIAL WAIVER, AND JUDICIAL REFERENCE\nExcept as otherwise expressly provided in any of the Loan Documents, California law governs the Loan Documents without regard to principles of conflicts of law. Co-Borrowers and Bank each submit to the exclusive jurisdiction of the State and Federal courts in Santa Clara County, California; provided, however, that nothing in this Agreement shall be deemed to operate to preclude Bank from bringing suit or taking other legal action in any other jurisdiction to realize on the Collateral or any other security for the Obligations, or to enforce a judgment or other court order in favor of Bank. Each Co-Borrower expressly submits and consents in advance to such jurisdiction in any action or suit commenced in any such court, and each Co-Borrower hereby waives any objection that it may have based upon lack of personal jurisdiction, improper venue, or forum non conveniens and hereby consents to the granting of such legal or equitable relief as is deemed appropriate by such court. Each Co-Borrower hereby waives personal service of the summons, complaints, and other process issued in such action or suit and agrees that service of such summons, complaints, and other process may be made by registered or certified mail addressed to such Co-Borrower at the address set forth in, or subsequently provided by such Co-Borrower in accordance with, Section 10 of this Agreement and that service so made shall be deemed completed upon the earlier to occur of such Co-Borrower’s actual receipt thereof or three (3) days after deposit in the U.S. mails, proper postage prepaid."}
-{"idx": 3, "level": 1, "span": "TO THE EXTENT PERMITTED BY LAW, EACH CO-BORROWER AND BANK WAIVE THEIR RIGHT TO A JURY TRIAL OF ANY CLAIM OR CAUSE OF ACTION ARISING OUT OF OR BASED UPON THIS AGREEMENT, THE LOAN DOCUMENTS OR ANY CONTEMPLATED TRANSACTION, INCLUDING CONTRACT, TORT, BREACH OF DUTY AND ALL OTHER CLAIMS. THIS WAIVER IS A MATERIAL INDUCEMENT FOR BOTH PARTIES TO ENTER INTO THIS AGREEMENT. EACH PARTY HAS REVIEWED THIS WAIVER WITH ITS COUNSEL.\nWITHOUT INTENDING IN ANY WAY TO LIMIT THE PARTIES’ AGREEMENT TO WAIVE THEIR RESPECTIVE RIGHT TO A TRIAL BY JURY, if the above waiver of the right to a trial by jury is not enforceable, the parties hereto agree that any and all disputes or controversies of any nature between them arising at any time shall be decided by a reference to a private judge, mutually selected by the parties (or, if they cannot agree, by the Presiding Judge of the Santa Clara County, California Superior Court) appointed in accordance with California Code of Civil Procedure Section 638 (or pursuant to comparable provisions of federal law if the dispute falls within the exclusive jurisdiction of the federal courts), sitting without a jury, in Santa Clara County, California; and the parties hereby submit to the jurisdiction of such court. The reference proceedings shall be conducted pursuant to and in accordance with the provisions of California Code of Civil Procedure §§ 638 through 645.1, inclusive. The private judge shall have the power, among others, to grant provisional relief, including without limitation, entering temporary restraining orders, issuing preliminary and permanent injunctions and appointing receivers. All such proceedings shall be closed to the public and confidential and all records relating thereto shall be permanently sealed. If during the course of any dispute, a party desires to seek provisional relief, but a judge has not been appointed at that point pursuant to the judicial reference procedures, then such party may apply to the Santa Clara County, California Superior Court for such relief. The proceeding before the private judge shall be conducted in the same manner as it would be before a court under the rules of evidence applicable to judicial proceedings. The parties shall be entitled to discovery which shall be conducted in the same manner as it would be before a court under the rules of discovery applicable to judicial proceedings. The private judge shall oversee discovery and may enforce all discovery rules and orders applicable to judicial proceedings in the same manner as a trial court judge. The parties agree that the selected or appointed private judge shall have the power to decide all issues in the action or proceeding, whether of fact or of law, and shall report a statement of decision thereon pursuant to California Code of Civil Procedure § 644(a). Nothing in this paragraph shall limit the right of any party at any time to exercise self-help remedies, foreclose against collateral, or obtain provisional remedies. The private judge shall also determine all issues relating to the applicability, interpretation, and enforceability of this paragraph.\nThis Section 11 shall survive the termination of this Agreement."}
-{"idx": 3, "level": 1, "span": "GENERAL PROVISIONS"}
-{"idx": 3, "level": 2, "span": "12.1Termination Prior to Term Loan Maturity Date; Survival. All covenants, representations and warranties made in this Agreement continue in full force until this Agreement has terminated pursuant to its terms and all Obligations (other than contingent indemnity or reimbursement obligations for which no claim has been made) have been satisfied. So long as Co-Borrowers have satisfied their Obligations (other than inchoate indemnity and reimbursement obligations, and any other obligations which, by their terms, are to survive the termination of this Agreement, and any Obligations under Bank Services Agreements that are cash collateralized in accordance with Section 4.1 of this Agreement), this Agreement may be terminated prior to the Term Loan Maturity Date by Co-Borrowers, effective three (3) Business Days after written notice of termination is given to Bank. Those obligations that are expressly specified in this Agreement as surviving this Agreement’s termination shall continue to survive notwithstanding this Agreement’s termination."}
-{"idx": 3, "level": 2, "span": "12.2Successors and Assigns. This Agreement binds and is for the benefit of the successors and permitted assigns of each party. No Co-Borrower may assign this Agreement or any rights or obligations under it without Bank’s prior written consent (which may be granted or withheld in Bank’s discretion). Bank has the right, without the consent of or notice to Co-Borrowers, to sell, transfer, assign, negotiate, or grant participation in all or any part of, or any interest in, Bank’s obligations, rights, and benefits under this Agreement and the other Loan Documents (other than the Warrants, as to which assignment, transfer and other such actions are governed by the terms thereof)."}
-{"idx": 3, "level": 2, "span": "12.3Indemnification. Co-Borrowers agree to indemnify, defend and hold Bank and its directors, officers, employees, agents, attorneys, or any other Person affiliated with or representing Bank (each, an “Indemnified Person”) harmless against: (i) all obligations, demands, claims, and liabilities (collectively, “Claims”) claimed or asserted by any other party in connection with the transactions contemplated by the Loan Documents; and (ii) all losses or expenses (including Bank Expenses) in any way suffered, incurred, or paid by such Indemnified Person as a result of, following from, consequential to, or arising from transactions between Bank and Co-Borrowers (including reasonable attorneys’ fees and expenses), except for Claims and/or losses directly caused by such Indemnified Person’s gross negligence or willful misconduct.\nThis Section 12.3 shall survive until all statutes of limitation with respect to the Claims, losses, and expenses for which indemnity is given shall have run."}
-{"idx": 3, "level": 2, "span": "12.4Time of Essence. Time is of the essence for the performance of all Obligations in this Agreement."}
-{"idx": 3, "level": 2, "span": "12.5Severability of Provisions. Each provision of this Agreement is severable from every other provision in determining the enforceability of any provision."}
-{"idx": 3, "level": 2, "span": "12.6Correction of Loan Documents. Bank may correct patent errors and fill in any blanks in the Loan Documents consistent with the agreement of the parties."}
-{"idx": 3, "level": 2, "span": "12.7Amendments in Writing; Waiver; Integration. No purported amendment or modification of any Loan Document, or waiver, discharge or termination of any obligation under any Loan Document, shall be enforceable or admissible unless, and only to the extent, expressly set forth in a writing signed by the party against which enforcement or admission is sought. Without limiting the generality of the foregoing, no oral promise or statement, nor any action, inaction, delay, failure to require performance or course of conduct shall operate as, or evidence, an amendment, supplement or waiver or have any other effect on any Loan Document. Any waiver granted shall be limited to the specific circumstance expressly described in it, and shall not apply to any subsequent or other circumstance, whether similar or dissimilar, or give rise to, or evidence, any obligation or commitment to grant any further waiver. The Loan Documents represent the entire agreement about this subject matter and supersede prior negotiations or agreements. All prior agreements, understandings, representations, warranties, and negotiations between the parties about the subject matter of the Loan Documents merge into the Loan Documents."}
-{"idx": 3, "level": 2, "span": "12.8Counterparts. This Agreement may be executed in any number of counterparts and by different parties on separate counterparts, each of which, when executed and delivered, is an original, and all taken together, constitute one Agreement."}
-{"idx": 3, "level": 2, "span": "12.9Confidentiality. In handling any confidential information, Bank shall exercise the same degree of care that it exercises for its own proprietary information, but disclosure of information may be made: (a) to Bank’s Subsidiaries or Affiliates (such Subsidiaries and Affiliates, together with Bank, collectively, “Bank Entities”); (b) to prospective transferees or purchasers of any interest in the Credit Extensions (provided, however, that any prospective transferee or purchaser shall have entered into an agreement containing provisions substantially the same as those in this Section); (c) as required by law, regulation, subpoena, or other order; (d) to Bank’s regulators or as otherwise required in connection with Bank’s examination or audit; (e) as Bank considers appropriate in exercising remedies under the Loan Documents; and (f) to third-party service providers of Bank so long as such service providers have executed a confidentiality agreement with Bank with terms no less restrictive than those contained herein. Confidential information does not include information that is either: (i) in the public domain or in Bank’s possession when disclosed to Bank, or becomes part of the public domain (other than as a result of its disclosure by Bank in violation of this Agreement) after disclosure to Bank; or (ii) disclosed to Bank by a third party, if Bank does not know that the third party is prohibited from disclosing the information.\nBank Entities may use anonymous forms of confidential information for aggregate datasets, for analyses or reporting, and for any other uses not expressly prohibited in writing by Co-Borrowers. The provisions of the immediately preceding sentence shall survive termination of this Agreement."}
-{"idx": 3, "level": 2, "span": "12.10Attorneys’ Fees, Costs and Expenses. In any action or proceeding between Co-Borrowers and Bank arising out of or relating to the Loan Documents, the prevailing party shall be entitled to recover its reasonable attorneys’ fees and other costs and expenses incurred, in addition to any other relief to which it may be entitled."}
-{"idx": 3, "level": 2, "span": "12.11Electronic Execution of Documents. The words “execution,” “signed,” “signature” and words of like import in any Loan Document shall be deemed to include electronic signatures or the keeping of records in electronic form, each of which shall be of the same legal effect, validity and enforceability as a manually executed signature or the use of a paper-based recordkeeping systems, as the case may be, to the extent and as provided for in any applicable law, including, without limitation, any state law based on the Uniform Electronic Transactions Act."}
-{"idx": 3, "level": 2, "span": "12.12Captions. The headings used in this Agreement are for convenience only and shall not affect the interpretation of this Agreement."}
-{"idx": 3, "level": 2, "span": "12.13Construction of Agreement. The parties mutually acknowledge that they and their attorneys have participated in the preparation and negotiation of this Agreement. In cases of uncertainty this Agreement shall be construed without regard to which of the parties caused the uncertainty to exist."}
-{"idx": 3, "level": 2, "span": "12.14Relationship. The relationship of the parties to this Agreement is determined solely by the provisions of this Agreement. The parties do not intend to create any agency, partnership, joint venture, trust, fiduciary or other relationship with duties or incidents different from those of parties to an arm’s-length contract."}
-{"idx": 3, "level": 2, "span": "12.15Third Parties. Nothing in this Agreement, whether express or implied, is intended to: (a) confer any benefits, rights or remedies under or by reason of this Agreement on any persons other than the express parties to it and their respective permitted successors and assigns; (b) relieve or discharge the obligation or liability of any person not an express party to this Agreement; or (c) give any person not an express party to this Agreement any right of subrogation or action against any party to this Agreement."}
-{"idx": 3, "level": 1, "span": "DEFINITIONS"}
-{"idx": 3, "level": 2, "span": "13.1Definitions. As used in the Loan Documents, the word “shall” is mandatory, the word “may” is permissive, the word “or” is not exclusive, the words “includes” and “including” are not limiting, the singular includes the plural, and numbers denoting amounts that are set off in brackets are negative. As used in this Agreement, the following capitalized terms have the following meanings:\n“Account” is any “account” as defined in the Code with such additions to such term as may hereafter be made, and includes, without limitation, all accounts receivable and other sums owing to Co-Borrowers.\n“Account Debtor” is any “account debtor” as defined in the Code with such additions to such term as may hereafter be made.\n“Affiliate” is, with respect to any Person, each other Person that owns or controls directly or indirectly the Person, any Person that controls or is controlled by or is under common control with the Person, and each of that Person’s senior executive officers, directors, partners and, for any Person that is a limited liability company, that Person’s managers and members.\n“Agreement” is defined in the preamble hereof.\n“Amortization Start Date” is the first day of the month immediately following the end of the Interest-Only Period.\n“Authorized Signer” is any individual listed in a Co-Borrower’s Borrowing Resolution who is authorized to execute the Loan Documents, including any Advance request, on behalf of Co-Borrowers.\n“Bank” is defined in the preamble hereof.\n“Bank Entities” is defined in Section 12.9.\n“Bank Expenses” are all audit fees and expenses, costs, and expenses (including reasonable attorneys’ fees and expenses) for preparing, amending, negotiating, administering, defending and enforcing the Loan Documents (including, without limitation, those incurred in connection with appeals or Insolvency Proceedings) or otherwise incurred with respect to Co-Borrowers or any Guarantor.\n“Bank Services” are any products, credit services, and/or financial accommodations previously, now, or hereafter provided to Co-Borrowers or any of their Subsidiaries by Bank or any Bank Affiliate, including, without limitation, any letters of credit, cash management services (including, without limitation, merchant services, direct deposit of payroll, business credit cards, and check cashing services), interest rate swap arrangements, and foreign exchange services as any such products or services may be identified in Bank’s various agreements related thereto (each, a “Bank Services Agreement”).\n“Co-Borrower(s)” is defined in the preamble hereof.\n“Co-Borrower’s Books” are all of a Co-Borrower’s books and records including ledgers, federal and state tax returns, records regarding such Co-Borrower’s assets or liabilities, the Collateral, business operations or financial condition, and all computer programs or storage or any equipment containing such information.\n“Borrowing Resolutions” are, with respect to any Person, those resolutions substantially in the form attached hereto as Exhibit D.\n“Business Day” is any day that is not a Saturday, Sunday or a day on which Bank is closed.\n“Cash Equivalents” means (a) marketable direct obligations issued or unconditionally guaranteed by the United States or any agency or any State thereof having maturities of not more than one (1) year from the date of acquisition; (b) commercial paper maturing no more than one (1) year after its creation and having the highest rating from either Standard & Poor’s Ratings Group or Moody’s Investors Service, Inc.; (c) Bank’s certificates of deposit issued maturing no more than one (1) year after issue; (d) savings accounts and demand deposit accounts; (e) money market funds at least ninety-five percent (95.0%) of the assets of which constitute Cash Equivalents of the kinds described in clauses (a) through (c) of this definition; and (f) U.S. dollars, British pounds, euros or the national currency of any member state in the European Union, or any other currencies held from time to time in the ordinary course of business\n“Change in Control” means (a) at any time, any “person” or “group” (as such terms are used in Sections 13(d) and 14(d) of the Exchange Act), shall become, or obtain rights (whether by means or warrants, options or otherwise) to become, the “beneficial owner” (as defined in Rules 13(d)-3 and 13(d)‑5 under the Exchange Act), directly or indirectly, of thirty-five percent (35%) or more of the ordinary voting power for the election of directors of a Co-Borrower (determined on a fully diluted basis) other than by the sale of a Co-Borrower’s equity securities in a public offering or to venture capital or private equity investors so long as such Co-Borrower identifies to Bank the venture capital or private equity investors at least seven (7) Business Days prior to the closing of the transaction and provides to Bank a description of the material terms of the transaction; or (b) during any period of twelve (12) consecutive months, a majority of the members of the board of directors or other equivalent governing body of a Co-Borrower cease to be composed of individuals (i) who were members of that board or equivalent governing body on the first day of such period, (ii) whose election or nomination to that board or equivalent governing body was approved by individuals referred to in clause (i) above constituting at the time of such election or nomination at least a majority of that board or equivalent governing body or (iii) whose election or nomination to that board or other equivalent governing body was approved by individuals referred to in clauses (i) and (ii) above constituting at the time of such election or nomination at least a majority of that board or equivalent governing body; (c) at any time, a Co-Borrower shall cease to own and control, of record and beneficially, directly or indirectly, one hundred percent (100%) (except for director’s qualifying shares as required by the laws of such foreign jurisdiction) of each class of outstanding capital stock of each subsidiary of such Co-Borrower free and clear of all Liens (except Liens created by this Agreement).\n“Claims” is defined in Section 12.3.\n“Code” is the Uniform Commercial Code, as the same may, from time to time, be enacted and in effect in the State of California; provided, that, to the extent that the Code is used to define any term herein or in any Loan Document and such term is defined differently in different Articles or Divisions of the Code, the definition of such term contained in Article or Division 9 shall govern; provided further, that in the event that, by reason of mandatory provisions of law, any or all of the attachment, perfection, or priority of, or remedies with respect to, Bank’s Lien on any Collateral is governed by the Uniform Commercial Code in effect in a jurisdiction other than the State of California, the term “Code” shall mean the Uniform Commercial Code as enacted and in effect in such other jurisdiction solely for purposes of the provisions thereof relating to such attachment, perfection, priority, or remedies and for purposes of definitions relating to such provisions.\n“Collateral” is any and all properties, rights and assets of Co-Borrowers described on Exhibit A.\n“Collateral Account” is any Deposit Account, Securities Account, or Commodity Account.\n“Commodity Account” is any “commodity account” as defined in the Code with such additions to such term as may hereafter be made.\n“Compliance Certificate” is that certain certificate in the form attached hereto as Exhibit B.\n“Contingent Obligation” is, for any Person, any direct or indirect liability, contingent or not, of that Person for (a) any Indebtedness, capital lease, dividend or letter of credit of another Person such as an obligation, in each case, directly or indirectly guaranteed, endorsed, co‑made, discounted or sold with recourse by that Person, or for which that Person is directly or indirectly liable; (b) any obligations for undrawn letters of credit for the account of that Person; and (c) all obligations from any interest rate, currency or commodity swap agreement, interest rate cap or collar agreement, or other agreement or arrangement designated to protect a Person against fluctuation in interest rates, currency exchange rates or commodity prices (each a “Swap Agreement”); but “Contingent Obligation” does not include endorsements, warranties or indemnities in the ordinary course of business. The amount of a Contingent Obligation is the stated or determined amount of the primary obligation for which the Contingent Obligation is made or, if not determinable, the maximum reasonably anticipated liability for it determined by the Person in good faith; but the amount may not exceed the maximum of the obligations under any guarantee or other support arrangement.\n“Control Agreement” is any control agreement entered into among the depository institution at which a Co-Borrower maintains a Deposit Account or the securities intermediary or commodity intermediary at which a Co-Borrower maintains a Securities Account or a Commodity Account, such Co-Borrower, and Bank pursuant to which Bank obtains control (within the meaning of the Code) over such Deposit Account, Securities Account, or Commodity Account.\n“Copyrights” are any and all copyright rights, copyright applications, copyright registrations and like protections in each work of authorship and derivative work thereof, whether published or unpublished and whether or not the same also constitutes a trade secret.\n“Credit Extension” is any Term Loan by Bank for Co-Borrowers’ benefit.\n“Currency” is coined money and such other banknotes or other paper money as are authorized by law and circulate as a medium of exchange.\n“Default Rate” is defined in Section 2.3(b).\n“Denmark Share Pledge Documents” means the following documents all duly executed on or prior to the Effective Date: a share pledge agreement regarding the shares in Savara Denmark along with a letter of notification (in the form set out in the share pledge agreement), a letter of confirmation (in the form set out in the share pledge agreement), a copy of the shareholders’ register of Savara Denmark showing the recording of the pledge in a form satisfactory to the Bank, and a legal opinion by LETT Law Firm P/S as to the enforceability of these documents.\n“Deposit Account” is any “deposit account” as defined in the Code with such additions to such term as may hereafter be made.\n“Designated Deposit Account” is the multicurrency account denominated in Dollars, account number ending in xxxxx9702, maintained by a Co-Borrower with Bank.\n“Dollars,” “dollars” or use of the sign “$” means only lawful money of the United States and not any other currency, regardless of whether that currency uses the “$” sign to denote its currency or may be readily converted into lawful money of the United States.\n“Dollar Equivalent” is, at any time, (a) with respect to any amount denominated in Dollars, such amount, and (b) with respect to any amount denominated in a Foreign Currency, the equivalent amount therefor in Dollars as determined by Bank at such time on the basis of the then-prevailing rate of exchange in San Francisco, California, for sales of the Foreign Currency for transfer to the country issuing such Foreign Currency.\n“Domestic Subsidiary” means a Subsidiary organized under the laws of the United States or any state or territory thereof or the District of Columbia, but excluding any FSHCO and any subsidiary of a Foreign Subsidiary.\n“Draw Period” is the period of time commencing on the date Co-Borrowers achieve the Draw Period Milestone and ending on the earlier of (x) June 30, 2017 or (y) the occurrence of an Event of Default; provided, however, that the Draw Period shall not commence if on the date of the occurrence of the Draw Period Milestone an Event of Default has occurred and is continuing.\n“Draw Period Milestone” is the receipt (or in the case of a grant, the expected receipt) by Co-Borrowers of net cash proceeds of not less than Forty Million Dollars ($40,000,000), in the aggregate, from a secondary offering, PIPE or ATM partnerships, and/or a grant which shall be received no later than twelve (12) months after the awarding of such grant.\n“Effective Date” is the date on which all of the conditions precedent, as outlined in Section 3.1, have been satsified.\n“Equipment” is all “equipment” as defined in the Code with such additions to such term as may hereafter be made, and includes without limitation all machinery, fixtures, goods, vehicles (including motor vehicles and trailers), and any interest in any of the foregoing.\n“ERISA” is the Employee Retirement Income Security Act of 1974, and its regulations.\n“Event of Default” is defined in Section 8.\n“Exchange Act” is the Securities Exchange Act of 1934, as amended.\n“Existing Indebtedness” is the indebtedness of Co-Borrowers to Hercules Capital, Inc. in the aggregate outstanding amount as of the Effective Date of approximately Three Million Six Hundred Sixty-Three Thousand Five Hundred Sixty and 15/100 Dollars ($3,663,560.15) pursuant to that certain Loan and Security Agreement, dated as of August 11, 2015, entered into by and among Co-Borrowers (f/k/a Mast Therapeutics, Inc.), the lenders party thereto and Hercules Capital, Inc., as administrative agent, as amended.\n“Final Payment” is a payment (in addition to and not a substitution for the regularly monthly payments of principal plus accrued interest) due on the earliest to occur of (a) the Term Loan Maturity Date, (b) the acceleration of any Term Loan, or (c) the prepayment of a Term Loan, equal to the original principal amount of such Term Loan multiplied by the Final Payment Percentage.\n“Final Payment Percentage” is six percent (6.00%).\n“Foreign Currency” means lawful money of a country other than the United States.\n“Foreign Subsidiary” means any Subsidiary organized under the laws of any jurisdiction other than the laws of the United States or any state or territory thereof or the District of Columbia.\n“FSHCO” means any Domestic Subsidiary if substantially all of its assets (whether held directly or through other Subsidiaries) consist of the Equity Interests or Indebtedness of one or more Foreign Subsidiaries.\n“Funding Date” is any date on which a Credit Extension is made to or for the account of Co-Borrowers which shall be a Business Day.\n“FX Contract” is any foreign exchange contract by and between a Co-Borrower and Bank under which Co-Borrower commits to purchase from or sell to Bank a specific amount of Foreign Currency on a specified date.\n“GAAP” is generally accepted accounting principles set forth in the opinions and pronouncements of the Accounting Principles Board of the American Institute of Certified Public Accountants and statements and pronouncements of the Financial Accounting Standards Board or in such other statements by such other Person as may be approved by a significant segment of the accounting profession, which are applicable to the circumstances as of the date of determination.\n“General Intangibles” is all “general intangibles” as defined in the Code in effect on the date hereof with such additions to such term as may hereafter be made, and includes without limitation, all Intellectual Property, claims, income and other tax refunds, security and other deposits, payment intangibles, contract rights, options to purchase or sell real or personal property, rights in all litigation presently or hereafter pending (whether in contract, tort or otherwise), insurance policies (including without limitation key man, property damage, and business interruption insurance), payments of insurance and rights to payment of any kind.\n“Governmental Approval” is any consent, authorization, approval, order, license, franchise, permit, certificate, accreditation, registration, filing or notice, of, issued by, from or to, or other act by or in respect of, any Governmental Authority.\n“Governmental Authority” is any nation or government, any state or other political subdivision thereof, any agency, authority, instrumentality, regulatory body, court, central bank or other entity exercising executive, legislative, judicial, taxing, regulatory or administrative functions of or pertaining to government, any securities exchange and any self-regulatory organization.\n“Guarantor” is any Person providing a Guaranty in favor of Bank.\n“Guaranty” is any guarantee of all or any part of the Obligations, as the same may from time to time be amended, restated, modified or otherwise supplemented.\n“Indebtedness” is (a) indebtedness for borrowed money or the deferred price of property or services, such as reimbursement and other obligations for surety bonds and letters of credit, (b) obligations evidenced by notes, bonds, debentures or similar instruments, (c) capital lease obligations, and (d) Contingent Obligations. Notwithstanding the foregoing, the capital lease reflected on a Co-Borrower’s balance sheet as of December 31, 2016 that is part of a research and development contract (and any similar arrangement entered into by a Co-Borrower or any of its Subsidiaries in the future) shall not constitute Indebtedness.\n“Indemnified Person” is defined in Section 12.3.\n“Insolvency Proceeding” is any proceeding by or against any Person under the United States Bankruptcy Code, or any other bankruptcy or insolvency law, including assignments for the benefit of creditors, compositions, extensions generally with its creditors, or proceedings seeking reorganization, arrangement, or other relief.\n“Intellectual Property” means, with respect to any Person, means all of such Person’s right, title, and interest in and to the following owned by such Person:\n(a)its Copyrights, Trademarks and Patents;\n(b)any and all trade secrets and trade secret rights, including, without limitation, any rights to unpatented inventions, know-how, operating manuals;\n(c)any and all source code;\n(d)any and all design rights which may be available to such Person;\n(e)any and all claims for damages by way of past, present and future infringement of any of the foregoing, with the right, but not the obligation, to sue for and collect such damages for said use or infringement of the Intellectual Property rights identified above; and\n(f)all amendments, renewals and extensions of any of the Copyrights, Trademarks or Patents.\n“Interest-Only Period” means the period commencing on the Effective Date and continuing through September 30, 2018; provided that, if Co-Borrowers request and Bank funds the Term B Loan, the Interest-Only Period shall automatically be extended through March 31, 2019.\n“Inventory” is all “inventory” as defined in the Code in effect on the date hereof with such additions to such term as may hereafter be made, and includes without limitation all merchandise, raw materials, parts, supplies, packing and shipping materials, work in process and finished products, including without limitation such inventory as is temporarily out of a Co-Borrower’s custody or possession or in transit and including any returned goods and any documents of title representing any of the above.\n“Investment” is any beneficial ownership interest in any Person (including stock, partnership interest or other securities), and any loan, advance or capital contribution to any Person.\n“Letter of Credit” is a standby or commercial letter of credit issued by Bank upon request of a Co-Borrower based upon an application, guarantee, indemnity, or similar agreement.\n“Lien” is a claim, mortgage, deed of trust, levy, charge, pledge, security interest or other encumbrance of any kind, whether voluntarily incurred or arising by operation of law or otherwise against any property.\n“Loan Documents” are, collectively, this Agreement and any schedules, exhibits, certificates, notices, and any other documents related to this Agreement, the Warrants, the Denmark Share Pledge Documents, any subordination agreement, any note, or notes or guaranties executed by a Co-Borrower or any Guarantor, and any other present or future agreement by a Co-Borrower and/or any Guarantor with or for the benefit of Bank in connection with this Agreement, all as amended, restated, or otherwise modified.\n“Material Adverse Change” is (a) a material impairment in the perfection or priority of Bank’s Lien in the Collateral or in the value of such Collateral; (b) a material adverse change in the business, operations, or condition (financial or otherwise) of a Co-Borrower; or (c) a material impairment of the prospect of repayment of any portion of the Obligations.\n“Obligations” are Co-Borrowers’ obligations to pay when due any debts, principal, interest, fees, Bank Expenses, the Prepayment Fee, the Final Payment and other amounts Co-Borrowers owe Bank now or later, whether under this Agreement, the other Loan Documents (other than the Warrants), or otherwise (other than the Warrants), including, without limitation, all obligations relating to letters of credit (including reimbursement obligations for drawn and undrawn letters of credit), cash management services, and foreign exchange contracts, if any, and including interest accruing after Insolvency Proceedings begin and debts, liabilities, or obligations of Co-Borrowers assigned to Bank, and to perform Co-Borrowers’ duties under the Loan Documents (other than the Warrants).\n“Operating Documents” are, for any Person, such Person’s formation documents, as certified by the Secretary of State (or equivalent agency) of such Person’s jurisdiction of organization on a date that is no earlier than thirty (30) days prior to the Effective Date, and, (a) if such Person is a corporation, its bylaws in current form, (b) if such Person is a limited liability company, its limited liability company agreement (or similar agreement), and (c) if such Person is a partnership, its partnership agreement (or similar agreement), each of the foregoing with all current amendments or modifications thereto.\n“Patents” means all patents, patent applications and like protections including without limitation improvements, divisions, continuations, renewals, reissues, extensions and continuations-in-part of the same.\n“Payment/Advance Form” is that certain form attached hereto as Exhibit C.\n“Perfection Certificate” is defined in Section 5.1.\n“Permitted Distributions” means:\n(a)purchases of capital stock from former employees, consultants and directors pursuant to repurchase agreements or other similar agreements, so long as an Event of Default does not exist and would not exist after the purchase;\n(b)distributions or dividends consisting solely of Borrower's capital stock or rights under any stockholder rights plan;\n(c)purchases for value of any rights distributed in connection with any stockholder rights plan adopted by Borrower;\n(d)purchases of capital stock or options to acquire such capital stock with the proceeds received from a substantially concurrent issuance of capital stock or convertible securities in an aggregate amount not to exceed Two Hundred Fifty Thousand Dollars ($250,000) per fiscal year;\n(e)repurchases or acquisitions of capital stock or options to acquire capital stock of Borrower in connection with the exercise of stock options or warrants or stock appreciation rights by way of cashless exercise or the vesting of restricted stock or restricted units, or in connection with the satisfaction of withholding tax obligations;\n(f)conversions of convertible securities (including options, warrants and convertible notes) into other securities pursuant to their terms or otherwise in exchange therefor;\n(g)the issuance of cash in lieu of fractional shares;\n(h)other payments, distributions, redemptions, retirements or purchases;\nprovided that the total amount of distributions comprised of (a), (c) and (h) above do not exceed One Hundred Thousand Dollars ($100,000) in an aggregate amount in a fiscal year.\n“Permitted Indebtedness” is:\n(a)Co-Borrowers’ Indebtedness to Bank under this Agreement and the other Loan Documents or in respect of Bank Services;\n(b)Indebtedness existing on the Effective Date and shown on the Perfection Certificate;\n(c)Subordinated Debt;\n(d)(i) unsecured Indebtedness to trade creditors incurred in the ordinary course of business and (ii) unsecured intercompany payables incurred in the ordinary course of business that constitute Permitted Investments;\n(e)Indebtedness incurred as a result of endorsing negotiable instruments received in the ordinary course of business;\n(f)Indebtedness secured by Liens permitted under clauses (a) and (c) of the definition of “Permitted Liens” hereunder;\n(g)Unsecured Indebtedness arising from customary cash management and treasury services, employee credit card programs and the honoring of a check, draft or similar instrument against insufficient funds or from the endorsement of instruments for collection, in each case, in the ordinary course of business;\n(h)Indebtedness in respect of performance bonds, bid bonds, appeal bonds, surety bonds and similar obligations, in each case provided in the ordinary course of business, not to exceed an aggregate amount outstanding at any time of Fifty Thousand Dollars ($50,000.00);\n(i)unsecured Indebtedness in an aggregate amount at any time outstanding not to exceed Two Hundred Fifty Thousand Dollars ($250,000.00);\n(j)Indebtedness owed to any Person providing property, casualty, liability, or other insurance to Company or any of its Subsidiaries, so long as the amount of such Indebtedness is not in excess of the amount of the unpaid cost of, and shall be incurred only to defer the cost of, such insurance for the year in which such Indebtedness is incurred and such Indebtedness is outstanding only during such year;\n(k)Indebtedness of a Subsidiary constituting a Permitted Investment under clause (g) or clause (h) of the definition of Permitted Investments; and\n(l)extensions, refinancings, modifications, amendments and restatements of any items of Permitted Indebtedness (a) through (i) above, provided that the principal amount thereof is not increased or the terms thereof are not modified to impose more burdensome terms upon a Co-Borrower or its Subsidiary, as the case may be.\n“Permitted Investments” are:\n(a)Investments (including, without limitation, Subsidiaries) existing on the Effective Date and shown on the Perfection Certificate;\n(b)Investments consisting of Cash Equivalents and (ii) any Investments permitted by a Co-Borrower’s investment policy, as amended from time to time, provided that, solely for purposes of this Agreement, such investment policy (and any such amendment thereto) has been approved in writing by Bank (which investment policy existing on the Effective Date and provided to Bank is hereby approved);\n(c)Investments consisting of the endorsement of negotiable instruments for deposit or collection or similar transactions in the ordinary course of a Co-Borrower;\n(d)Investments consisting of deposit accounts or securities accounts; provided that in the case of a deposit or securities account held by a Co-Borrower’s Bank has a perfected security interest in such account to the extent required by Section 6.6;\n(e)Investments accepted in connection with Transfers permitted by Section 7.1;\n(f)Investments consisting of the creation of a Subsidiary for the purpose of consummating a merger transaction permitted by Section 7.3 of this Agreement, which is otherwise a Permitted Investment;\n(g)Investments by (i) a Co-Borrower in Savara Denmark not to exceed Thirteen Million Dollars ($13,000,000) in the aggregate in any fiscal year and (ii) by Savara Denmark in its own Subsidiaries; provided that all such Investments are related to clinical development and associated G&A expense;\n(h)Investments consisting of (i) travel advances and employee relocation loans and other employee loans and advances in the ordinary course of business, and (ii) loans to employees, officers or directors relating to the purchase of equity securities of a Co-Borrower or its Subsidiaries pursuant to employee stock purchase plans or agreements approved by such Co-Borrower’s Board of Directors;\n(i)Investments (including debt obligations) received in connection with the bankruptcy or reorganization of customers or suppliers and in settlement of delinquent obligations of, and other disputes with, customers or suppliers arising in the ordinary course of business;\n(j)Investments consisting of notes receivable of, or prepaid royalties and other credit extensions, to customers and suppliers who are not Affiliates, in the ordinary course of business; provided that this paragraph (k) shall not apply to Investments of a Co-Borrower in any Subsidiary; and\n(k)Investments not exceeding Two Hundred Fifty Thousand Dollars ($250,000.00) in the aggregate outstanding at any time;\n“Permitted Liens” are:\n(a)Liens existing on the Effective Date and shown on the Perfection Certificate or arising under this Agreement and the other Loan Documents;\n(b)Liens for taxes, fees, assessments or other government charges or levies, either (i) not due and payable or (ii) being contested in good faith and for which a Co-Borrower maintains adequate reserves on its Books, provided that no notice of any such Lien has been filed or recorded under the Internal Revenue Code of 1986, as amended, and the Treasury Regulations adopted thereunder;\n(c)purchase money Liens or capital leases (i) on Equipment and related software (together with any improvements, additions and accessions to such Equipment and the proceeds of the Equipment) acquired or held by a Co-Borrower incurred for financing the acquisition of the Equipment (and related software) securing no more than One Hundred Thousand Dollars ($100,000.00) in the aggregate amount outstanding, or (ii) existing on Equipment (including any related software) when acquired, if the Lien is confined to the property and improvements, additions and accessions to such Equipment and the proceeds of the Equipment;\n(d)(i) Liens of carriers, warehousemen, suppliers, landlords or similar Liens arising in the ordinary course of business and (ii) Liens of other Persons that are possessory in nature arising in the ordinary course of business so long as such Liens attach only to Inventory, securing liabilities in the aggregate amount not to exceed One Hundred Thousand Dollars ($100,000), and in the case of clauses (i) and (ii) secure liabilities which are not delinquent or remain payable without penalty or which are being contested in good faith and by appropriate proceedings which proceedings have the effect of preventing the forfeiture or sale of the property subject thereto;\n(e)Liens to secure payment of workers’ compensation, employment insurance, old-age pensions, social security and other like obligations incurred in the ordinary course of business (other than Liens imposed by ERISA);\n(f)Liens incurred in the extension, renewal or refinancing of the indebtedness secured by Liens described in (a) through (c), but any extension, renewal or replacement Lien must be limited to the property encumbered by the existing Lien and the principal amount of the indebtedness may not increase;\n(g)leases or subleases of real property granted in the ordinary course of a Co-Borrower’s business (or, if referring to another Person, in the ordinary course of such Person’s business), and leases, subleases, non-exclusive licenses or sublicenses of personal property (other than Intellectual Property) granted in the ordinary course of a Co-Borrower’s business (or, if referring to another Person, in the ordinary course of such Person’s business), if the leases, subleases, licenses and sublicenses do not prohibit granting Bank a security interest therein;\n(h)(i) non-exclusive licenses of Intellectual Property granted to third parties in the ordinary course of business, and licenses of Intellectual Property that could not result in a legal transfer of title of the licensed property that may be exclusive in respects other than territory and that may be exclusive as to territory only as to discreet geographical areas outside of the United States; and (ii) intracompany non-exclusive licenses of Intellectual Property in the ordinary course of business;\n(i)Liens arising from attachments or judgments, orders, or decrees in circumstances not constituting an Event of Default under Sections 8.4 and 8.7;\n(j)Liens securing any overdraft and related liabilities arising from treasury, depository or cash management services or automated clearing house transfer of funds;\n(k)deposits to secure the performance of bids, trade contracts, leases, statutory obligations, surety and appeal bonds, performance bonds and other obligations of a like nature, in each case in the ordinary course of business;\n(l)easements, zoning restrictions, rights-of-way and similar encumbrances on real property imposed by law or arising in the ordinary course of business that do not secure any monetary obligations and do not materially detract from the value of the affected property or interfere with the ordinary conduct of business of a Co-Borrower or any Subsidiary;\n(m)Liens representing the interest or title of a lessor, licensor, sublicensor or sublessor, provided such lease, sublease, license or sublicense is permitted hereunder;\n(n)Liens in favor of customs and revenue authorities arising as a matter of law to secure payment of customs duties in connection with the importation of goods; and\n(o)Liens in favor of other financial institutions arising in connection with a Co-Borrower’s deposit and/or securities accounts held at such institutions, provided that Bank has a perfected security interest in the amounts held in such deposit and/or securities accounts held by a Co-Borrower to the extent required by Section 6.6.\n“Person” is any individual, sole proprietorship, partnership, limited liability company, joint venture, company, trust, unincorporated organization, association, corporation, institution, public benefit corporation, firm, joint stock company, estate, entity or government agency.\n“Prepayment Fee” is, with respect to any Term Loan subject to prepayment prior to the Term Loan Maturity Date, whether by mandatory or voluntary prepayment, acceleration or otherwise, an additional fee payable to Bank in an amount equal to: (i) for a prepayment made on or after the Effective Date through and including the first anniversary of the Effective Date, three percent (3.00%) of the principal amount of the Term Loans prepaid; (ii) for a prepayment made after the date which is the first anniversary of the Effective Date through and including the second anniversary of the Effective Date, two percent (2.00%) of the principal amount of the Term Loans prepaid and (iii) for a prepayment made after the date which is the second anniversary of the Effective Date and before the Term Loan Maturity Date, one percent (1.00%) of the principal amount of the Term Loans prepaid.\n“Prime Rate” is the rate of interest per annum from time to time published in the money rates section of The Wall Street Journal or any successor publication thereto as the “prime rate” then in effect; provided that, in the event such rate of interest is less than zero, such rate shall be deemed to be zero for purposes of this Agreement; and provided further that if such rate of interest, as set forth from time to time in the money rates section of The Wall Street Journal, becomes unavailable for any reason as determined by Bank, the “Prime Rate” shall mean the rate of interest per annum announced by Bank as its prime rate in effect at its principal office in the State of California (such Bank announced Prime Rate not being intended to be the lowest rate of interest charged by Bank in connection with extensions of credit to debtors); provided that, in the event such rate of interest is less than zero, such rate shall be deemed to be zero for purposes of this Agreement.\n“Quarterly Financial Statements” is defined in Section 6.2(a).\n“Registered Organization” is any “registered organization” as defined in the Code with such additions to such term as may hereafter be made.\n“Regulatory Change” means, with respect to Bank, any change on or after the date of this Agreement in United States federal, state, or foreign laws or regulations, including Regulation D, or the adoption or making on or after such date of any interpretations, directives, or requests applying to a class of lenders including Bank, of or under any United States federal or state, or any foreign laws or regulations (whether or not having the force of law) by any court or governmental or monetary authority charged with the interpretation or administration thereof.\n“Requirement of Law” is as to any Person, the organizational or governing documents of such Person, and any law (statutory or common), treaty, rule or regulation or determination of an arbitrator or a court or other Governmental Authority, in each case applicable to or binding upon such Person or any of its property or to which such Person or any of its property is subject.\n“Responsible Officer” is any of the Chief Executive Officer, Chief Financial Officer and Chief Operating Officer of a Co-Borrower.\n“Restricted License” is any material license or other material agreement with respect to which a Co-Borrower is the licensee other than any commercial off-the-shelf licenses or similar agreements that are commercially available to the public) (a) that validly prohibits or otherwise restricts a Co-Borrower from granting a security interest in such Co-Borrower’s interest in such license or agreement or any property subject to such license or agreement, or (b) for which a default under or termination of could interfere with the Bank’s right to sell any Collateral.\n“Savara Denmark” is Savara ApS, an entity organized under the laws of Denmark.\n“SEC” shall mean the Securities and Exchange Commission and any successor thereto.\n“Securities Account” is any “securities account” as defined in the Code with such additions to such term as may hereafter be made.\n“Subordinated Debt” is indebtedness incurred by a Co-Borrower subordinated to all of such Co-Borrower’s now or hereafter indebtedness to Bank (pursuant to a subordination, intercreditor, or other similar agreement in form and substance reasonably satisfactory to Bank entered into between Bank and the other creditor), on terms reasonably acceptable to Bank.\n“Subsidiary” is, as to any Person, a corporation, partnership, limited liability company or other entity of which shares of stock or other ownership interests having ordinary voting power (other than stock or such other ownership interests having such power only by reason of the happening of a contingency) to elect a majority of the board of directors or other managers of such corporation, partnership or other entity are at the time owned, or the management of which is otherwise controlled, directly or indirectly through one or more intermediaries, or both, by such Person. Unless the context otherwise requires, each reference to a Subsidiary herein shall be a reference to a Subsidiary of a Co-Borrower.\n“Term Loan” is a loan made by Bank pursuant to the terms of Section 2.1.1(a) hereof.\n“Term A Loan” is a loan made by Bank pursuant to the terms of Section 2.1.1(a) hereof.\n“Term B Loan” is a loan made by Bank pursuant to the terms of Section 2.1.1(a) hereof.\n“Term Loan Maturity Date” is March 1, 2021.\n“Term Loan Payment” is defined in Section 2.1.1(b).\n“Trademarks” means any trademark and servicemark rights, whether registered or not, applications to register and registrations of the same and like protections, and the entire goodwill of the business of a Co-Borrower connected with and symbolized by such trademarks.\n“Transfer” is defined in Section 7.1.\n“Warrants” are those certain Warrants to Purchase Stock dated as of the Effective Date, or any date theretofore or thereafter, issued by Parent in favor of Bank and Life Science Loans, LLC."}
-{"idx": 3, "level": 4, "span": "[Signature page follows.]"}
-{"idx": 3, "level": 1, "span": "IN WITNESS WHEREOF, the parties hereto have caused this Agreement to be executed as of the Effective Date."}
-{"idx": 3, "level": 1, "span": "[Signature Page to Loan and Security Agreement]"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_4.jsonl b/data/auto_parse/level_freeze/frozen/idx_4.jsonl
deleted file mode 100644
index e5cded1..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_4.jsonl
+++ /dev/null
@@ -1,68 +0,0 @@
-{"idx": 4, "level": 1, "span": "ULURU Inc."}
-{"idx": 4, "level": 0, "span": "INDEMNIFICATION AGREEMENT\nTHIS INDEMNIFICATION AGREEMENT (the “Agreement”) is made and entered into as of March 31, 2017 between ULURU Inc., a Nevada corporation (the “Company”), and Arindam Bose (“Indemnitee”)."}
-{"idx": 4, "level": 1, "span": "WITNESSETH THAT:\nWHEREAS, highly competent persons have become more reluctant to serve corporations as directors and officers or in other capacities unless they are provided with adequate protection through insurance or adequate indemnification against inordinate risks of claims and actions against them arising out of their service to and activities on behalf of the corporation;\nWHEREAS, the Board of Directors of the Company (the “Board”) has determined that, in order to attract and retain qualified individuals, the Company will attempt to maintain on an ongoing basis, at its sole expense, liability insurance to protect persons serving the Company and its subsidiaries from certain liabilities. Although the furnishing of such insurance has been a customary and widespread practice among United States-based corporations and other business enterprises, the Company believes that, given current market conditions and trends, such insurance may be available to it in the future only at higher premiums and with more exclusions. At the same time, directors, officers, and other persons in service to corporations or business enterprises are being increasingly subjected to expensive and time-consuming litigation relating to, among other things, matters that traditionally would have been brought only against the Company or business enterprise itself. The By-laws of the Company require indemnification of the directors, officers, employees, fiduciaries and agents of the Company. Indemnitee may also be entitled to indemnification pursuant to Chapter 78 - Private Corporations, of the Nevada Revised Statutes (the “NRS”). The NRS expressly provides that the indemnification provisions set forth therein are not exclusive, and thereby contemplate that contracts may be entered into between the Company and members of the Board with respect to indemnification;\nWHEREAS, the uncertainties relating to such insurance and to indemnification have increased the difficulty of attracting and retaining such persons;\nWHEREAS, the Board has determined that the increased difficulty in attracting and retaining such persons is detrimental to the best interests of the Company's stockholders and that the Company should act to assure such persons that there will be increased certainty of such protection in the future;\nWHEREAS, it is reasonable, prudent and necessary for the Company contractually to obligate itself to indemnify, and to advance expenses on behalf of, such persons to the fullest extent permitted by applicable law so that they will serve or continue to serve the Company free from undue concern that they will not be so indemnified;\nWHEREAS, this Agreement is a supplement to and in furtherance of any indemnification provisions in the Articles of Incorporation and/or the By-laws of the Company and any resolutions adopted pursuant thereto, and shall not be deemed a substitute therefore, nor to diminish or abrogate any rights of Indemnitee thereunder;\nWHEREAS, Indemnitee does not regard the protection available under the NRS, the Company's By-laws and insurance as adequate in the present circumstances, and may not be willing to serve as an officer or a director without adequate protection, and the Company desires Indemnitee to serve in such capacity. Indemnitee is willing to serve, continue to serve and to take on additional services for or on behalf of the Company on the condition that he be so indemnified; and\nNOW, THEREFORE, in consideration of Indemnitee’s agreement to serve as a director from and after the date hereof, the parties hereto agree as follows:\n1. Indemnity of Indemnitee. The Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:\n(a) Proceedings Other Than Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful.\n(b) Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made.\n(c) Indemnification under NRS 78.138. Indemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138.\n(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter.\n2. Additional Indemnity. In addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful.\n3. Contribution.\n(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee. The Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee.\n(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered. The relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 4, "level": 2, "span": "1. Indemnity of Indemnitee\nThe Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:"}
-{"idx": 4, "level": 3, "span": "(a) Proceedings Other Than Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful."}
-{"idx": 4, "level": 3, "span": "(b) Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made."}
-{"idx": 4, "level": 3, "span": "(c) Indemnification under NRS 78.138\nIndemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138."}
-{"idx": 4, "level": 3, "span": "(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter."}
-{"idx": 4, "level": 2, "span": "2. Additional Indemnity\nIn addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful."}
-{"idx": 4, "level": 2, "span": "3. Contribution."}
-{"idx": 4, "level": 3, "span": "(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee\nThe Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee."}
-{"idx": 4, "level": 3, "span": "(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered\nThe relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 4, "level": 3, "span": "(c) The Company hereby agrees to fully indemnify and hold Indemnitee harmless from any claims of contribution which may be brought by officers, directors or employees of the Company, other than Indemnitee, who may be jointly liable with Indemnitee.\n(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s).\n4. Indemnification for Expenses of a Witness. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith.\n5. Advancement of Expenses. Notwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement.\n6. Procedures and Presumptions for Determination of Entitlement to Indemnification. It is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:\n(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification. The Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure.\n(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 4, "level": 3, "span": "(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s)."}
-{"idx": 4, "level": 2, "span": "4. Indemnification for Expenses of a Witness\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith."}
-{"idx": 4, "level": 2, "span": "5. Advancement of Expenses\nNotwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement."}
-{"idx": 4, "level": 2, "span": "6. Procedures and Presumptions for Determination of Entitlement to Indemnification\nIt is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:"}
-{"idx": 4, "level": 3, "span": "(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification\nThe Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure."}
-{"idx": 4, "level": 3, "span": "(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 4, "level": 3, "span": "(c) \nNotwithstanding anything to the contrary set forth in this Agreement, if a request for indemnification is made after a Change in Control, at the election of Indemnitee made in writing to the Company, any determination required to be made pursuant to Section 6(b) above as to whether Indemnitee is entitled to indemnification shall be made by Independent Counsel selected as provided in this Section 6(c). The Independent Counsel shall be selected by Indemnitee, unless Indemnitee shall request that such selection be made by the Board. The party making the selection shall give written notice to the other party advising it of the identity of the Independent Counsel so selected. The party receiving such notice may, within seven (7) days after such written notice of selection shall have been given, deliver to the other party a written objection to such selection. Such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 hereof, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made, the Independent Counsel so selected may not serve as Independent Counsel unless and until a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by the Company or Indemnitee to the other’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(c) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof. The Company shall pay any and all reasonable and necessary fees and expenses incident to the procedures of this Section 6(c), regardless of the manner in which such Independent Counsel was selected or appointed.\n(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d). The Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 4, "level": 3, "span": "(e) \nIn making a determination with respect to entitlement to indemnification hereunder, the person or persons or entity making such determination shall presume that Indemnitee is entitled to indemnification under this Agreement. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence. Neither the failure of the Company (including by its directors or independent legal counsel) to have made a determination prior to the commencement of any action pursuant to this Agreement that indemnification is proper in the circumstances because Indemnitee has met the applicable standard of conduct, nor an actual determination by the Company (including by its directors or independent legal counsel) that Indemnitee has not met such applicable standard of conduct, shall be a defense to the action or create a presumption that Indemnitee has not met the applicable standard of conduct."}
-{"idx": 4, "level": 3, "span": "(f) \nIndemnitee shall be deemed to have acted in good faith if Indemnitee’s action is based on the records or books of account of the Enterprise (as hereinafter defined), including financial statements, or on information supplied to Indemnitee by the officers of the Enterprise in the course of their duties, or on the advice of legal counsel for the Enterprise or on information or records given or reports made to the Enterprise by an independent certified public accountant or by an appraiser or other expert selected with reasonable care by the Enterprise. In addition, the knowledge and/or actions, or failure to act, of any director, officer, agent or employee of the Enterprise shall not be imputed to Indemnitee for purposes of determining the right to indemnification under this Agreement. Whether or not the foregoing provisions of this Section 6(f) are satisfied, it shall in any event be presumed that Indemnitee has at all times acted in good faith and in a manner he reasonably believed to be in or not opposed to the best interests of the Company. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence."}
-{"idx": 4, "level": 3, "span": "(g) \nNotwithstanding anything to the contrary set forth in this Agreement, if the person, persons or entity empowered or selected under Section 6 to determine whether Indemnitee is entitled to indemnification shall not have been appointed or shall not have made a determination within sixty (60) days after receipt by the Company of the request therefore, the requisite determination of entitlement to indemnification shall be deemed to have been made and Indemnitee shall be entitled to such indemnification, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s statement not materially misleading, in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law; provided, however, that such 60-day period may be extended for a reasonable time, not to exceed an additional thirty (30) days, if the person, persons or entity making such determination with respect to entitlement to indemnification in good faith requires such additional time to obtain or evaluate documentation and/or information relating thereto; and provided, further, that the foregoing provisions of this Section 6(g) shall not apply if the determination of entitlement to indemnification is to be made by the stockholders pursuant to Section 6(b) of this Agreement and if (A) within fifteen (15) days after receipt by the Company of the request for such determination, the Disinterested Directors resolve as required by Section 6(b)(iii) of this Agreement to submit such determination to the stockholders for their consideration at an annual meeting thereof to be held within seventy-five (75) days after such receipt and such determination is made thereat, or (B) a special meeting of stockholders is called within fifteen (15) days after such receipt for the purpose of making such determination, such meeting is held for such purpose within sixty (60) days after having been so called and such determination is made thereat."}
-{"idx": 4, "level": 3, "span": "(h) \nIndemnitee shall cooperate with the person, persons or entity making such determination with respect to Indemnitee’s entitlement to indemnification, including providing to such person, persons or entity upon reasonable advance request any documentation or information which is not privileged or otherwise protected from disclosure and which is reasonably available to Indemnitee and reasonably necessary to such determination. Any Independent Counsel or member of the Board or stockholder of the Company shall act reasonably and in good faith in making a determination regarding Indemnitee’s entitlement to indemnification under this Agreement. Any costs or expenses (including attorneys’ fees and disbursements) incurred by Indemnitee in so cooperating with the person, persons or entity making such determination shall be borne by the Company (irrespective of the determination as to Indemnitee’s entitlement to indemnification) and the Company hereby indemnifies and agrees to hold Indemnitee harmless therefrom."}
-{"idx": 4, "level": 4, "span": "(i) \nThe Company acknowledges that a settlement or other disposition, including a conviction or a plea of nolo contendere, short of final judgment may be successful if it permits a party to avoid expense, delay, distraction, disruption and uncertainty. In the event that any action, claim or proceeding to which Indemnitee is a party is resolved in any manner other than by adverse judgment against Indemnitee (including, without limitation, settlement of such action, claim or proceeding with or without payment of money or other consideration) it shall be presumed that Indemnitee has been successful on the merits or otherwise in such action, suit or proceeding, and it shall not create a presumption that the Indemnitee did not act in good faith and in a manner reasonably believed to be in or not opposed to the best interest of the Company or that, with respect to any criminal Proceeding, the Indemnitee had reasonable cause to believe that his conduct unlawful. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence.\n(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful.\n7. Remedies of Indemnitee.\n(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association. The Company shall not oppose Indemnitee’s right to seek any such adjudication.\n(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement.\n(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law.\n(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery.\n(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement. The Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be.\n8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation.\n(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing. No amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise.\n(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies. If, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies.\n(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 4, "level": 3, "span": "(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful."}
-{"idx": 4, "level": 2, "span": "7. Remedies of Indemnitee."}
-{"idx": 4, "level": 3, "span": "(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association\nThe Company shall not oppose Indemnitee’s right to seek any such adjudication."}
-{"idx": 4, "level": 3, "span": "(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement."}
-{"idx": 4, "level": 3, "span": "(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law."}
-{"idx": 4, "level": 3, "span": "(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery."}
-{"idx": 4, "level": 3, "span": "(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement\nThe Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be."}
-{"idx": 4, "level": 2, "span": "8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation."}
-{"idx": 4, "level": 3, "span": "(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing\nNo amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise."}
-{"idx": 4, "level": 3, "span": "(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies\nIf, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies."}
-{"idx": 4, "level": 3, "span": "(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 4, "level": 3, "span": "(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d)\nThe Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 4, "level": 3, "span": "(d) \nThe Company shall not be liable under this Agreement to make any payment of amounts otherwise indemnifiable hereunder if and to the extent that Indemnitee has otherwise actually received such payment under any insurance policy, contract, agreement or otherwise.\n(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise.\n9. Exception to Right of Indemnification. Notwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:\n(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or\n(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or\n(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 4, "level": 2, "span": "10. "}
-{"idx": 4, "level": 4, "span": "Retroactive Effect; Duration of Agreement; Successors and Binding Agreement. All agreements and obligations of the Company contained herein shall be deemed to have become effective upon the date Indemnitee first became an officer or director of the Company; shall continue during the period Indemnitee is an officer or a director of the Company (or is or was serving at the request of the Company as a director, officer, employee or agent of another corporation, partnership, joint venture, trust or other enterprise); and shall continue thereafter so long as Indemnitee may be subject to any Proceeding (or any proceeding commenced under Section 7 hereof) by reason of his Corporate Status, whether or not he is acting or serving in any such capacity at the time any liability or expense is incurred for which indemnification can be provided under this Agreement. This Agreement shall be binding upon and inure to the benefit of and be enforceable by the parties hereto and their respective successors (including any direct or indirect successor by purchase, merger, consolidation, reorganization or otherwise to all or substantially all of the business or assets of the Company), assigns, spouses, heirs, executors and personal and legal representatives. The Company shall require any such successor to all or substantially all of the business or assets of the Company, by agreement in form and substance satisfactory to Indemnitee and his counsel, expressly to assume and agree to perform this Agreement in the same manner and to the same extent the Company would be required to perform if no such succession had taken place. Except as otherwise set forth in this Section 10, this Agreement shall not be assignable or delegable by the Company.\n11. Security. To the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee.\n12. Enforcement.\n(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company.\n(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof.\n13. Definitions. For purposes of this Agreement:\n(a) “Change in Control” means the occurrence of any one of the following events:\n(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);\n(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;\n(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);\n(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or\n(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company.\nNotwithstanding the foregoing, a Change in Control shall not be deemed to occur solely because any person acquires beneficial ownership of 35% or more of the Company Voting Securities as a result of the acquisition of Company Voting Securities by the Company which reduces the number of Company Voting Securities outstanding; provided, that, if after such acquisition by the Company such person becomes the beneficial owner of additional Company Voting Securities that increases the percentage of outstanding Company Voting Securities beneficially owned by such person, a Change in Control shall then occur.\n(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company.\n(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee.\n(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary.\n(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding. Expenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee.\n(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder. Notwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 4, "level": 1, "span": "SIGNATURE PAGE TO FOLLOW\nIN WITNESS WHEREOF, the parties hereto have executed this Indemnification Agreement on and as of the day and year first above written."}
-{"idx": 4, "level": 2, "span": "11. Security\nTo the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee."}
-{"idx": 4, "level": 2, "span": "12. Enforcement."}
-{"idx": 4, "level": 3, "span": "(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company."}
-{"idx": 4, "level": 3, "span": "(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof."}
-{"idx": 4, "level": 2, "span": "13. Definitions\nFor purposes of this Agreement:"}
-{"idx": 4, "level": 3, "span": "(a) “Change in Control” means the occurrence of any one of the following events:"}
-{"idx": 4, "level": 4, "span": "(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);"}
-{"idx": 4, "level": 4, "span": "(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;"}
-{"idx": 4, "level": 4, "span": "(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);"}
-{"idx": 4, "level": 4, "span": "(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or"}
-{"idx": 4, "level": 4, "span": "(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company."}
-{"idx": 4, "level": 3, "span": "(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company."}
-{"idx": 4, "level": 3, "span": "(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee."}
-{"idx": 4, "level": 3, "span": "(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary."}
-{"idx": 4, "level": 3, "span": "(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding\nExpenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee."}
-{"idx": 4, "level": 3, "span": "(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder\nNotwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 4, "level": 3, "span": "(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise."}
-{"idx": 4, "level": 2, "span": "9. Exception to Right of Indemnification\nNotwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:"}
-{"idx": 4, "level": 3, "span": "(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or"}
-{"idx": 4, "level": 3, "span": "(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or"}
-{"idx": 4, "level": 3, "span": "(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 4, "level": 1, "span": "ULURU Inc."}
-{"idx": 4, "level": 1, "span": "By"}
-{"idx": 4, "level": 1, "span": ":/s/ Terrance K. Wallberg \nName: Terrance K. Wallberg \nTitle: Vice President & Chief Financial Officer "}
-{"idx": 4, "level": 1, "span": "INDEMNITEE"}
-{"idx": 4, "level": 1, "span": "/s/ Arindam Bose_________________________"}
-{"idx": 4, "level": 1, "span": "Arindam Bose\nAddress:"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_5.jsonl b/data/auto_parse/level_freeze/frozen/idx_5.jsonl
deleted file mode 100644
index 515a18e..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_5.jsonl
+++ /dev/null
@@ -1,267 +0,0 @@
-{"idx": 5, "level": 0, "span": "THIRD AMENDMENT TO MASTER LEASE\nTHIS THIRD AMENDMENT TO MASTER LEASE (this “Amendment”) is made and effective as of March 24, 2017 (the\n“Effective Date”), by and between GOLD MERGER SUB, LLC, a Delaware limited liability company, having an office at c/o Gaming and Leisure Properties, Inc., 845 Berkshire Blvd., Suite 200, Wyomissing, Pennsylvania 19610, as landlord\n(together with its permitted successors and assigns, “Landlord”), and PINNACLE MLS, LLC, a Delaware limited liability company, having an office at 3980 Howard Hughes Parkway, Las Vegas, Nevada 89169, as tenant (together with its\npermitted successors and assigns, “Tenant”)."}
-{"idx": 5, "level": 1, "span": "W I T N E S S E T H:\nWHEREAS, Pinnacle Entertainment, Inc. (as predecessor by merger to Landlord) (“Pinnacle”), as landlord, and\nTenant, as tenant, entered into that certain Master Lease, dated as of April 28, 2016, as amended by that certain First Amendment to Master Lease, dated as of August 29, 2016, by and between Landlord and Tenant, as further amended by that\ncertain Second Amendment to Master Lease, dated as of October 25, 2016, by and between Landlord and Tenant (as amended, the “Master Lease”; capitalized terms used and not otherwise defined herein shall have the respective\nmeanings ascribed to them in the Master Lease);\nWHEREAS, pursuant to that certain Merger Agreement, dated as of\nJuly 20, 2015, by and among Pinnacle, Landlord, and Gaming and Leisure Properties, Inc. (“GLPI”), as amended by that certain Amendment No. 1 to Agreement and Plan of Merger, dated as of March 25, 2016, by and among\nPinnacle, Landlord, and GLPI, Pinnacle merged with and into Landlord on April 28, 2016, and Pinnacle’s interest in the Master Lease was transferred to Landlord by operation of law;\nWHEREAS, Pinnacle, PNK Entertainment, Inc. (“PNK”), and GLPI entered into that certain Separation and\nDistribution Agreement, dated as of April 28, 2016 (the “SDA”), to effect the Reorganization and the Distribution (each as defined in the SDA);\nWHEREAS, pursuant to Section 2.5(b) of the SDA, PNK caused its subsidiary, PNK Vicksburg, LLC, to execute and deliver a\nquitclaim deed, dated as of April 28, 2016 (the “Original Vicksburg Deed”), in favor of Pinnacle Entertainment, Inc. (predecessor-in-interest to Landlord) for certain Pinnacle Real Property (as defined in the SDA) located in\nthe City of Vicksburg, Mississippi;\nWHEREAS, a portion of the Pinnacle Real Property located in the City of Vicksburg,\nMississippi (the “Additional Vicksburg Property”) was not included in the Original Vicksburg Deed and, pursuant to Section 6.1 of the SDA, PNK caused PNK Vicksburg, LLC to execute and deliver an additional quitclaim deed, dated\nas of the date hereof, in favor of Landlord for the Additional Vicksburg Property; and\nWHEREAS, Landlord and Tenant each\ndesire to amend the Master Lease to amend “Exhibit B” attached thereto to add the legal description of the Additional Vicksburg Property, as more fully described herein.\nNOW, THEREFORE, in consideration of the provisions set forth in the Master Lease\nas amended by this Amendment, including, but not limited to, the mutual representations, warranties, covenants and agreements contained therein and herein, and for other good and valuable consideration, the receipt and sufficiency of which are\nhereby respectively acknowledged, and subject to the terms and conditions thereof and hereof, the parties, intending to be legally bound, hereby agree that the Master Lease shall be amended as follows:"}
-{"idx": 5, "level": 2, "span": "ARTICLE I"}
-{"idx": 5, "level": 2, "span": "AMENDMENT OF\nEXHIBIT B TO THE MASTER LEASE\n1.1 The parties hereby agree that\n“Exhibit B” of the Master Lease shall be amended as follows:\n(a) On page B-76 of “Exhibit B” and with respect to\nAmeristar Vicksburg, the following text shall be inserted as a new paragraph after the end of the last paragraph of the legal description on page B-76, and such Land described below shall be Leased Property under the Master Lease:"}
-{"idx": 5, "level": 2, "span": "TRACT FIFTEEN\nThat certain\nparcel conveyed to Riverview Development Company, LLC by Delta Land Company, Inc. as recorded in Deed Book 1208 at Page 553 of the Land Records of Warren County, being part of Section 31, Township 16 North, Range 3 East, Vicksburg, Warren\nCounty, Mississippi, containing in the aggregate 0.22 acres, and being more particularly described as follows:\nCommencing at that certain\nVicksburg National Military Park Monument #379, run thence South 10 degrees 37 minutes 48 seconds East, 393.30 feet, more or less, to a found iron marking the northwest corner of the herein described tract and the point of beginning; from said point\nrun thence South 73 degrees 00 minutes 00 seconds East, 51.13 feet to the apparent westerly right of way of Washington Street, as it presently exists; thence along said apparent right of way, South 21 degrees 28 minutes 23 seconds West, 200.01 feet\nto a point; thence leaving said right of way and run North 54 degrees 00 minutes 00 seconds West, 52.00 feet to a point; thence run North 21 degrees 16 minutes 25 seconds East, 182.98 feet to the point of beginning, a plat whereof prepared by CTSI\nbeing attached hereto as Schedule 1.1 and incorporated herein in aid of description of the property herein described and conveyed and for all other purposes in the construction of this instrument.\n(b) “Exhibit B” to the Master Lease is hereby amended by inserting\nSchedule 1.1 attached hereto after the last page of “Exhibit B” to the Master Lease.\n1.2 For the avoidance of any doubt, the parties hereby agree that the attached Exhibit\nB incorporates and reflects the amendments set forth in Section 1.1 above and may be attached and affixed to the Master Lease as an amended and restated “Exhibit B”."}
-{"idx": 5, "level": 3, "span": "(b) “Exhibit B” to the Master Lease is hereby amended by inserting\nSchedule 1.1 attached hereto after the last page of “Exhibit B” to the Master Lease."}
-{"idx": 5, "level": 3, "span": "(a) On page B-76 of “Exhibit B” and with respect to\nAmeristar Vicksburg, the following text shall be inserted as a new paragraph after the end of the last paragraph of the legal description on page B-76, and such Land described below shall be Leased Property under the Master Lease:"}
-{"idx": 5, "level": 2, "span": "ARTICLE II"}
-{"idx": 5, "level": 2, "span": "AMENDMENT TO MEMORANDUM OF LEASE\nLandlord and Tenant shall enter into one or more amendments to any memorandum of lease which may be been recorded in accordance with Article\nXXXIII of the Master Lease, in form suitable for recording in each county in which a Leased Property is located which amendment is pursuant to this Amendment. Tenant shall pay all costs and expenses of recording any such amendment to memorandum of\nlease and shall fully cooperate with Landlord in removing from record any such memorandum of lease upon the expiration or earlier termination of the Term with respect to the applicable Facility."}
-{"idx": 5, "level": 2, "span": "ARTICLE III"}
-{"idx": 5, "level": 2, "span": "AUTHORITY\nTO ENTER INTO AMENDMENT\nEach party represents and warrants to the other that: (i) this Amendment and all other documents\nexecuted or to be executed by it in connection herewith have been duly authorized and shall be binding upon it; (ii) it is duly organized, validly existing and in good standing under the laws of the state of its formation and is duly authorized\nand qualified to perform this Amendment and the Master Lease, as amended hereby, within the State(s) where any portion of the Leased Property is located, and (iii) neither this Amendment or the Master Lease, as amended hereby, nor any other\ndocument executed or to be executed in connection herewith, violates the terms of any other agreement of such party."}
-{"idx": 5, "level": 2, "span": "ARTICLE IV"}
-{"idx": 5, "level": 2, "span": "MISCELLANEOUS\n4.1 Costs and Expenses; Fees. Each party shall be responsible for and\nbear all of its own expenses incurred in connection with pursuing or consummating this Amendment and the transactions contemplated by this Amendment, including, but not limited to, fees and expenses, legal counsel, accountants, and other\nfacilitators and advisors.\n4.2 Choice of Law and Forum Selection\nClause. This Amendment shall be construed and interpreted, and the rights of the parties shall be determined, in accordance with the substantive Laws of the State of New York without regard to the conflict of law principles thereof or of any\nother jurisdiction\n4.3 Counterparts; Facsimile Signatures This\nAmendment may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one and the same instrument. In proving this Amendment, it shall not be necessary to produce or account for\nmore than one such counterpart signed by the party against whom enforcement is sought. Any counterpart may be executed by facsimile or pdf signature and such facsimile or pdf signature shall be deemed an original.\n4.4. No Further Modification. Except as modified hereby, the Master\nLease remains in full force and effect.\n[SIGNATURE PAGE TO\nFOLLOW]"}
-{"idx": 5, "level": 1, "span": "IN WITNESS WHEREOF"}
-{"idx": 5, "level": 2, "span": "SECTION 12: NORTH HALF (N 1/2) OF THE NORTHEAST QUARTER (NE 1/4) OF THE NORTHWEST QUARTER (NW 1/4) OF THE\nNORTHWEST QUARTER (NW 1/4); AND THE NORTHWEST QUARTER (NW 1/4) OF THE NORTHWEST QUARTER (NW 1/4) OF THE NORTHEAST QUARTER (NE 1/4) OF THE NORTHWEST QUARTER (NW 1/4);"}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THAT PORTION OF SECTION 12 LYING ADJACENT AND CONTIGUOUS TO THE ABOVE DESCRIBED PARCELS OF LAND AS ABANDONED BY RESOLUTION OF\nABANDONMENT DATED OCTOBER 19, 1981, EXECUTED BY THE STATE OF NEVADA, DEPARTMENT OF TRANSPORTATION AND RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 636, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "EXCEPTING THEREFROM THAT CERTAIN PARCEL OF LAND CONVEYED TO THE UNINCORPORATED TOWN OF JACKPOT BY DEED RECORDED JUNE 24, 1982, IN BOOK 394,\nPAGE 107, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "PARCEL 8:"}
-{"idx": 5, "level": 2, "span": "LOT 1 OF THE REVISED FIRST ADDITION, TOWN OF JACKPOT, AS SHOWN ON THE OFFICIAL MAP THEREOF FILED IN THE OFFICE OF THE COUNTY RECORDER OF ELKO\nCOUNTY, STATE OF NEVADA, ON MARCH 29, 1976, AS FILE NO. 97220."}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THAT PORTION OF SECTION 1, TOWNSHIP 47 NORTH, RANGE 64 EAST,\nMDB&M., WHICH LIES ADJACENT AND CONTIGUOUS TO THE ABOVE DESCRIBED PARCEL, AS ABANDONED BY RESOLUTION OF ABANDONMENT\nEx. B-14"}
-{"idx": 5, "level": 2, "span": "DATED OCTOBER 19, 1981, EXECUTED BY THE STATE OF NEVADA, DEPARTMENT OF TRANSPORTATION AND RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 636, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "PARCEL 9:"}
-{"idx": 5, "level": 2, "span": "LOT 17-A OF THE\nREVISED FIRST ADDITION, TOWN OF JACKPOT, AS SHOWN ON THE OFFICIAL MAP THEREOF FILED IN THE OFFICE OF THE COUNTY RECORDER OF ELKO COUNTY, STATE OF NEVADA, ON MARCH 29, 1976, AS FILE NO. 97220."}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THAT PORTION OF SECTION 1, TOWNSHIP 47 NORTH, RANGE 64 EAST, MDB&M., WHICH LIES ADJACENT AND CONTIGUOUS TO THE ABOVE\nDESCRIBED PARCEL, AS ABANDONED BY RESOLUTION OF ABANDONMENT EXECUTED BY THE STATE OF NEVADA, DEPARTMENT OF TRANSPORTATION AND RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 636, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "FURTHER EXCEPTING THEREFROM THAT PORTION OF LOT 17-A WHICH IS SITUATE WITHIN THE 60.00 FOOT RIGHT OF WAY, ALONG AND CONTIGUOUS TO THE EASTERLY\nBOUNDARY OF U.S. HIGHWAY 93, AS CONVEYED TO THE STATE OF NEVADA BY DEED RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 642, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "NOTE: ALL THE ABOVE METES AND BOUNDS DESCRIPTIONS PREVIOUSLY APPEARED IN THAT CERTAIN DOCUMENT RECORDED APRIL 18, 2011 AS INSTRUMENT 639017\nELKO COUNTY OFFICIAL RECORDS."}
-{"idx": 5, "level": 2, "span": "PARCEL 10:"}
-{"idx": 5, "level": 2, "span": "LOT 16 OF THE REVISED FIRST ADDITION, TOWN OF JACKPOT, AS SHOWN ON THE OFFICIAL MAP THEREOF FILED IN THE OFFICE OF THE COUNTY RECORDER OF ELKO\nCOUNTY, STATE OF NEVADA, ON MARCH 29, 1976, AS FILE NO. 97220.\nEx. B-15"}
-{"idx": 5, "level": 3, "span": "Belterra Resort\nTract 1:\nA part of Section 1, Township 1 North, Range 2 West, located in York Township of Switzerland County, Indiana, described\nas follows: Commencing at the Northwest corner, fractional Section 1, Township 1 North, Range 2 West; thence South 88 degrees 41 minutes 00 seconds East 2801.00 feet (deed); thence South 02 degrees 55 minutes 00 West 1265.00 feet (deed) to an\niron bar found being the actual Point of Beginning; thence continuing South 02 degrees 55 minutes 00 seconds West 270.00 feet to a P.K. Nail found in the centerline of State Road 156; thence along said centerline North 88 degrees 41 minutes 00\nseconds West, 175.00 feet to a P.K. Nail set; thence North 02 degrees 55 minutes 00 seconds East, 270.00 feet to a T-Bar set; thence South 88 degrees 41 minutes 00 seconds East 175.00 feet to the Point of Beginning.\nTract 2:\nBeing a part of fractional Section 1, Township 1 North, Range 2 West in Switzerland County, Indiana; beginning on the\nNorth-South Quarter Section line at a United States Army Corps of Engineers Marker that is 1,266.73 feet South of its intersection with the center line of State Highway No. 156, running thence South 77 degrees West 198 feet along the U.S.\nGovernment property and marked by an iron stake; thence North 8 degrees West 143 feet to an iron stake in a garden fence; thence South 90 degrees East, 214 feet to the Quarter Section line; thence South 90 feet to the Place of Beginning.\nTogether with right of ingress and egress over the present existing highway leading to and from the above-described tract of\nland to Indiana State Highway No. 156.\nTract 3:\nBeing a part of fractional Section 1, Township 1 North, Range 2 West and part of Section 36, Township 2 North, Range\n2 West of the First Principal Meridian located in York Township of Switzerland County, Indiana, and being part of Tract 3 of the Daniel Vincent Dufour Real Estate Partition as recorded in the complete record of the Probate Court of Switzerland\nCounty, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and further described as follows: Commencing at an iron pin at the Northwest corner of Section 1, Township 1 North, Range 2 West, thence North\n89 degrees 49 minutes 48 seconds East with the North line of said Section 1, 398.91 feet to a rebar in the line dividing Tract 3 and Tract 4 of the Daniel Vincent Dufour real estate partition and the true Point of Beginning; thence North 00\ndegrees 26 minutes 26 seconds West with the prolongation of the line dividing Tract 3 and Tract 4 of said Dufour’s partition, and along the West boundary of the parent tract of land (Hunt\nEx. B-16\nD.R. 88, P. 50), 14.94 feet to a rebar; thence severing said parent tract of land the following eight courses and distances: North 52 degrees 09 minutes 19 seconds East, 204.19 feet to a rebar;\nthence South 86 degrees 28 minutes 37 seconds East, 69.95 feet to a rebar; thence South 86 degrees 18 minutes 27 seconds East, 49.04 feet to a rebar; thence South 24 degrees 23 minutes 06 seconds East, 38.12 feet to a rebar; thence South 00 degrees\n06 minutes 26 seconds West, 129.95 feet to a rebar; thence South 43 degrees 29 minutes 26 seconds East, 212.31 feet to a rebar; thence South 85 degrees 14 minutes 06 seconds East, 360.23 feet to a rebar; thence North 83 degrees 22 minutes 31 seconds\nEast, 151.68 feet to a rebar in the line dividing Tract 2 and 3 of said Dufour’s partition, said point along being in the boundary of said Hunt parent Tract of land; thence with the boundary of said parent Tract of land the following three\ncourses: South 00 degrees 03 minutes 18 seconds East, 428.78 feet to rebar; thence South 89 degrees 49 minutes 57 seconds West, 942.57 feet to a rebar in the line dividing Tract 3 and Tract 4 of said Dufour’s partition; thence North 00 degrees\n26 minutes 28 seconds West with said line, 646.46 feet to the Point of Beginning.\nTract 4:\nBeing a part of fractional Section 1 and fractional Section 2, Township 1 North, Range 2 West and part of\nSection 35, Township 2 North, Range 2 West of the first principal meridian and located in York Township of Switzerland County, Indiana, and being part of Tract 4 of the Daniel Vincent Dufour’s real estate partition as recorded in the\ncomplete record of the Probate Court of Switzerland County, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and further described as follows:\nBeginning at an iron pin at the Northwest corner of Section 1, Township 1 North, Range 2 West, thence with the boundary\nof the Thomas J. and Christine R. McClain property (D.R. 88, P. 175) the following six courses and distances: North 89 degrees 49 minutes 48 seconds East with the North line of said Section 1 and the North line of said Tract 4, 398.91 feet to a\nrebar; thence South 00 degrees 26 minutes 28 seconds East with the East line of said Tract 4 and the East line of said McClain property, 327.11 feet to a rebar; thence South 89 degrees 46 minutes 06 seconds West, 957.20 feet to a rebar; thence North\n00 degrees 26 minutes 28 seconds West, 324.55 feet to a rebar; thence South 84 (89 degrees per survey) degrees 27 minutes 40 seconds West, 189.39 feet to a rebar; thence North 00 degrees 12 minutes 39 seconds East, 783.23 feet to the center of a\ncreek; thence with the center of said creek the following four courses: South 74 degrees 45 minutes 05 seconds East, 339.67 feet; thence South 74 degrees 10 minutes 51 seconds East 165.15 feet; thence North 47 degrees 44 minutes 59 seconds East\n328.51 feet; thence North 75 degrees 25 minutes 39 seconds East, 19.27 feet, thence South 00 degrees 14 minutes 28 seconds West with the East line of said Section 35 and continuing along the boundary of said McClain Tract, 867.58 feet to the\nPoint of Beginning.\nEx. B-17\nTract 5:\nBeing a part of fractional Section 1, Township 1 North, Range 2 West of the First Principal Meridian, and located in York\nTownship of Switzerland County, Indiana and being part of Tract 4 of the Daniel Vincent Dufour real estate partition as recorded in the complete record of the Probate Court of Switzerland County, Indiana, in Order Book from September term 1850 to\nJuly term 1853 in pages 51, 52, 53 and 54 and further described as follows:\nCommencing at an iron pin at the Northwest\ncorner of Section 1, Township 1 North,\nRange 2 West, thence North 89 degrees 49 minutes 48 seconds East with the\nNorth line of said Section 1 and the North line of said Tract 4, 398.91 feet to a rebar at the Northeast corner of said Tract 4; thence South 00 degrees 26 minutes 28 seconds East with the East line of said Tract 4, 327.11 feet to the Point of\nBeginning; thence continuing South 00 degrees 26 minutes 28 seconds East with the East line of said Tract 4 and the East line of the Tom McClain property (D.R. 91, P. 146), 282.00 feet to a rebar; thence with the Southerly and Westerly boundary of\nsaid McClain property the following three courses and distances: North 75 degrees 07 minutes 18 seconds West, 156.62 feet to a rebar; thence North 35 degrees 26 minutes 28 seconds West, 103.81 feet to a rebar; thence North 00 degrees 26 minutes 28\nseconds West, 156.35 feet to a rebar; thence North 89 degrees 46 minutes 06 seconds East with the Northerly line of said McClain property, 210.60 feet to the Point of Beginning.\nTract 6:\nBeing a part of the Northeast Quarter of fractional Section 1, Township 1 North, Range 2 West, York Township, Switzerland\nCounty, Indiana, described as follows: Commencing at a corner post at the Northwest corner of fractional Section 1; thence South 88 degrees 41 minutes 00 seconds East (assumed bearing), 2801.00 feet to a point in the center of Log Lick Creek;\nthence South 02 degrees 55 minutes 00 seconds West, 1168.00 feet to a corner post and the actual Point of Beginning; thence South 88 degrees 41 minutes 00 seconds East, 237.00 feet to a stake; thence South 02 degrees 55 minutes 00 seconds West,\n367.00 feet to a steel nail in the centerline of State Highway No. 156; thence with the highway centerline, North 88 degrees 41 minutes 00 seconds West 237.00 feet to a steel nail; thence leaving the road, North 02 degrees 55 minutes 00 seconds\nEast, 367.00 feet to the Point of Beginning.\nTract 7:\nEx. B-18\nBeing a part of fractional Section 1 and fractional Section 2, Township\n1 North, Range 2 West of the First Principal Meridian located in York Township of Switzerland County, Indiana, and a part of Tract No. 3 and Tract No. 4 of the partition of the real estate of Daniel Vincent Dufour among his children as\nrecorded in the complete record of the Probate Court of Switzerland County, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and further described as follows:\nCommencing at a concrete monument found in place at the Northeast corner of said Section 1, Township 1 North, Range 2\nWest; thence South 89 degrees 49 minutes 48 seconds West a distance of 3996.57 feet, passing through an iron pin with cap in line at 2165.72 feet, with the North line of said Section 1 to an iron pin and cap at the Northwest corner of Tract 2\nof said Daniel Vincent Dufour partition; thence South 00 degrees 03 minutes 18 seconds East a distance of 646.50 feet along a common line dividing Tract 2 and Tract 3 in said Daniel Vincent Dufour partition to an iron pin with cap and the true Point\nof Beginning; thence continuing South 00 degrees 03 minutes 18 seconds East a distance of 929.20 feet along a common line dividing Tract 2 and Tract 3 in said Daniel Vincent Dufour partition to a railroad spike in the centerline of Indiana State\nRoad 156; thence continuing South 00 degrees 03 minutes 18 seconds East a distance of 1412.39 feet with said common line dividing Tract 2 and Tract 3 to an existing Corps of Engineers concrete monument in the Northern line of the lands of the United\nStates of America, Deed Book 54, page 144; thence South 88 degrees 39 minutes 24 seconds West a distance of 726.36 feet with the Northern line of the Land of the United States of America to an iron pin with cap; thence North 81 degrees 12 minutes 36\nseconds West a distance of 203.14 feet with said Northern line to an existing Corps of engineers concrete monument; thence North 00 degrees 26 minutes 28 seconds West a distance of 1399.32 feet along a common line with the Webster Family Limited\nPartnership, Deed Book 104, page 79, and the Diuguid Family Limited Partnership, Deed Book 104, page 80, and passing through a steel T-Bar found in place 963.58 feet at the Southeast corner of a 2.0000 acre Tract, to a Steel Nail (P.K.) found in\nplace in the center of Indiana State Road 156; thence North 88 degrees 44 minutes 40 seconds West a distance of 957.62 feet to a Steel Nail set in the center of Indiana State Road 156; thence North 00 degrees 26 minutes 28 seconds West a distance of\n1220.07 feet passing through an iron pin with cap set in line at 30.00 feet, and continuing along a common line with the Webster Family Limited Partnership, Deed Book 104, page 79 and the Diuguid Family Limited Partnership, Deed Book 104, page 80,\nand the line dividing Tract 4 and Tract 5 in said Daniel Vincent Dufour Partition, to an iron pin with cap set by a stone (broken) found in place; thence North 89 degrees 46 minutes 06 seconds East a distance of 746.60 feet along a common line with\nThomas J. McClain and Christine R. McClain Deed Book 86, page 175 to an iron pin with cap set in the center of a gravel township road; thence along a common line with other lands of said McClain, Deed Book 91, page 146, the following\n(3) courses and distances; South 00 degrees 26 minutes 28 seconds East a distance of 156.35 feet to an iron pin with cap; South 35 degrees 26 minutes 28 seconds East a distance of 103.81 feet to an iron pin with cap; South 75 degrees 07 minutes\n18\nEx. B-19\nseconds East a distance of 156.62 feet to an iron pin with cap on the East side of said township road; thence South 00 degrees 26 minutes 28 seconds East a distance of 37.39 feet along a common\nline with David and Cassandra Hunt, Deed Book 88, page 50 and the common line dividing Tract 3 and Tract 4 in said Daniel Vincent Dufour partition to an iron pin with cap; thence North 89 degrees 49 minutes 48 seconds East a distance of 942.57 feet\nalong a line common with said David and Cassandra Hunt to an iron pin with cap and the Point of Beginning.\nExcepting\ntherefrom that portion thereof conveyed to “Hoosier Energy Rural Electric Cooperative, Inc., an Indiana Corporation”, by Warranty Deed recorded April 7, 2000 in Deed Book 110, page 171, being a part of Fractional Section 2,\nTownship 1 North Range 2 West, First Principal Meridian, York Township, Switzerland County, Indiana, more particularly described as follows:\nCommencing at an iron pin found at the Northeast corner of Section 2, Township 1 North, Range 2 West, Switzerland County,\nIndiana; thence South 00 degrees 26 minutes 28 seconds East 327.55 feet to the North line of a 76.268 acre Tract as described in Deed Record 109, page 132 in the Office of the Recorder; thence with the North line of said 76.268 acre tract, South 89\ndegrees 46 minutes 06 seconds West 558.30 feet to an iron pin found next to a stone; thence with the West line of said 76.268 acre Tract; South 00 degrees 26 minutes 28 seconds East, 1220.07 feet (passing an iron pin found at 1190.07 feet) to a nail\nfound in the centerline of State Road 156; thence with the centerline of said road South 88 degrees 44 minutes 40 seconds East 15.00 feet to the Place of Beginning; thence North 00 degrees 26 minutes 28 seconds West 330.00 feet (passing a 5/8”\nrebar with cap set at 30.01 feet) to a 5/8” rebar with cap set; thence South 88 degrees 44 minutes 40 seconds East 140.00 feet to a 5/8” rebar with cap set; thence South 00 degrees 26 minutes 28 seconds East 180.00 feet to a 5/8”\nrebar with cap set; thence North 88 degrees 44 minutes 40 seconds West 90.00 feet to a 5/8” rebar with cap set; thence South 00 degrees 26 minutes 28 seconds East 150.00 feet (passing a 5/8” rebar with cap set at 119.99 feet) to the\ncenterline of State Road 156; thence with said centerline, North 88 degrees 44 minutes 40 seconds West 50.00 feet to the Place of Beginning.\nTract 8:\nA part of Section 1, Township 1 North, Range 2 West, York Township, Switzerland County, Indiana, described as follows:\nBeginning in the centerline of State Road 156 at the Northeast corner of the Southwest Quarter, Section 1, Township\n1 North, Range 2 West; hence South 01 degree 33 minutes 32 seconds West 1064.75 feet to a railroad spike found; thence North 89 degrees 00 minutes 00 seconds West 214.00 feet to a rebar set; thence\nEx. B-20\nSouth 08 degrees 00 minutes 00 seconds East 143.00 feet to a rebar set; thence South 75 degrees 57 minutes 47 seconds West 210.10 feet; thence South 81 degrees 32 minutes 12 seconds West 550.62\nfeet to a concrete monument; thence South 86 degrees 25 minutes 25 seconds West 568.58 to a concrete monument; thence North 01 degree 24 minutes 35 seconds East 1412.95 feet to a nail set in the centerline of State Road 156; thence along said\ncenterline South 88 degrees 22 minutes 08 seconds East 1504.80 feet to the Point of Beginning.\nTract 9:\nBeing part of the Northwest Quarter of fractional Section 1, Township North, Range 2 West, York Township, Switzerland\nCounty, Indiana, described as follows: Commencing at a corner post at the Northwest corner of said fractional Section 1, thence South 88 degrees 41 minutes East, (assumed bearing), 2801.00 feet to a point in the center of Log Lick Creek; thence\nSouth 02 degrees 55 minutes West, 1265.00 feet to a stake in a fence line and the actual Place of Beginning; thence continuing South 02 degrees 55 minutes West, 270.00 feet to a steel nail in the centerline of State Highway No. 156; thence with\nthe center of said Highway North 88 degrees 41 minutes West, 350.00 feet to a steel nail; thence leaving the highway North 02 degrees 55 minutes East, 270.00 feet to a stake; thence South 88 degrees 41 minutes East, 350.00 feet to the Place of\nBeginning.\nExcepting therefrom, a part of Section 1, Township 1 North, Range 2 West, located in York Township of\nSwitzerland County, Indiana, described as follows: Commencing at the Northwest corner, fractional Section 1, Township 1 North, Range 2 West; thence South 88 degrees 41 minutes 00 seconds East 2801.00 feet (deed); thence South 02 degrees 55\nminutes 00 seconds West 1265.00 feet (deed), to an iron bar found being the actual Point of Beginning; thence continuing South 02 degrees 55 minutes 00 seconds West 270.00 feet to a P.K. Nail found in the centerline of State Road 156; thence along\nsaid centerline North 88 degrees 41 minutes 00 seconds West 175.00 feet to a P.K. Nail set; thence North 02 degrees 55 minutes 00 seconds East 270.00 feet to a T-Bar set; thence South 88 degrees 41 minutes 00 seconds East 175.00 feet to the Point of\nBeginning.\nTract 10:\nLeasehold estate pursuant to a certain lease dated December 11, 1998 by and between the Webster Family Limited\nPartnership and The Diuguid Family Limited Partnership as landlord and Pinnacle Gaming Development Corp. as tenant as set out in a memorandum of lease recorded December 30, 1998 in Miscellaneous Record AA, page 148, as assigned to Belterra\nResort Indiana, LLC by assignment recorded December 15, 2000 in Miscellaneous Record CC, page 182 with respect to the following real estate:\nEx. B-21\nBeing part of fractional Section 1, Township 1, North, Range 2 West of the\nfirst principal meridian located in York Township of Switzerland County, Indiana and a part of Tract No. 1 of the partition of the real estate of Daniel Vincent Dufour among his children as recorded in the complete record of the Probate Court\nof Switzerland County, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and is further described as follows:\nCommencing at a concrete monument found in place at the Northeast corner of said Section 1, Township 1 North, Range 2\nWest; thence South 89 degrees 49 minutes 48 seconds West a distance of 1140.71 feet with the North line of said Section 1 to a point; thence South 00 degrees 00 minutes 27 seconds East a distance of 350.47 feet to a point in the center of Log\nLick Creek and the true Point of Beginning; thence continuing South 00 degrees 00 minutes 27 seconds East a distance of 3093.92 feet, passing through concrete monuments found in line at 33.25 feet, 708.25 feet, 1202.08 feet, 1773.20 feet, 2393.28\nfeet respectively and through an iron pin with cap found in line at 1262.08 feet and a stone found in line at 2747.80 feet, along a common line in part with the lands now or formerly owned by William L. Martin and Vernon Martin, Deed Book 89, page\n154 in the Records of Switzerland County, Indiana, and along a common line in part with the lands now or formerly owned by James O. Chaskel Deed Book 90, page 292 in said records, to a point in the Ohio River and in the Indiana-Kentucky Stateline as\nestablished by the Supreme Court of the United States, October term 1985, No. 81, (see Kentucky’s V. Indiana, Orig. No. 81 joint Exhibit No. 50); thence downstream with said Indiana-Kentucky stateline the following three courses\nand distances; South 75 degrees 07 minutes 19 seconds West a distance of 211.68 feet to a point; South 72 degrees 59 minutes 38 seconds West a distance of 708.68 feet to a point; South 72 degrees 37 minutes 29 seconds West a distance of 159.59 feet\nto a point; thence North 00 degrees 00 minutes 27 seconds West a distance of 1125.10 feet, passing through a concrete monument found in line at 974.79 feet along a common line with the lands of the United States of America, Deed Book 55, page 7 in\nsaid records, to a Corps of Engineers concrete monument; thence South 70 degrees 43 minutes 28 seconds West a distance of 336.38 feet along a common line with said lands of the United States of America to a Corps of Engineers concrete monument;\nthence North 00 degrees 00 minutes 27 seconds West a distance of 1155.39 feet along a common line in part with the lands of Walter and Thelma Earls, Deed Book 95, page 111 in said records and then in line with the lands of John and Dorothy Keaton,\nDeed Book 96, page 353 in said records, passing through a railroad spike found in line at 90.00 feet and an iron pin with cap found in line at 1125.39 feet to a point in the center of Indiana State Road 156; thence along common lines with the lands\nof Raymond and and Evelyn Hatton, Deed Book 82, page 320 in said records the following three (3) courses and distances: North 89 degrees 55 minutes 36 seconds East a distance of 237.00 feet, passing through a steel nail found at 1.08 feet to a\npoint in the center of said highway North 00 degrees 00 minutes 27 seconds West a distance of 367.00 feet, passing through a monument found in line\nEx. B-22\nat 30.00 feet, to a found iron pin; South 89 degrees 55 minutes 36 seconds West a distance of 237.00 feet to a found concrete monument; thence North 00 degrees 00 minutes 27 seconds West a\ndistance of 1169.05 feet along a common line with the lands of Webster, Dirguid and Showers, Deed Book 99, page 150, Deed Book 101, Page 162 and Deed Book 107 page 112 in said records, passing through a concrete monument found in line at 433.40\nfeet, an iron pin and cap found in line at 870.84 feet, a concrete monument found in line at 1134.34 feet, to a point in the center of Log Lick Creek; thence upstream with the center of Log Lick Creek and its meanders and along a common line in part\nwith said Webster, Dirguid and Showers and along a common line in part with Brichto and Stewart, Deed Book 106, page 276, the following twelve (12) courses and distances; North 88 degrees 44 minutes 27 seconds East a distance of 103.41 feet to\na point; South 36 degrees 27 minutes 11 seconds East a distance of 183.51 feet to a point; North 87 degrees 03 minutes 47 seconds East a distance of 83.49 feet to a point; North 49 degrees 37 minutes 18 seconds East a distance of 138.52 feet to a\npoint; South 73 degrees 53 minutes 44 seconds East a distance of 205.55 feet to a point; South 68 degrees 56 minutes 45 seconds East a distance of 254.82 feet to a point; South 22 degrees 22 minutes 14 seconds East a distance of 247.58 feet to a\npoint; South 46 degrees 36 minutes 50 seconds East a distance of 69.18 feet to a point; South 88 degrees 32 minutes 11 seconds East a distance of 51.50 feet to a point; North 36 degrees 59 minutes 31 seconds East a distance of 150.14 feet to a\npoint; North 63 degrees 41 minutes 37 seconds East a distance of 74.63 feet to a point; North 82 degrees 08 minutes 29 seconds East a distance of 164.08 feet to the point of beginning.\nTract 11:\nLeasehold estate pursuant to a certain lease dated December 11, 1998 by and between Daniel Webster, Marsha S. Webster and\nWilliam G. Diuguid, Sarah T. Diuguid, J.R. Showers III and Carol A. Showers as landlord and Pinnacle Gaming Development Corp. as tenant as set out in a memorandum of lease recorded December 30, 1998 in Miscellaneous Record AA, page 149, as\nassigned to Belterra Resort Indiana, LLC by assignment recorded December 15, 2000 in Miscellaneous Record CC, page 181 with respect to the following real estate:\nBeing part of fractional Section 1 Township 1 North, Range 2 West of the first principal meridian located in York\nTownship of Switzerland County, Indiana, and a part of Tract No. 1 and Tract No. 2 of the partition of the real estate of Daniel Vincent Dufour among his children as recorded in the complete record of the Probate Court of Switzerland\nCounty, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and is further described as follows:\nCommencing at a concrete monument found in place at the Northeast corner of said Section 1, Township 1 North, Range 2\nWest; thence South 89 degrees 49 minutes 48 seconds West a distance of 2165.72 feet with the North line of said\nEx. B-23\nSection 1 to an iron pin and cap at the true Point of Beginning; thence South 00 degrees 12 minutes 24 seconds West a distance of 159.92 feet along a line common with Brichto and Stewart,\nDeed Book 106, page 276 in the records of Switzerland County, Indiana, and passing through an iron pin and cap set in line at 110.00 feet, to a point in the center of Log Lick Creek; thence downstream with the meanders of said creek and along a line\nin common with the Webster Family Limited Partnership, Deed Book 104, page 79 (Parcel One) and the Diuguid Family Limited Partnership, Deed Book 104, page 80 (Parcel One) the following four (4) courses and distances; South 49 degrees 37 minutes\n18 seconds West a distance of 40.64 feet to a point; South 87 degrees 03 minutes 47 seconds West a distance of 83.49 feet to a point; North 36 degrees 27 minutes 11 seconds West a distance of 183.51 feet to a point; South 88 degrees 44 minutes 27\nseconds West a distance of 103.47 feet to a point; thence leaving said creek and in part along a line common with the lands of said Webster Family and Diugiud Family Partnerships and in part along a line common with the lands of Raymond and Evelyn\nHatton, Deed Book 82, page 320 in said records, South 00 degrees 00 minutes 27 seconds East a distance of 1266.05 feet, passing through concrete monuments found in line on the South bank of the creek at 34.66 feet, an iron pin with cap at 298.06\nfeet, a concrete monument at 735.65 and a concrete monument at 1169.05 feet at the Northwest corner of the lands of said Raymond and Evelyn Hatton, to an iron pin with cap set in line with said Hatton and at the Northeast corner of the lands of\nTheresa and Mitchell Barnes, Deed Book 107, page 31 in said records; thence North 89 degrees 59 minutes 45 seconds West a distance of 350.00 feet in part along a common line with the lands of said Barnes and in part along a common line with the\nlands of John and Carolyn Hendrickson, Deed Book 99, page 48 in said records to an iron pin with cap at the Northwest corner of said lands of Hendrickson; thence South 00 degrees 00 minutes 27 seconds East a distance of 270.00 feet along a line\ncommon with the lands of said Hendrickson to a steel nail set in the center of Indiana State Road 156 in the North line of the lands of John and Dorothy Keeton, Deed Book 96, page 353 in said records; thence North 89 degrees 59 minutes 45 seconds\nWest a distance of 1152.19 feet along a line common with the lands of said Keeton to a railroad spike set in the center of said Indiana State Road 156 at the Northwest corner of the lands of said Keeton and in the Eastern line of the lands of Harold\nand Delores Fletcher, Deed Book 96, page 115 in said records and also in the line common to Tract No. 2 and Tract No. 3 of aforesaid Daniel Vincent Dufour partition; thence North 00 degrees 03 minutes 18 seconds West a distance of 1575.70\nfeet along a line common with said Tract No. 2 and Tract No. 3 and in part along a common line with the lands of said Fletcher and in part along a line common with the lands of David and Cassandra Hunt, Deed Book 88, page 50, to an iron\npin with cap in the North line of aforesaid Section 1; thence North 89 degrees 49 minutes 48 seconds East a distance of 1830.85 feet with the North line of said Section 1 and in part along a common line with the lands of said David and\nCassandra Hunt and in part along a common line with the lands of Miles and Betty Hunt, Deed Book 106, page 236, to the Point of Beginning.\nEx. B-24\nEx. B-25"}
-{"idx": 5, "level": 3, "span": "Ogle Haus"}
-{"idx": 5, "level": 2, "span": "TRACT I:\nA part of Fractional\nSection 23, Township 2 North, Range 3 West of the First Principal Meridian, located in Jefferson Township of Switzerland County, Indiana described as follows:\nCommencing at the Northwest corner of Section 23, Township 2 North, Range 3 West; thence South 910.80 feet (See Deed Record 71, page 154)\nto a reference point; thence South 33 degrees 07 minutes 02 seconds East 706.20 feet to a railroad spike, found this survey, marking the Northwest corner of the McCae Corporation property (Deed Record 84, page 4); thence North 58 degrees 05 minutes\n00 seconds East along the centerline of State Road Number 56 and the Northern line of the McCae tract 363.00 feet to a railroad spike, found this survey, marking the Northeast corner of the McCae tract and being the true point of beginning of this\nsurvey; thence North 58 degrees 05 minutes 00 seconds East, continuing along said centerline, 349.20 feet to a p.k. nail set this survey; thence South 31 degrees 52 minutes 19 seconds East, coincident with the West line of the David Hankins property\n(Deed Record 74, page 107) 791.77 feet to the low water mark (elevation 421.00 feet) of the Ohio River; thence South 54 degrees 49 minutes 22 seconds West with the low water line of said river (being the 421.00 feet in elevation contour line) 331.95\nfeet; thence North 33 degrees 07 minutes 47 seconds West with the East line of the McCae tract 810.80 feet to the point of beginning, containing 6.261 acres, more or less."}
-{"idx": 5, "level": 2, "span": "TRACT II:\nA part of the\nFractional Section 23, Township 2 North, Range 3 West of the First Principal Meridian located in Jefferson Township of Switzerland County, Indiana, described as follows:\nCommencing at the Northwest corner of Section 23, Township 2 North, Range 3 West; thence South 910.00 feet; thence South 33 degrees 07\nminutes 02 seconds East 706.20 feet; thence North 58 degrees 05 minutes 00 seconds East with the centerline of State Road 56, 712.20 feet to a p.k. nail, the point of beginning; thence continuing with said centerline North 58 degrees 05 minutes 00\nseconds East 182.10 feet to a nail; thence South 31 degrees 49 minutes 20 seconds East 781.45 feet; thence South 54 degrees 49 minutes 42 seconds West with the low water line of the Ohio River 181.72 feet; thence North 31 degrees 52 minutes 19\nseconds West 791.77 feet to the point of beginning, containing 3.2822 acres, more or less.\nEx. B-26"}
-{"idx": 5, "level": 3, "span": "Ameristar Council Bluffs\nParcel 1:\nA parcel of land being part of Government Lots 2 and\n3 and the adjacent abandoned River Road right of way, all located in Section 4, Township 74N, Range 44W of the 5th P.M., Pottawattamie County, Iowa, in the City of Council Bluffs, Iowa, which is more particularly described as follows:\nCommencing at the center of said Section 4, thence N 88°08’15” W 597.51 feet to the point of beginning; thence along a meander of the\nordinary high water of the Missouri River on the following four courses: (1) N 13°15’15” W 14.59 feet; (2) N 16°42’15” W 500.00 feet; (3) N 20°17’15” W 51.41 feet; and (4) N\n19°50’45” W 159.07 feet; thence N 51°01’40” E 875.20 feet to a point on the Westerly right of way line of the Council Bluffs Levee; thence S 38°58’20” E 581.47 feet to a point on the Westerly right of way\nline of Interstate Highway 29; thence S 2°34’15” W 30.10 feet, along said highway right of way line; thence Southeasterly, along said highway right of way line, 303.57 feet along a 421.40 foot radius curve to the left; thence S\n38°42’15” E 3.30 feet, thence S 36°47’45” E 334.04 feet, along said highway right of way line to a point on the Northerly right of way line of Nebraska Avenue, thence S 53°12’15” W 229.99 feet, along said\nright of way line of Nebraska Avenue; thence S 36°47’45” E 97.52 feet, along the Westerly right of way line of River Road; thence Southeasterly along said right of way line of River Road, 49.52 feet along a 246.48 foot radius curve to\nthe right; thence S 53°12’15” W 96.07 feet; thence N 88°08’15” W 924.85 feet; thence N 13°15’15” W 81.06 feet to the point of beginning.\nParcel 2:\nA parcel of land being part of Government Lots 1 and\n2 and the adjacent abandoned River Road right of way, all located in Section 4, Township 74N, Range 44W of the 5th P.M., Pottawattamie County, Iowa, in the City of Council Bluffs, which is more particularly described as follows:\nCommencing at the center of said Section 4; thence N 88°08’15” W 597.51 feet; thence N 13°15’15” W 14.59 feet; thence N\n16°42’15” W 500.00 feet; thence N 20°17’15” W 51.41 feet and N 19°50’45” W 159.07 feet to the point of beginning; thence along a meander of the ordinary high water of the Missouri River on the following four\ncourses: (1) N 19°50’45” W 38.38 feet; (2) N 19°46’50” W 313.67 feet; (3) N 19°03’05” W 160.28 feet; and (4) N 16°25’40” W 92.18 feet; thence N 51°01’40” E\n669.57 feet to a point on the Westerly right of way line of the Council Bluffs Levee; thence S 38°58’20” E 568.32 feet along said right of way line of the Council Bluffs Levee; thence S 51°01’40” W 875.20 feet to the\npoint of beginning.\nParcel 3*:\nEx. B-27\nA parcel of land being part of Government Lots 1 and 2 of Section 4, Township 74N, Range 44W and part of\nGovernment Lot 4 of Section 33, Township 75N, Range 44W of the 5th P.M., together with the adjacent abandoned River Road right of way in Pottawattamie County, Iowa, in the City of Council Bluffs, which is more particularly described as follows:\nCommencing at the center of said Section 4; thence N 88°08’15” W 597.51 feet; thence N 13°15’15” W 14.59 feet; thence N\n16°42’15” W 500.00 feet; thence N 20°17’15” W 51.41 feet and N 19°50’45” W 197.45 feet; thence N 19°46’50” W 313.67 feet; thence N 19°03’05” W 160.28 feet; thence N\n16°25’40” W 92.18 feet to the point of beginning; thence along a meander of the ordinary high water of the Missouri River on the following twelve courses: (1) N 16°25’40” W 93.61 feet; (2) N\n38°23’45” W 224.70 feet; (3) N 31°52’55” W 268.46 feet; (4) N 22°52’20” W 243.24 feet; (5) N 26°00’40” W 202.96 feet; (6) N 29°52’05” W 151.72 feet; (7) N\n20°36’25” W 194.23 feet; (8) N 36°06’50” W 115.45 feet; (9) N 26°38’05” W 361.38 feet; (10) N 32°21’55” W 101.05 feet; (11) N 33°55’20” W 116.33 feet and\n(12) N 28°38’30” W 102.35 feet; thence along the Southerly right of way of the Union Pacific Railroad N 89°10’35” E 383.85 feet to a point on the Westerly right of way line of the Council Bluffs Levee; thence\nSoutheasterly, along said levee right of way line, 168.33 feet along a 562.47 feet radius curve to the left; thence S 38°58’20” E 1725.54 feet along said levee right of way line; thence S 51°01’40” W 669.57 feet to the\npoint of beginning.\nEXCEPTING from the above described Parcels 1, 2 and 3, that portion of River Road described in that certain Vacation and\nRe-Dedication filed in Book 78 at Page 24442 in the records of Pottawattamie County, Iowa.\n* Grantor’s interest in Parcel 3 is derived as successor\nin interest to the Settlement, Use, and Management Agreement and DNR Permit by and between Koch Fuels, Inc., a Delaware corporation, and the State of Iowa, acting by and through the Iowa Department of Natural Resources, recorded August 1, 1995\nin Book 96 at Page 2942.\nParcel 4:\nA part of Government\nLot 3, Section 4, Township 74 North, Range 44, West of the Fifth P.M., Pottawattamie County, Iowa, in the City of Council Bluffs, which is more particularly described as follows: Commencing at the East Quarter corner of said Section 4,\nwhich is the Northeast corner of said Government Lot 3; thence along the North line of said Government Lot 3, North 88 degrees 8 minutes 15 seconds West, 2663.40 feet to the center of said Section 4; thence South 00 degrees 41 minutes 45\nseconds West, 78.27 feet to a point of beginning; thence North 88 degrees 8 minutes 15 seconds West, 579.30 feet to the ordinary high water line of the Missouri River as established by the toe of a river control paving structure; thence along said\nordinary high water line South 13 degrees 27 minutes 10 seconds East, 405.25 feet to U.S. Corps of\nEx. B-28\nEngineers Control Structure Station 15+00; thence continuing along said ordinary high water line South 10 degrees 53 minutes 45 seconds East, 60.43 feet to the northerly line of land owned by the\nPeavey Elevator Company; thence along said line South 88 degrees 8 minutes 15 seconds East, 868.08 feet; thence North 00 degrees 41 minutes 45 seconds East, 450.00 feet; thence North 88 degrees 8 minutes 15 seconds West, 400.00 feet to the point of\nbeginning. The East line of said Government Lot 3 is assumed to bear North-South.\nEx. B-29"}
-{"idx": 5, "level": 3, "span": "L’Auberge Baton Rouge"}
-{"idx": 5, "level": 4, "span": "TRACT “A-2-A”\nA parcel of land\ncontaining 99 acres, more or less, known as Tract A-2-A, lying within Sections 40, 41, 77 & 78, Township 8 South, Range 1 East, Greensburg Land District, East Baton Rouge Parish, Louisiana, as per the record map showing “PNK (Baton\nRouge) Partnership Subdivision, Exchange of Property between Tract ‘A-2’ and Lot ‘F ‘ into Tracts ‘A-2-A’ and ‘A-2-B’ located in Sections 40, 41, 43, 44, 77 & 78, T-8-S, R-1-E, Greensburg Land\nDistrict, East Baton Rouge Parish, Louisiana, for PNK (Baton Rouge) Partnership”, by Stantec Consulting Services, Inc., signed by Sam M. Holladay, III, PLS No. 4760 on November 30, 2015 and recorded in Original 567, Bundle 12709 of\nthe Office of the Clerk and Recorder on February 1, 2016 of said Parish, being more particularly described as follows:"}
-{"idx": 5, "level": 4, "span": "BEGIN\n at the most\nNorthwesterly corner of Tract “A-2-A” of the aforesaid record map, said point lying on the northerly right of way line of River Road (La Hwy 327, 80’ R/W); thence go South 66 degrees 55 minutes 15 seconds East a distance of 671.79\nfeet; thence go South 66 degrees 58 minutes 10 seconds East a distance of 206.38 feet; thence go along the arc of a non-tangent curve to the left, having a radius of 727.00 feet, (Delta Angle = 04 degrees 26 minutes 48 seconds , Chord Bearing =\nNorth 85 degrees 34 minutes 12 seconds East, Chord Distance = 56.41 feet) for an arc length of 56.42 feet to a point of compound curvature; thence go along the arc of a compound curve to the left, having a radius of 440.00 feet, (Delta Angle = 16\ndegrees 50 minutes 51 seconds, Chord Bearing = North 74 degrees 55 minutes 23 seconds East, Chord Distance = 128.91 feet) for an arc length of 129.38 feet to the point of tangency; thence go North 66 degrees 29 minutes 57 seconds East a distance of\n85.86 feet to a point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 68.64 feet, (Delta Angle = 84 degrees 46 minutes 29 seconds , Chord Bearing = South 71 degrees 06 minutes 48 seconds East, Chord Distance\n= 92.55 feet) for an arc length of 101.56 feet to a point of compound curvature; thence go along the arc of a compound curve to the right, having a radius of 375.00 feet, (Delta Angle = 14 degrees 25 minutes 09 seconds , Chord Bearing = South 21\ndegrees 30 minutes 59 seconds East, Chord Distance = 94.12 feet), for an arc length of 94.37 feet; thence go South 14 degrees 18 minutes 24 seconds East a distance of 36.69 feet to a point of curvature; thence go along the arc of a curve to the left\nhaving a radius of 837.00 feet (Delta Angle = 00 degrees 24 minutes 43 seconds, Chord Bearing = South 14 degrees 30 minutes 46 seconds east, Chord Distance = 6.02 feet) for an arc length of 6.02 feet; thence go North 75 degrees 16 minutes 53 seconds\nEast a distance of 74.00 feet; thence go along the arc of a curve to the right having a radius of 763.00 feet (Delta Angle = 00 degrees 24 minutes 43 seconds, Chord Bearing = North 14 degrees 30 minutes 46 seconds West, Chord Distance = 5.49 feet)\nfor an arc length of 5.49 feet to a point of tangency; thence go North 14 degrees 18 minutes 24 seconds West a distance of 24.84 feet to a point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 125.00 feet,\n(Delta Angle = 36 degrees 10 minutes 28 seconds, Chord Bearing = North 03 degrees 46 minutes 50 seconds East, Chord Distance = 77.62 feet, for an arc length \nEx. B-30\nof 78.92 feet; thence go North 49 degrees 46 minutes 33 seconds East a distance of 193.21 feet; thence go North 73 degrees 08 minutes 13 seconds East a distance of 131.60 feet to a point of\ncurvature; thence go along the arc of a tangent curve to the right, having a radius of 1130.00 feet, (Delta Angle = 49 degrees 28 minutes 40 seconds , Chord Bearing = South 82 degrees 07 minutes 26 seconds East, Chord Distance = 945.77 feet) for an\narc length of 975.81 feet to the point of tangency; thence go South 57 degrees 23 minutes 06 seconds East a distance of 207.16 feet; thence go along the arc of a non-tangent curve to the right, having a radius of 380.00 feet, (Delta Angle = 32\ndegrees 40 minutes 54 seconds, Chord Bearing = South 05 degrees 04 minutes 41 seconds West, Chord Distance = 213.83 feet) for an arc length of 216.75 feet; thence go South 68 degrees 34 minutes 52 seconds East a distance of 100.00 feet; thence go\nalong the arc of a non-tangent curve to the left, having a radius of 550.50 feet, (Delta Angle = 06 degrees 33 minutes 50 seconds, Chord Bearing = North 18 degrees 08 minutes 14 seconds East, Chord Distance = 63.03 feet) for an arc length of 63.06\nfeet to a point of reverse curvature; thence go along the arc of a reverse curve to the right, having a radius of 67.50 feet, (Delta Angle = 81 degrees 47 minutes 08 seconds, Chord Bearing = North 55 degrees 44 minutes 53 seconds East, Chord\nDistance = 88.38 feet) for an arc length of 96.35 feet to the point of tangency; thence go South 83 degrees 21 minutes 33 seconds East a distance of 86.69 feet; thence go South 60 degrees 48 minutes 03 seconds East a distance of 193.02 feet to a\npoint of curvature; thence go along the arc of a tangent curve to the right, having a radius of 1130.00 feet, (Delta Angle = 27 degrees 46 minutes 00 seconds , Chord Bearing = South 46 degrees 55 minutes 03 seconds East, Chord Distance = 542.28\nfeet) for an arc length of 547.62 feet to the point of tangency; thence go South 33 degrees 02 minutes 03 seconds East a distance of 116.11 feet to a point of curvature; thence go along the arc of a tangent curve to the left, having a radius of\n2070.00 feet, (Delta Angle = 11 degrees 27 minutes 33 seconds, Chord Bearing = South 38 degrees 45 minutes 50 seconds East, Chord Distance = 413.31 feet) for an arc length of 414.00 feet to the point of tangency; thence go South 44 degrees 29\nminutes 36 seconds East a distance of 145.61 feet to point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 50.00 feet, (Delta Angle = 63 degrees 31 minutes 25 seconds, Chord Bearing = South 12 degrees 43\nminutes 55 seconds East, Chord Distance = 52.64 feet) for an arc length of 55.43 feet to a point of reverse curvature; thence go along the arc of a reverse curve to the left, having a radius of 145.00 feet, (Delta Angle = 23 degrees 57 minutes 43\nseconds, Chord Bearing = South 07 degrees 02 minutes 56 seconds West, Chord Distance = 60.20 feet) for an arc length of 60.64 feet to a point of reverse curvature; thence go along the arc of a reverse curve to the right, having a radius of 75.00\nfeet, (Delta Angle = 44 degrees 48 minutes 02 seconds , Chord Bearing = South 17 degrees 28 minutes 05 seconds West, Chord Distance = 57.16 feet) for an arc length of 58.64 feet to the point of tangency; thence go South 39 degrees 52 minutes 07\nseconds West a distance of 57.76 feet to a point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 275.00 feet, (Delta Angle = 07 degrees 58 minutes 09 seconds , Chord Bearing = South 43 degrees 51 minutes 11\nseconds West, Chord Distance = 38.22 feet) for an arc length of 38.25 feet; thence go South 42 degrees 09 minutes 44 seconds East a distance of 20.16 feet to the Southeasterly line of Section 41, Township 8 South, Range 1 East, Greensburg\nEx. B-31\nLand District, East Baton Rouge Parish, Louisiana ; thence go South 52 degrees 52 minutes 00 seconds West along\nthe aforesaid Southeasterly section line a distance of 1108 feet, more or less to the mean-low water line of the Mississippi River; thence meander northwesterly along the aforesaid mean-low water line a distance of 3565 feet, more or less to the\nintersection of the aforesaid mean-low water line and a line, passed through the Point of Beginning, having a bearing of South 14 degrees 03 minutes 51 seconds West; thence, departing the aforesaid mean-low water line go North 14 degrees 03 minutes\n51 seconds East a distance of 863 feet, more or less to the POINT OF BEGINNING."}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT"}
-{"idx": 5, "level": 4, "span": "TRACT “A-3”\nA 0.145 acre parcel of\nland designated as Tract “A-3” the record map showing “PNK (Baton Rouge) Partnership Subdivision, Exchange of Property between Tract ‘A-2’ and Lot ‘F ‘ into Tracts ‘A-2-A’ and ‘A-2-B’ located in\nSections 40, 41, 43, 44, 77 & 78, T-8-S, R-1-E, Greensburg Land District, East Baton Rouge Parish, Louisiana, for PNK (Baton Rouge) Partnership”, by Stantec Consulting Services, Inc., signed by Sam M. Holladay, III, PLS No. 4760\non November 30, 2015 and recorded in Original 567, Bundle 12709 of the Office of the Clerk and Recorder on February 1, 2016 of said Parish, being more particularly described as follows:"}
-{"idx": 5, "level": 4, "span": "COMMENCE\n at an iron rod on the south side of the intersection of L’Auberge Crossing Drive and River Road (La Hwy 327) where the line common to\nSections 41 & 43, Township 8 South, Range 1 East, Greensburg Land District, East Baton Rouge Parish, Louisiana, intersects the southern- most existing right of way of L’Auberge Crossing Drive; thence go North 42 degrees 09 minutes 44\nseconds West along the aforesaid southern- most existing right of way of L’Auberge Crossing Drive a distance of 10.16 feet to the westerly right of way line of L’Auberge Crossing Drive (now 30’ private R/W); thence, for the following\nsix courses along the aforesaid private right of way line, go along the arc of a curve to the right having a radius of 285.00 feet (Delta Angle = 04 degrees 51 minutes 11 seconds, Chord Bearing = South 50 degrees 15 minutes 52 seconds West, Chord\ndistance = 24.13 feet) for an arc length of 24.14 feet to the point of tangency; thence go South 52 degrees 41 minutes 27 seconds West a distance of 47.37 feet to a point of curvature; thence go along the arc of a curve to the right having a radius\nof 70.00 feet (Delta Angle = 76 degrees 33 minutes 41 seconds, Chord Bearing = North 89 degrees 01 minutes 42 seconds West, Chord Distance = 86.73 feet) for an arc length of 93.54 feet to the point of tangency; thence go North 50 degrees 44 minutes\n51 seconds West a distance of 58.25 feet to a point of curvature; thence go along the arc of a curve to the left having a radius of 1515.00 feet (Delta Angle = 11 degrees 12 minutes 35 seconds, Chord Bearing = North 56 degrees 21 minutes 09 seconds\nWest, Chord Distance = 295.93 feet ) for an arc length of 296.40 feet to the point of tangency; thence go North 61 degrees 57 minutes 26 seconds West a distance \nEx. B-32\nof 48.83 feet to the POINT OF BEGINNING; thence continue North 61 degrees 57 minutes 26 seconds west along the aforesaid private right of way line a distance of 63.00 feet; thence,\ndeparting the aforesaid private right of way line, go North 28 degrees 02 minutes 34 seconds East a distance of 100.00 feet; thence go South 61 degrees 57 minutes 26 seconds East a distance of 63.00 feet; thence go South 28 degrees 02 minutes 34\nseconds West a distance of 100.00 feet to the POINT OF BEGINNING. "}
-{"idx": 5, "level": 4, "span": "TRACT “A-3”\nA 0.145 acre parcel of land designated as Tract “A-3” the record map showing “PNK (Baton Rouge) Partnership Subdivision, Exchange of Property\nbetween Tract ‘A-2’ and Lot ‘F ‘ into Tracts ‘A-2-A’ and ‘A-2-B’ located in Sections 40, 41, 43, 44, 77 & 78, T-8-S, R-1-E, Greensburg Land District, East Baton Rouge Parish, Louisiana, for PNK (Baton\nRouge) Partnership”, by Stantec Consulting Services, Inc., signed by Sam M. Holladay, III, PLS No. 4760 on November 30, 2015 and recorded in Original 567, Bundle 12709 of the Office of the Clerk and Recorder on February 1, 2016\nof said Parish, being more particularly described as follows:"}
-{"idx": 5, "level": 4, "span": "COMMENCE at an iron rod on the south side of the intersection of L’Auberge\nCrossing Drive and River Road (La Hwy 327) where the line common to Sections 41 & 43, Township 8 South, Range 1 East, Greensburg Land District, East Baton Rouge Parish, Louisiana, intersects the southern- most existing right of way of\nL’Auberge Crossing Drive; thence go North 42 degrees 09 minutes 44 seconds West along the aforesaid southern- most existing right of way of L’Auberge Crossing Drive a distance of 10.16 feet to the westerly right of way line of\nL’Auberge Crossing Drive (now 30’ private R/W); thence, for the following six courses along the aforesaid private right of way line, go along the arc of a curve to the right having a radius of 285.00 feet (Delta Angle = 04 degrees 51\nminutes 11 seconds, Chord Bearing = South 50 degrees 15 minutes 52 seconds West, Chord distance = 24.13 feet) for an arc length of 24.14 feet to the point of tangency; thence go South 52 degrees 41 minutes 27 seconds West a distance of 47.37 feet to\na point of curvature; thence go along the arc of a curve to the right having a radius of 70.00 feet (Delta Angle = 76 degrees 33 minutes 41 seconds, Chord Bearing = North 89 degrees 01 minutes 42 seconds West, Chord Distance = 86.73 feet) for an arc\nlength of 93.54 feet to the point of tangency; thence go North 50 degrees 44 minutes 51 seconds West a distance of 58.25 feet to a point of curvature; thence go along the arc of a curve to the left having a radius of 1515.00 feet (Delta Angle = 11\ndegrees 12 minutes 35 seconds, Chord Bearing = North 56 degrees 21 minutes 09 seconds West, Chord Distance = 295.93 feet ) for an arc length of 296.40 feet to the point of tangency; thence go North 61 degrees 57 minutes 26 seconds West a distance of\n48.83 feet to the POINT OF BEGINNING\n; thence continue North 61 degrees 57 minutes 26 seconds west along the aforesaid private right of way line a distance of 63.00 feet; thence, departing the aforesaid private right of way line, go North 28\ndegrees 02 minutes 34 seconds East a distance of 100.00 feet; thence go South 61 degrees 57 minutes 26 seconds East a distance \nEx. B-33\nof 63.00 feet; thence go South 28 degrees 02 minutes 34 seconds West a distance of 100.00 feet to the POINT OF BEGINNING. \nEx. B-34"}
-{"idx": 5, "level": 3, "span": "L’Auberge Lake Charles"}
-{"idx": 5, "level": 4, "span": "TRACT 1 – LEASEHOLD ESTATE"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR PARCEL OF LAND LYING IN SECTION ELEVEN (11), AND BEING ALL OF LOT TEN (10) AND A PORTION OF LOTS SIX (6), SEVEN\n(7), EIGHT (8), NINE (9), ELEVEN (11), FOURTEEN (14), FIFTEEN (15), AND SIXTEEN (16) OF SAID SECTION ELEVEN (11), AND ALSO IN THE WEST HALF (W/2) OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), ALL IN TOWNSHIP TEN\n(10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH, LOUISIANA, BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS TO-WIT:"}
-{"idx": 5, "level": 2, "span": "COMMENCING\nAT THE SOUTHWEST CORNER OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), TOWNSHIP TEN (10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH, LOUISIANA;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 88° 15’ 23” WEST, FOR A DISTANCE OF 170.20 FEET TO THE EAST LINE OF THE NORTHWEST QUARTER OF THE NORTHEAST QUARTER\n(NW/4-NE/4) OF SECTION 14;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 54’ 47” EAST, ALONG SAID EAST LINE OF THE NORTHWEST QUARTER OF THE NORTHEAST\nQUARTER (NW/4-NE/4) OF SECTION 14, FOR A DISTANCE OF 30.00 FEET, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE CONTINUING\nNORTH 00° 54’ 47” EAST, ALONG SAID EAST LINE OF THE NORTHWEST QUARTER OF THE NORTHEAST QUARTER (NW/4-NE/4) OF SECTION 14, FOR A DISTANCE OF 203.97 FEET TO AN EXISTING 1” ROD MARKING THE CORNER COMMON TO THE NORTHEAST CORNER OF THE\nNORTHWEST QUARTER OF THE NORTHEAST QUARTER (NW/4-NE/4) OF SECTION 14 AND THE SOUTHWEST CORNER OF THE SOUTHEAST QUARTER OF THE SOUTHEAST QUARTER (SE/4-SE/4) OF THE AFORESAID SECTION 11;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 46’ 32” EAST, ALONG THE WEST LINE OF SAID SOUTHEAST QUARTER OF THE SOUTHEAST QUARTER (SE/4-SE/4) OF SECTION 11,\nFOR A DISTANCE OF 120.00 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH AND 120.0 FEET NORTH OF THE SOUTH LINE OF SAID\nSECTION ELEVEN (11), FOR A DISTANCE OF 1735.47 FEET TO A POINT 396.82 FEET WEST OF THE EAST LINE OF LOT FOURTEEN (14) OF SAID\nEx. B-35"}
-{"idx": 5, "level": 2, "span": "SECTION ELEVEN (11), THE SOUTHWEST CORNER OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH\n00° 53’ 19” EAST, PARALLEL WITH AND 396.82 FEET WEST OF SAID EAST LINE OF LOT FOURTEEN (14) AND THE WEST LINE OF LOT TEN (10), FOR A DISTANCE OF 1671.72 FEET TO A POINT LYING 463.74 FEET NORTH OF THE SOUTH LINE OF LOT ELEVEN\n(11) OF SAID SECTION ELEVEN (11);"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH THE SOUTH LINE OF THE AFORESAID SECTION\nELEVEN (11), FOR A DISTANCE OF 200.00 FEET TO A POINT LYING 596.82 FEET WEST OF THE EAST LINE OF LOT ELEVEN (11) OF SAID SECTION ELEVEN (11);"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’ 19” EAST, PARALLEL WITH AND 596.82 FEET WESTERLY OF THE EAST LINE OF SAID LOT ELEVEN (11), FOR A DISTANCE\nOF 553.77 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 06’ 42” WEST, FOR A DISTANCE OF 163.48 FEET TO A POINT LYING 105.00 FEET WESTERLY OF AND\nPERPENDICULAR TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 49° 09’ 02” WEST,\nPARALLEL WITH AND 105.00 FEET WESTERLY OF SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 867.43 FEET, TO A POINT ON THE LEFT DESCENDING BANK OF THE CALCASIEU RIVER, THE NORTHWEST CORNER OF HEREIN\nDESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 63°\n49’ 10” EAST, FOR A DISTANCE OF 114.04 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A\nGENERAL DIRECTION OF NORTH 57° 18’ 13” EAST, FOR A DISTANCE OF 325.84 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING\nBANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 51° 38’ 18” EAST, FOR A DISTANCE OF 330.17 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE\nMEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 56° 19’ 43” EAST, FOR A DISTANCE OF 441.64 FEET;\nEx. B-36"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION\nOF NORTH 43° 18’ 27” EAST, FOR A DISTANCE OF 350.17 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE\nCALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 41° 45’ 57” EAST, FOR A DISTANCE OF 271.08 FEET TO A POINT LYING 600.0 FEET SOUTH OF AND PARALLEL WITH THE FACE OF THE EXISTING FENDER SYSTEM AT BERTH NINE OF THE PORT OF LAKE CHARLES\nFACILITY;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 70° 45’ 08” EAST, 600.0 FEET SOUTH OF AND PARALLEL WITH THE FACE OF SAID FENDER SYSTEM, FOR A\nDISTANCE OF 2703.03 FEET TO A POINT LYING 20.07 FEET EASTERLY OF THE ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY, THE NORTHEAST CORNER OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 14° 17’ 53” WEST, 20.00 FEET EASTERLY OF AND PARALLEL WITH SAID ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE\nPROPERTY, FOR A DISTANCE OF 629.22 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 75° 42’ 07” EAST, FOR A DISTANCE OF 40.00 FEET TO A POINT LYING\n100.00 FEET EAST OF SAID ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 14° 17’ 53” WEST, 100.00\nFEET EAST OF AND PARALLEL WITH SAID ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY, FOR A DISTANCE OF 389.36 FEET TO THE POINT OF CURVATURE OF A TANGENT CURVE TO THE LEFT HAVING A RADIUS OF 954.93 FEET AND A CENTRAL ANGLE OF 35°\n29’ 11”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID TANGENT CURVE TO THE LEFT AND 100.00 FEET EAST OF AND PARALLEL WITH SAID ORIGINAL EAST\nLINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY, THROUGH AN ANGLE OF 17° 43’ 41”, FOR AN ARC LENGTH DISTANCE OF 295.47 FEET, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 05° 26’ 03” WEST, FOR A DISTANCE OF 294.29 FEET TO THE\nNORTH RIGHT-OF-WAY LINE OF SAID NELSON ROAD EXTENSION;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 85° 04’ 12” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF\nNELSON ROAD EXTENSION, FOR A DISTANCE OF 100.03 FEET TO THE NORTHWEST CORNER OF NELSON ROAD EXTENSION RIGHT-OF-WAY, SAID POINT ALSO LYING ON THE ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY AND\nEx. B-37"}
-{"idx": 5, "level": 2, "span": "LYING IN A TANGENT CURVE TO THE LEFT HAVING A RADIUS OF 1054.93 FEET AND A CENTRAL ANGLE OF 35° 29’ 11”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID TANGENT CURVE TO THE LEFT, ALONG THE WEST RIGHT-OF-WAY LINE OF NELSON ROAD EXTENSION, THROUGH AN ANGLE OF 17°\n36’ 57”, FOR AN ARC LENGTH DISTANCE OF 324.34 FEET TO THE POINT OF TANGENT OF SAID CURVE, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 12° 22’ 49” EAST A DISTANCE OF 323.07 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 21° 11’ 18” EAST, ALONG SAID WEST RIGHT-OF-WAY LINE OF NELSON ROAD EXTENSION, FOR A DISTANCE OF 398.53 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 65° 51’ 57” WEST, FOR A DISTANCE OF 71.11 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 69° 27’ 24” WEST, FOR A DISTANCE OF 134.18 FEET TO THE POINT OF CURVATURE OF A TANGENT CURVE TO THE RIGHT, HAVING A\nRADIUS OF 400.00 FEET AND A CENTRAL ANGLE OF 50° 25’ 21”;"}
-{"idx": 5, "level": 2, "span": "THENCE EASTERLY, ALONG SAID TANGENT CURVE TO THE RIGHT, THROUGH\nAN ANGLE OF 41° 26’ 10” FOR AN ARC LENGTH DISTANCE OF 289.28 FEET, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 89° 38’ 24” EAST A DISTANCE OF 285.43 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 22° 21’ 49” WEST, 90.00 FEET WEST OF AND PARALLEL WITH THE WEST LINE OF BARTHELEMEW LEBLEU CLAIM OF IRREGULAR\nSECTION 38, AND THE EAST LINE OF EXHIBIT “AM-1” AND “AM-2” TO AMENDMENT NUMBER (2) TO PNK, LLC GROUND RELEASE, FOR A DISTANCE OF 364.79 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 67° 38’ 10” EAST, FOR A DISTANCE OF 58.81 FEET TO THE POINT OF CURVATURE OF A TANGENT CURVE TO THE LEFT HAVING A\nRADIUS OF 690.00 FEET AND A CENTRAL ANGLE OF 42° 54’ 26”"}
-{"idx": 5, "level": 2, "span": "THENCE EASTERLY, ALONG SAID TANGENT CURVE TO THE LEFT, THROUGH AN\nANGLE OF 02° 35’ 26”, FOR AN ARC LENGTH DISTANCE OF 31.20 FEET TO THE WEST LINE OF THE AFORESAID BARTHELEMEW LEBLEU CLAIM IRREGULAR SECTION 38 AND THE EAST LINE OF THE AFORESAID EXHIBIT “AM-1” AND “AM-2” TO\nAMENDMENT NUMBER (2) TO PNK, LLC GROUND RELEASE;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 22° 21’ 49” WEST, ALONG THE WEST LINE OF SAID\nBARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, AND THE EAST LINE OF THE SAID EXHIBIT “AM-1” AND “AM-2” TO AMENDMENT NUMBER (2) TO PNK, LLC GROUND\nEx. B-38"}
-{"idx": 5, "level": 2, "span": "RELEASE, FOR A DISTANCE OF 1071.95 FEET TO THE NORTH RIGHT-OF-WAY LINE OF CAGLE LANE, SAID POINT BEING THE SOUTHEAST CORNER OF THE PINNACLE PARCEL 2 LEASE PROPERTY;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 88° 15’ 23” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF CAGLE LANE AND THE SOUTH LINE OF SAID PINNACLE PARCEL 2\nLEASE PROPERTY, FOR A DISTANCE OF 58.83 FEET TO A POINT LYING IN A TANGENT CURVE TO THE LEFT HAVING A RADIUS OF 280.00 FEET AND A CENTRAL ANGLE OF 112° 25’ 55”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID TANGENT CURVE TO THE LEFT, THROUGH AN ANGLE OF 06° 11’ 05” FOR AN ARC LENGTH DISTANCE OF 30.22\nFEET, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 08° 29’ 30” WEST A DISTANCE OF 30.21 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 88° 15’ 23” WEST,\nFOR A DISTANCE OF 130.84 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 2, "span": "LESS AND EXCEPT: THAT PORTION OF TRACT 1 LYING WITHIN THE FOLLOWING DESCRIBED\nI-210 ENTRY ROAD DEDICATION AS RECORDED IN CONVEYANCE BOOK 3779, PAGE 268, RECORDS OF CALCASIEU PARISH, LOUISIANA:"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR\nPARCEL OF LAND LYING IN BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, THE NORTHEAST QUARTER (NE/4) OF SECTION 14 AND THE SOUTHEAST QUARTER (SE/4) OF SECTION 11, ALL IN TOWNSHIP TEN (10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH,\nLOUISIANA, BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS TO-WIT:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE SOUTHWEST CORNER OF THE BARTHELEMEW LEBLEU CLAIM OF\nIRREGULAR SECTION THIRTY-EIGHT (38), TOWNSHIP TEN (10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH, LOUISIANA, SAID POINT ALSO BEING ON THE SOUTH RIGHT-OF-WAY LINE OF CAGLE LANE;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 88° 15’ 23” EAST, ALONG SAID SOUTH RIGHT OF WAY LINE OF CAGLE LANE AND THE SOUTH LINE OF THE BARTHELEMEW LEBLEU\nCLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), FOR A DISTANCE OF 347.41 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 01° 44’ 37” WEST, PERPENDICULAR\nTO SAID SOUTH RIGHT-OF-WAY LINE OF CAGLE LANE AND THE SOUTH LINE OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), FOR A DISTANCE OF 264.58 FEET TO THE NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE\nEx. B-39"}
-{"idx": 5, "level": 2, "span": "210 LOOP, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 00°\n55’ 49” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A DISTANCE OF 11.66 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE\nNORTH 89° 53’ 45” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A DISTANCE OF 240.43 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 80° 53’ 11” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A DISTANCE OF 50.78\nFEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 87° 22’ 07” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A\nDISTANCE OF 28.08 FEET TO THE INTERSECTION WITH THE WEST RIGHT-OF-WAY LINE OF THE SOUTH ACCESS ROAD, SAID POINT BEING IN A CURVE TO THE RIGHT HAVING A RADIUS OF 370.00 FEET AND A CENTRAL ANGLE OF 112° 25’ 55”;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTHERLY, ALONG SAID CURVE TO THE RIGHT AND SAID WEST RIGHT-OF-WAY LINE OF THE SOUTH ACCESS ROAD, THROUGH AN ANGLE OF 75° 58’\n34”, FOR AN ARC LENGTH DISTANCE OF 490.63 FEET TO THE POINT OF TANGENT OF SAID CURVE;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 22° 21’ 49” EAST,\n150.00 FEET WESTERLY OF AND PARALLEL WITH THE WEST LINE OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, FOR A DISTANCE OF 1039.60 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 67° 38’ 10” EAST, FOR A DISTANCE OF 90.00 FEET TO A POINT LYING 60.00 FEET WESTERLY OF THE WEST LINE OF SAID\nBARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 22° 21’ 49” WEST, 60.0 FEET WESTERLY OF AND PARALLEL WITH\nTHE WEST LINE OF SAID BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, FOR A DISTANCE OF 1039.60 FEET TO THE POINT OF CURVATURE OF A CURVE TO THE LEFT HAVING A RADIUS OF 280.00 FEET AND A CENTRAL ANGLE OF 112° 25’ 55”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID CURVE TO THE LEFT AND EAST RIGHT-OF-WAY LINE OF THE AFORESAID SOUTH ACCESS ROAD, FOR AN ARC LENGTH DISTANCE OF\n549.45 FEET TO THE POINT OF TANGENT OF SAID CURVE;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 55’ 55” EAST, ALONG SAID RIGHT-OF-WAY LINE OF THE\nEx. B-40"}
-{"idx": 5, "level": 2, "span": "SOUTH ACCESS ROAD, FOR A DISTANCE OF 98.97 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "TRACT 2 –\nLEASEHOLD ESTATE"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR PARCEL OF LAND LYING IN THE NORTHEAST QUARTER OF THE SOUTHWEST QUARTER (NE/4-SW/4) OF\nSECTION 11, TOWNSHIP 10 SOUTH, RANGE 9 WEST, CALCASIEU PARISH, LOUISIANA:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN EXISTING 1” ROD MARKING THE SOUTHEAST\nCORNER OF THE SOUTHWEST QUARTER OF THE SOUTHEAST QUARTER (SW/4-SE/4) OF SECTION 11, TOWNSHIP 10 SOUTH, RANGE 9 WEST, CALCASIEU PARISH, LOUISIANA;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, ALONG THE SOUTH LINE OF THE SOUTHWEST QUARTER OF THE SOUTHEAST QUARTER (SW/4-SE/4) OF SAID\nSECTION 11, FOR A DISTANCE OF 1735.52 FEET TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH\n00° 53’ 19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 1791.72 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH THE SOUTH LINE OF THE AFORESAID SECTION 11 AND ALONG SAID ORIGINAL WEST BOUNDARY\nLINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 200.00 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’ 19” EAST, ALONG SAID\nORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 125.97 FEET, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 49° 09’ 02” WEST, ALONG PROPERTY LINE CONTIGUOUS WITH GOLDEN NUGGET EXCLUSIVE, FOR A DISTANCE OF 448.00 FEET TO\nPROPERTY LINE CONTIGUOUS WITH GOLDEN NUGGET COMMON;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 64° 45’ 00” EAST, ALONG PROPERTY LINES CONTIGUOUS WITH\nSAID GOLDEN NUGGET COMMON AND PNK COMMON, FOR A DISTANCE OF 317.95 FEET TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 89° 06’ 42” EAST, ALONG THE SAID ORIGINAL WEST BOUNDARY\nEx. B-41"}
-{"idx": 5, "level": 2, "span": "LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 57.95 FEET TO AN EXISTING 5/8” REBAR;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 00° 53’ 19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE\nOF 427.80 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "TRACT 3 – LEASEHOLD ESTATE"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR PARCEL OF LAND LYING IN THE NORTHEAST QUARTER OF THE SOUTHWEST QUARTER (NE/4-SW/4) OF SECTION 11, TOWNSHIP 10 SOUTH,\nRANGE 9 WEST, CALCASIEU PARISH, LOUISIANA:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN EXISTING 1” ROD MARKING THE SOUTHEAST CORNER OF THE SOUTHWEST QUARTER OF\nTHE SOUTHEAST QUARTER (SW/4-SE/4) OF SECTION 11, TOWNSHIP 10 SOUTH, RANGE 9 WEST, CALCASIEU PARISH, LOUISIANA;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89°\n11’ 50” WEST, ALONG THE SOUTH LINE OF THE SOUTHWEST QUARTER OF THE SOUTHEAST QUARTER (SW/4-SE/4) OF SAID SECTION 11, FOR A DISTANCE OF 1735.52 FEET TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’ 19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE\nOF 1791.72 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH THE SOUTH LINE OF THE AFORESAID SECTION 11 AND ALONG SAID\nORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 200.00 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’\n19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 553.77 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89°\n06’ 42” WEST, FOR A DISTANCE OF 57.95 FEET, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 64° 45’\n00” WEST, ALONG PROPERTY LINE CONTIGUOUS WITH PNK EXCLUSIVE, FOR A DISTANCE OF 268.54 FEET TO PROPERTY LINE CONTIGUOUS WITH GOLDEN NUGGET COMMON;\nEx. B-42"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 22° 00’ 02” WEST, ALONG PROPERTY LINE CONTIGUOUS WITH SAID GOLDEN\nNUGGET COMMON, FOR A DISTANCE OF 165.52 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 58° 02’ 34” EAST, FOR A DISTANCE OF 106.98 FEET TO A POINT LYING\n105.00 FEET PERPENDICULAR TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 49° 09’\n02” EAST, 105.00 FEET WESTERLY OF AND PARALLEL WITH SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 143.56 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 89° 06’ 42” EAST, FOR A DISTANCE OF 105.54 FEET TO THE POINT OF BEGINNING.\nEx. B-43"}
-{"idx": 5, "level": 3, "span": "Boomtown Bossier City"}
-{"idx": 5, "level": 2, "span": "THE LAND REFERRED TO HEREIN BELOW IS SITUATED IN THE PARISHES OF BOSSIER AND CADDO, STATE OF LOUISIANA, AND IS DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 3, "span": "TRACT 1:\nA tract of land located\nin Section 32, Township 18 North, Range 13 West, Bossier City, Bossier Parish, and/or Section 31, 32 or 33, Township 18 North, Range 13 West, Caddo Parish, Louisiana, being more fully described as follows: Beginning at a found one-half\ninch (1/2”) diameter iron rod being the southwest corner of Lot 34, Cook Subdivision as recorded in Book 141, Page 11 of the records of Bossier Parish, Louisiana; Run thence along the west line of said Lot 34 North 29°36’53”\nEast a distance of 165.24 feet to a point on the south right of way line of Interstate 20; Run thence along said south right of way line South 82°30’55” East a distance of 58.03 feet; Continue thence along said right of way line South\n77°46’57” East a distance of 48.93 feet; Continue thence along said right of way line South 83°56’33” East a distance of 91.17 feet to the point of intersection with the southerly right of way line of Riverside Drive; Run\nthence along said right of way line South 60°59’55” East a distance of 15.0 feet to the common front corner of Lots 36 and 37 of said Cook Subdivision; Run thence along said common line South 28°35’07” West a distance of\n228.77 feet to the common rear corner of said Lots 36 and 37; Run thence along the rear property line of Lots 37 through 44 of said Cook Subdivision South 64° 50’ 08” East a distance of 285.30 feet and South 66°27’14”\nEast a distance of 112.92 feet to the common rear corner of Lots 44 and 45 of said Cook Subdivision, run thence along the common line of said Lots 44 and 45 North 29°39’20” East a distance of 198.95 feet to the front common corner of\nsaid Lots 44 and 45 said point also being on the southerly right of way of Riverside Drive; Run thence along said right of way and front property line of Lot 45 South 60°49’57” East a distance of 50.14 feet to the front common corner\nof Lots 45 and 46 of said Cook Subdivision; Run thence along the common line of said Lots 45 and 46 South 29°42’00” West a distance of 194.03 feet to the rear common corner of said Lots 45 and 46; Run thence along the rear property\nline of Lot 46 of said Cook Subdivision South 66°27’14” East a distance of 53.40 feet; Run thence South 31°17’22” West a distance of 18.33 feet to the southwest corner of Lot 114 Riverside Subdivision as recorded in Book\n60, Page 157 of the records of Bossier Parish, Louisiana; Run thence along the rear property line of said Lot 114, South 70°11’51” East a distance of 66.84 feet to the common rear corner of Lots 114 and 113 of said Riverside\nSubdivision; Run thence along the common line of Lots 114 and 113 of said Riverside Subdivision North 29°03’49” East a distance of 197.08 feet to the common front corner of said Lots 114 and 113, Riverside Subdivision, said point lying\non the southerly right of way of Riverside Drive; Run thence along said right of way line and the front property line of Lots 113, 112, 111 and a portion of Lot 110 of said Riverside Subdivision South, 60°51’53” East a distance of\n192.75 feet; Thence leaving said southerly right of way line of Riverside Drive, run South 29°07’29” West a distance of 165.43 feet, Run thence North 70°11’51” West a distance of\nEx. B-44\n13.30 feet; Run thence South 28°57’00” West a distance of 1,021.25 feet; Run thence North 62°23’39” West a distance of 127.28 feet; Run thence North\n64°12’33” West a distance of 101.11 feet; Run thence North 55°10’08” West a distance of 614.30 feet; Run thence North 24°48’49” East a distance of 897.25 feet to a point on the rear property line of Lot 34\nof said Cook Subdivision; Run thence along said rear property line North 55°33’16” West a distance of 44.49 feet to the point of beginning of tract containing 21.263 acres more or less, TOGETHER WITH all batture, alluvion or riparian\nrights inuring to the above described property."}
-{"idx": 5, "level": 3, "span": "TRACT 2:\nA tract located in Section 32, Township 18 North, Range 13 West, Bossier Parish and/or Sections 31, 32 and 33, Township 18 North, Range\n13 West, Caddo Parish, Louisiana, said tract being more fully described as follows: Beginning at the common front corner of Lots 114 and 113, Riverside Subdivision, as recorded in Book 60, page 157 of the Records of Bossier Parish, Louisiana, said\npoint lying on the Southerly right of way line of Riverside Drive; Run thence along said right of way line and the front property line of Lots 113, 112, 111 and a portion of Lot 110 of said Riverside Subdivision South 60°51’53” East a\ndistance of 192.75 feet; Thence leaving said Southerly right of way line of Riverside Drive, run South 29°07’29” West a distance of 165.43 feet; Run thence North 70°11’51” West a distance of 13.30 feet; Run thence South\n28°57’00” West a distance of 1,021.25 feet to a point being the most Southeasterly corner of a tract of land owned by Casino Magic of Louisiana Corp., said point also being the point of beginning of the tract herein described; Run\nthence South 28°57’00” West a distance of 58.09 feet to a point on the high bank of the Red River; Run thence along said high bank the following courses and distances: North 58°06’50” West a distance of 99.46 feet; North\n68°39’18” West a distance of 107.65 feet; North 64°46’01” West a distance of 59.95 feet; North 54°59’20” West a distance of 55.60 feet; North 71°05’21” West a distance of 44.44 feet; North\n58°35’49” West a distance of 59.16 feet; North 58°34’22” West a distance of 63.52 feet; North 48°22’26” West a distance of 43.01 feet; North 55°16’36” West a distance of 71.06 feet; North\n51°27’28” West a distance of 83.50 feet; North 53°26’45” West a distance of 48.28 feet; North 54°43’33” West a distance of 45.27 feet; North 29°51’48” West a distance of 13.25 feet; North\n61°25’01” West a distance of 21.70 feet and North 41°39’41” West a distance of 27.81 feet; Thence leaving said high bank run North 24°48’49” East a distance of 64.52 feet; Run thence South\n55°10’08” East a distance of 614.30 feet; Run thence South 64°12’33” East a distance of 101.11 feet; Run thence South 62°23’39” East a distance of 127.28 feet to the point of beginning of tract, containing\n1.348 acres, more or less.\nThe following described property described in that certain Act of Exchange recorded in Conveyance Book 1445,\nPage 337 as Instrument No. 931523 of the Records of Bossier Parish, Louisiana:"}
-{"idx": 5, "level": 3, "span": "TRACT 1\nEx. B-45\nA tract of land located on Lot 37 and the west 45.4 feet of Lot 38, Cook Subdivision, a\nsubdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of Lot 37 and the west\n45.4 feet of Lot 38, Cook Subdivision, less Parcel 1-5, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 19,992.568 square feet, more or less, as more fully shown on plat of survey by Aillett, Fenner, Jolly &\nMcClelland, Inc., dated September 2007, last revised October 25, 2007, a copy of which is attached to the Deed recorded in Conveyance Book 1445, Page 337 as Instrument No. 931523 of the Records of Bossier Parish, Louisiana (the\n“Survey”)."}
-{"idx": 5, "level": 3, "span": "TRACT 2:\nA tract of land located on the east 4.6 feet of Lot 38 and the west 40 feet of Lot 39, Cook Subdivision, a subdivision of Bossier City,\nBossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of the east 4.6 feet of Lot 38 and the west 40 feet\nof Lot 39, Cook Subdivision, less Parcel 1-8, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 9,114.047 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 3:\nA tract\nof land located on the east 10 feet of Lot 39 and Lot 40, Cook Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly\ndescribed as follows: all that portion of the remainder of the east 10 feet of Lot 39 and Lot 40, Cook Subdivision, less Parcel 1-9, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 12,047.080 square feet, more or less,\nas more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 4:\nA tract of land located on Lot 41 and the west one-half of Lot 42, Cook Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana,\nas recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of Lot 41 and the West one-half of Lot 42, Cook Subdivision, less Parcel 1-11,\nas dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 14,667.508 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 5:\nEx. B-46\nA tract of land located on the east one-half of Lot 42 and Lot 43, Cook Subdivision, a\nsubdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of the east one-half of\nLot 42 and Lot 43, Cook Subdivision, less Parcel 1-13, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 14,239.267 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 6:\nA tract\nof land located on Lot 44, Cook Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance ‘Records of Bossier Parish, Louisiana, being more particularly described as fellows: all\nthat portion of the remainder of Lot 44, Cook Subdivision, less Parcel 1-15, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 9,249.384 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT FROM ALL OF THE ABOVE DESCRIBED PROPERTY:\nThe following described parcels described in that certain Act of Conveyance and Servitude Grant recorded in Conveyance Book 1445, Page 319 as\nInstrument No. 931522 of the Records of Bossier Parish, Louisiana:"}
-{"idx": 5, "level": 3, "span": "PARCEL 1-3:\nBeing located on Lots 35 and 36, Cook Subdivision, as recorded in Book 141, Page 11 in the Conveyance Records of Bossier Parish, Louisiana,\nbeing more particularly described as follows:\nFrom the Northeast Comer of Lot 36 at intersection of existing right of way known as\nRiverside Drive, run south 27 degrees 39 minutes 23 seconds West, a distance of 16.30 feet; run thence North 61 degrees 46 minutes 26 seconds West, a distance of 0.67 feet; run thence along a right curve having a radius of 341.97 feet, whose length\nis 77.54 feet and whose chord length is 77.37 feet and bears North 68 degrees 16 minutes 10 seconds West; run thence south 83 degrees 39 minutes 02 seconds East, a distance of 67.23 feet, run thence South 61 degrees 46 minutes 41 seconds East, a\ndistance of 15.00 feet back to the Northeast Corner of Lot 36. All of which comprises Parcel 1 -3, Bossier City Project No. 8-00, containing 0.022 acres or 976.88 square feet, more or less, as more-fully shown on plat of Survey by Aillett,\nFenner, Jolly & McClelland, Inc., dated September, 2007, last revised October 25, 2007, a copy of which is attached to Act of Conveyance and Servitude Grant recorded in Conveyance Book 1445, Page 319 as Instrument No. 931522,\nRecords of Bossier Parish, Louisiana (the “Survey”)."}
-{"idx": 5, "level": 3, "span": "PARCEL 1-17:\nEx. B-47\nBeing located on Lot 45, Cook Subdivision, as recorded in Book 141, Page 11 in the Conveyance\nRecords of Bossier Parish, Louisiana, being more particularly described as follows:\nFrom the Northwest Corner of Lot 45 at intersection\nof Northeast Corner of Lot 44 and existing right of way known as Riverside Drive, run South 61 degrees 46 minutes 41 seconds East, a distance of 50.17 feet; run thence South 28 degrees 46 minutes 38 seconds West, a distance of 16.33 feet; run thence\nNorth 61 degrees 46 minutes 26 seconds West a distance of 50.14 feet; run thence North 28 degrees 39 minutes 32 seconds East, a distance of 16.33 feet, back to the Northwest Corner of Lot 45. All of which comprises Parcel 1-17, Bossier City Project\nNo 8-00 containing 0.0188 acres or 818.974 square feet; more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "PARCEL 1-22:\nBeing a portion of Lot 34, Cook Subdivision, as recorded in Book 141, Page 11 in the Conveyance Records of Bossier Parish, Louisiana, being\nmore particularly described as follows:\nFrom the point of intersection of the South right of way line of Riverside Drive and the West\nright of way line of Kaywood Court, said point and comer being the point of beginning of the tract herein described, run South 27 degrees 39 minutes 23 seconds West, along said West right of way line of Kaywood Court, a distance of 20.44 feet; run\nthence North 82 degrees 24 minutes 22 seconds West, a distance of 45.80 feet, to the point of curvature of a curve to the right, having the following data: radius=439.78 feet, chord=North 81 degrees 54 minutes 05 seconds West, a distance of 7.75\nfeet; run thence in a Northwesterly direction, along said curve, a distance of 7.75 feet, to the point of intersection with the West line of said Lot 34; run thence North 28 degrees 49 minutes 59 seconds East, along said Lot line, a distance of\n19.28 feet, to the point of intersection with the South right of way line of said Riverside Drive; run thence South 83 degrees 39 minutes 02 seconds East, a distance of 53.59 feet, to the point of beginning. Containing 0.0228 acres (993.177 square\nfeet), more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "PARCEL 2-4:\nBeing located on Lots 113, 112, 111, and a portion of Lot 110, Riverside Subdivision, as recorded in Book 60, Page 157 of the Conveyance\nRecords of Bossier Parish, Louisiana, being more particularly described as follows:\nFrom the Northwest Comer of Lot 113 at intersection\nof Northeast Comer of Lot 114 and existing right of way known as Riverside Drive, run South 61 degrees 46 minutes 41 seconds East, a distance of 192.73 feet; run thence South 28 degrees 13 minutes 19 seconds West, a distance of 16.35 feet; run\nthence North 61 degrees 46 minutes 26 seconds West a distance of 192.70 feet; run thence North 28 degrees 06 minutes 11 seconds East, a distance of 16.34 feet,\nEx. B-48\nback to the Northwest Corner of Lot 113. All of which comprises Parcel 2-4, Bossier City Project No. 8-00, containing 0.0723 acres or 3150.14 square feet, more or less, as more fully shown\non the Survey."}
-{"idx": 5, "level": 2, "span": "AND ALSO LESS AND EXCEPT:\nThe following described Tract described in that certain Act of Exchange recorded in Conveyance Book 1445, Page 337 as Instrument\nNo. 931523 of the Records of Bossier Parish, Louisiana:"}
-{"idx": 5, "level": 3, "span": "TRACT 7:\nA tract of land located on Lots 110, 111, 112 and 113, Riverside Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana, as\nrecorded in Book 60, Page 157 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all mat portion of the remainder of Lots 110, 111, 112 and 113, Riverside Subdivision, less Parcel 2-4, as dedicated\nto the right-of-way of the Arthur Ray Teague Parkway (and subject to the permanent utility servitude over Parcel 2-4A); containing 31,771.125 square feet, more or less, as more fully shown on the Survey described in that certain Act of Exchange\nrecorded in Conveyance Book 1445, Page 337 as Instrument No. 931523 of the Records of Bossier Parish, Louisiana.\nEx. B-49"}
-{"idx": 5, "level": 3, "span": "Boomtown New Orleans"}
-{"idx": 5, "level": 4, "span": "Tract I\nA certain piece or portion of\nground, together with the buildings and improvements thereon, which is a part of Lot 16, Destrehan Division, Section 56, T14S, R24E, and is identified as Lot 11-A on a plan of resubdivision of Dufrene Surveying & Engineering, dated\nJanuary 24, 1994, approved by the Parish of Jefferson under Ordinance No. 19026 and recorded April 20, 1994 in COB 2892, Page 609, records of Jefferson Parish, and in accordance with a survey of BFM Corporation, last dated\nMay 24, 2001, Drawing No. M-201-001A, Lot 11-A is more fully described as follows:\nBegin at the intersection of the southerly line\nof Lot 11-A, the northerly line of Lot 18 and a 30-foot railroad right of way; thence S 72° 20’ 45” W a distance of 1,294.22 feet to a point on the easterly right of way line of the Gulf Intracoastal Waterway; thence N 17° 39’\n15” W a distance of 1,652.33 feet to a point; thence N 72° 20’ 45” E a distance of 1,433.59 feet to a point on the westerly railroad right of way; thence S 16° 12’ 26” E a distance of 650.21 feet to a point; thence S\n16° 20’ 32” E a distance of 1,259.00 feet to a point.\nSaid Lot 11-A is composed of a portion of Lot 9 and all of Lots 10,\n11 and 12 and those portions of Lots 13, 14, 15, 16 and 17, formerly known as Lots X and Y."}
-{"idx": 5, "level": 4, "span": "Tract II:\nThe following servitudes and agreements as established as follows:\nA. Servitudes granted by Numa C. Hero to Howard T. Tellepsen for ingress and egress to Peters\nRoad, dated January 05, 1965 recorded January 12, 1965 as COB 606, Page 514, official records of the Parish of Jefferson, State of Louisiana.\nB. Private Roadway Agreement granted by Southern Pacific Company to Howard T. Tellepsen, dated\nDecember 31, 1964, recorded January 12, 1965 as COB 606, Page 516, official records of the Parish of Jefferson, State of Louisiana.\n(The\n“Insured Access Agreements”).\nEx. B-50"}
-{"idx": 5, "level": 3, "span": "Ameristar Vicksburg"}
-{"idx": 5, "level": 4, "span": "TRACT ONE"}
-{"idx": 5, "level": 4, "span": ": Magnolia (Casino) Parcel Fee Simple \nThat tract or parcel of land lying and being situate in the City of Vicksburg, County of Warren, State of Mississippi, and being part of\nSection 32, Township 16 North, Range 3 East, more particularly described as follows, to-wit:\nBeginning at an iron pipe located on\nthe Western right-of-way line of Washington Street (being the same public road known as U.S. Highways 61 and 80 or Warrenton Road) as same existed on November 7, 1992, same lying South 87° 35’ East, 25.4 feet from Vicksburg National\nMilitary Park Concrete Marker No. 389, and from said point of beginning run thence North 87° 35’ West, a distance of 25.4 feet to said Vicksburg National Military Park Marker No. 389, which point marks the Southeast corner of the\nlands presently occupied by said Vicksburg National Military Park and known as South Fort, same having been conveyed to the United States of America by instrument recorded in Deed Book 93 at Page 268 of the aforesaid land records, and from said\nmarker run thence along the South boundary line of said South Fort, having a published course and distance within deed heretofore executed by Rose Supply, Inc. in favor of Magnolia Hotel Company, recorded in Deed Book 684 at Page 47, of North\n74° 55’ West, a distance of 421 feet, but having an actual course and distance, as measured between Vicksburg National Military Park Monument Nos. 389 and 388, of North 74° 53’ West 417.58 feet, but, nevertheless, to Vicksburg\nNational Military Park Monument No. 388, found at the Southwest Corner of said South Fort parcel, which point further marks the Southeast Corner of lands conveyed to Miss Priscilla Brady by deed dated December 20, 1923, recorded in\nDeed Book 156 at Page 48 of said land records; run thence along the South line of said Brady parcel and the North line of the lands described herein, North 74° 55’ West, 240 feet, more or less, to the water’s edge of the Mississippi\nRiver as same existed on November 7, 1992; thence continue in a westerly direction to a point where said line intersects the thalweg of the Mississippi River marking the boundary between the States of Mississippi and Louisiana; run thence in\nSoutherly direction following the thalweg of the said Mississippi River and the meanderings thereof marking the boundary line between the States of Mississippi and Louisiana, having a published distance in the aforedescribed deed recorded in Deed\nBook 684 at Page 47 of 555 feet, but having an actual distance believed to approximate 460 feet, more or less, but, nevertheless, to a point where the Westerly projection of the North line of that certain tract or parcel of land conveyed to\nVicksburg Bridge Company by Deed dated June 24, 1944, recorded in Deed Book 242 at Page 443, (being the same parcel subsequently conveyed by Warren County, Mississippi to R. R. Morrison & Son, Inc. by correction deed recorded in Deed\nBook 968 at Page 707 of the aforesaid Land Records) intersects the thalweg of said Mississippi River; thence leaving the thalweg of said Mississippi River and run South 64° 25’ East, a distance sufficient to intersect the water’s edge\nof the Mississippi River at its Easterly bank as same existed on November 7, 1992, which point marks the Northwest Corner of the aforedescribed parcel heretofore conveyed unto Vicksburg Bridge Company by instrument\nEx. B-51\nrecorded in Deed Book 242 at Page 443 and further described within Correction Deed in favor of R. R. Morrison & Son, Inc., recorded in Deed Book 968 at Page 707, each within the\naforesaid Land Records of Warren County; run thence along the North line of said Morrison parcel described in said Deed Book 968 at Page 707, South 64° 25’ East, a distance of 435.0 feet, more or less, to a point marking the Northeast\nCorner of said Morrison parcel described in said Deed Book 968 at Page 707 and the Northwest Corner of another parcel conveyed to R. R. Morrison & Son, Inc. by deed recorded in Deed Book 592 at Page 113 of said land records; continue thence\nalong the North line of said Morrison parcel described in said Deed Book 592 at Page 113 and along the South line of the tract herein described South 64° 17’ East a distance of 175.0 feet, more or less, to a point on the West right-of-way\nline of Washington Street (being the same public roadway sometimes known as Warrenton Road and U.S. Highway Nos. 61 and 80), as same existed on November 7, 1992; thence leaving the North line of said Morrison parcel described in said Deed Book\n592 at Page 113 and run along the West right-of-way line of said Washington Street, North 20° 46’ East, 580.21 feet, more or less, to a point, which point marks the point of beginning of the parcel herein described, all lying and being\nsituate within Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi."}
-{"idx": 5, "level": 4, "span": "TRACT TWO: "}
-{"idx": 5, "level": 4, "span": "Lum-Brady (Casino) Fee\nSimple "}
-{"idx": 5, "level": 3, "span": "Parcel One:\nThose portions of Sections 31 and 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, more particularly described as\nfollows, to-wit:\nBeginning at a park stone identified as “Vicksburg National Military Park Monument No. 379”, which point\nfurther marks the Southeast corner of that certain or parcel of land conveyed unto the Mayor and Aldermen of the City of Vicksburg, Mississippi, and Warren County, Mississippi, by Campbell Development Corporation, et al, within Deed dated\nDecember 1, 1989, recorded in Deed Book 882 at Page 233 of the Land Records of Warren County, Mississippi, wherein said point is said to lie North 17° 22’ 30” West, 671.54 feet from the Southeast corner of Section 31,\nTownship 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, which point is further described as the Southwest corner of a parcel heretofore described as an old government fort described in Deed Book 92 at Page 248 of the aforesaid Warren\nCounty Land Records, same presently occupied by the said Vicksburg National Military Park and known as Louisiana Circle and from said point of beginning run thence along the South line of said Vicksburg National Military Park parcel and the North\nline of the lands herein described having a published course within instrument recorded in Deed Book 950 at Page 518 of the aforesaid Land Records of South 68° 23’ East, but having an actual course of South 69° 40’ 37” East,\nbut, nevertheless, a distance of 195.13 feet, more or less, to a point on the West right-of-way line of Washington Street (being the same public roadway sometimes known as Warrenton Road and U.S. Highway Nos. 61 and 80) as same existed on\nNovember 7, 1992, which point lies North 69° 40’ 37” West, 17.93 feet from Vicksburg National Military Park Monument No. 380; run thence along the\nEx. B-52\nWest right-of-way line of said Washington Street as located on November 7, 1992, with the following courses and distances, viz: South 07° 16’ 28” West, 80.55 feet, South\n09° 24’ 24” West, 160.94 feet, South 14° 39’ 57” West, 98.08 feet, more or less, to an iron pipe found in the North line of that certain parcel described as Tract Two within Deed recorded in Deed Book 260 at Page 199 of\nthe aforesaid Land Records and being further depicted upon plat attached thereto and further described as Tract Two within Deed in favor Globe Industries, Inc., recorded in Deed Book 484 at Page 35 of said Land Records; thence leaving the West line\nof Washington Street and run along the North line of lands described as Tract Two within said Deed Book 484 at Page 35, North 73° 00’ West, 51.3 feet, more or less, to an iron pipe found at the Northwest corner of said Tract Two described\nwithin said Deed Book 484 at Page 35; run thence along the West line of said Tract Two described within said Deed Book 484 at Page 35, having a published course therein of South 20° 45’ West, but having an actual course of South 21°\n16’ 25” West, but, nevertheless, a distance of 182.97 feet, more or less, to an iron pipe found at the Southwest corner thereof; run thence along the South line of said Tract Two described in said Deed Book 484 at Page 35, South 54°\n00’ East, 52.0 feet, more or less, to the West right-of-way line of said Washington Street as same is located on November 7, 1992; run thence along the West right-of-way line of said Washington Street, South 23° 40’ 41” West,\na distance of 186.95 feet, more or less, to an iron pipe found at the Northeast corner of that certain tract of land heretofore conveyed unto Mississippi Power and Light Company by Deed dated May 13, 1925, recorded in Deed Book 158 at Page 424\nof the aforesaid Land Records and further described within Quitclaim Deed dated July 14, 1978, recorded in Deed Book 596 at Page 375; thence leaving the West right-of-way line of said Washington Street and run along the North line of said\nMississippi Power and Light Company tract North 74° 30’ West, 800 feet, more or less, to a point on the bank of the Mississippi River; run thence along the bank of said Mississippi River and the meanderings thereof having an average bearing\nof North 41° 04’ 56” East a distance of 424.86 feet, more or less, to an iron found on the top bank of said river marking the westernmost corner of lands described as Tract One in Deed recorded in Deed Book 260 at Page 199 of the\naforesaid Land Records and depicted upon plat attached thereto, being the same lands further described as Tract One within Deed in favor of Globe Industries, Inc., recorded in Deed Book 484 at Page 35 of said Land Records; thence leaving the bank of\nsaid river and run along the South line of lands described as Tract One within said Deeds recorded in Book 260 at Page 199 and Deed Book 484 at Page 35, marked in part by a possession line fence, South 59° 10’ East a distance of 447.38\nfeet, more or less, to the Southeast corner of said lands described as Tract One within said Deeds recorded in Book 260 at Page 199 and Deed Book 484 at Page 35, same being the center line of an ingress-egress easement, 22 feet in width, described\nwithin each of said instruments recorded in Deed Book 260 at Page 199 and Deed Book 484 at Page 35; run thence along the East line of the lands described as Tract One within said instruments recorded in Deed Book 260 at Page 199 and Deed Book 484 at\nPage 35, same being the center line of said ingress-egress easement, 22 feet in width, North 48° 00’ East, having a record distance of 250.0 feet, but having an actual distance of 229.48 feet, but, nevertheless, to a point on the South edge\nof an existing road marking the North line of lands described as Tract One within said instruments\nEx. B-53\nrecorded in Deed Book 260 at Page 199 and Deed Book 484 at Page 35, which point is further\nidentified as a point on the South line of that certain parcel dedicated for use as a perpetual non-exclusive easement within instrument executed by Martha Ker Brady Lum, et al, in favor of The Merchants Realty Company, its successors and assigns in\ntitle, recorded in Deed Book 350 at Page 382 of the aforesaid Land Records; run thence along the Southerly edge of said existing roadway and along the arcs of the curves therein having the following approximate chord bearings and distances, (but,\nnevertheless, following the edge of pavement as same existed on November 7, 1992) which approximate chord bearings and distances are as follows: North 59° 24’ 11” West, 34.59 feet; North 28° 05’ 02” West, 62.19 feet;\nNorth 06° 11’ 50” West, 127.04 feet; North 08° 59’ 53” West, 28.84 feet; North 22° 10’ 40” West, 34.54 feet; North 44° 06’ 20” West, 28.41 feet; North 48° 37’ 33” West, 19.80 feet\nto the Northernmost corner of lands described as Tract One within said instrument recorded in said Deed Book 260 at Page 199 and Deed Book 484 at Page 35, same further identified as the Northeast corner of lands described as Tract Four within said\nDeed recorded in Deed Book 484 at Page 35, same further being the Northeast corner of lands conveyed unto C. L. Andrews by Deed dated June 14, 1932, recorded in Deed Book 188 at Page 10, and depicted upon plat attached thereto; run thence along\nthe North line of lands described as Tract Four and thereafter along lands described as Tract Three, each within said instrument recorded in Deed Book 484 at Page 35, and along the North line of lands described within said Deed recorded in Deed Book\n188 at Page 10, being along the line marked by a board fence identified upon said plat attached to Deed recorded in Deed Book 260 at Page 199, North 67° 00’ West a distance of 339.19 feet, more or less, to a point on the bank of the\nMississippi River; thence leaving the North line of lands described within Deed Book 484 at Page 35 and Deed Book 188 at Page 10 and run along the bank of said Mississippi River having an average bearing of North 23° 03’ 09” East a\ndistance of 32.20 feet, more or less, to a point on the South line of lands conveyed unto the Mayor and Aldermen of the City of Vicksburg and Warren County, Mississippi, by Deed recorded in Deed Book 882 at Page 233 of the aforesaid Land Records;\nthence leaving the bank of said Mississippi River and run along the South line of said lands conveyed by said Deed Book 882 at Page 233 South 68° 19’ East a distance of 412.36 feet, more or less, to the aforedescribed Vicksburg National\nMilitary Park Marker No. 379 and the point of beginning of the lands herein described.\nTOGETHER WITH all those certain tracts or\nparcels lying West of the West line of the lands hereinabove described which serves to extend the Northerly and Southerly lines thereof in a Westerly direction to the thalweg of the Mississippi River and the boundary line between the states of\nMississippi and Louisiana."}
-{"idx": 5, "level": 3, "span": "Parcel Two:\nThat part of Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, more particularly described as follows,\nto-wit:\nEx. B-54\nBeginning at a park stone identified as “Vicksburg National Military Park\nMonument No. 388”, which point is further described as the southwest corner of a parcel heretofore described as an old government fort described in Deed Book 93 at Page 268 of the Land Records of Warren County, Mississippi, same presently\noccupied by the said Vicksburg National Military Park and known as South Fort and which point is further described as a point on the North line of that certain tract conveyed unto Magnolia Hotel Company by Deed recorded in Deed Book 684 at Page 47\nof the aforesaid Land Records and which point is further described as a point on the South line of lands conveyed to Miss Priscilla Brady, et al, by Deed dated December 20, 1923, recorded in Deed Book 156 at Page 48 of the aforesaid Land\nRecords and from said point of beginning run thence along the South line of said Brady parcel and the North line of said Magnolia Hotel Company parcel, North 74° 55’ West, 240 feet, more or less, to the water’s edge of the Mississippi\nRiver as same existed on November 7, 1992; thence continue in a westerly direction to a point where said line intersects the thalweg of the Mississippi River marking the boundary between the States of Mississippi and Louisiana; run thence in\nnortherly direction following the thalweg of the said Mississippi River and the meanderings thereof marking the boundary line between the States of Mississippi and Louisiana a distance of 540 feet, more or less, to a point where the westerly\nprojection of the South line of that certain tract or parcel of land conveyed to Mississippi Power and Light Company by Deed recorded in Deed Book 158 at Page 424 of the aforesaid Land Records intersects the thalweg of said Mississippi River; thence\nleaving the thalweg of said Mississippi River and run South 74° 30’ East, a distance sufficient to intersect the water’s edge of the Mississippi River at its easterly bank as same existed on November 7, 1992, which point marks the\nSouthwest corner of the aforedescribed parcel heretofore conveyed unto Mississippi Power and Light Company by instrument recorded in Deed Book 158 at Page 424 and further described within Quitclaim Deed recorded in Deed Book 596 at Page 375, each\nwithin the aforesaid Land Records of Warren County; run thence along the South line of said Mississippi Power and Light Company parcel South 74° 30’ East, a distance of 800 feet, more or less, to a point on the West right-of-way line of\nWashington Street (being the same public roadway sometimes known as Warrenton Road and U.S. Highway Nos. 61 and 80), as same existed on November 7, 1992; thence leaving the South line of said Mississippi Power and Light Company parcel and run\nalong the West right-of-way line of said Washington Street, South 22° 18’ 41” West, 54.64 feet, more or less, to a point on the North line of lands conveyed to the United States of America by instrument recorded in Deed Book 93 at Page\n268, which parcel is presently occupied by the said Vicksburg National Military Park and is known as South Fort; run thence along the North line of said Vicksburg National Military Park parcel with the following courses and distances, each converted\nfrom the astronomical azimuths previously published within said Deed recorded in said Deed Book 93 at Page 268 of said Land Records, viz: North 81° 17’ West, 283.66 feet, more or less, to a park stone identified as Vicksburg National\nMilitary Park Monument No. 386; South 50° 08’ West, 268.31 feet, more or less, to a park stone identified as Vicksburg National Military Park Monument No. 387; South 27° 48’ West, 226.34 feet, more or less, to a park\nstone identified as Vicksburg National Military Park Monument No. 388, which point marks the point of beginning of the parcel hereindescribed, all\nEx. B-55\nlying and being situate within Section 32, Township 16 North, Range 3 East, Vicksburg,\nWarren County, Mississippi."}
-{"idx": 5, "level": 3, "span": "Parcel Three:"}
-{"idx": 5, "level": 4, "span": " Lum-Brady Access Easement \nTogether with a non-exclusive easement and right of way thirty-two feet (32’) in width for the purpose of ingress and egress and for\nthe further purpose of installation, location, relocation and maintenance of utility lines or cables of all types, including water, electricity, gas, sewer and the like, whether buried below ground or located overhead, which non-exclusive easement\nis 14.5 feet to the Northwest and 17.5 feet to the Southeast of the following described line, to-wit:\nTo reach the point of beginning,\ncommence at an iron pipe on the West right of way line of Washington Street (being the same public roadway sometimes known as Warrenton Road and U. S. Highway Nos. 61 and 80) marking the Northeast Corner of the Mississippi Power & Light\nCompany parcel recorded in Deed Book 158 at Page 424 and within Quitclaim Deed recorded in Deed Book 596 at Page 375, each within the land records of Warren County, Mississippi, and run thence along the North line of said Mississippi\nPower & Light Company parcel North 74° 30’ West 423.00 feet to the POINT OF BEGINNING of the line herein described; from said POINT OF BEGINNING run thence South 33° 00’ West 208.68 feet, more or less, on the South line of\nsaid Mississippi Power & Light Company parcel as described within said Deed Book 158 at Page 424 and Deed Book 596 at Page 375 of said land records and the Southerly terminus of the line herein described, said easement all lying and being\nsituate in Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi."}
-{"idx": 5, "level": 3, "span": "TRACT THREE: Parcel One: "}
-{"idx": 5, "level": 4, "span": "Morrison (Casino)\nFee Simple \nThat part of Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, more particularly\ndescribed as follows, to-wit:\nBeginning at Vicksburg National Military Park Boundary Marker No. 394 found at the Northeast Corner of\nthat certain tract of land described as Parcel 2 within that certain deed in favor of the Vicksburg Bridge and Terminal Company, recorded in Deed Book 180 at Page 561 of the land records of Warren County, Mississippi, which point is further\ndescribed as the Northeast Corner of lands described as Parcel D within deed executed by Vicksburg Bridge Company, dated April 30, 1947, recorded in Deed Book 262 at Page 462 of said land records, into which Parcel D the said Warren County,\nMississippi went into possession notwithstanding a scrivener’s error therein contained incorrectly setting forth such point of beginning as the Northeast Corner of lands described in Deed Book 172 at Page 346 and which point of beginning is\nfurther described as a point on the South line of Parcel K within said deed in favor of said Warren County, Mississippi, recorded in Deed Book 262 at Page 462, notwithstanding the propagation of the same scrivener’s error incorrectly\nidentifying same as the Northeast Corner of Parcel 2 of the lands conveyed by\nEx. B-56\nsaid Deed Book 172 at Page 346 rather than the Northeast Corner of lands conveyed by said Deed Book 180 at Page 561 of said land records and from said POINT OF BEGINNING run thence along the\nSouth line of said lands described as Parcel K into which the said Warren County, Mississippi went into possession by virtue of said deed recorded in said Deed Book 262 at Page 462 and along the North line of that part of the Vicksburg National\nMilitary Park known as Navy Circle, South 79° 24’ East a distance of 30.26 feet, more or less, to a point marking the Southwest corner of that certain parcel conveyed to D. P. Waring and W. F. Hallberg by deed recorded in Deed Book 218 at\nPage 47 of said land records, same thereafter having been described as the Southwest Corner of Parcel I within deed executed by D. P. Waring in favor of W. F. Hallberg recorded in Deed Book 296 at Page 208 of said land records and same further being\nthe Southwest Corner of lands thereafter conveyed to R. R. Morrison & Son, Inc. by deed recorded in Deed Book 592 at Page 113 of said land records; thence leaving the North line of said Vicksburg National Military Park (Navy Circle) and run\nalong the West line of said Parcel One described in said Waring-Hallberg deed recorded in said Deed Book 296 at Page 208 and, thereafter, along the West line of Parcel Two within said Deed Book 296 at Page 208, same further being the West line of\nlands described in Deed Book 264 at Page 219, (previously described in the descriptions of the property herein conveyed as “another parcel owned by D. P. Waring, et al, not recorded”) North 26° 00’ East, a distance of 334.5 feet,\nmore or less, to a point marking the Northwest Corner of Parcel II of the Waring-Hallberg parcels described in said Deed Book 296 at Page 208 of said land records, which point also marks the Northwest Corner of said Morrison parcel described in Deed\nBook 592 at Page 113 and which point is further described as a point on the South line of that certain parcel conveyed to the Magnolia Hotel Company by deed recorded in Deed Book 684 at Page 47 of said land records; run thence along the South line\nof said Magnolia Hotel Company parcel and the North line of the lands herein described and conveyed, North 64° 25’ West, a distance sufficient to intersect the thalweg of the Mississippi River marking the boundary between the states of\nMississippi and Louisiana; run thence along the thalweg of said Mississippi River and the meanderings thereof marking the boundary between the States of Mississippi and Louisiana in a Southerly or Southwesterly direction a distance of 330 feet, more\nor less, to a point where same intersects the North line of Parcel 2 extended Westerly described within said Deed Book 180 at Page 561 and the North line of Parcel D extended Westerly described within said Deed Book 262 at Page 462; thence leaving\nthe thalweg of said River and run South 62° 11’ East to a point described in said Parcel 2 within said Deed Book 180 at Page 561 and within Parcel D in said Deed Book 262 at Page 462 as the bank of the Mississippi River at zero contour as\nof August 1, 1929; thence continue South 62° 11’ East along a line marking the North line of lands described as Parcel 2 within said Deed Book 180 at Page 561 along the North line of lands described as Parcel D into which Warren\nCounty, Mississippi went into possession by virtue of the aforedescribed deed recorded in said Deed Book 262 at Page 462 and along the South line of Parcel K within that same deed, a distance of 600 feet, more or less, to a point where same\nintersects the said Vicksburg National Military Park Monument No. 394, and the POINT OF BEGINNING of the parcel herein described, all lying and being situate in Section 32, Township 16 North, Range 3 East,\nEx. B-57\nVicksburg, Warren County, Mississippi, together with all alluvions, accretions, batture and all\nriparian rights appurtenant thereto, it being the intention herein to correct certain deficiencies in description contained in that certain deed recorded in Deed Book 812 at Page 255 of the land records of Warren County, Mississippi, and to describe\nand convey all of these lands heretofore conveyed to Vicksburg Bridge Company by deed recorded in Deed Book 242 at Page 443 and the lands conveyed to Warren County, Mississippi as Parcel K within deed recorded in Deed Book 262 at Page 462, each\nwithin the aforedescribed land records."}
-{"idx": 5, "level": 3, "span": "Parcel Two:"}
-{"idx": 5, "level": 4, "span": " Slope Easement Morrison Support (Casino) "}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THOSE CERTAIN RIGHTS INURING TO THE BENEFIT OF AMERISTAR CASINO VICKSBURG, INC. AND TO R. R. MORRISON &\nSON, INC. BY VIRTUE OF THAT CERTAIN INSTRUMENT STYLED “SLOPE EASEMENT AGREEMENT” DATED JUNE 9, 1994, RECORDED IN DEED BOOK 1014 AT PAGE 233 OF THE LAND RECORDS OF WARREN COUNTY, MISSISSIPPI, WHEREIN CERTAIN RIGHTS TO CONSTRUCT AND MAINTAIN\nA SLOPE PROVIDING LATERAL SUPPORT OF A STRUCTURAL EMBANKMENT CONSTRUCTED ON LANDS OF WARREN COUNTY, MISSISSIPPI WHICH ARE ADJACENT TO TRACT THREE DESCRIBED HEREINABOVE ARE GRANTED AND BEING FURTHER DESCRIBED AS:\nCommencing at the Southeast corner of Section 31, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi,\nand run thence South 33° 27’ 20” West, 1862.86 feet to the Vicksburg National Military Park (“VNMP”) Monument #394, being the Point of Beginning of the parcel herein described; from said Point of Beginning run thence South\n29° 04’ West, 50.00 feet; thence North 61° 11’ West, 60.00 feet; thence North 82° 45’ West, 94.63 feet; thence North 43° 31’ West, 260.23 feet; thence South 62° 11’ East, 396.26 feet to the Point of\nBeginning, all lying in Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, containing 0.44 acres, more or less."}
-{"idx": 5, "level": 3, "span": "TRACT FOUR"}
-{"idx": 5, "level": 4, "span": ": Cofferdam (Casino) Site (Fee Simple) \nThat tract or parcel of land upon which is constructed a certain cofferdam enclosure extending into the Mississippi River and being partially\nwithin Tract One of the lands hereinabove described and partially within Tract Two of the lands hereinabove described, same all lying and being situate in the City of Vicksburg, County of Warren, State of Mississippi, and being part of\nSection 32, Township 16 North, Range 3 East, more particularly described as follows, to-wit:\nTo reach the point of beginning,\ncommence at Vicksburg National Military Park Concrete Marker No. 388, which point marks the Southwest corner of the lands presently occupied by said Vicksburg National Military Park and known as South Fort, same having been conveyed to the\nUnited States of America by instrument recorded in Deed Book 93 at Page 268 of the aforesaid land records, which point further marks the Southeast Corner of lands conveyed to Miss Priscilla\nEx. B-58\nBrady by deed dated December 20, 1923, recorded in Deed Book 156 at Page 48 of said land records; run thence along the South line of said Brady parcel North 74° 55’ West, 77.53\nfeet, more or less, to a point on the easterly exterior face of a cell structure of a cofferdam enclosure located near the east bank of the Mississippi River, which point marks the POINT OF BEGINNING of the tract herein described; from said POINT OF\nBEGINNING run thence along the easterly exterior face of said cofferdam enclosure South 15° 00” West, 416.91 feet, more or less, to an iron pin set at a point where said course intersects a line projected easterly from the southerly\nexterior face of said cofferdam enclosure; run thence along a line projected in a Westerly direction extending along the southerly exterior face of said cofferdam enclosure having a course said to be North 75° 00’ West, a distance of 255.0\nfeet, more or less, to a point in the Mississippi River where said course intersects a line projected Southerly from the westerly exterior face of said cofferdam enclosure; run thence in a northerly direction in the Mississippi River along a line\nprojected in a northerly direction which will run along the westerly exterior face of said existing cofferdam enclosure North 15° 00’ East, a distance of 490.0 feet, more or less, to a point in the Mississippi River where said course\nintersects a line projected Westerly from the Northerly exterior face of said existing cofferdam enclosure; run thence in an easterly direction in the Mississippi River and thereafter on the land comprising the East bank thereof, but, nevertheless,\nalong a line projected in an easterly direction which will run along the northerly exterior face of said existing cofferdam enclosure South 75° 00’ East, a distance of 255.0 feet, more or less, to an iron pin set at a point where said\ncourse intersects a line projected northerly from the easterly exterior face of said existing cofferdam enclosure; run thence along a line projected in a southerly direction extending along the easterly exterior face of said cofferdam enclosure\nhaving a course said to be South 74° 55’ West, a distance of 73.09 feet, more or less, to a point on the easterly exterior face of said existing cofferdam enclosure, which point marks the POINT OF BEGINNING of the tract herein described all\nlying and being situate in Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi.\nTOGETHER WITH all\ntracts, parcels or properties, whether submerged or not, lying West of the West line of the lands hereinabove described which serves to extend the Northerly and Southerly lines thereof in a Westerly direction to the thalweg of the Mississippi River\nand the boundary line between the states of Mississippi and Louisiana."}
-{"idx": 5, "level": 3, "span": "TRACT FIVE: "}
-{"idx": 5, "level": 4, "span": "Southerly Portion of Northwest (Casino) Parking Lot (Pt.\nMP&L Fee Simple) \nTo reach the point of beginning, commence at an iron pipe on the West right of way line of Washington Street\n(being the same public roadway sometimes known as Warrenton Road and U. S. Highway Nos. 61 and 80) marking the Northeast Corner of the Mississippi Power & Light Company parcel recorded in Deed Book 158 at Page 424 and within Quitclaim Deed\nrecorded in Deed Book 596 at Page 375 and the South line of lands into which Ameristar Casino Vicksburg, Inc. went into fee simple possession by virtue of deed dated February 28, 1994, recorded in Deed\nEx. B-59\nBook 1004 at Page 103, each within the land records of Warren County, Mississippi (the “Ameristar Fee Simple Parcel”) and run thence along the North line of said Ameristar Fee Simple\nParcel North 74° 30’ West 397.56 feet, more or less, to the Easterly edge of a paved roadway, 32 feet in width (the “Northerly Access Road”) which point marks the POINT OF BEGINNING of the parcel herein described; from said POINT\nOF BEGINNING run thence along the Easterly edge of the Northerly Access Road, South 41° 52’ 14” West 221.65 feet, more or less, on the South line of the Ameristar Fee Simple Parcel as described within said Deed Book 158 at Page 424 and\nDeed Book 596 at Page 375, each within the aforesaid land records and the Southeasterly corner of the parcel herein described; thence leaving the Easterly edge of the Northerly Access Road and run along the Southerly line of the Ameristar Fee Simple\nParcel, North 74° 30’ West 35.71 feet, more or less, to a point on the Westerly edge of the Northerly Access Road; thence leaving the Westerly edge of the Northerly Access Road and continue along the Southerly line of the Ameristar Fee\nSimple Parcel, North 74° 30’ West 215.08 feet, more or less, to a point on the Westerly edge of an existing paved parking lot; thence leaving the Westerly edge of said existing paved parking lot and continue along the Southerly line of the\nAmeristar Fee Simple Parcel, North 74° 30’ West 77.14 feet, more or less, to a point on the top bank of the Mississippi River as same existed on November 7, 1992 (the “Top Bank”); thence leaving the Top Bank and continue\nNorth 74° 30’ a distance sufficient to intersect the thalweg of the Mississippi River marking the boundary between the states of Mississippi and Louisiana; run thence along the thalweg of said Mississippi River and the meanderings thereof\nmarking the boundary between the States of Mississippi and Louisiana in a Northerly or Northeasterly direction a distance sufficient to reach a point where same intersects the North line of the Ameristar Fee Simple Parcel extended Westerly from the\nTop Bank; thence leaving the thalweg of said River and run in an Easterly direction along the Northerly line of the Ameristar Fee Simple Parcel a distance sufficient to reach the Top Bank; thence continue along the Northerly line of the Ameristar\nFee Simple Parcel, South 74° 30’ East, a distance of 110.38 feet, more or less, to a point on the Westerly edge of said existing paved parking lot; thence continue along the Southerly line of the Ameristar Fee Simple Parcel, North 74°\n30’ West 291.72 feet, more or less, to a point on the Easterly edge of the Northerly Access Road, which point marks the POINT OF BEGINNING, said parcel all lying and being situate in Section 32, Township 16 North, Range 3 East, Vicksburg,\nWarren County, Mississippi, being the westernmost portion of lands described as Tract II within lands into which Ameristar Casino Vicksburg, Inc. went into fee simple possession by virtue of deed dated February 28, 1994, recorded in Deed Book\n1004 at Page 103, each within the land records of Warren County, Mississippi."}
-{"idx": 5, "level": 3, "span": "TRACT SIX:"}
-{"idx": 5, "level": 4, "span": " Northerly Portion of Northwest (Casino) Parking Lot\n(Delta Land Fee Simple) \nThat part of the Delta Land Company, Inc. parcels of land as recorded in Deed Book 1018 at Page 492 of the\nLand Records of Warren County being part of Section 31, Township 16 North, Range\nEx. B-60\n3 East, Vicksburg, County of Warren, Mississippi, containing, in aggregate, 4.29 acres, more or less, and being more particularly described as follows:\nCommencing at that certain Vicksburg National Military Park Monument # 379 run thence S 16° 38’ 14” W, a distance of 473.98 ft.\nto a point being the Southeast comer of Parcel I of the Delta Land Company, Inc. property as well as the Point of Beginning of the herein described parcel; thence run N 59° 10’ 00” W, a distance of 447 ft., more or less, along the\nSouth line of said property to a point at the thalweg of Mississippi River being the apparent Southwest comer of the Delta Land Company, Inc. property; thence along said thalweg as well as the apparent West line of said property, run N 18°\n47’ 39” E, a distance of 369 ft., more or less, to a point being the apparent Northwest comer of said property; thence, along the North line, run S 67° 00’ 00” E, a distance of 339 ft., more or less, to a point in the South\nright-of-way of that certain City of Vicksburg maintained access to Riverfront Park; thence along said right-of-way the following courses: S 48° 37’ 33” E, for a distance of 19.80 ft.; S 44° 06’ 20” E, for a distance of\n28.41 ft.; S 22° 10’ 40” E, for a distance of 34.54 ft.; S 08° 59’ 53” E, for a distance of 28.84 ft.; S 06° 11’ 50” E, for a distance of 127.04 ft.; S 28° 05’ 02” E, for a distance of 62.19\nft.; S 59° 24’ 11” E, for a distance of 34.59 ft.; thence, leaving said right-of-way, run S 48° 00’ 00” W, a distance of 229.48 ft. to the Southeast comer of said Parcel I as well as being the Point of Beginning and\ncontaining, in aggregate, 4.29 acres, more or less, being part of Section 31, Township 16 North, Range 3 East, Vicksburg, County of Warren, Mississippi."}
-{"idx": 5, "level": 3, "span": "Tract Seven:"}
-{"idx": 5, "level": 4, "span": " Hotel Site (Fee Simple) \nBeginning at a point in the East line of Washington Street, same being the Northwest corner of that certain tract or parcel of land conveyed\nto Magnolia Hotel Company by Julius M. Buchanan, et ux, as recorded in the Land Deed Records of Warren County, Mississippi in Deed Book 247 at Page 498 (the “Magnolia Deed”) and the point of beginning thereafter conveyed by Commonwealth\nHotels of Mississippi to Ameristar Casino Vicksburg, Inc. by deed dated June 7, 1994, recorded in Deed Book 1014 at Page 77 (the “Commonwealth Deed”) said Northwest corner being marked by an iron pipe driven flush with the ground a\ndistance of 1 foot; more or less, northerly from a power pole and a distance of thirty (30) feet, more or less, as measured Easterly, from the center line of the pavement of U. S. Highway 61-80; from said point of beginning running with the\nline as described in the Magnolia Deed and in the Commonwealth Deed as South 86 degrees 45 Minutes East, but having an actual course made more definite by survey circa 1997 (the “1997 Survey”) made in connection with a conveyance by\nAmeristar Casino Vicksburg, Inc. dated July 21, 1997, recorded in Deed Book 1114 at Page 301 (the “AC Deed”) of South 86 Degrees 34 Minutes 00 Seconds East, but, nevertheless, a distance of 106.00 feet to a point; run thence along a\nline as described in the Magnolia Deed and the Commonwealth Deed as South 72 degrees 45 Minutes East a distance of 178 feet, but having an actual course and distance as established by the 1997 Survey of South 72 degrees 34 Minutes 00 Seconds East a\ndistance of 175.00 feet, but, nevertheless, to an iron pipe which marks a point in\nEx. B-61\nthat certain old dilapidated fence line as same existed on the date of delivery of the said Magnolia Deed, which old fence was thereafter covered by fill and improvements to the surrounding\nproperty and is no longer in evidence but was re-established by the 1997 Survey; run thence with the course of said old fence, having a course described in the Magnolia Deed of South 77 degrees 50 Minutes East, but having an actual course\nestablished by the 1997 Survey and in the AC Deed of a distance of South 77 degrees 39 Minutes 00 Seconds East, and, in each instance, a distance of 307.00 feet to an iron pipe; run thence with the course of said old fence, having a course described\nin the Magnolia Deed of South 83 degrees 45 Minutes East, but having an actual course established by the 1997 Survey and in the AC Deed of South 83 degrees 34 Minutes 00 Seconds East, and, in each instance, a distance of 200.00 feet to an iron pipe\nwhich marks the apparent northeast corner of said old fence; thence continuing with the course of said old fence and a Southerly projection thereof, having a course described in the Magnolia Deed and in the Commonwealth Deed of South 14 degrees 40\nMinutes East a distance of 416 feet, but having an actual course and distance established by the 1997 Survey and in the AC Deed of South 14 degrees 29 Minutes 00 Seconds East a distance of 419.50 feet, but, nevertheless, along a course and distance\nsufficient to reach the North right-of-way line of the Illinois Central Railroad; run thence along the north right-of-way line of said railroad, having a course described in the Magnolia Deed and in the Commonwealth Deed of South 55 degrees 52\nMinutes 28 Seconds West, but having an actual course established by the 1997 Survey and in the AC Deed of South 56 degrees 02 Minutes 30 Seconds West, but, in each instance a distance of 795.22 feet, more or less, to the intersection of said\nRailroad right-of-way line with the east right-of-way line of Federal Aid Project No. I-IG-20-1 (24) 0 (the “I-20 ROW”); thence run with the I-20 ROW as conveyed to the State Highway Commission of Mississippi by Magnolia Hotel Company\nby deed recorded in the Land Deed Records of Warren County in Deed Book 414 at Page 545, having a course published in the Commonwealth Deed of North 55 degrees 17 Minutes West, but having an actual course established by the 1997 Survey and in the AC\nDeed of North 55 degrees 06 Minutes 00 Seconds West, and, in each instance a distance of 195.00 feet, but, nevertheless along said I-20 ROW with a distance sufficient to reach a point that is 160 feet northwesterly of and measured radially to\nStation 25+00 on the northerly edge of the proposed pavement of the North ramp of the I-20 ROW, as shown on plans for said project; thence continue along the I-20 ROW, having a course published in the Commonwealth Deed of North 45 degrees 05 Minutes\n04 Seconds West but having an actual distance as established by the 1997 Survey and in the AC Deed of North 44 degrees 58 Minutes 04 Seconds West, and, in each instance, a distance of 419.50 feet, but, nevertheless along a course with distance\nsufficient to reach a point that is forty (40) feet Southeasterly of and measured radially to Station 3+40 on the centerline of the East lane of the relocation of U. S. Highway 61 (Washington Street) as shown on plans for said project (the\n“East Lane”); thence run along the East Lane of U. S. Highway 61/Washington Street, having a course published in the Commonwealth Deed of North 02 degrees 37 Minutes 02 Seconds East, but having a actual course established by the 1997\nSurvey and in the AC Deed of North 02 degrees 47 Minutes 25 Seconds East, and, in each instance a distance of 41.38 feet, but, nevertheless, with a distance sufficient to reach a point that\nEx. B-62\nis 25 feet Southeasterly of and measured radially to Station 3+00 on the centerline of said East\nlane, run thence along the East Lane of U. S. Highway 61/Washington Street, having a course published in the Commonwealth Deed of North 17 Degrees 14 Minutes 00 Seconds East but having a actual course established by the 1997 Survey and in the AC\nDeed of North 17 Degrees 25 Minutes 00 Seconds East, and, in each instance, a distance of 101.00 feet, but, nevertheless along the East Lane with a distance sufficient to reach a point that is Southeasterly of and measured radially to Station 2+00\non the centerline of the East lane of the relocation of former U. S. Highway 61 as shown on plans for Federal Aid Project No. I-IG-20-1 (24) 0 (the last described point being also a point in the West line of the tract conveyed by Magnolia\nDeed); run thence with said West line of land conveyed in the Magnolia Deed, being also the East right-of-way line of said former U. S. Highway No. 61-80/Washington Street, having a course published in the Commonwealth Deed of North 25 degrees\n40 Minutes East but having a actual course established by the 1997 Survey and in the AC Deed of North 25 degrees 51 Minutes 00 Seconds East, and, in each instance, a distance of 247.00 feet; thence continuing with said West line of land conveyed by\nthe Magnolia Deed and along the East Lane, having a course published in the Commonwealth Deed of North 23 degrees 10 Minutes East, but having an actual course established by the 1997 Survey and in the AC Deed, and, in each instance a distance of\n246.00 feet, more or less, to the point of beginning, all of the above described lot, tract or parcel of land lying being situated in Section 32, Township 16 North, Range East, Vicksburg, Warren County, Mississippi and contains 16.45 acres,\nmore or less, it being the intention herein to described and convey, and there is hereby described and conveyed, the same lands heretofore conveyed to Ameristar Casino Vicksburg, Inc. by deed recorded in Deed Book 1014 at Page 77 and the lands\nthereafter conveyed to AC Hotel Corp. by deed recorded in Deed Book 1114 at Page 301, each within the aforesaid Warren County Land Records."}
-{"idx": 5, "level": 4, "span": "TRACT EIGHT\nPart of Section 32, Township 16 North, Range 3 East, Warren County, Mississippi, more particularly described as follows,\nto-wit:"}
-{"idx": 5, "level": 4, "span": "PARCEL ONE\n: Beginning at an iron pipe which lies south 13 degrees 15 minutes west 202.02 feet from an axle\nmarking the Northeast corner of that certain lot conveyed by Lucy B. Dabney to W. A. Byrd as recorded in the office of the Chancery Clerk of Warren County, Mississippi, in Book 280 at Page 523 being a point in the South line of Lucy Bryson Street,\nwhich said point of beginning marks a corner of that certain tract or parcel of land conveyed to W. A. Byrd by J. B. Dabney on March 25, 1952; \nEx. B-64\nthence south 26 degrees 55 minutes east 352.51 feet to an iron pipe; thence south 89 degrees 26 minutes west, 77.45 feet to an iron pipe; thence north 30 degrees 53 minutes west 431.57 feet to an\niron axle at the Southwest corner of the aforementioned Byrd property as recorded in Book 280 at Page 523; thence along the South line of said Byrd property, south 68 degrees 24 minutes east 125 feet; thence south 68 degrees 09 minutes east 24.94\nfeet to the point of beginning, and containing 0.7 acre, more or less."}
-{"idx": 5, "level": 4, "span": "TOGETHER \nwith a right-of-way and easement\nfor the purpose of providing ingress and egress for the above described land in, on and over a strip of land 24 feet wide off of the East side of that certain lot, tract or parcel of land which was conveyed to W. A. Byrd by Lucy B. Dabney by deed\ndated April 6, 1950, and recorded in Deed Book 280 at Page 523 of the aforesaid Land Records, which said strip of land extends from the North boundary line of the above described land to Lucy Bryson Street and which is presently used in\nproviding ingress and egress to the said lands. "}
-{"idx": 5, "level": 4, "span": "PARCEL TWO\n: Beginning at the Northwest corner of that certain\ntract or parcel of land conveyed by Julius M. Buchanan to Magnolia Hotel Company as recorded in the Land Deed Records of Warren County, Mississippi in Deed Book 247 at Page 498, said Northwest corner being marked by a large iron pipe which lies a\ndistance, as measured easterly, of thirty feet from the centerline of the pavement of U.S. Highway 61 and 80, run thence on the chord of a curve of Highway north 18 degrees 14 minutes east a distance of 268.77 feet to an iron pipe which marks the\nNorthwest corner of that \nEx. B-64\ncertain tract or parcel of land conveyed to W. A. Byrd as recorded in the\naforementioned Land Records in Book 252 at Page 510, said Northwest corner of the Byrd property being also the Southwest corner of the Henry C. Pullen lot as described in said Land Records in Book 274 at Page 392; run thence on the line common to\nsaid Pullen and Byrd, South 72 degrees East 200 feet to an iron pipe which marks the Southeast corner of said Pullen lot; run thence with the East line of said Pullen lot and the East line of the W.T. Sheffield lot, as described in said Land Records\nin Book 388 at Page 179, North 18 degrees 24 minutes East a distance of 222.66 feet to an iron pipe which marks the Northeast corner of said Sheffield lot and being also the Southeast corner of the Lora Mae Girod lot as described in said Land.\nRecords in Book 396 at Page 397, and being also the Southwest corner of the John L. Kerr Company lot as recorded in said Land Records in Book 322 at Page 547 and being the Northwest corner of that certain tract or parcel of land conveyed to Capitol\nTransport Company, Inc. by W. A. Byrd as recorded in said Land Records in Deed Book 318 at Page 374; thence run with said Capitol Transport Company, Inc.’s West boundary line being also the East boundary line of the lot herein described. South\n29 degrees 08 minutes East a distance of 431.32 feet to an iron pipe which marks a corner common to said Capitol Transport Company and the lands of Joseph Gerache, said Gerache lands being described in the above mentioned Land Records in Book 356 at\nPage 453; run thence with a common boundary to the Byrd and Gerache lands North 40 degrees 59 minutes West a distance of 137.3 feet to an iron pipe; thence continuing with the Byrd and Gerache boundary South 17 degrees 33 minutes West a distance of\n226.96 feet to an iron pipe in the North line of the aforementioned Magnolia Hotel Lands, said iron pipe also being a corner to Byrd and Gerache; thence running with said Magnolia Hotel Company’s North line as follows: North 77 degrees 50\nminutes West 123 feet; North 72 degrees 45 minutes West 178 feet; North 86 degrees 45 minutes West 106 feet to the point of beginning, and containing 2.88 acres, more or less."}
-{"idx": 5, "level": 4, "span": "PARCEL THREE:\n Beginning at a point which lies South 66 degrees 39 minutes East a distance of 125 feet from the\nNorthernmost corner of Parcel Two described above and being also the Southeast corner of that certain tract or parcel of land conveyed to John L. Kerr, Co, by W. A. Byrd as described in Deed Book 322 at Page 547 of the aforesaid Land Records;\nrunning thence North 22 degrees 05 minutes East 200 feet to a point; run thence South 15 degrees 00 minutes West 202.2 feet to an axel which marks the Northeast corner of the Capitol Transport Company’s land; run thence with said Capitol\nTransport Company’s North line North 66 degrees 24 minutes West 24.94 feet to the point of beginning, and containing 0.06 acre, more or less. \nEx. B-65"}
-{"idx": 5, "level": 4, "span": "TRACT NINE\nBeginning at the Southeast corner of the lot conveyed by Lucy B. Dabney to W. A. Byrd by deed recorded in Book 258, at Page\n397, of the Record of Deeds of said county, being a point in the South line of the Mosby Tract and in the North line of the property of Magnolia Hotel Company, which line is marked by an old fence, and run thence South Eighty-Two (82) Degrees Ten\n(10) Minutes East along said fence Four Hundred (400’) Feet more or less to a fence corner; thence continuing on the same course Two Hundred Eighty-Five (285’) Feet to a stake; thence North Ten (10) Degrees Five (5) Minutes West One\nHundred Ten (110’) Feet to a stake; thence North Eighty Four (84) Degrees Fifty (50) Minutes East One Hundred Twenty (120’) Feet more or less to the West line of the right of way of the Y&MV. Railroad leading to the Mississippi River\nBridge; thence Northwardly on a curve to the left along the West line of the right of way to its intersection with the center of the high power line of the Mississippi Power and Light Company; thence North Seventy-Four (74) Degrees West along the\ncenter of said power line to the Northeast corner of a lot conveyed by Lucy B. Dabney to W. A. Byrd by deed recorded in Book 280 at Page 525 of said Records of Deeds, being Parcel Two in said Deed; thence South Twenty-One (21) Degrees Thirty-Two\n(32) Minutes West One Hundred Sixty-Five (165’) Feet to the Southeast corner of last named lot, being a point in the North line of Lucy Bryson Street; thence South Sixty-Eight (68) Degrees Twenty-Eight (28) Minutes East along the North line of\nLucy Bryson Street Fifty (50’) Feet to the end of said street; thence South Twenty-One (21) Degrees Thirty-Two (32) Minutes West Fifty (50’) Feet across the East end of said street, being a point in the North line of the lot conveyed by\nLucy B. Dabney to W. A. Byrd by Deed recorded in Book 280 at Page 523 of said Record of Deeds; thence South Sixty-Eight (68) Degrees Twenty-Eight (28) Minutes East along the North line of said Byrd lot Twenty-Five (25’) Feet to its Northeast\ncorner; thence South Thirteen (13) Degrees Fifteen (15) Minutes West Two Hundred Two and Two-Tenths (202.2’) Feet to an iron pipe; thence South Twenty-Six (26) Degrees Fifty-Five (55) Minutes East Three Hundred Fifty-two and fifty-one\none-hundredths (352.51’) Feet to an iron pipe; thence South Eighty-Nine (89) Degrees Twenty-Six (26) Minutes West Seventy-Seven and forty-five hundredths (77.45’) Feet to an iron pipe; thence North Thirty-Nine (39) Degrees Thirty-Seven\n(37) Minutes West One Hundred Forty-Three and fifty-three one-hundredths (143.53’) Feet to an iron pipe in the Northeast corner of said lot conveyed by Lucy B. Dabney to W. A. Byrd by deed recorded in Book 258 at Page 397 of said Record of\nDeeds; thence Southwardly along the East line of the last named lot Two Hundred Thirty-One (231’) feet, more or less, to the point of beginning, being in Sections Thirty and Thirty-Two (30 and 32), Township Sixteen (16) North, Range Three (3)\nEast, being the same property conveyed by J. B. Dabney to Joseph J. Gerache by deed dated March 26, 1952 and recorded in Book 294 at page 296 of said Record of Deeds and further conveyed to Joseph A. Gerache by Joseph J. Gerache by deed dated\nFebruary 3, 1960 and recorded in Book 356 at Page 453 of said Land Records.\nEx. B-66"}
-{"idx": 5, "level": 4, "span": "TOGETHER WITH ALL RIGHT TITLE AND INTEREST OF GRANTOR IN AND TO\n that\ncertain grant of easement from Walter A. Byrd in favor of Joseph J. Gerache for vehicular access over and across a strip of land 18 feet in width, fronting on Lucy Bryson Street and leading to the subject property, more particularly described within\ninstrument styled “Easement’’ dated July 25, 1952, filed for record in the office of the Chancery Clerk of Warren County, Mississippi, on July 28, 1952 at 8:00 A.M., recorded therein in Deed Book 296 at Page 377. "}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT\n that part of the above described property conveyed by Joseph J. Gerache, et. al, to Mississippi Power\nand Light Company by Deed dated August 31, 1955 and recorded in Book 324, at page 295 of the Land Records of Warren County, Mississippi. "}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT\n that part of the above described property conveyed by Joseph A. Gerache to Mississippi Power &\nLight Company, a Mississippi Corporation, by Warranty Deed dated May 20, 1986 and recorded in Book 780, at page 219 of the Warren County, Mississippi Land Records. \nEx. B-67"}
-{"idx": 5, "level": 4, "span": "TRACT TEN\nPart of Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi. Beginning at the Northwest corner\nof the Michael J. Chaney tract as recorded in Deed Book 662 at Page 235 of the Land Records of Warren County, Mississippi, and run thence along the North line of the said Chaney tract, South 71 degrees 01 minutes 00 seconds East, 150.00 feet; thence\nleaving the North line of the Chaney tract and run South 17 degrees 38 minutes 45 seconds West, 150.90 feet to a point on the South line of the said Chaney tract; thence along the South line of the said Chaney tract, North 74 degrees 15 minutes 00\nseconds West, 150.00 feet to the Southwest corner of the Chaney tract, said point lying on the East Right of Way of U.S. Highway 61 and 80; thence along the East Right of Way line of U.S. Highway 61 and 80 in a Northwesterly direction along the are\nof a 1 degree 15 minutes 30 second curve, 159.36 feet to the Point of Beginning and containing 0.534 acres, more or less, and being part of the Michael J. Chaney tract as recorded in Deed Book 662 at Page 235 in Section 32, Township 16 North, Range\n3 East, Vicksburg, Warren County, Mississippi.\nEx. B-68"}
-{"idx": 5, "level": 4, "span": "TRACT ELEVEN\nThat certain tract of land lying between the center line\nof Old Warrenton Road (abandoned) and present U. S. Highway 61 and 80, in Section 32, Township 16, Range 3 East, Warren County, Mississippi, more particularly described as follows, to-wit:\nBegin at U.S. National Military Park Marker No. 389 and run thence South 88 degrees 25 minutes east a distance of 15 feet to the point of\nbeginning; run thence north 3 degrees 39 minutes 30 seconds east a distance of 100.15 feet to a point; run thence north 18 degrees 39 minutes east a distance of 75.56 feet to a point; run thence north 38 degrees 57 minutes east a distance of 110.49\nfeet to a point on the west right-of-way line of present U.S. Highway 61 and 80; run thence south 20 degrees 34 minutes west along said right-of-way line a distance of 119.61 feet to a point; run thence south 18 degrees 14 minutes west along said\nright-of-way line a distance of 153.10 feet to a point; run thence north 88 degrees 25 minutes west a distance of 10.4 feet to the point of beginning.\nEx. B-69"}
-{"idx": 5, "level": 4, "span": "TRACT TWELVE\nBeginning at a U. S. General Land Office Survey concrete marker erected in 1938 at the\ninter-section of the south line of the Vicksburg National Military Park adjacent to Confederate Avenue with the Section line running north and south dividing Sections Twenty-nine (29) and Thirty-one (31).\nTownship Sixteen (16), Range Three (3) East, and running thence along the south line of said Park, north 50 degrees 35 minutes west, forty-five and 15/100 (45.15) feet to the Park Stone Number 408; thence, continuing on the same course, nine and\n66/100 (9.66) feet to a point in the east line of the right-of way of Mississippi U. S. Highways 61 and 80; thence, along said east line of said Highway, which is an are to the right the chord of which is one hundred and twenty-one and 23/100\n(121.23) feet with a bearing of South 15 degrees 43 minutes west; thence, continuing along the east line of said right-of-way, south 20 degrees 52 minutes West, eighteen and 77/100 (18.77) feet to the northwest corner of a lot conveyed by L. C.\nLatham to Old South Motors, Inc. by deed recorded in Book 278 on Page 374 of the Record of Deeds of said Country; thence, south 68 degrees 03 minutes East, along the north line of said Old South Motors, Inc., two hundred (200) feet, thence North 21\ndegrees 57 minutes East, seventy-one and 29/100 (71.29) feet to an intersection with the south line of said Military Park; thence North 50 degrees 35 minutes West, one hundred seventy-one and 24/100 (171.24) feet to the point of beginning, being in\nSections 29 and 31, Township 16, Range 3 East, and being a portion of the same land conveyed to L. C. Latham by Lucy B. Dabney by deed dated August 27, 1946, and recorded in Book 258 at Page 22 of the Land Deed Records of Warren Country,\nMississippi.\nEx. B-70"}
-{"idx": 5, "level": 4, "span": "TRACT THIRTEEN"}
-{"idx": 5, "level": 4, "span": "TRACT I\nBeginning at a\nUnited States General Land Office Survey concrete marker located on the intersection of the section line which divides Sections 29 and 31, Township 16 North, Range 3 East, with the Vicksburg National Military Park boundary line, said marker being\n269.08 feet North of the Southeast corner of said Section 31 and the Southwest corner of said Section 29; thence North sixty-eight (68) degrees and twenty-eight (28) minutes West from said marker a distance of 36.4 feet; thence South twenty-one (21)\ndegrees and thirty-two (32) minutes West a distance of 197.2 feet to a point on the East right-of-way line of Miss. U. S. Highways Nos. 61 and 80 and continuing South twenty-one (21) degrees and thirty-two (32) minutes West along East right-of-way\nline of said Highways a distance of 289 feet to an iron pin; thence continuing South twenty-one (21) degrees and thirty-two (32) minutes West along East right-of-way line of said Highways a distance of 242.50 feet to an iron pin marking the\nSouthwest corner of a tract of land described in Deed Book 324, Page 295 and the POINT OF BEGINNING:\nTHENCE run South 68\ndegrees 26 minutes 22 seconds East, along the South line of said tract and along the South line of a tract of land described in Deed Book 780, Page 219, 350.02 feet, to the Southeast corner of said tract;\nTHENCE run North 21 degrees 32 minutes 00 second East, 175.90 feet, along the East line of said tract to the Northeast\ncorner thereof;\nTHENCE run North 74 degrees 00 minutes 00 second West, along the North lines of the aforementioned tract\n150.90 feet, to a point on the East line of a tract of land described in Deed Book 254, Page 447;\nTHENCE run North 21\ndegrees 32 minutes 00 seconds East, along the East line of said tract 100.50 feet to a found iron pin, the Northeast corner thereof;\nTHENCE run North 73 degrees 57 minutes 01 seconds West, along the North line of said tract 200.74 feet to the Northwest corner\nthereof, same being on the East rignt-of-way line of said Highway 61 and 80;\nEx. B-71\nTHENCE along said right-of-way, run South 21 degrees 32 minutes 00 seconds\nWest, 242.50 feet to the POINT OF BEGINNING; containing 1.74 acres, more or less, LESS AND EXCEPT the hereinbelow described 0.03 acre Tract (hereinafter the “Reserved Tract”), leaving a net acreage of 1.71 acres, more or less,\nto-wit:\nBeginning at a United States General Land Office Survey concrete marker located on the intersection\nof the section line which divides Sections 29 and 31, Township 16 North, Range 3 East, with the Vicksburg National Military Park boundary line, said marker being 269.08 feet North of the Southwest corner of said Section 31 and the Southwest corner\nof said Section 29; thence North sixty-eight (68) degrees and twenty-eight (28) minutes West from said marker a distance of 36.4 feet; thence South twenty-one (21) degrees and thirty-two (32) minutes West a distance of 197.2 feet to a point on the\nEast right of way line of Miss. U.S. Highways Nos. 61 and 80 and continuing South twenty-one (21) degrees and thirty-two (32) minutes West along East right of way line of said Highways a distance of 289 feet to an iron pin marking the Northwest\ncorner of the herein above described TRACT I; thence leaving said East right of way line of Miss. U. S. Highways Nos. 61 and 80, run along the North line of the above described TRACT I, south 73 degrees 57 minutes 01 seconds East,\n149.64 feet to the POINT OF BEGINNING:\nTHENCE, continue along said North line of above described TRACT I, South 73\ndegrees 57 minutes 01 seconds East, 51.10 feet to the Northeast corner thereof;\nTHENCE along the East line of said TRACT\nI, run South 21 degrees 32 minutes 00 seconds West,21.60 feet;\nTHENCE leaving said East line, run North 73 degrees 57\nminutes 01 seconds West and parallel to the said North line of TRACT I, 51.10 feet;\nTHENCE run North 21 degrees 32 minutes\n00 seconds East and parallel to the said East line of TRACT I, 21.60 feet to the POINT OF BEGINNING, containing 0.03 acres, more or less."}
-{"idx": 5, "level": 4, "span": "TRACT II\nBeginning at a\npoint on the west line of Warrenton Road, a distance of fifty (50) feet in a northerly direction from the northeast corner of that certain tract of land which is described in, and which was conveyed to the United States of America by, that certain\ndeed bearing date the 24th day of January, 1920, executed by Thomasene H. Woolsey and M. E. Hughes, which is recorded in Deed Book No. 93, at Page 268, of the Land Records in the office of the Clerk of the Chancery Court of said Warren\nCounty; running thence North along the west line of said Warrenton Road a distance of 199.95 feet; thence North seventy-five (75) degrees twenty-three (23) minutes and four (04) seconds West, a distance of eight hundred (800) feet, more or less, to\nthe west line of that certain lot, tract or parcel of land which was conveyed to Eliza B.\nEx. B-72\nHumphreys and Priscilla Brady by W. G. Kiger by deed bearing date the 20th day of\nDecember, 1923, recorded in Deed Book 156, at Page 48, of the land records aforesaid; thence in a Southerly direction along the west line of the land so conveyed to Eliza B. Humphreys and Priscilla Brady by the said W. G. Kiger, a distance of 199.95\nfeet, thence South seventy-five (75) degrees twenty-three (23) minutes and four (04) seconds East, a distance of eight hundred (800) feet, more or less, to the point of beginning; containing four (4) acres, more or less and being a part of Section\nThirty-two (32), in Township Sixteen (16) North, Range Three (3) East, and being the same property described in that certain conveyance to The Mississippi Power and Light Company dated May 13, 1925, appearing of record in Deed Book 158, at page 424,\nof the Land Records of Warren County, Mississippi.\nEx. B-73"}
-{"idx": 5, "level": 4, "span": "TRACT FOURTEEN"}
-{"idx": 5, "level": 3, "span": "Parcel One:\nA parcel of land situated in Section 32, Township 16 north, Range 3 East and being a part of that tract of land described as\nParcel 1 in the conveyance to Lucy B. Dabney by deed recorded in Deed Book 206 at Page 205 of the records of the Chancery Clerk of Warren County, Mississippi, being more particularly described as follows:\nBeginning at the intersection of the South boundary of Lucy Bryson Street as described in deed recorded in Deed Book 282 at\nPage 55 of the records of the Chancery Clerk of Warren County, Mississippi, with the East right-of-way line of Mississippi Highway 61 and U. S. Highway 80, which point is 15.0 feet as measured along the East right-of-way line of said Highways 61 and\n80 from the South boundary of Mississippi Power and Light Company’s 80 foot wide right-of-way as described in deed recorded in Deed Book 158 at Page 511 of the records of the Chancery Clerk of Warren County, Mississippi; run thence South 67\ndegrees 30 minutes East and along the South boundary of Lucy Bryson Street 150 feet; run thence South 21 degrees 30 minutes West 195.60 feet, more or less, to the North boundary of the W. T. Sheffield, Sr. property as described in deed recorded in\nDeed Book 388 at Page 179 of the records of the Chancery Clerk of Warren County, Mississippi; run thence North 69 degrees 11 minutes West and along the North line of the said W. T. Sheffield property through an existing 3/4 inch iron bar 150 feet,\nmore or less, to the East right-of-way line of Mississippi Highway 61 and U. S. Highway 80; run thence Northeasterly and along a 00 degree 48 minute curve in the said Eastern right-of-way of said Highways 194.10 feet to the tangent point of said\ncurve, said curve having a chord bearing North 21 degrees 30 minutes East 194.10 feet; run thence North 22 degrees 17 minutes East and along said highway right-of-way 5.90 feet, more or less, to the point of beginning;\nBeing the same land described in that certain WARRANTY DEED dated October 10,1968, Leo Hall, Grantor, to Humble Oil &\nRefining Company, a Delaware corporation, (now Exxon Corporation), Grantee and recorded in Official Records of Warren County, in Deed Book 448 at Page 456, and the same lands and improvements thereafter conveyed by Exxon Corporation,\nEx. B-74\nsuccessor by merger to Humble Oil & Refining Company) by deed recorded in\nDeed Book 574 at Page 292 of the aforesaid Land Records of Warren County, Mississippi."}
-{"idx": 5, "level": 4, "span": "PARCEL TWO"}
-{"idx": 5, "level": 4, "span": ": \nBeing situated in Section 32, Township 16 North, Range 3 East, Warren County, Vicksburg, Mississippi and being a part of that\ntract known as Parcel 1 as conveyed to Lucy B. Dabney and recorded in Deed Book 206 at Page 205 of the Chancery Records of Warren County, Mississippi and being more particularly described as follows; Commence at the intersection of the South\nBoundary of Lucy Bryson Street as recorded in Deed Book 282 at Page 55 of the Chancery Records of Warren County, Mississippi, with the East right of way line of Mississippi Highway 61 and U.S. Highway 80, which point is 150.00 feet, as measured\nalong the East right of way line of said Highways 61 and 80, from the South Boundary of Mississippi Power and Light Company’s 80 foot wide right of way as recorded in Deed Book 158 at Page 511 of the Chancery Records of Warren County,\nMississippi; run thence South 67 degrees 30 minutes East and along the South Boundary of Lucy Bryson Street, 150.00 feet to the point of beginning for the property herein described; continue thence South 67 described 30 minutes East and along the\nSouth Boundary of Lucy Bryson Street, 50.09 feet to an iron pipe; run thence South 21 degrees 10 seconds West, 194.15 feet to an iron bar; run thence North 69 degrees 11 minutes West, 51.25 feet; run thence North 21 degrees 30 minutes East, 195.60\nfeet to the point of beginning.\nBeing the same land described in that certain Substituted Trustee’s Deed dated\nFebruary 19, 1985, in favor of David McDonald d/b/a McDonald Land Developers and Evelyn McDonald, recorded in Official Records of Warren County, in Deed Book 740 at Page 112, the undivided ½ interest of the said Evelyn McDonald having thereafter been conveyed to Evelyn McDonald, Trustee of the Evelyn McDonald Revocable Trust u/t/d March 15, 2000, as Parcel 3 within deed dated April\n4, 2000, recorded in Deed Book 1200 at Page 783 of the aforesaid Land Records of Warren County, Mississippi.\nEx. B-75"}
-{"idx": 5, "level": 3, "span": "Parcel Three:\nPart of Section 32, Township 16 North, Range 3 East, Warren County, Mississippi, described as follows:\nBeginning at a point in the East line of Warrenton Road as marked by a steel rod that lies South 87 degrees 03 minutes East a\ndistance of 115.3 feet from a Vicksburg National Military park boundary marked #389-B, said boundary marked being shown on the maps of the Vicksburg National Military Park recorded in the office of: the Chancery Clerk, Warren County, Mississippi,\nsaid point of beginning also lies a distance of 198 feet, more, or less, as measured in a Southerly direction from the South line of Bryson Street at the East line of Warrenton Road, thence from said point of beginning run East at right angles with\nWarrenton Road a distance of Two Hundred (200) feet to a point and run thence in a Southerly direction on a line parallel with the East line of Warrenton Road a distance of 75 feet to a point, run thence in a Westerly direction on a line parallel\nwith the North line of the tract or parcel herein described a distance, of 200 feet to the East line of Warren ton Road, run thence in a Northerly direction along the East line of Warrenton Road a distance of 75 feet to the point of beginning.\nBeing the same land described in that certain Warranty deed dated October 11, 1982, conveying an undivided 3⁄4 interest therein in favor of David McDonald and an undivided 1⁄4\ninterest therein in favor of Edward McDonald, recorded in Official Records of Warren County, in Deed Book 676 at Page 197, the undivided 1⁄4 interest of the\nsaid Edward McDonald having thereafter been conveyed to David L. McDonald (being the same individual known as David L. McDonald) within deed dated March 28, 1985, recorded in Deed Book 742 at Page 457 of the aforesaid Land Records of Warren County,\nMississippi."}
-{"idx": 5, "level": 2, "span": "TRACT FIFTEEN\nThat certain\nparcel conveyed to Riverview Development Company, LLC by Delta Land Company, Inc. as recorded in Deed Book 1208 at Page 553 of the Land Records of Warren County, being part of Section 31, Township 16 North, Range 3 East, Vicksburg, Warren\nCounty, Mississippi, containing in the aggregate 0.22 acres, and being more particularly described as follows:\nCommencing at that certain Vicksburg\nNational Military Park Monument #379, run thence South 10 degrees 37 minutes 48 seconds East, 393.30 feet, more or less, to a found iron marking the northwest corner of the herein described tract and the point of beginning; from said point run\nthence South 73 degrees 00 minutes 00 seconds East, 51.13 feet to the apparent westerly right of\nEx. B-76\nway of Washington Street, as it presently exists; thence along said apparent right of way, South 21 degrees 28 minutes 23 seconds West, 200.01 feet to a point; thence leaving said right of way\nand run North 54 degrees 00 minutes 00 seconds West, 52.00 feet to a point; thence run North 21 degrees 16 minutes 25 seconds East, 182.98 feet to the point of beginning, a plat whereof prepared by CTSI being attached hereto as Schedule 1.1 and\nincorporated herein in aid of description of the property herein described and conveyed and for all other purposes in the construction of this instrument.\nEx. B-77"}
-{"idx": 5, "level": 3, "span": "Ameristar Kansas City"}
-{"idx": 5, "level": 2, "span": "GAMING PROPERTY"}
-{"idx": 5, "level": 2, "span": "TRACT 1:\nLot 1, “KANSAS CITY STATION,” a subdivision of land in the City of Kansas City, Clay County, Missouri, according to the recorded plat\nthereof."}
-{"idx": 5, "level": 2, "span": "TRACT 2:\nLot 3,\nKANSAS CITY STATION, a subdivision of land in Kansas City, Clay County, Missouri, according to the recorded plat thereof."}
-{"idx": 5, "level": 2, "span": "TRACT 3:\nLots 1 to 6, both inclusive, all of Lot 8, and all that part of Lots 7, 9, 10 and 12 lying Northerly of the Northerly line of the Birmingham\nDrainage District Levee, in Block 40;\nLots 1-15, both inclusive (EXCEPT the part of said Lot 14 lying Southerly from the Northerly line\nof Birmingham Drainage District Levee), in Block 42;\nLots 2 and 4 (EXCEPT the part thereof lying Southerly of the Northerly line of\nBirmingham Drainage District Levee), in Block 43;\nLots 1 - 18, both inclusive, in Block 44;\nLots 1, 2, 3, 4, 6 and 8, and all that part of Lots 5, 7 ,9, 10 and 12 lying Northerly of the Northerly line of Birmingham Drainage District\nLevee, in Block 45;\nLots 1, 2, 3, 7, 10, 12, 14, 16,18 and 20; the West 21.38 feet of Lot 4, and the West 33.28 feet of Lots 8, 9, 11,\n13, 15, 17, 19 and 21, in Block 47;\nLots 1, 3, 5, 7, 9 and 11, and the West 33.28 feet of Lots 2, 4, 6, 8, 10 and 12, in Block 48;\nTogether with:\nAll vacated\nalleys or portions thereof which lie adjacent to said lots or portions of lots.\nVacated Third (3rd) Street lying between the East\nline of Liberty Street and the extended East line of said West portion of said Lot 4, in Block 47;\nAll of vacated Cherry street, Vine\nStreet and Hickory Street lying between the South line of Third (3rd) Street and the Northerly line of Birmingham Drainage District Levee;\nEx. B-78\nAll of vacated Second (2nd) Street lying between the Northerly line of the Birmingham\nDrainage District Levee and the extended East line of the West 33.28 feet of Lot 2, in said Block 48;\nAll of vacated Main Street lying\nEast of the Northerly line of said Birmingham Drainage District Levee and West of the extended East line of the West 33.28 feet of Lot 12, in said Block 48;\nAll in the PLAN OF RANDOLPH, a subdivision in the Village of Randolph, Clay County, Missouri; EXCEPT from the foregoing Tract 3 the following\ndescribed property conveyed to Kansas City Power & Light Company by Special Warranty Deed recorded in Book 2620, Page 663 as Document No. N20860 in the Official Records of Clay County, Missouri;\nAll that part of Block 40 and 42, in the PLAN OF RANDOLPH, Village of Randolph, Clay County, Missouri, together with portions of the vacated\nalleys, Cherry Street and Second (2nd) Street that lies within the following property:\nBeginning at the Northerly right of way line\nof the Birmingham Drainage District Levee as described in Book 470, Page 522 in the Clay County Recorder of Deeds Office and the Westerly line of Block 40, PLAN OF RANDOLPH; thence North 0 degrees 45 minutes 58 seconds East along said Westerly line\nof Block 40, 248.69 feet; thence North 82 degrees 02 minutes 28 seconds East, 71.54 feet; thence South 73 degrees 59 minutes 40 seconds East parallel to the said Northerly Levee Right of Way, 395.00 feet; thence South 16 degrees 00 minutes 20\nseconds West, 269.00 feet to the said Northerly Levee Right of Way; thence North 73 degrees 59 minutes 40 seconds West along said Northerly Levee Right of Way, 395.00 feet to the point of beginning."}
-{"idx": 5, "level": 2, "span": "TRACT 4:\nLot 2, of “KANSAS\nCITY STATION,” a subdivision of land in the City of Kansas City, Clay County, Missouri, according to the recorded plat thereof."}
-{"idx": 5, "level": 2, "span": "TRACT 5:\nA tract of land being\npart of Blocks 47 - 50 of “THE PLAN OF RANDOLPH”, a subdivision of land in Clay County, Missouri, and a part of the South One Half of the Southwest Quarter of Section 10, Township 50, Range 32 and a part of the North One Half of the\nNorthwest Quarter of Section 15, Township 50, Range 32, all being located in said Clay County, and more particularly described as follows: Commencing at the Southwest corner of the Southeast Quarter of the Southwest Quarter of said\nSection 10, Township 50, Rage 32 said point also being the Southeast corner of said “PLAN OF RANDOLPH”; thence South 89 degrees 29 minutes 02 seconds East (South 89 degrees 32 minutes 51 seconds Deed) a distance of 202.28\nEx. B-79\nfeet to the True Point of Beginning of the tract of land to be herein conveyed; thence North 0 degrees 19 minutes 54 seconds East (North 00 degrees 17 minutes 59 seconds Deed) parallel with the\nWest line of said Quarter, Quarter Section of land a distance of 1082.25 feet (1082.72 Deed) to a point on the centerline of Birmingham Road; thence South 80 degrees 42 minute 36 seconds West (80 degrees 42 minutes 29 seconds West Deed) a distance\nof 205.16 feet (205.15 Deed) to a point on said West line of said Quarter, Quarter Section of land; thence South 81 degrees 42 minutes 58 seconds West (South 81 degrees 35 minutes 00 seconds West Deed) and continuing along said center line of said\nBirmingham Road a distance of 301.11 feet (301.20 Deed); thence South 00 degrees 19 minutes 54 seconds West (South 0 degrees 17 minutes 59 seconds West Deed) parallel with the West line of said Quarter, Quarter Section of land a distance of 1001.24\nfeet (1001.56 Deed) to a point on the South line of said “PLAN OF RANDOLPH” said point also being on the North line of said Northwest Quarter of said Section 15; thence South 0 degrees 29 minutes 26 seconds West (South 0 degrees 17\nminutes 59 seconds West Deed) a distance of 94.08 feet (93.90 Deed) to a point on the Northerly right of way line of New Levee as described in Document No. A-302951 in the Office of the Recorder of Deeds, Clay County, Missouri; thence South 62\ndegrees 47 minutes 24 seconds East (South 62 degrees 50 minutes 31 seconds Deed) along said Northerly right of way a distance of 560.49 feet (560.46 Deed); thence North 00 degrees 23 minutes 23 seconds East (North 0 degree 17 minutes 59 seconds East\nDeed) parallel with the West line of the Northeast Quarter of the Northwest Quarter of said Section 15 a distance of 345.87 feet (345.78 Deed) to the Point of beginning.\nEXCEPT: All that part of the above described property being platted as Lot 2, KANSAS CITY STATION, a subdivision of land Kansas City, Clay\nCounty, Missouri."}
-{"idx": 5, "level": 2, "span": "TRACT 6:\nLeasehold Estate as created by Lease Agreement notice of which is given by Memorandum of Lease Agreement by and between Birmingham Drainage\nDistrict, as Lessor, and Station/First Joint Venture, as Lessee, dated February 17, 1995 and filed July 7, 1995 as Document No. M-62089 in Book 2462 at Page 724.\nLessee’s Interest assigned to Kansas City Station Corporation by Ratification, Confirmation, Assignment and Amendment of Lease filed\nMarch 26, 1996 as Document No. M-91367 in Book 2539 at page 788.\nAssignment of Lessee’s interest in Lease executed by Kansas\nCity Station Corporation to Ameristar Casino Kansas City, Inc., dated December 20, 2000, filed December 20, 2000, as Document No. Q-27087.\nAssignment of Lessee’s interest in Lease executed by Ameristar Casino Kansas City, LLC fka Ameristar Casino Kansas City, Inc. to Pinnacle\nEntertainment, Inc. dated as of April 28, 2016,\nEx. B-80\nfiled May 4, 2016 as Document No. 2016014085 in Book 7707 at page 81 in Clay County, Missouri.\nGold Merger Sub, LLC successor by merger to Pinnacle Entertainment, Inc filed in Book 7707 at Page 135 in Clay County, Missouri;\nAs to the following tract:\nA\ntract of land in the South 1/2 of Section 10, T50N, R32W and part of fractional Section 15, T50N, R32W and part of the PLAN OF RANDOLPH, Clay County, Missouri more particularly described as follows: Beginning at a point on the South line\nof said Section 10, which is 441.63 feet (442.1 Deed) West of the Southeast Corner of said Section 10; Thence South 89 degrees 09 minutes 01 seconds East (South 89 degrees 32 minutes 51 seconds East Deed) a distance of 50.88 feet to a\npoint on the Westerly right-of-way line of the Chicago, Milwaukee, St Paul; and Pacific Railroad, and the Chicago Rock Island and Pacific Railroads; thence South 45 degrees 59 minutes 10 seconds West (South 45 degrees 35 minutes 24 seconds West\nDeed) along the said right-of-way, 2336.75 feet (2336.29 Deed) to a point on the Northerly right-of-way line of the new levee WHICH IS THE TRUE POINT OF BEGINNING; thence North 45 degrees 02 minutes 28 seconds West (North 45 degrees 22 minutes 17\nseconds West Deed) along Northeasterly right-of-way line of the new levee, as described in Document No. A-032951 in the Office of the Recorder of Deeds, Clay County, Missouri, 895.03 feet (886.59 Deed) to a point of curve; thence along a curve to\nthe left having a radius of 3354.35 feet and a central angle of 17 degrees 24 minutes 55 seconds a distance of 1019.57 feet; thence North 62 degrees 27 minutes 23 seconds West (North 62 degrees 47 minutes 12 seconds West on Deed) along said levee\nright-of-way, 763.50 feet; thence south 00 degrees 00 minutes 00 seconds West to the low water mark of the Missouri River; thence downstream in a Southeasterly direction along said low water mark to a point South 45 degrees 59 minutes 10 seconds\nWest of the True Point of Beginning; thence North 45 degrees 59 minutes 10 seconds East to the TRUE POINT OF BEGINNING."}
-{"idx": 5, "level": 2, "span": "TRACT 7:\nLeasehold Estate as created by the Lease Agreement notice of which is given by Memorandum of Lease Agreement by and between Birmingham Drainage\nDistrict, as Lessor, and Station/First Joint Venture, as Lessee, dated February 17, 1995 and filed July 7, 1995, as Document No. M-62089 in Book .2462 at Page 724.\nLessee’s interest assigned to Kansas City Station Corporation by Ratification, Confirmation, Assignment and Amendment of Lease filed\nMarch 26, 1996 as Document No. M-91367 in Book 2539 at Page 788.\nEx. B-81\nAssignment of Lessee’s interest in Lease executed by Kansas City Station Corporation to\nAmeristar Casino Kansas City, Inc., dated December 20, 2000, filed December 20, 2000, as Document No. Q-27087.\nAssignment of\nLessee’s interest in Lease executed by Ameristar Casino Kansas City, LLC fka Ameristar Casino Kansas City, Inc. to Pinnacle Entertainment, Inc. dated as of April 28, 2016, filed May 4, 2016 as Document No. 2016014085 in Book 7707\nat page 81 in Clay County, Missouri.\nGold Merger Sub, LLC successor by merger to Pinnacle Entertainment, Inc filed in Book 7707 at Page\n135 in Clay County, Missouri;\nAs to the following tract:\nCommencing at a point where the Westerly line of Block 40, PLAN OF RANDOLPH, intersects with the Northerly right of way line of Birmingham\nDrainage District Levee; thence South 73 degrees 59 minutes 40 seconds East along said right-of -way 659.49 feet; thence South 56 degrees 59 minutes 49 seconds East along said right-of-way 220.52 feet; thence South 62 degrees 43 minutes 15 seconds\nEast along said right-of-way 607.23 feet; thence South 00 degrees 00 minutes 00 seconds West to the low water mark of the Missouri River, thence upstream in a Northwesterly direction along the low water mark of the Missouri River to a point where\nsaid low water mark intersects with the Westerly line of Block 40, PLAN OF RANDOLPH; thence Northerly along the Westerly line of Block 40, PLAN OF RANDOLPH, to the Point of Beginning.\nWETLANDS PROPERTY (Tracts 8 & 9):"}
-{"idx": 5, "level": 2, "span": "TRACT 8:\nThe South 30 acres of\nthe Southeast Quarter of the Northeast Quarter of Section 27, Township 51, Range 30, in Jackson County, Missouri, EXCEPT that part taken by Corp of Engineers, U.S. Army In Civil Action No. 11247."}
-{"idx": 5, "level": 2, "span": "TRACT 9:\nThe Northeast Quarter\nof the Southeast Quarter of Section 27, Township 51, Range 30, Jackson County, Missouri; EXCEPT that part lying South of the Missouri River, all of said Quarter Quarter Section being subject to a perpetual easement granted to the United States\nof America over and across said land, as created under instrument designated “Easement” filed under Document No. 685882 in Book 1316 at Page 492."}
-{"idx": 5, "level": 2, "span": "TRACT 10:\nEx. B-82\nParcel 1:\nAN UNDIVIDED 2/3 INTEREST IN AND TO THE FOLLOWING DESCRIBED LAND: All of Block 41, lying South of the Southerly line of the Birmingham Drainage\nDistrict Levee, in the PLAN OF RANDOLPH, a subdivision of land in Clay County, Missouri.\nParcel 2:\nAN UNDIVIDED 2/3 INTEREST IN AND TO THE FOLLOWING DESCRIBED LAND: All of Blocks 38, 39, 43 and 45, EXCEPT Lots 18 and 20, of Block 39, lying\nSouth of the Southerly line of the Birmingham Drainage District Levee, all in the PLAN OF RANDOLPH, a subdivision of land in Clay County, Missouri.\nParcel 3:\nAlso; All of Block 94, lying South\nand West of the Southerly and Westerly line of the Birmingham Drainage District Levee in NORTH KANSAS CITY IMPROVEMENT COMPANY’S FIRST ADDITION TO RANDOLPH, a subdivision of land in Clay County, Missouri.\nEx. B-83"}
-{"idx": 5, "level": 3, "span": "Ameristar St. Charles"}
-{"idx": 5, "level": 4, "span": "PARCEL NO. 1-TRACT 1:"}
-{"idx": 5, "level": 2, "span": "PART OF (DUE TO LOCATION OF\nMISSOURI RIVER AS SURVEYED DURING AUGUST, 2000) “LOT 1 OF ST. CHARLES RIVERFRONT STATION”, A SUBDIVISION ACCORDING TO THE PLAT THEREOF RECORDED IN PLAT BOOK 33 PAGES 40-41 OF THE ST. CHARLES COUNTY RECORDS, BEING ALSO PART OF LOTS 2, 3 AND\n4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY, MISSOURI, AND BEING PART DESCRIBED AS A TRACT OF LAND BEING PART OF LOTS 2, 3 AND 4 IN BLOCK 1 OF EVANS\nSURVEY OF THE COMMONS OF ST. CHARLES, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY MISSOURI AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "BEGINNING AT THE INTERSECTION OF THE NORTH RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70 WITH THE EAST LINE OF THE OLD M.K.T. RAILROAD RIGHT-OF-WAY (60\nFEET WIDE), SAID RIGHT-OF-WAY NOW BELONGING TO THE DEPARTMENT OF NATURAL RESOURCES AS DESCRIBED IN DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ALSO 150.00 FEET PERPENDICULARLY DISTANT NORTH OF MISSOURI\nINTERSTATE 70 CENTERLINE STATION 10 + 31.65; THENCE NORTHWARDLY ALONG SAID EAST LINE OF THE DEPARTMENT OF NATURAL RESOURCES PROPERTY, THE FOLLOWING COURSES AND DISTANCES, NORTH 27° 24’ 14” EAST 1115.89 FEET; NORTH 27° 05’\n36” EAST 94.35 FEET; NORTH 27° 42’ 46” EAST 99.62 FEET; NORTH 28° 32’ 22” EAST 99.78 FEET; AND NORTH 29° 48’ 14” EAST 63.63 FEET TO A POINT IN THE SOUTH LINE OF PROPERTY CONVEY TO THE CITY OF ST.\nCHARLES AS RECORDED IN ST. CHARLES COUNTY RECORDS; THENCE SOUTH 68° 29’ 58” EAST ALONG THE SOUTH LINE OF SAID CITY OF ST. CHARLES PROPERTY 670.35 FEET TO A POINT ON THE CENTERLINE OF AN EXISTING SLOUGH AS SURVEYED DECEMBER 16, 1991;\nTHENCE NORTHWARDLY ALONG SAID CENTERLINE OF A SLOUGH AS SURVEYED THE FOLLOWING COURSES AND DISTANCES, NORTH 46° 49’ 21” EAST 63.22 FEET; NORTH 43° 17’ 48” EAST 103.70 FEET; NORTH 52° 01’ 54” EAST 47.41 FEET;\nNORTH 46° 15’ 21” EAST 179.08 FEET; NORTH 22° 59’ 38” EAST 58.10 FEET; NORTH 32° 24’ 24” EAST 81.38 FEET; THENCE NORTH 41° 45’ 28” EAST 146.54 FEET; NORTH 54° 10’ 18” EAST 73.53\nFEET; NORTH 84° 20’ 08” EAST 54.02 FEET; AND SOUTH 64° 31’ 27” EAST 43.98 FEET TO A POINT AT THE EXISTING WATERS EDGE OF THE MISSOURI RIVER AS SURVEYED ON AUGUST 15, 2000; THENCE SOUTHWARDLY ALONG SAID WATERS EDGE OF THE\nMISSOURI RIVER THE FOLLOWING COURSES AND DISTANCES, SOUTH 04° 40’ 56” WEST 58.96 FEET; SOUTH 20° 37’ 10” WEST 144.59 FEET; SOUTH 15° 36’ 33” WEST 170.49 FEET; SOUTH 11° 22’ 46” WEST 266.35\nFEET; SOUTH 62° 45’ 45” WEST 103.99 FEET; SOUTH 53° 40’ 19” WEST 42.35 FEET; SOUTH 64° 20’ 18” WEST 57.89 FEET; SOUTH 10° 12’ 11” WEST 54.10 FEET; SOUTH 04° 28’ 33” WEST 51.91\nFEET; SOUTH 08° 54’ 23” WEST 50.66 FEET; SOUTH 09° 59’ 43” WEST 52.63 FEET; SOUTH 05° 46’ 36” WEST 60.43 FEET; SOUTH 82° 02’ 04” EAST 8.33 FEET; SOUTH 07° 36’ 46” WEST 23.81 FEET;\nSOUTH 33° 58’ 10” WEST 41.58 FEET; SOUTH 49° 07’ 58” WEST 10.25 FEET; SOUTH 07° 26’ 05” WEST 33.98 FEET; SOUTH 50° 52’ 14” EAST 16.93 FEET, SOUTH 00° 56’ 40” EAST 70.98 FEET;\nSOUTH 11° 01’ 30” WEST 68.44 FEET; SOUTH 52° 33’ 05”\nEx. B-84"}
-{"idx": 5, "level": 2, "span": "WEST 30.14 FEET; SOUTH 07° 11’ 22” WEST 33.78 FEET; SOUTH 02° 08’ 10” EAST 5.59 FEET; SOUTH 46° 59’ 08” EAST 27.82 FEET; SOUTH 11° 09’ 56”\nWEST 66.05 FEET; SOUTH 18° 15’ 25” WEST 19.33 FEET; SOUTH 75° 51’ 25” EAST 118.39 FEET; SOUTH 14° 08’ 35” WEST 396.00 FEET; NORTH 75° 51’ 25” WEST 3.83 FEET; AND SOUTH 14° 08’ 35”\nWEST 424.61 FEET TO A POINT IN THE AFORESAID NORTH RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70; THENCE NORTH 65° 53’ 14” WEST ALONG SAID NORTH RIGHT-OF-WAY LINE, 1525.41 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 1-TRACT 2:"}
-{"idx": 5, "level": 2, "span": "LOT 2 OF “ST CHARLES\nRIVERFRONT STATION”, A SUBDIVISION ACCORDING TO THE PLAT THEREOF RECORDED IN PLAT BOOK 33 PAGES 40-41 OF THE ST. CHARLES COUNTY RECORDS, BEING ALSO PART OF LOTS 3 AND 4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH,\nRANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY, MISSOURI."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 1A:"}
-{"idx": 5, "level": 2, "span": "RIGHTS OF ACCESS UNDER ROAD CROSSING LICENSE NO. STC 9401, NOTICE OF WHICH IS SET FORTH IN MEMORANDUM RECORDED IN BOOK 1735 PAGE 152, OVER THE FOLLOWING\nDESCRIBED PROPERTY:"}
-{"idx": 5, "level": 3, "span": "PARCEL NO. A:"}
-{"idx": 5, "level": 2, "span": "A TEMPORARY ROAD\nCROSSING OVER: A TRACT OF LAND BEING PART OF LOT 4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 47 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL MERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED\nAS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1523 PAGE 38\nOF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY OF MISSOURI\nINTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT, NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 149.04 FEET TO THE ACTUAL POINT OF\nBEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT OF LAND CONVEYED TO\nST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST 60.00 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46\nSECONDS EAST, 60.00 FEET TO A POINT ON THE AFORESAID EASTERN LINE OF\nEx. B-85"}
-{"idx": 5, "level": 2, "span": "THE DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 60.00 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING\nCO., INC. DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. B:"}
-{"idx": 5, "level": 2, "span": "A TEMPORARY ENTRANCE ROAD CROSSING OVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING\nPART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL MERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE\nSOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL\nRESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN\nLINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT, NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST 287.94 FEET TO THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET\nTO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE\nLEAVING SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 245.95 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST, 60.00 FEET TO THE AFORESAID EAST LINE OF DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE\nSOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 245.95 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO., INC., DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. C:"}
-{"idx": 5, "level": 2, "span": "A PERMANENT ENTRANCE ROAD CROSSING OVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL\nMERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST.\nCHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE\nHIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT\nEx. B-86"}
-{"idx": 5, "level": 2, "span": "BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 287.94 FEET TO THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE\nLEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED\nRECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE LEAVING SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 245.96 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST, 60.00 FEET TO THE AFORESAID\nEAST LINE OF DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 245.95 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO., INC. DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. D:"}
-{"idx": 5, "level": 2, "span": "A TEMPORARY CONSTRUCTION LICENSE A\nOVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL\nMERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE\nST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI\nINTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 209.04 FEET TO THE ACTUAL POINT OF\nBEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT CONVEYED TO ST. CHARLES\nRIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 78.90 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST,\n60.00 FEET TO A POINT ON THE AFORESAID EAST LINE OF DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 78.90 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO.,\nINC. DURING THE MONTH OF MAY 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. E:"}
-{"idx": 5, "level": 2, "span": "A\nTEMPORARY CONSTRUCTION LICENSE B OVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOTS 3 AND 4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS,\nTOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL\nEx. B-87"}
-{"idx": 5, "level": 2, "span": "MERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION,\nINC. BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND\nTHE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT NORTH 27 DEGREES 24 MINUTES 14 SECONDS\nEAST, 533.89 FEET TO THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE\nEASTERN LINE OF A TRACT OF LAND CONVEYED TO WALTER C. F. AND MARLENE A. HISCHKE, JR. BY DEEDS RECORDED IN BOOK 1390 PAGE 1651 AND 1655 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 116.06\nFEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST, 60.00 FEET TO A POINT ON THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 116.06 FEET TO\nTHE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO., INC., DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 2:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF U.S. SURVEY 165, AND PART OF BLOCK 11 OF THE COMMONS OF ST. CHARLES, TOWNSHIP 46 NORTH, RANGE 4 AND 5 EAST, ST. CHARLES COUNTY,\nMISSOURI, AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD STONE AT THE SOUTHWEST CORNER OF LOT 7 OF BLOCK 11, OF THE COMMONS OF\nST. CHARLES; THENCE NORTH 42° 12’ 01” WEST, 37.20 FEET TO A POINT ON THE NORTHERN LINE OF PROPERTY NOW OR FORMERLY OF RODNEY AS RECORDED IN BOOK 1019 PAGE 1401 OF THE ST. CHARLES COUNTY RECORDER’S OFFICE; THENCE CONTINUING NORTH\n42° 12’ 01” WEST, 50.96 FEET ALONG THE NORTHERN LINE OF SAID RODNEY TRACT TO A POINT, SAID POINT BEING ON THE EASTERN LINE OF SOUTH RIVER ROAD AS TRAVELED, THENCE ALONG SAID EASTERN LINE AS TRAVELED, THE FOLLOWING COURSES: NORTH\n47° 59’ 46” EAST, 32.96 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 1415.00, AND AN ARC LENGTH OF 178.34 FEET, A CHORD OF WHICH BEARS NORTH 45° 49’ 06” EAST, A CHORD DISTANCE OF 178.22 FEET TO A\nPOINT; THENCE NORTH 42° 12’ 28” EAST 206.66 FEET TO A POINT; THENCE NORTH 45° 41’ 04” EAST, 44.61 FEET TO A POINT; THENCE ALONG A CURVE TO THE RIGHT, HAVING A RADIUS OF 164.79 FEET, AND AN ARC LENGTH OF 201.88 FEET, A\nCHORD OF WHICH BEARS NORTH 80° 46’ 49” EAST, A CHORD DISTANCE OF 189.49 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 85.00 FEET, AND AN ARC LENGTH OF 101.30 FEET, A CHORD OF WHICH BEARS NORTH 81° 44’\n03” EAST, A CHORD DISTANCE OF 95.41 FEET TO A POINT; THENCE NORTH 47° 35’ 32” EAST, 45.99 FEET TO A\nEx. B-88"}
-{"idx": 5, "level": 2, "span": "POINT; THENCE NORTH 41° 38’ 02” EAST, 614.65 FEET TO A POINT; THENCE NORTH 41° 45’ 47” EAST, 186.44 FEET TO A POINT; THENCE LEAVING SAID EASTERN LINE, SOUTH 44°\n20’ 20” EAST, 329.81 FEET TO A POINT; THENCE SOUTH 81° 31’ 34” EAST, 85.21 FEET TO A POINT; THENCE NORTH 60° 25’ 38” EAST, 490.93 FEET TO A POINT; THENCE NORTH 07° 19’ 18” EAST, 75.77 FEET TO A\nPOINT; THENCE NORTH 51° 58’ 30” EAST, 87.81 FEET TO A POINT; THENCE NORTH 85° 31’ 25” EAST, 134.13 FEET TO A POINT; THENCE SOUTH 85° 39’ 39” EAST, 152.25 FEET TO A POINT; THENCE NORTH 03° 47’\n57” EAST, 142.02 FEET TO A POINT; THENCE SOUTH 69° 04’ 20” EAST, 62.03 FEET TO A POINT; THENCE SOUTH 30° 09’ 16” EAST, 895.45 FEET TO A POINT; THENCE SOUTH 44° 40’ 57” EAST, 118.00 FEET TO THE POINT OF\nBEGINNING OF THE HEREIN DESCRIBED TRACT OF LAND; THENCE CONTINUING SOUTH 44° 40’ 57” EAST 264.62 FEET TO A POINT ON THE MEAN LOW WATER LEVEL OF THE MISSOURI RIVER; THENCE SOUTHWESTWARDLY ALONG SAID MEAN LOW. OF SAID MEAN LOW WATER\nLEVEL WITH THE NORTHERN LINE OF PROPERTY NOW OR FORMERLY OF LOVELACE AS RECORDED IN BOOK 831, PAGE 1752 OF SAID RECORDER’S OFFICE; THENCE LEAVING SAID WATER LEVEL ALONG SAID NORTHERN LINE, NORTH 34° 41’ 05” WEST, 44.05 FEET TO A\nPOINT; THENCE LEAVING SAID NORTHERN LINE, NORTH 55° 05’ 32” EAST, 1454.20 FEET TO A POINT; THENCE NORTH 61° 12’ 33” EAST, 1497.67 FEET TO A POINT; THENCE NORTH 74° 20’ 47” EAST, 1028.09 FEET TO A POINT;\nTHENCE NORTH 48° 31’ 11” EAST, 55.90 FEET TO THE POINT OF BEGINNING PER CALCULATIONS BY PICKETT, RAY & SILVER, INC., DURING THE MONTH OF MAY, 1993."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 2A:"}
-{"idx": 5, "level": 2, "span": "EASEMENTS AS RESERVED IN DEED RECORDED IN\nBOOK 2052 PAGE 936."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 3:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND\nBEING PART OF U. S. SURVEY 165, AND PART OF BLOCK 11 OF THE COMMONS OF ST. CHARLES, TOWNSHIP 46 NORTH, RANGE 4 AND 5 EAST, ST. CHARLES COUNTY, MISSOURI, AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD STONE AT THE SOUTHWEST CORNER OF LOT 7 OF BLOCK 11, OF THE COMMONS OF ST. CHARLES; THENCE NORTH 42° 12’ 01” WEST, 37.20\nFEET TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED, SAID POINT BEING ON THE NORTHERN LINE OF PROPERTY NOW OR FORMERLY OF RODNEY AS RECORDED IN BOOK 1019 PAGE 1401 OF THE ST. CHARLES COUNTY RECORDER’S OFFICE; THENCE CONTINUING\nNORTH 42° 12’ 01” WEST, 50.96 FEET ALONG THE NORTHERN LINE OF SAID RODNEY TRACT TO A POINT, SAID POINT BEING ON THE EASTERN LINE OF SOUTH RIVER ROAD AS TRAVELED; THENCE ALONG SAID EASTERN LINE AS TRAVELED, THE FOLLOWING COURSES: NORTH\n47° 59’ 46” EAST, 32.96 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 1415.00, AND AN ARC LENGTH OF 178.34 FEET, A CHORD OF WHICH BEARS NORTH 45° 49’ 06” EAST, A CHORD DISTANCE OF 178.22 FEET TO A\nPOINT; THENCE NORTH 42° 12’ 28” EAST, 206.66 FEET TO A POINT; THENCE NORTH 45° 41’ 04” EAST, 44.61 FEET TO A POINT; THENCE ALONG A CURVE TO THE RIGHT HAVING A RADIUS OF 164.79 FEET, AND AN ARC LENGTH OF 201.88 FEET, A\nCHORD OF WHICH BEARS NORTH 80° 46’ 49” EAST, A CHORD DISTANCE OF 189.49 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 85.00 FEET, AND AN ARC\nEx. B-89"}
-{"idx": 5, "level": 2, "span": "LENGTH OF 101.30 FEET, A CHORD OF WHICH BEARS NORTH 81° 44’ 03” EAST, A CHORD DISTANCE OF 95.41 FEET TO A POINT; THENCE NORTH 47° 35’ 32” EAST, 45.99 FEET TO A POINT;\nTHENCE NORTH 41° 38’ 02” WEST, 614.65 FEET TO A POINT; THENCE NORTH 41° 45’ 47” EAST, 186.44 FEET TO A POINT; THENCE LEAVING SAID EASTERN LINE, SOUTH 44° 20’ 20” EAST, 329.81 FEET TO A POINT; THENCE SOUTH\n81° 31’ 34” EAST, 85.21 FEET TO A POINT; THENCE NORTH 60° 25’ 38” EAST 490.93 FEET TO A POINT; THENCE NORTH 07° 19’ 18” EAST, 75.77 FEET TO A POINT; THENCE NORTH 51° 58’ 30” EAST, 87.81 FEET TO\nA POINT; THENCE NORTH 85° 31’ 25” EAST, 134.13 FEET TO A POINT; THENCE SOUTH 85° 39’ 39” EAST, 152.25 FEET TO A POINT; THENCE NORTH 03° 47’ 57” EAST, 142.02 FEET TO A POINT; THENCE SOUTH 69° 04’\n20” EAST, 62.03 FEET TO A POINT; THENCE SOUTH 30° 09’ 16” EAST, 895.45 FEET TO A POINT; THENCE SOUTH 44° 40’ 57” EAST, 118.00 FEET TO A POINT; THENCE SOUTH 48° 31’ 11” WEST, 55.90 FEET TO A POINT;\nTHENCE SOUTH 74° 20’ 47” WEST, 1028.09 FEET TO A POINT; THENCE SOUTH 61° 12’ 33” WEST, 1497.67 FEET TO A POINT; THENCE SOUTH 55° 05’ 32” WEST, 1454.20 FEET TO A POINT ON THE NORTHERN LINE OF PROPERTY NOW OR\nFORMERLY OF LOVELACE AS RECORDED IN BOOK 831 PAGE 1752 OF SAID RECORDER’S OFFICE; THENCE ALONG SAID NORTHERN LINE, NORTH 34° 41’ 05” WEST, 491.66 FEET TO A POINT, SAID POINT BEING ON THE CENTERLINE OF THE KATY TRAIL, AS ROCKED;\nTHENCE ALONG SAID CENTERLINE THE FOLLOWING COURSES: NORTH 51° 14’ 48” EAST, 370.95 FEET; THENCE NORTH 46° 37’ 47” EAST, 519.40 FEET; THENCE NORTH 44° 26’ 42” EAST, 511.27 FEET; THENCE NORTH 42° 32’\n50” EAST, 65.09 FEET; THENCE LEAVING SAID CENTERLINE AND ALONG THE NORTHERN LINE OF THE AFOREMENTIONED RODNEY TRACT, NORTH 68° 56’ 09” WEST, 102.28 FEET TO THE POINT OF BEGINNING PER CALCULATIONS BY PICKET RAY & SILVER,\nINC., DURING THE MONTH OF MAY, 1993."}
-{"idx": 5, "level": 2, "span": "EXCEPTING THEREFROM THAT PART THEREOF CONVEYED TO THE COUNTY OF ST. CHARLES BY DEED RECORDED IN BOOK 2052 PAGE 936\nAND BOOK 2267 PAGE 1892."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 4:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF\nLAND BEING PART OF U.S. SURVEY 1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, AND BEING THE SAME PROPERTY CONVEYED TO MEYERS AS RECORDED IN BOOK 763 PAGE 1620 OF THE ST. CHARLES COUNTY MISSOURI RECORDS, SAID TRACT BEING MORE\nPARTICULARLY DESCRIBED AS FOLLOWS:\nCOMMENCING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERNLINE OF A SURVEY BY CHARLES W. RUFF, COUNTY\nSURVEYOR L.S. NO. 241, DATED APRIL 2, 1966 AND FILED IN SERIES 650 FICHE NO. 5058A/3 AT THE LAND SURVEY REPOSITORY OF THE DEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO BEING SOUTH 00º 00’ 34” WEST 4765.85 FEET FROM\nTHE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK 9, BOOK 105 OF THE ST. CHARLES COUNTY MISSOURI RECORDS AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893 PAGE\n1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE COMMON LINE BETWEEN SAID RUFF SURVEY AND SAID FARLEY PROPERTY, NORTH 00º 00’ 34” EAST, 1770.38 FEET\nEx. B-90"}
-{"idx": 5, "level": 2, "span": "TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED; THENCE ALONG THE SOUTHERN LINE OF SAID MEYERS PROPERTY THE FOLLOWING COURSES:"}
-{"idx": 5, "level": 2, "span": "SOUTH 56° 09’ 42” WEST, 163.04 FEET TO A POINT; THENCE SOUTH 68° 13’ 42” WEST, 682.44 FEET TO A POINT; THENCE SOUTH 78°\n54’ 42” WEST, 1013.10 FEET TO A POINT; THENCE NORTH 80° 56’ 18” WEST 968.88 FEET TO A POINT; THENCE LEAVING SAID SOUTHERN LINE AND ALONG THE EASTERN LINE OF PROPERTY NOW OR FORMERLY OF LACLEDE GAS COMPANY RECORDED IN BOOK\n557, PAGE 828 OF THE SAID RECORDER’S OFFICE, NORTH 16° 36’ 42” EAST, 1307.46 FEET TO A POINT ON THE NORTHERN LINE OF PROPERTY OF SAID MEYERS PROPERTY, ALSO BEING ON THE SOUTHERN LINE OF PROPERTY NOW OR FORMERLY OF WITTE AS\nRECORDED IN BOOK 567 PAGE 272 OF SAID RECORDER’S OFFICE; THENCE ALONG THE NORTHERN LINE OF SAID MEYERS PROPERTY, SOUTH 73° 23’ 18” EAST, 2448.60 FEET TO THE WESTERN LINE OF THE AFOREMENTIONED FARLEY PROPERTY; THENCE LEAVING SAID\nNORTHERN LINE AND ALONG THE WESTERN LINE OF SAID FARLEY PROPERTY, SOUTH 00° 00’ 34” WEST, 166.72 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL\nNO. 5:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF U.S. SURVEY 1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, SAID TRACT BEING MORE\nPARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERN LINE OF A SURVEY BY CHARLES W. RUFF, COUNTY SURVEYOR, LS. NO. 241, DATED APRIL 2, 1966 AND FILED IN SERIES 650 FICHE NO. 505BA/3 AT THE LAND\nSURVEY REPOSITORY OF THE DEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO BEING SOUTH 00° 00’ 34” WEST, 4765.86 FEET FROM THE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK\n9 PAGE 105 OF THE ST. CHARLES COUNTY MISSOURI RECORDS AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893 PAGE 1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE COMMON LINE BETWEEN SAID RUFF SURVEY AND\nSAID FARLEY PROPERTY, NORTH 00° 00’ 34” EAST, 965.87 FEET TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED; THENCE LEAVING SAID COMMON LINE ALONG THE NORTHERN LINE OF SAID RUFF SURVEY THE FOLLOWING COURSES: SOUTH 87°\n11’ 00” WEST, 613.33 FEET TO A POINT; THENCE NORTH 88° 49’ 00” WEST, 383.18 FEET TO A POINT; THENCE SOUTH 61° 11’ 00” WEST, 136.29 FEET TO A POINT; THENCE SOUTH 28° 11’ 00” WEST, 322.10 FEET TO A\nPOINT; THENCE LEAVING SAID NORTHERN LINE, NORTH 37° 52’ 30” WEST, 807.74 FEET TO A POINT ON THE SOUTHERN LINE OF PROPERTY NOW OR FORMERLY OF MEYERS AS RECORDED IN BOOK 763 PAGE 1620 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE\nSOUTHERN LINE OF SAID MEYERS PROPERTY THE FOLLOWING COURSES: NORTH 78° 54’ 42” EAST, 1013.10 FEET TO A POINT; THENCE NORTH 68° 13’ 42” EAST, 682.44 FEET TO A POINT; THENCE NORTH 56° 09’ 42” EAST, 163.04 FEET\nTO A POINT ON THE WESTERN LINE OF THE AFOREMENTIONED FARLEY PROPERTY; THENCE LEAVING SAID SOUTHERN LINE ALONG SAID WESTERN LINE, SOUTH 00° 00’ 34” WEST, 804.51 FEET TO THE POINT OF BEGINNING.\nFile No.: L20154061\nEx. B-91"}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 6:\nA TRACT OF LAND BEING PART OF U.S. SURVEY 1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS\nFOLLOWS: BEGINNING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERN LINE OF A SURVEY BY CHARLES W. RUFF, COUNTY SURVEYOR, L.S. NO. 241, DATED APRIL 2, 1966 AND FILED IN SERIES 650 FICHE NO. 505BA/3 AT THE LAND SURVEY REPOSITORY OF THE\nDEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO SOUTH 00º 00’ 34” WEST, 4765.86 FEET FROM THE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK 9, PAGE 105 OF THE ST.\nCHARLES COUNTY MISSOURI RECORDS AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893 PAGE 1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE EASTERN LINE OF SAID RUFF SURVEY, SOUTH 31° 46’\n30” EAST, 921.50 FEET TO A POINT; THENCE SOUTH 75° 13’ 19” WEST, 242.64 FEET TO A POINT; THENCE NORTH 72° 52’ 43” WEST, 178.13 FEET TO A POINT; THENCE NORTH 40° 35’ 00” WEST, 288.45 FEET TO A POINT;\nTHENCE NORTH 39° 35’ 00” WEST, 867.85 FEET TO A POINT; THENCE NORTH 27° 32’ 00” WEST, 448.66 FEET TO A POINT; THENCE SOUTH 32° 06’ 00” WEST, 205.12 FEET TO A POINT; THENCE NORTH 56° 38’ 00”\nWEST, 235.10 FEET TO A POINT; THENCE NORTH 28° 11’ 00” EAST, 322.10 FEET TO A POINT; THENCE NORTH 61° 11’ 00” EAST, 136.29 FEET TO A POINT; THENCE SOUTH 88° 49’ 00” EAST, 383.18 FEET TO A POINT; THENCE NORTH\n87° 11’ 00” EAST, 613.33 FEET TO A POINT ON THE WESTERN LINE OF THE AFOREMENTIONED FARLEY PROPERTY; THENCE ALONG SAID WESTERN LINE, SOUTH 00° 00’ 34” WEST, 965.87 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 7:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF U.S. SURVEY\n1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERN LINE OF A SURVEY BY CHARLES W. RUFF, COUNTY\nSURVEYOR, L.S. NO. 241, DATED APRIL 2, 1966, AND FILED IN SERIES 660, FISCHE NO. 505BA/3 AT THE LAND SURVEY RESPOSITORY OF THE DEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO BEING SOUTH 00° 00’ 34” WEST, 4765.86 FEET\nFROM THE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK 9 PAGE 105 OF THE ST. CHARLES COUNTY MISSOURI RECORDS, AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893\nPAGE 1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE EASTERN LINE OF SAID RUFF SURVEY, SOUTH 31° 46’ 30” EAST, 921.50 FEET TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED; THENCE SOUTH 32° 46’\n18” WEST, 243.34 FEET TO THE MEAN LOW WATER MARK AS DIGITIZED FROM THE CORPS OF ENGINEERS MAP; THENCE ALONG THE MEANDERS OF THE MISSOURI RIVER IN A NORTHWESTWARDLY DIRECTION, 4497 FEET MORE OR LESS TO A POINT; THENCE LEAVING SAID LINE, NORTH\n35° 46’ 03” EAST, 230.11 FEET TO THE SOUTHWESTERN CORNER OF PROPERTY NOW OR FORMERLY OF MEYERS AS RECORDED IN BOOK 763, PAGE 1620 OF THE ST. CHARLES COUNTY MISSOURI RECORDER’S OFFICE; THENCE\nEx. B-92"}
-{"idx": 5, "level": 2, "span": "ALONG THE SOUTHERN LINE OF SAID MEYERS PROPERTY, SOUTH 80° 56’ 18” EAST, 968.88 FEET TO A POINT; THENCE LEAVING SAID SOUTHERN LINE, SOUTH 37° 52’ 30” EAST, 807.74 FEET\nTO THE WESTERN LINE OF THE AFOREMENTIONED RUFF SURVEY; THENCE ALONG THE WESTERN LINE OF SAID RUFF SURVEY, THE FOLLOWING COURSES:"}
-{"idx": 5, "level": 2, "span": "SOUTH 56° 38’\n00” EAST, 235.10 FEET TO A POINT; THENCE NORTH 82° 06’ 00” EAST, 205.12 FEET TO A POINT; THENCE SOUTH 27° 32’ 00” EAST, 448.66 FEET TO A POINT; THENCE SOUTH 39° 35’ 00” EAST, 867.85 FEET TO A POINT;\nTHENCE SOUTH 40° 35’ 00” EAST, 288.45 FEET TO A POINT; THENCE SOUTH 72° 52’ 43” EAST, 178.13 FEET TO A POINT; THENCE NORTH 75° 13’ 19” EAST, 242.64 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 8:"}
-{"idx": 5, "level": 2, "span": "AN EASEMENT FOR INGRESS AND EGRESS AS SET\nFORTH IN EASEMENT DEED RECORDED IN BOOK 820 PAGE 1454."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 9-TRACT 1:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY, COMMONS OF ST. CHARLES, AND PART OF LOT 8 OF HALL’S SUBDIVISION WITHIN LOT 56 OF BLOCK 9\nOF STEEN & CUNNINGHAM’S SURVEY, COMMONS OF ST. CHARLES, ALL WITHIN TOWNSHIP 46 NORTH, RANGE 5 EAST, IN THE CITY OF ST. CHARLES, MISSOURI AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD IRON PIPE MARKING THE MOST WESTERN CORNER OF LOT 7 OF HALL’S SUBDIVISION; THENCE SOUTH 70 DEGREES 08 MINUTES 38 SECONDS EAST, 155.72\nFEET TO A POINT THENCE SOUTH 25 DEGREES 21 MINUTES 40 SECONDS WEST 50.23 FEET TO AN IRON PIPE MARKING THE BEGINNING OF THE TRACT HEREIN DESCRIBED; THENCE SOUTH 25 DEGREES 21 MINUTES 40 SECONDS WEST 150.02 FEET TO AN IRON PIPE; THENCE NORTH 70\nDEGREES 10 MINUTES 10 SECONDS WEST 164.02 FEET TO A POINT ON A CURVE; THENCE ALONG A CURVE TO THE RIGHT AN ARC DISTANCE OF 150.00 FEET TO A POINT; SAID CURVE HAVING A RADIUS OF 11,349.2 FEET AND AN INCLUDED ANGLE OF 0 DEGREES 45 MINUTES 26 SECONDS;\nTHENCE SOUTH 70 DEGREES 08 MINUTES 38 SECONDS EAST 165.11 FEET TO THE PLACE OF BEGINNING, AS PER SURVEY AND PLAT MADE BY ST. CHARLES COUNTY ENGINEERING AND SURVEYING, INC. DATED IN DECEMBER 1969."}
-{"idx": 5, "level": 2, "span": "ALSO, A NON- EXCLUSIVE EASEMENT OVER AND ACROSS ADJOINING LAND BELOW DESCRIBED FOR THE PURPOSE OF INGRESS AND EGRESS DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "AN EASEMENT 30 FEET WIDE BEING PART OF LOT 8 OF HALL’S SUBDIVISION WITHIN LOT 56 BLOCK 9 OF STEEN & CUNNINGHAM’S SUBDIVISION, TOWNSHIP 46\nNORTH, RANGE 5 EAST, WITHIN THE CITY OF ST. CHARLES, MISSOURI, BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:\nEx. B-93"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD IRON PIPE MARKING THE MOST WESTERN CORNER OF SAID LOT 7 OF HALL’S SUBDIVISION; THENCE\nNORTH 70 DEGREES 08 MINUTES 38 SECONDS WEST 40.10 FEET TO THE EASTERN RIGHT-OF-WAY LINE OF FIFTH STREET; THENCE SOUTHWARDLY ALONG SAID EASTERN RIGHT-OF-WAY LINE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 11,379.2 FEET AN INCLUDED ANGLE OF 0\nDEGREES 15 MINUTES 11 SECONDS AN ARC DISTANCE OF 50.24 FEET TO THE POINT OF BEGINNING OF THE TRACT HEREIN DESCRIBED; THENCE LEAVING SAID RIGHT-OF-WAY LINE SOUTH 70 DEGREES 08 MINUTES 38 SECONDS EAST 30.14 FEET TO THE NORTHERNMOST CORNER OF A .565\nACRE TRACT; THENCE SOUTHEASTWARDLY ALONG A CURVE TO THE LEFT 30 FEET EAST OF AND PARALLEL TO THE EASTERN RIGHT-OF-WAY LINE OF FIFTH STREET, SAID CURVE HAVING A RADIUS OF 11,349.2 FEET AN INCLUDED ANGLE OF 1 DEGREE 13 MINUTES 22 SECONDS AN ARC\nDISTANCE OF 242.24 FEET TO A POINT; THENCE NORTH 65 DEGREES 54 MINUTES 01 SECONDS WEST 30.00 FEET TO A POINT ON THE EASTERN RIGHT-OF-WAY LINE OF 5TH STREET; THENCE NORTHEASTWARDLY ALONG SAID RIGHT-OF-WAY ALONG A CURVE TO THE RIGHT HAVING AN INCLUDED\nANGLE OF 1 DEGREE 12 MINUTES 30 SECONDS A RADIUS OF 11,379.2 FEET AN ARC DISTANCE OF 240.1 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 2, "span": "ALSO EXCEPTING THEREFROM THAT\nPART CONVEYED TO THREE FLAGS CENTER PARTNERSHIP, L.P. RECORDED IN BOOK 4794 PAGE 2263 AND THAT PART CONVEYED TO ST. CHARLES RIVERFRONT TRANSPORTATION DEVELOPMENT DISTRICT, RECORDED IN BOOK 4800 PAGE 246."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 9-TRACT 2:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF\nU.S. SURVEY 3280, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, CITY OF ST. CHARLES, ST. CHARLES COUNTY, MISSOURI, AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE NORTHEAST CORNER OF PROPERTY CONVEYED TO AMERISTAR CASINO ST. CHARLES, INC. BY DEED RECORDED IN BOOK 2478 PAGE 1826 OF THE ST. CHARLES\nCOUNTY RECORDS, SAID CORNER ALSO BEING IN THE SOUTHERN RIGHT-OF-WAY LINE OF RIVER BLUFF DRIVE, 50 FEET WIDE; THENCE ALONG EAST LINE OF SAID AMERISTAR CASINO ST. CHARLES, INC. PROPERTY, SOUTH 25 DEGREES 37 MINUTES 57 SECONDS WEST 44.27 FEET TO THE\nPOINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID EAST LINE OF AMERISTAR CASINO ST. CHARLES INC. PROPERTY THE FOLLOWING COURSES AND DISTANCES: ALONG A CURVE TO THE RIGHT WHOSE CHORD BEARS SOUTH 45 DEGREES 28 MINUTES 13 SECONDS EAST\n22.44 FEET AND WHOSE RADIUS POINT BEARS SOUTH 41 DEGREES 25 MINUTES 49 SECONDS WEST 207.50 FEET FROM THE LAST MENTIONED POINT, AN ARC DISTANCE OF 22.45 FEET; SOUTH 42 DEGREES 22 MINUTES 16 SECONDS EAST 31.38 FEET; ALONG A CURVE TO THE RIGHT WHOSE\nCHORD BEARS SOUTH 64 DEGREES 57 MINUTES 52 SECONDS WEST 53.60 FEET AND WHOSE RADIUS POINT BEARS NORTH 86 DEGREES 30 MINUTES 49 SECONDS WEST 30.50 FEET FROM THE LAST MENTINOED POINT, AN ARC DISTANCE OF 65.45 FEET AND NORTH 53 DEGREES 33 MINUTES 26\nSECONDS WEST 16.65 FEET TO THE EAST LINE OF SAID AMERISTAR CASINO ST. CHARLES, INC. PROPERTY; THENCE ALONG SAID EAST\nEx. B-94"}
-{"idx": 5, "level": 2, "span": "LINE, NORTH 25 DEGREES 37 MINUTES 57 SECONDS EAST 57.35 FEET TO THE POINT OF BEGINNING AND CONTAINING 2,466 SQUARE FEET ACCORDING TO CALCULATIONS BY BAX ENGINEERING COMPANY, INC. DURING FEBRUARY,\n2007."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 10:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF\nLOTS 2 AND 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY MISSOURI, MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST.\nCHARLES COUNTY RECORDS, SAID POINT BEING ON THE EAST LINE OF A TRACT OF LAND CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ALSO ON THE NORTH RIGHT-OF-WAY LINE\nOF MISSOURI INTERSTATE HIGHWAY 70, AND BEING 150.00 FEET PERPENDICULARLY DISTANT NORTH OF MISSOURI INTERSTATE CENTERLINE STATION 10 + 31.65; THENCE ALONG THE EAST LINE OF SAID DEPARTMENT OF NATURAL RESOURCES PROPERTY, NORTH 27° 24’ 14”\nEAST 432.08 FEET TO A POINT; THENCE LEAVING SAID LINE NORTH 62° 35’ 46” WEST 60.00 FEET TO THE NORTHEAST CORNER OF LOT 2 OF “ST. CHARLES RIVERFRONT STATION”, A SUBDIVISION ACCORDING TO THE PLAT THEREOF RECORDED IN PLAT BOOK\n33 PAGES 40 AND 41 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE WESTWARDLY ALONG THE NORTH LINE OF LOT 2 OF SAID “ST. CHARLES STATION”, NORTH 57° 59’ 46”\nWEST 136.19 FEET TO A POINT IN THE EAST LINE OF SOUTH MAIN STREET; THENCE ALONG THE SAID EAST LINE OF SOUTH MAIN STREET; THE FOLLOWING COURSES AND DISTANCES, NORTH 27° 28’ 57” EAST 320.73 FEET TO A POINT; AND NORTH 28° 41’\n27” EAST 358.46 FEET TO THE NORTHWEST CORNER OF PROPERTY CONVEYED TO ST. CHARLES RIVERFRONT STATION BY DEED RECORDED IN BOOK 1796 PAGE 239 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG THE NORTH LINE OF SAID ST. CHARLES RIVERFRONT STATION,\nSOUTH 60° 18’ 24” EAST 127.37 FEET TO A POINT IN THE WEST LINE OF AFORESAID DEPARTMENT OF NATURAL RESOURCES PROPERTY; THENCE ALONG SAID WEST LINE, SOUTH 27° 24’ 14” WEST 684.93 FEET TO THE POINT OF BEGINNING, ACCORDING TO\nSURVEY BY BAX ENGINEERING IN NOVEMBER 2000."}
-{"idx": 5, "level": 2, "span": "NOTE: THE LEGAL DESCRIPTION IS SHOWN FOR CONVENIENCE ONLY, SUBJECT TO UNDERWRITING APPROVAL.\nEx. B-95"}
-{"idx": 5, "level": 3, "span": "River City\nLeasehold estate as created by that certain lease dated August 12, 2004, executed by St. Louis County Post Authority, as lessor, and Pinnacle\nEntertainment Inc., as lessee, together with a grant of exclusivity and the right of first refusal, notice of which is given in the Memorandum of Lease recorded February 10, 2006 in Book 17061 page 4701, and Correction to Memorandum of Lease\nrecorded August 20, 2010 in book 19071 page 3997, as to the following:\nLots One (1) of RIVER CITY CASINO SUBDIVISION, A subdivision in St.\nLouis County, Missouri, according to the plat thereof recorded in Plat Book 357 pages 445, 446 and 447 of the St. Louis County Records.\nEx. B-96"}
-{"idx": 5, "level": 3, "span": "East Chicago\nPart of Fractional Section 22 and Fractional Section 15, Township 37 North, Range 9 West of the Second Principal Meridian, in Lake County, Indiana,\nmore particularly described as follows:\nCommencing at point “G” on the Southeasterly bulkhead line (established by U.S. Government permits of\nMarch 27, 1908, October 15, 1929 and July 5, 1932), and the Southwesterly right of way line of Aldis Avenue extended; thence South 46 degrees 46 minutes 06 seconds East (assumed Record Bearing) along the Southwesterly line of\nAldis Avenue, 1376.00 feet to the centerline of vacated Lake Place and the Point of Beginning; thence North 43 degrees 15 minutes 00 seconds East, along the centerline of vacated Lake Place, 66.30 feet to the Northeasterly right of way line of Aldis\nAvenue; thence North 34 degrees 53 minutes 04 seconds East, 134.78 feet; thence North 87 degrees 48 minutes 17 seconds East, 79.47 feet; thence North 45 degrees 33 minutes 40 seconds East 100.50 feet; thence North 27 degrees 26 minutes 34 seconds\nEast, 102.39 feet; thence North 35 degrees 50 minutes 46 seconds East, 100.24 feet; thence North 43 degrees 17 minutes 00 seconds East, 100.18 feet; thence North 73 degrees 22 minutes 05 seconds East, 92.36 feet; thence South 88 degrees 52 minutes\n08 seconds East, 85.40 feet; thence South 45 degrees 50 minutes 45 seconds East, 106.63 feet; thence South 28 degrees 53 minutes 00 seconds East, 115.60 feet; thence South 29 degrees 55 minutes 11 seconds East, 43.65 feet; thence North 72 degrees 41\nminutes 04 seconds East, 63.28 feet; thence North 17 degrees 40 minutes 39 seconds West, 68.50 feet; thence North 73 degrees 08 minutes 53 seconds East, 13.57 feet; thence South 17 degrees 40 minutes 39 seconds East, 576.84 feet; thence South 72\ndegrees 59 minutes 54 seconds West, 13.46 feet; thence North 17 degrees 40 minutes 39 seconds West, 47.95 feet; thence South 74 degrees 17 minutes 22 seconds West, 61.64 feet; thence South 09 degrees 56 minutes 52 seconds East, 57.80 feet; thence\nSouth 04 degrees 06 minutes 11 seconds East, 100.97 feet; thence South 13 degrees 30 minutes 52 seconds West, 101.43 feet; thence South 12 degrees 57 minutes 25 seconds West, 6.12 feet; thence South 42 degrees 52 minutes 06 seconds West, 259.47\nfeet; thence South 46 degrees 56 minutes 40 seconds East, 170.00 feet; thence South 43 degrees 03 minutes 20 seconds West, 7.00 feet; thence South 46 degrees 56 minutes 40 seconds East, 168.00 feet; thence South 42 degrees 55 minutes 16 seconds\nWest, 233.81 feet; thence South 46 degrees 46 minutes 06 seconds East, 599.00 feet; thence South 42 degrees 55 minutes 16 seconds West, 55.00 feet to a point on the northeasterly line of vacated Baltimore Avenue extended, said point being 191.13\nfeet northwesterly of the intersection of said northeasterly line extended with the East line of said Fractional Section 22; thence North 46 degrees 46 minutes 06 seconds West along said northeasterly line of vacated Baltimore Avenue extended,\n1094.74 feet; thence South 43 degrees 13 minutes 54 seconds West, 15.90 feet; thence North 55 degrees 51 minutes 36 seconds West, 465.73 feet; thence North 43 degrees 15 minutes 00 seconds East, 319.49 feet; thence North 46 degrees 45 minutes 11\nseconds West, 329.11 feet, to the Point of Beginning.\nContaining 21.570 acres, more or less\nEx. B-97"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_6.jsonl b/data/auto_parse/level_freeze/frozen/idx_6.jsonl
deleted file mode 100644
index c6a614d..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_6.jsonl
+++ /dev/null
@@ -1,50 +0,0 @@
-{"idx": 6, "level": 0, "span": "EMPLOYMENT AGREEMENT"}
-{"idx": 6, "level": 1, "span": "THIS EMPLOYMENT AGREEMENT (the “Agreement”), dated as of 4 January, 2016 is by and between ARRIS GROUP, INC.\n, a\nDelaware corporation (the “Company”), and Timothy O’Loughlin (“Executive”). \nWHEREAS, Executive and the\nCompany want to enter into a written agreement providing for the terms of Executive’s employment by the Company.\nNOW, THEREFORE, in\nconsideration of the foregoing recital and of the mutual covenants set forth herein, and other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the parties agree as follows:\n1. Employment. Executive agrees to enter into the continued employment of the Company, and the Company agrees to employ Executive, on\nthe terms and conditions set forth in this Agreement. Executive agrees during the term of this Agreement to devote substantially all of his/her business time, efforts, skills and abilities to the performance of his duties as stated in this Agreement\nand to the furtherance of the Company’s business.\nExecutive’s initial job title will be President, North American Sales and his\nduties will be those as are designated, directly or indirectly, by the Chief Executive Officer of the Company. Executive further agrees to serve, without additional compensation, as an officer or director, or both, of any subsidiary, division or\naffiliate of the Company or any other entity in which the Company holds an equity interest, provided, however, that (a) the Company shall indemnify Executive from liabilities in connection with serving in any such position to the same extent as\nhis indemnification rights pursuant to the Company’s Certificate of Incorporation, By-laws and applicable Delaware law, and (b) such other position shall not materially detract from the\nresponsibilities of Executive pursuant to this Section 1 or his ability to perform such responsibilities.\n2. Compensation.\n(a) Base Salary. During the term of Executive’s employment with the Company pursuant to this Agreement, the Company shall pay\nto Executive as compensation for his services an annual base salary of not less than $450,000 (“Base Salary”). Executive’s Base Salary will be payable in arrears (no less frequently than monthly) in accordance with the Company’s\nnormal payroll procedures and will be reviewed annually and subject to upward adjustment at the discretion of the Chief Executive Officer and Compensation Committee, but will not be lowered except in connection with reductions applied to all\nexecutive officers.\n(b) Incentive Bonus. During the term of Executive’s employment with the Company pursuant to this\nAgreement, Executive’s incentive compensation program shall be determined by the Company in its discretion with a target bonus equal to 80% of Base Salary, and allowing for payment of up to 200% of target thereafter. Executive’s bonus, if\nany, shall be payable as soon after the end of each calendar year to which it relates as it can be determined, but in any event within two and one-half (2-1/2) months\nthereafter.\n(c) Executive Perquisites. During the term of Executive’s employment with the Company\npursuant to this Agreement, Executive shall be entitled to receive such executive perquisites and fringe benefits as are provided to the executives in comparable positions and their families under any of the Company’s plans and/or programs in\neffect from time to time and such other benefits as are customarily available to executives of the Company and their families, including without limitation vacations and life, medical and disability insurance. For the purposes of clarity, Executive\nwill be eligible to participate in the Company’s currently available defined contribution plans, but not the Company’s defined benefit plans (which the Company has frozen).\n(d) Tax Withholding. The Company has the right to deduct from any compensation payable to Executive under this Agreement social\nsecurity (FICA) taxes and all federal, state, municipal or other such taxes or charges as may now be in effect or that may hereafter be enacted or required.\n(e) Expense Reimbursements. The Company shall pay or reimburse Executive for all reasonable business expenses incurred or paid by\nExecutive in the course of performing his duties hereunder, including but not limited to reasonable travel expenses for Executive. As a condition to such payment or reimbursement, however, Executive shall maintain and provide to the Company\nreasonable documentation and receipts for such expenses. Such payments and reimbursements shall be made as soon as administratively practicable following submission of reasonable documentation and receipts for such expenses but all such payments and\nreimbursements shall be made no later than the last day of the calendar year following the calendar year in which Executive incurs the reimbursable expense.\n3. Term. Unless sooner terminated pursuant to Section 4 of this Agreement, and subject to the provisions of Section 5 hereof,\nthe term of employment under this Agreement shall commence as of the date hereof and shall continue for a period of one year. The term automatically shall be extended by one day for each day of employment hereunder. Notwithstanding the foregoing the\nterm of employment under this agreement shall terminate, if it has not terminated earlier, without further action on the part of the Company or Executive upon Executive’s 65th birthday.\n4. Termination. Notwithstanding the provisions of Section 3 hereof, but subject to the provisions of Section 5 hereof,\nExecutive’s employment under this Agreement shall terminate as follows:\n(a) Death. Executive’s employment shall\nterminate upon the death of Executive, provided, however, that the Company shall continue to pay no less frequently than monthly (in accordance with its normal payroll procedures) the Base Salary to Executive’s estate for a period of three\nmonths after the date of Executive’s death.\n(b) Termination for Cause. The Company may terminate Executive’s employment\nat any time for “Cause” (as hereinafter defined) by delivering a written termination notice to Executive. For purposes of this Agreement, “Cause” shall mean any of: (i) Executive’s\nconviction of a felony or a crime involving moral turpitude; (ii) Executive’s commission of an act constituting fraud, deceit or material misrepresentation with respect to the Company;\n(iii) Executive’s embezzlement of funds or assets from the Company; (iv) Executive’s harassment or mistreatment of a Company employee or contractor or other misconduct, which if generally known would cause, as determined in good\nfaith by the Company’s Board of Directors, the Company embarrassment with its customers or the public generally; (v) Executive’s addiction to any alcoholic, controlled or illegal substance or drug; (vi) Executive’s\ncommission of any act or omission which would give the Company the right to terminate Executive’s employment under applicable law; or (vii) Executive’s failure to correct or cure any material breach of or default under this Agreement\nwithin ten days after receiving written notice of such breach or default from the Company.\n(c) Termination Without\nCause. The Company may terminate Executive’s employment at any time by delivering a written termination notice to Executive.\n(d)\nTermination by Executive. Executive may terminate his employment at any time by delivering ninety days prior written notice to the Company; provided, however, that the terms, conditions and benefits specified in Section 5 hereof shall\napply or be payable to Executive only if such termination occurs as a result of an uncured material breach by the Company of any provision of this Agreement.\n(e) Termination Following Disability. In the event Executive becomes mentally or physically impaired or disabled and is unable to\nperform his material duties and responsibilities hereunder for a period of at least ninety days in the aggregate during any one hundred twenty consecutive day period, the Company may terminate Executive’s employment by delivering a written\ntermination notice to Executive. Notwithstanding the foregoing, Executive shall continue to receive his full salary and benefits under this Agreement for a period of six months after the effective date of such termination with his base salary\npayable in arrears no less frequently than monthly in accordance with the Company’s normal payroll procedures and continued benefits on a monthly basis through such time.\n(f) Payments. Following any expiration or termination of this Agreement and Executive’s employment hereunder, in addition any\namounts owed pursuant to Section 5 hereof, the Company shall pay to Executive all amounts earned by Executive hereunder prior to the date of such expiration and termination, as soon as administratively practicable following the date of\ntermination of Executive’s employment, in the normal course consistent with the provisions of this Agreement. Additionally, subject to Executive’s continued compliance with Sections 7, 8 and 9 of this Agreement, if Executive terminates his\nemployment with the Company without Good Reason on or after the date Executive attains age 62 (provided Executive has no less than 10 years of actual continuous service with Company following the date hereof as of such termination), all of\nExecutive’s stock options and equity awards outstanding at termination of Executive’s employment shall continue to vest for four (4) years after the termination as if Executive remained employed through such time, and such stock\noptions shall remain outstanding through the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment).\n5. Certain Termination Benefits. Subject to Section 6(a) hereof, in the event (i) the\nCompany terminates Executive’s employment without cause pursuant to Section 4(c) or (ii) Executive terminates his employment pursuant to Section 4(d) after a material breach by the Company (which the Company fails to cure within thirty\ndays after written notice of such breach from Executive):\n(a) Base Salary and Bonus. The Company shall continue to pay to\nExecutive his Base Salary (as in effect as of the date of such termination) no less frequently than monthly in accordance with the Company’s normal payroll procedures, beginning with the first payroll date after the date of termination of\nExecutive’s employment and continuing for twelve (12) months immediately following the termination. The Company also shall pay to Executive (i) a bonus for the fiscal year in which the termination occurs based upon the actual results\nfor such fiscal year reduced on a pro rata basis to reflect only the portion of the year prior to the end of the month in which the termination occurs (e.g., in the event of a termination in March, Executive would receive 1/4 of the amount that he\notherwise would receive), and (ii) an amount equal to the average bonus received, or to be received, by Executive with respect to the three most recently completed fiscal years of the Company (e.g., if Executive has received, or been entitled\nto receive, bonuses for two fiscal years, it would be the average of those two bonuses) or, if Executive has not yet received, or been entitled to receive, a bonus with respect to a completed fiscal year, an amount equal to Executive’s target\nbonus for the current fiscal year. The Company will pay all such bonus amounts as soon as they reasonably can be calculated, but in all events within two and one-half\n(2 1⁄2) months of the end of the fiscal year in which the termination occurs. Notwithstanding the foregoing, all payments to be made or benefits to be\nprovided under this Section are subject to the provisions of Section 5(g) below.\n(b) Stock. Subject to Section 10 hereof, on\nand as of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. Additionally, all of\nExecutive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment).\n(c) Limitation. Notwithstanding the foregoing, with respect to a termination occurring during the two year period commencing the day\nafter the award date of Executive’s initial equity grants following employment by the Company, the amount payable to Executive pursuant to Section 5(a) shall be reduced, but not below zero, on a dollar-for-dollar basis by the value of any equity-related awards that vests as a result of Section 5(b) or similar provisions in any equity-related benefit plans.\n(d) Life Insurance. The Company shall continue to provide Executive on a monthly basis with group and additional life insurance\ncoverage, no less frequently than monthly, for a period of twelve (12) months immediately following termination of employment.\n(e)\nMedical Insurance. The Company shall continue to provide Executive and his family with group medical insurance coverage, no less frequently than monthly, under the Company’s medical plans (as the same may change from time to time) or\nother substantially similar health insurance for a period of twelve (12) months immediately following termination of employment.\n(f) Group Disability. The Company shall continue to provide Executive coverage, no less\nfrequently than monthly, under the Company’s group disability plan for a period of twelve (12) months immediately following termination of employment (subject in the case of long-term disability to the availability of such coverage under\nCompany’s insurance policy).\n(g) Section 409A. Notwithstanding any other provisions of this Agreement, it is intended that\nany payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred compensation subject to Section 409A of the Internal Revenue Code of 1986, as amended (the\n“Code”), will be provided and paid in a manner, and at such time, as complies with Section 409A of the Code. For purposes of this Agreement, all rights to payments and benefits hereunder shall be treated as rights to receive a series of\nseparate payments and benefits to the fullest extent allowed by Section 409A of the Code. If Executive is a key employee (as defined in Section 416(i) of the Code without regard to paragraph (5) thereof) and any of Company’s stock is\npublicly traded on an established securities market or otherwise, then the payment of any amount or provision of any benefit under this Agreement which is considered to be nonqualified deferred compensation subject to Section 409A of the Code shall\nbe deferred for six (6) months after the Termination Date or, if earlier, Executive’s death (the “409A Deferral Period”), as required by Section 409A(a)(2)(B)(i) of the Code. In the event payments are otherwise due to be made in\ninstallments or periodically during such 409A Deferral Period, the payments which would otherwise have been made in the 409A Deferral Period shall be accumulated and paid in a lump sum as soon as the 409A Deferral Period ends, and the balance of the\npayments shall be made as otherwise scheduled. In the event, benefits are otherwise to be provided hereunder during such 409A Deferral Period, any such benefits may be provided during the 409A Deferral Period at Executive’s expense, with\nExecutive having a right to reimbursement for such expense from the Company as soon as the 409A Deferral Period ends, and the balance of the benefits shall be provided as otherwise scheduled. For purposes of this Agreement, Executive’s\ntermination of employment shall be construed to mean a “separation from service” within the meaning of Section 409A of the Code where it is reasonably anticipated that no further services will be performed after such date or that the level\nof bona fide services Executive would perform after that date (whether as an employee or independent contractor) would permanently decrease to less than fifty percent (50%) of the average level of bona fide services performed over the immediately\npreceding thirty-six (36)-month period. Without limitation, if any payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred\ncompensation subject to Section 409A of the Code fails to comply with Section 409A of the Code, and Executive incurs any additional tax, interest and penalties under Section 409A of the Code, Company will pay Executive an additional amount so that,\nafter paying all taxes, interest and penalties on such additional amount, Executive has an amount remaining equal to such additional tax, interest and penalties. All payments to be made to Executive pursuant to the immediately preceding sentence\nshall be payable no later than when the related taxes, interest and penalties are to be remitted. Any right to reimbursement incurred due to a tax audit or litigation addressing the existence or amount of any tax liability addressed in the\nimmediately\npreceding sentence must be made no later than when the related taxes, interest and penalties that are the subject of the audit or litigation are to be remitted to the taxing authorities or, where\nno such taxes, interest and penalties are remitted, within thirty (30) days of when the audit is completed or there is a final non-appealable settlement or resolution of the litigation.\n(h) Offset. Any fringe benefits received by Executive in connection with any other employment that are reasonably comparable, but not\nnecessarily as beneficial, to Executive as the fringe benefits then being provided by the Company pursuant to this Section 5, shall be deemed to be the equivalent of, and shall terminate the Company’s responsibility to continue providing,\nthe fringe benefits then being provided by the Company pursuant to this Section 5. The Company acknowledges that if Executive’s employment with the Company is terminated, Executive shall have no duty to mitigate damages.\n(i) General Release. Acceptance by Executive of any amounts pursuant to this Section 5 shall constitute a full and complete\nrelease by Executive of any and all claims Executive may have against the Company, its officers, directors and affiliates, including, but not limited to, claims she might have relating to Executive’s cessation of employment with the Company;\nprovided, however, that there may properly be excluded from the scope of such general release the following:\n(i) claims\nthat Executive may have against the Company for reimbursement of ordinary and necessary business expenses incurred by him during the course of his employment;\n(ii) claims that may be made by the Executive for payment of Base Salary, fringe benefits or restricted stock or stock options\nproperly due to him; or\n(iii) claims respecting matters for which the Executive is entitled to be indemnified under the\nCompany’s Certificate of Incorporation or Bylaws, respecting third party claims asserted or third party litigation pending or threatened against the Executive.\nNotwithstanding the foregoing, as a condition to the payment to Executive of any amounts pursuant to this Section 5, Executive shall execute and deliver\nto the Company a release in the customary form then being used by the Company, which may include non-disparagement and confidentiality agreements. In exchange for such release, the Company shall, if\nExecutive’s employment is terminated without Cause, provide a release to Executive, but only with respect to claims against Executive which are actually known to the Company as of the time of such termination. Executive will be required to\nexecute and not revoke the Company’s standard written release of any and all claims against the Company and all related parties with respect to all matters arising out of Executive’s employment by the Company (other than as described\nabove) no later than thirty (30) days following Executive’s termination of employment (or such later time as the Company may permit). If the Executive does not provide such release, with the period for revoking same having already expired,\nthen Company shall not be required to pay any further amounts pursuant to this Section 5 and Executive will be required to return to the Company any amounts previously paid pursuant to this Section 5.\n6. Effect of Change in Control.\n(a) If within one year following a “Change of Control” (as hereinafter defined), Executive terminates his employment with the\nCompany for Good Reason (as hereinafter defined) or the Company terminates Executive’s employment for any reason other than Cause, death or disability, the Company shall pay to Executive: (1) an amount equal to one times the\nExecutive’s Base Salary as of the date of termination; (2) an amount equal to one times the average annual cash bonus paid to Executive for the two fiscal years immediately preceding the date of termination (and a pro rata portion for any\npartial year); (3) all benefits under the Company’s various benefit plans, including group healthcare, dental and life, for the period equal to twelve months from the date of termination; and (4) subject to Section 10 hereof, on and\nas of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. The Company shall pay the\namounts set forth in (1) and (2) above in one lump sum payment as soon as administratively practicable (and within thirty (30) days) following Executive’s termination of employment. The benefits provided under (3) above shall be\nprovided no less frequently than monthly following the date of termination of employment. Additionally, Executive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any\nearlier expiration date based on Executive’s termination of employment). Notwithstanding the foregoing, all payments to be made and benefits to be provided under this Section are subject to the provisions of Section 5(g) above.\n(b) “Change of Control” shall mean the date as of which: (i) there shall be consummated (1) any consolidation or merger of\nARRIS International plc, as parent corporation of the Company (“Parent”), to which the Parent is not the continuing or surviving corporation or pursuant to which Parent’s ordinary shares would be converted into cash, securities or\nother property, other than a merger of the Parent in which the holders of the Parent’s ordinary shares immediately prior to the merger own more than 50% of the total fair market value or total voting power of the continuing or surviving entity,\nor (2) any sale, lease, exchange or other transfer (in one transaction or a series of related transactions) of all, or substantially all, of the assets of the Parent or (ii) the stockholders of the Parent approve any plan or proposal for\nthe liquidation or dissolution of the Parent; or (iii) any person, as such term is used in Sections 13(d) and 14(d)(2) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), shall become the beneficial owner (within\nthe meaning of Rule 13d-3 under the Exchange Act) of 30% or more of the Parent’s outstanding ordinary shares (in a single transaction or within twelve (12) months from the date of the final\nacquisition) or (iv) during any one year, individuals who at the beginning of such period constitute the entire Board of Directors of the Parent shall cease for any reason to constitute a majority thereof unless the appointment, election, or\nthe nomination for election by the Parent’s stockholders, of each new director was approved by a vote of at least two-thirds of the directors still then in office who were directors at the beginning of\nthe period. This definition of “Change in Control” is intended to comply with the definition of a change in the ownership or effective control of the Parent or in the ownership of a substantial portion of the assets of the Parent within\nthe meaning of Section 409A(a)(2)(A)(v) of the Code and shall be construed consistent with that intent.\n(c) “Good Reason” shall mean any of the following actions taken by the Company without\nthe Executive’s written consent after a Change of Control:\n(i) A reduction by the Company in the Executive’s\nBase Salary as in effect on the date of a Change of Control or Potential Change of Control, or as the same may be increased from time to time during the term of her Agreement;\n(ii) The Company shall require the Executive to be based anywhere other than at the location where the Executive is based on\nthe date of a Change of Control or Potential Change of Control, or if Executive agrees to such relocation, the Company fails to reimburse the Executive for moving and all other expenses reasonably incurred with such move;\n(iii) The Company shall fail to continue in effect any Company-sponsored plan or benefit that is in effect on the date of a\nChange of Control or Potential Change of Control, that provides (A) incentive or bonus compensation, (B) fringe benefits such as vacation, medical benefits, life insurance and accident insurance, (C) reimbursement for reasonable\nexpenses incurred by the Executive in connection with the performance of duties with the Company, or (D) retirement benefits such as a Code Section 401(k) plan, except to the extent that such plans taken as a whole are replaced with\nsubstantially comparable plans;\n(iv) Any material breach by the Company of any provision of this Agreement; and\n(v) Any failure by the Company to obtain the assumption of this Agreement by any successor or assign of the Company effected in\naccordance with the provisions of Section 6.\n(d) “Potential Change of Control” shall mean the date as of which\n(1) the Parent enters into an agreement the consummation of which, or the approval by shareholders of which, would constitute a Change of Control; (ii) proxies for the election of Directors of the Parent are solicited by anyone other than\nthe Parent; (iii) any person (including, but not limited to, any individual, partnership, joint venture, corporation, association or trust) publicly announces an intention to take or to consider taking actions which, if consummated, would\nconstitute a Change of Control; or (iv) any other event occurs which is deemed to be a Potential Change of Control by the Board of the Parent and the Board of the Parent adopts a resolution to the effect that a Potential Change of Control has\noccurred.\n(e) If the payments to Executive pursuant to this Agreement (when considered with all other payments made to Executive as a\nresult of a termination of employment that are subject to Section 280G of the Code) (the amount of all such payments, collectively, the “Parachute Payment”) result in Executive becoming liable for the payment of any excise taxes pursuant\nto section 4999 of the Code (“280G Excise Tax”), Executive will receive the greater on an after-tax basis of (i) the severance benefits payable pursuant to this Agreement or (ii) the\nseverance benefits payable pursuant to this Agreement as reduced to avoid imposition of the 280G Excise Tax (the “Conditional Capped Amount”).\nNot more than fourteen (14) days following the termination of employment the Company will\nnotify Executive in writing (A) whether the severance benefits payable pursuant to this Agreement when added to any other Parachute Payments payable to Executive exceed an amount equal to 299% (the “299% Amount”) of Executive’s\n“base amount” as defined in Section 280G(b)(3) of the Code, (B) the amount that is equal to the 299% Amount, (C) whether the severance benefit described in this Agreement or the Conditional Capped Amount pursuant to clause\n(ii) above is greater on an after-tax basis and (C) if the Conditional Capped Amount is the greater amount, the amount that the severance benefits payable pursuant to this Agreement must be reduced\nto equal such amount.\nThe calculation of the 299% Amount, the determination of whether the termination benefits described in clause\n(i) above or the Conditional Capped Amount described in clause (ii) above is greater on an after-tax basis and, if the Conditional Capped Amount in clause (ii) is the greater amount, the\ndetermination of how much Executive’s termination benefits must be reduced in order to avoid application of the 280G Excise Tax will be made by the Company’s public accounting firm in accordance with section 280G of the Code or any\nsuccessor provision thereto. For purposes of making the reduction of amounts payable under this Agreement, such amounts shall be eliminated in the following order: (1) any cash compensation, (2) any health or welfare benefits, (3) any\nequity compensation, and (4) any other payments hereunder. Reductions of such amounts shall take place in the chronological order with respect to which such amounts would be paid from the date of the termination of employment absent any\nacceleration of payment. If the reduction of the amounts payable hereunder would not result in a reduction of the Parachute Payments to the Conditional Capped Amount, no amounts payable under this Agreement shall be reduced pursuant to this\nprovision. The costs of obtaining such determination will be borne by the Company.\n7.\nNon-Competition.\n(a) As used in this Section:\n“Business of Company” means providing products and services to broadband internet service providers which support a full range of\nintegrated voice, video and high-speed data services to the subscribers of such providers.\n“Restricted Period” means the period\nbeginning on the Termination Date and ending twelve (12) months after the Termination Date.\n“Restricted Territory” means,\nand is limited to, the following Metropolitan Statistical Areas: (1) Atlanta - Sandy Springs - Roswell, GA, (2) Denver - Aurora - Lakewood, CO, (3) Portland - Vancouver - Hillsboro, OR-WA,\n(4) Philadelphia - Camden - Wilmington, PA-NJ-DE-MD, (5) New York - Newark - Jersey City, NY-NJ-PA, (6) San Francisco - Oakland - Hayward, CA, (7) Los Angeles - Long Beach -\nAnaheim, CA, (8) St. Louis, MO-IL, (9) San Diego - Carlsbad, CA, (1) San Jose - Sunnyvale - Santa Clara, CA, and (11) Columbus, OH, and\n(12) Boston - Cambridge - Newton MA-NH. Executive acknowledges and agrees that this is the area in which the Company does business at the time of execution of this Agreement, and in which Executive will\nhave responsibility, at a minimum, on behalf of the Company.\n“Material Contact” means contact in person, by telephone or by\npaper or electronic correspondence, in furtherance of the business interests of Company.\n(b) Executive agrees that during\nExecutive’s employment hereunder and during the Restricted Period, Executive shall not, within the Restricted Territory, perform services on his own behalf or on behalf of any other person or entity, which are the same as or similar to those he\nprovided to Company and which support any business activities which compete with the Business of Company.\n(c) Executive agrees that\nduring Executive’s employment hereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective customers of Company with whom Executive had Material Contact, for the purpose of selling\nany products or services which compete with the Business of Company.\n(d) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective vendor of Company with whom Executive had Material Contact, for the purpose of providing products or services in support of\nany business activities which compete with the Business of Company.\n(e) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit or induce any employee or independent contractor of Company with whom Executive had Material Contact to terminate such employment or contract with\nCompany.\nNotwithstanding the foregoing, it is understood and agreed that, without limitation on other available remedies, the\nrestrictions on Executive set forth in this Section 7(b), (c), (d) and (e) hereof shall not be applicable at any time that Company is in breach of its contractual obligations to Executive under this Agreement following the thirty (30) days\nafter being notified in writing by Executive of such breach and failure of Company to cure same. In the event Company cures such breach, the restrictions set forth in Sections 7(b), (c), (d) and (e) hereof shall continue pursuant to their terms\nas if such breach never occurred.\n8. Nondisclosure of Trade Secrets. During the term of this Agreement, Executive will have access\nto and become familiar with various trade secrets and proprietary and confidential information of the Company, its subsidiaries and affiliates, including, but not limited to, processes, designs, computer programs, compilations of information,\nrecords, sales procedures, customer requirements, pricing techniques, product plans, marketing plans, strategic\nplans, customer lists, methods of doing business and other confidential information (collectively, referred to as “Trade Secrets”) which are owned by the Company, its subsidiaries\nand/or affiliates and regularly used in the operation of its business, and as to which the Company, its subsidiaries and/or affiliates take precautions to prevent dissemination to persons other than certain directors, officers and employees.\nExecutive acknowledges and agrees that the Trade Secrets (1) are secret and not known in the industry; (2) give the Company or its subsidiaries or affiliates an advantage over competitors who do not know or use the Trade Secrets;\n(3) are of such value and nature as to make it reasonable and necessary to protect and preserve the confidentiality and secrecy of the Trade Secrets; and (4) are valuable, special and unique assets of the Company or its subsidiaries or\naffiliates, the disclosure of which could cause substantial injury and loss of profits and goodwill to the Company or its subsidiaries or affiliates. Executive may not use in any way or disclose any of the Trade Secrets, directly or indirectly,\neither during the term of this Agreement or at any time thereafter, except as required in the course of his employment under this Agreement, if required in connection with a judicial or administrative proceeding, or if the information becomes public\nknowledge other than as a result of an unauthorized disclosure by the Executive. All files, records, documents, information, data and similar items relating to the business of the Company, whether prepared by Executive or otherwise coming into her\npossession, will remain the exclusive property of the Company and may not be removed from the premises of the Company under any circumstances without the prior written consent of the Board (except in the ordinary course of business during\nExecutive’s period of active employment under this Agreement), and in any event must be promptly delivered to the Company upon termination of Executive’s employment with the Company. Executive agrees that upon his receipt of any subpoena,\nprocess or other request to produce or divulge, directly or indirectly, any Trade Secrets to any entity, agency, tribunal or person, Executive shall timely notify and promptly hand deliver a copy of the subpoena, process or other request to the\nBoard. For this purpose, Executive irrevocably nominates and appoints the Company (including any attorney retained by the Company), as his true and lawful\nattorney-in-fact, to act in Executive’s name, place and stead to perform any act that Executive might perform to defend and protect against any disclosure of any\nTrade Secrets.\n9. Return of Profits. In the event that Executive violates any of the provisions of Sections 7 or 8 hereof or fails\nto provide the notice required by Section 4(d) hereof, the Company shall be entitled to receive from Executive the profits, if any, received by Executive upon exercise of any Company granted stock options or stock appreciation rights or upon lapse\nof the restrictions on any grant or restricted stock to the extent such options or rights were exercised, or such restrictions lapsed, subsequent to six months prior to the termination of Executive’s employment. In addition, payments under this\nAgreement shall be subject to (a) any applicable law or regulation, stock exchange rule, or policy required by the foregoing providing for recoupment or clawback, and (b) any recoupment or clawback policy of the Company in effect on or\nafter the date hereof (or the date of any amendment hereto).\n10. Severability. The parties hereto intend all provisions of\nSections 7, 8 and 9 hereof to be enforced to the fullest extent permitted by law. Accordingly, should a court of competent jurisdiction determine that the scope of any provision of Sections 7, 8 or 9 hereof is too broad to be enforced as written,\nthe parties intend that the court reform the provision to such narrower scope as it determines to be reasonable and enforceable. In addition, however, Executive agrees"}
-{"idx": 6, "level": 2, "span": "1. Employment\nExecutive agrees to enter into the continued employment of the Company, and the Company agrees to employ Executive, on\nthe terms and conditions set forth in this Agreement. Executive agrees during the term of this Agreement to devote substantially all of his/her business time, efforts, skills and abilities to the performance of his duties as stated in this Agreement\nand to the furtherance of the Company’s business."}
-{"idx": 6, "level": 2, "span": "2. Compensation."}
-{"idx": 6, "level": 3, "span": "(a) Base Salary\nDuring the term of Executive’s employment with the Company pursuant to this Agreement, the Company shall pay\nto Executive as compensation for his services an annual base salary of not less than $450,000 (“Base Salary”). Executive’s Base Salary will be payable in arrears (no less frequently than monthly) in accordance with the Company’s\nnormal payroll procedures and will be reviewed annually and subject to upward adjustment at the discretion of the Chief Executive Officer and Compensation Committee, but will not be lowered except in connection with reductions applied to all\nexecutive officers."}
-{"idx": 6, "level": 3, "span": "(b) Incentive Bonus\nDuring the term of Executive’s employment with the Company pursuant to this\nAgreement, Executive’s incentive compensation program shall be determined by the Company in its discretion with a target bonus equal to 80% of Base Salary, and allowing for payment of up to 200% of target thereafter. Executive’s bonus, if\nany, shall be payable as soon after the end of each calendar year to which it relates as it can be determined, but in any event within two and one-half (2-1/2) months\nthereafter."}
-{"idx": 6, "level": 3, "span": "(c) Executive Perquisites\nDuring the term of Executive’s employment with the Company\npursuant to this Agreement, Executive shall be entitled to receive such executive perquisites and fringe benefits as are provided to the executives in comparable positions and their families under any of the Company’s plans and/or programs in\neffect from time to time and such other benefits as are customarily available to executives of the Company and their families, including without limitation vacations and life, medical and disability insurance. For the purposes of clarity, Executive\nwill be eligible to participate in the Company’s currently available defined contribution plans, but not the Company’s defined benefit plans (which the Company has frozen)."}
-{"idx": 6, "level": 3, "span": "(d) Tax Withholding\nThe Company has the right to deduct from any compensation payable to Executive under this Agreement social\nsecurity (FICA) taxes and all federal, state, municipal or other such taxes or charges as may now be in effect or that may hereafter be enacted or required."}
-{"idx": 6, "level": 3, "span": "(e) Expense Reimbursements\nThe Company shall pay or reimburse Executive for all reasonable business expenses incurred or paid by\nExecutive in the course of performing his duties hereunder, including but not limited to reasonable travel expenses for Executive. As a condition to such payment or reimbursement, however, Executive shall maintain and provide to the Company\nreasonable documentation and receipts for such expenses. Such payments and reimbursements shall be made as soon as administratively practicable following submission of reasonable documentation and receipts for such expenses but all such payments and\nreimbursements shall be made no later than the last day of the calendar year following the calendar year in which Executive incurs the reimbursable expense."}
-{"idx": 6, "level": 2, "span": "3. Term\nUnless sooner terminated pursuant to Section 4 of this Agreement, and subject to the provisions of Section 5 hereof,\nthe term of employment under this Agreement shall commence as of the date hereof and shall continue for a period of one year. The term automatically shall be extended by one day for each day of employment hereunder. Notwithstanding the foregoing the\nterm of employment under this agreement shall terminate, if it has not terminated earlier, without further action on the part of the Company or Executive upon Executive’s 65th birthday."}
-{"idx": 6, "level": 2, "span": "4. Termination\nNotwithstanding the provisions of Section 3 hereof, but subject to the provisions of Section 5 hereof,\nExecutive’s employment under this Agreement shall terminate as follows:"}
-{"idx": 6, "level": 3, "span": "(a) Death\nExecutive’s employment shall\nterminate upon the death of Executive, provided, however, that the Company shall continue to pay no less frequently than monthly (in accordance with its normal payroll procedures) the Base Salary to Executive’s estate for a period of three\nmonths after the date of Executive’s death."}
-{"idx": 6, "level": 3, "span": "(b) Termination for Cause\nThe Company may terminate Executive’s employment\nat any time for “Cause” (as hereinafter defined) by delivering a written termination notice to Executive. For purposes of this Agreement, “Cause” shall mean any of: (i) Executive’s"}
-{"idx": 6, "level": 3, "span": "(c) Termination Without\nCause. The Company may terminate Executive’s employment at any time by delivering a written termination notice to Executive."}
-{"idx": 6, "level": 3, "span": "(d)\nTermination by Executive. Executive may terminate his employment at any time by delivering ninety days prior written notice to the Company; provided, however, that the terms, conditions and benefits specified in Section 5 hereof shall\napply or be payable to Executive only if such termination occurs as a result of an uncured material breach by the Company of any provision of this Agreement."}
-{"idx": 6, "level": 3, "span": "(e) Termination Following Disability\nIn the event Executive becomes mentally or physically impaired or disabled and is unable to\nperform his material duties and responsibilities hereunder for a period of at least ninety days in the aggregate during any one hundred twenty consecutive day period, the Company may terminate Executive’s employment by delivering a written\ntermination notice to Executive. Notwithstanding the foregoing, Executive shall continue to receive his full salary and benefits under this Agreement for a period of six months after the effective date of such termination with his base salary\npayable in arrears no less frequently than monthly in accordance with the Company’s normal payroll procedures and continued benefits on a monthly basis through such time."}
-{"idx": 6, "level": 3, "span": "(f) Payments\nFollowing any expiration or termination of this Agreement and Executive’s employment hereunder, in addition any\namounts owed pursuant to Section 5 hereof, the Company shall pay to Executive all amounts earned by Executive hereunder prior to the date of such expiration and termination, as soon as administratively practicable following the date of\ntermination of Executive’s employment, in the normal course consistent with the provisions of this Agreement. Additionally, subject to Executive’s continued compliance with Sections 7, 8 and 9 of this Agreement, if Executive terminates his\nemployment with the Company without Good Reason on or after the date Executive attains age 62 (provided Executive has no less than 10 years of actual continuous service with Company following the date hereof as of such termination), all of\nExecutive’s stock options and equity awards outstanding at termination of Executive’s employment shall continue to vest for four (4) years after the termination as if Executive remained employed through such time, and such stock\noptions shall remain outstanding through the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment)."}
-{"idx": 6, "level": 2, "span": "5. Certain Termination Benefits\nSubject to Section 6(a) hereof, in the event (i) the\nCompany terminates Executive’s employment without cause pursuant to Section 4(c) or (ii) Executive terminates his employment pursuant to Section 4(d) after a material breach by the Company (which the Company fails to cure within thirty\ndays after written notice of such breach from Executive):"}
-{"idx": 6, "level": 3, "span": "(a) Base Salary and Bonus\nThe Company shall continue to pay to\nExecutive his Base Salary (as in effect as of the date of such termination) no less frequently than monthly in accordance with the Company’s normal payroll procedures, beginning with the first payroll date after the date of termination of\nExecutive’s employment and continuing for twelve (12) months immediately following the termination. The Company also shall pay to Executive (i) a bonus for the fiscal year in which the termination occurs based upon the actual results\nfor such fiscal year reduced on a pro rata basis to reflect only the portion of the year prior to the end of the month in which the termination occurs (e.g., in the event of a termination in March, Executive would receive 1/4 of the amount that he\notherwise would receive), and (ii) an amount equal to the average bonus received, or to be received, by Executive with respect to the three most recently completed fiscal years of the Company (e.g., if Executive has received, or been entitled\nto receive, bonuses for two fiscal years, it would be the average of those two bonuses) or, if Executive has not yet received, or been entitled to receive, a bonus with respect to a completed fiscal year, an amount equal to Executive’s target\nbonus for the current fiscal year. The Company will pay all such bonus amounts as soon as they reasonably can be calculated, but in all events within two and one-half\n(2 1⁄2) months of the end of the fiscal year in which the termination occurs. Notwithstanding the foregoing, all payments to be made or benefits to be\nprovided under this Section are subject to the provisions of Section 5(g) below."}
-{"idx": 6, "level": 3, "span": "(b) Stock\nSubject to Section 10 hereof, on\nand as of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. Additionally, all of\nExecutive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment)."}
-{"idx": 6, "level": 3, "span": "(c) Limitation\nNotwithstanding the foregoing, with respect to a termination occurring during the two year period commencing the day\nafter the award date of Executive’s initial equity grants following employment by the Company, the amount payable to Executive pursuant to Section 5(a) shall be reduced, but not below zero, on a dollar-for-dollar basis by the value of any equity-related awards that vests as a result of Section 5(b) or similar provisions in any equity-related benefit plans."}
-{"idx": 6, "level": 3, "span": "(d) Life Insurance\nThe Company shall continue to provide Executive on a monthly basis with group and additional life insurance\ncoverage, no less frequently than monthly, for a period of twelve (12) months immediately following termination of employment."}
-{"idx": 6, "level": 3, "span": "(e)\nMedical Insurance. The Company shall continue to provide Executive and his family with group medical insurance coverage, no less frequently than monthly, under the Company’s medical plans (as the same may change from time to time) or\nother substantially similar health insurance for a period of twelve (12) months immediately following termination of employment."}
-{"idx": 6, "level": 3, "span": "(f) Group Disability\nThe Company shall continue to provide Executive coverage, no less\nfrequently than monthly, under the Company’s group disability plan for a period of twelve (12) months immediately following termination of employment (subject in the case of long-term disability to the availability of such coverage under\nCompany’s insurance policy)."}
-{"idx": 6, "level": 3, "span": "(g) Section 409A\nNotwithstanding any other provisions of this Agreement, it is intended that\nany payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred compensation subject to Section 409A of the Internal Revenue Code of 1986, as amended (the\n“Code”), will be provided and paid in a manner, and at such time, as complies with Section 409A of the Code. For purposes of this Agreement, all rights to payments and benefits hereunder shall be treated as rights to receive a series of\nseparate payments and benefits to the fullest extent allowed by Section 409A of the Code. If Executive is a key employee (as defined in Section 416(i) of the Code without regard to paragraph (5) thereof) and any of Company’s stock is\npublicly traded on an established securities market or otherwise, then the payment of any amount or provision of any benefit under this Agreement which is considered to be nonqualified deferred compensation subject to Section 409A of the Code shall\nbe deferred for six (6) months after the Termination Date or, if earlier, Executive’s death (the “409A Deferral Period”), as required by Section 409A(a)(2)(B)(i) of the Code. In the event payments are otherwise due to be made in\ninstallments or periodically during such 409A Deferral Period, the payments which would otherwise have been made in the 409A Deferral Period shall be accumulated and paid in a lump sum as soon as the 409A Deferral Period ends, and the balance of the\npayments shall be made as otherwise scheduled. In the event, benefits are otherwise to be provided hereunder during such 409A Deferral Period, any such benefits may be provided during the 409A Deferral Period at Executive’s expense, with\nExecutive having a right to reimbursement for such expense from the Company as soon as the 409A Deferral Period ends, and the balance of the benefits shall be provided as otherwise scheduled. For purposes of this Agreement, Executive’s\ntermination of employment shall be construed to mean a “separation from service” within the meaning of Section 409A of the Code where it is reasonably anticipated that no further services will be performed after such date or that the level\nof bona fide services Executive would perform after that date (whether as an employee or independent contractor) would permanently decrease to less than fifty percent (50%) of the average level of bona fide services performed over the immediately\npreceding thirty-six (36)-month period. Without limitation, if any payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred\ncompensation subject to Section 409A of the Code fails to comply with Section 409A of the Code, and Executive incurs any additional tax, interest and penalties under Section 409A of the Code, Company will pay Executive an additional amount so that,\nafter paying all taxes, interest and penalties on such additional amount, Executive has an amount remaining equal to such additional tax, interest and penalties. All payments to be made to Executive pursuant to the immediately preceding sentence\nshall be payable no later than when the related taxes, interest and penalties are to be remitted. Any right to reimbursement incurred due to a tax audit or litigation addressing the existence or amount of any tax liability addressed in the\nimmediately"}
-{"idx": 6, "level": 3, "span": "(h) Offset\nAny fringe benefits received by Executive in connection with any other employment that are reasonably comparable, but not\nnecessarily as beneficial, to Executive as the fringe benefits then being provided by the Company pursuant to this Section 5, shall be deemed to be the equivalent of, and shall terminate the Company’s responsibility to continue providing,\nthe fringe benefits then being provided by the Company pursuant to this Section 5. The Company acknowledges that if Executive’s employment with the Company is terminated, Executive shall have no duty to mitigate damages."}
-{"idx": 6, "level": 4, "span": "(i) General Release\nAcceptance by Executive of any amounts pursuant to this Section 5 shall constitute a full and complete\nrelease by Executive of any and all claims Executive may have against the Company, its officers, directors and affiliates, including, but not limited to, claims she might have relating to Executive’s cessation of employment with the Company;\nprovided, however, that there may properly be excluded from the scope of such general release the following:"}
-{"idx": 6, "level": 4, "span": "(i) claims\nthat Executive may have against the Company for reimbursement of ordinary and necessary business expenses incurred by him during the course of his employment;"}
-{"idx": 6, "level": 4, "span": "(ii) claims that may be made by the Executive for payment of Base Salary, fringe benefits or restricted stock or stock options\nproperly due to him; or"}
-{"idx": 6, "level": 4, "span": "(iii) claims respecting matters for which the Executive is entitled to be indemnified under the\nCompany’s Certificate of Incorporation or Bylaws, respecting third party claims asserted or third party litigation pending or threatened against the Executive."}
-{"idx": 6, "level": 2, "span": "6. Effect of Change in Control."}
-{"idx": 6, "level": 3, "span": "(a) If within one year following a “Change of Control” (as hereinafter defined), Executive terminates his employment with the\nCompany for Good Reason (as hereinafter defined) or the Company terminates Executive’s employment for any reason other than Cause, death or disability, the Company shall pay to Executive: (1) an amount equal to one times the\nExecutive’s Base Salary as of the date of termination; (2) an amount equal to one times the average annual cash bonus paid to Executive for the two fiscal years immediately preceding the date of termination (and a pro rata portion for any\npartial year); (3) all benefits under the Company’s various benefit plans, including group healthcare, dental and life, for the period equal to twelve months from the date of termination; and (4) subject to Section 10 hereof, on and\nas of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. The Company shall pay the\namounts set forth in (1) and (2) above in one lump sum payment as soon as administratively practicable (and within thirty (30) days) following Executive’s termination of employment. The benefits provided under (3) above shall be\nprovided no less frequently than monthly following the date of termination of employment. Additionally, Executive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any\nearlier expiration date based on Executive’s termination of employment). Notwithstanding the foregoing, all payments to be made and benefits to be provided under this Section are subject to the provisions of Section 5(g) above."}
-{"idx": 6, "level": 3, "span": "(b) “Change of Control” shall mean the date as of which: (i) there shall be consummated (1) any consolidation or merger of\nARRIS International plc, as parent corporation of the Company (“Parent”), to which the Parent is not the continuing or surviving corporation or pursuant to which Parent’s ordinary shares would be converted into cash, securities or\nother property, other than a merger of the Parent in which the holders of the Parent’s ordinary shares immediately prior to the merger own more than 50% of the total fair market value or total voting power of the continuing or surviving entity,\nor (2) any sale, lease, exchange or other transfer (in one transaction or a series of related transactions) of all, or substantially all, of the assets of the Parent or (ii) the stockholders of the Parent approve any plan or proposal for\nthe liquidation or dissolution of the Parent; or (iii) any person, as such term is used in Sections 13(d) and 14(d)(2) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), shall become the beneficial owner (within\nthe meaning of Rule 13d-3 under the Exchange Act) of 30% or more of the Parent’s outstanding ordinary shares (in a single transaction or within twelve (12) months from the date of the final\nacquisition) or (iv) during any one year, individuals who at the beginning of such period constitute the entire Board of Directors of the Parent shall cease for any reason to constitute a majority thereof unless the appointment, election, or\nthe nomination for election by the Parent’s stockholders, of each new director was approved by a vote of at least two-thirds of the directors still then in office who were directors at the beginning of\nthe period. This definition of “Change in Control” is intended to comply with the definition of a change in the ownership or effective control of the Parent or in the ownership of a substantial portion of the assets of the Parent within\nthe meaning of Section 409A(a)(2)(A)(v) of the Code and shall be construed consistent with that intent."}
-{"idx": 6, "level": 3, "span": "(c) “Good Reason” shall mean any of the following actions taken by the Company without\nthe Executive’s written consent after a Change of Control:"}
-{"idx": 6, "level": 4, "span": "(i) A reduction by the Company in the Executive’s\nBase Salary as in effect on the date of a Change of Control or Potential Change of Control, or as the same may be increased from time to time during the term of her Agreement;"}
-{"idx": 6, "level": 4, "span": "(ii) The Company shall require the Executive to be based anywhere other than at the location where the Executive is based on\nthe date of a Change of Control or Potential Change of Control, or if Executive agrees to such relocation, the Company fails to reimburse the Executive for moving and all other expenses reasonably incurred with such move;"}
-{"idx": 6, "level": 4, "span": "(iii) The Company shall fail to continue in effect any Company-sponsored plan or benefit that is in effect on the date of a\nChange of Control or Potential Change of Control, that provides (A) incentive or bonus compensation, (B) fringe benefits such as vacation, medical benefits, life insurance and accident insurance, (C) reimbursement for reasonable\nexpenses incurred by the Executive in connection with the performance of duties with the Company, or (D) retirement benefits such as a Code Section 401(k) plan, except to the extent that such plans taken as a whole are replaced with\nsubstantially comparable plans;"}
-{"idx": 6, "level": 4, "span": "(iv) Any material breach by the Company of any provision of this Agreement; and"}
-{"idx": 6, "level": 4, "span": "(v) Any failure by the Company to obtain the assumption of this Agreement by any successor or assign of the Company effected in\naccordance with the provisions of Section 6."}
-{"idx": 6, "level": 3, "span": "(d) “Potential Change of Control” shall mean the date as of which\n(1) the Parent enters into an agreement the consummation of which, or the approval by shareholders of which, would constitute a Change of Control; (ii) proxies for the election of Directors of the Parent are solicited by anyone other than\nthe Parent; (iii) any person (including, but not limited to, any individual, partnership, joint venture, corporation, association or trust) publicly announces an intention to take or to consider taking actions which, if consummated, would\nconstitute a Change of Control; or (iv) any other event occurs which is deemed to be a Potential Change of Control by the Board of the Parent and the Board of the Parent adopts a resolution to the effect that a Potential Change of Control has\noccurred."}
-{"idx": 6, "level": 3, "span": "(e) If the payments to Executive pursuant to this Agreement (when considered with all other payments made to Executive as a\nresult of a termination of employment that are subject to Section 280G of the Code) (the amount of all such payments, collectively, the “Parachute Payment”) result in Executive becoming liable for the payment of any excise taxes pursuant\nto section 4999 of the Code (“280G Excise Tax”), Executive will receive the greater on an after-tax basis of (i) the severance benefits payable pursuant to this Agreement or (ii) the\nseverance benefits payable pursuant to this Agreement as reduced to avoid imposition of the 280G Excise Tax (the “Conditional Capped Amount”)."}
-{"idx": 6, "level": 2, "span": "7.\nNon-Competition."}
-{"idx": 6, "level": 3, "span": "(a) As used in this Section:"}
-{"idx": 6, "level": 3, "span": "(b) Executive agrees that during\nExecutive’s employment hereunder and during the Restricted Period, Executive shall not, within the Restricted Territory, perform services on his own behalf or on behalf of any other person or entity, which are the same as or similar to those he\nprovided to Company and which support any business activities which compete with the Business of Company."}
-{"idx": 6, "level": 3, "span": "(c) Executive agrees that\nduring Executive’s employment hereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective customers of Company with whom Executive had Material Contact, for the purpose of selling\nany products or services which compete with the Business of Company."}
-{"idx": 6, "level": 3, "span": "(d) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective vendor of Company with whom Executive had Material Contact, for the purpose of providing products or services in support of\nany business activities which compete with the Business of Company."}
-{"idx": 6, "level": 3, "span": "(e) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit or induce any employee or independent contractor of Company with whom Executive had Material Contact to terminate such employment or contract with\nCompany."}
-{"idx": 6, "level": 2, "span": "8. Nondisclosure of Trade Secrets\nDuring the term of this Agreement, Executive will have access\nto and become familiar with various trade secrets and proprietary and confidential information of the Company, its subsidiaries and affiliates, including, but not limited to, processes, designs, computer programs, compilations of information,\nrecords, sales procedures, customer requirements, pricing techniques, product plans, marketing plans, strategic"}
-{"idx": 6, "level": 2, "span": "9. Return of Profits\nIn the event that Executive violates any of the provisions of Sections 7 or 8 hereof or fails\nto provide the notice required by Section 4(d) hereof, the Company shall be entitled to receive from Executive the profits, if any, received by Executive upon exercise of any Company granted stock options or stock appreciation rights or upon lapse\nof the restrictions on any grant or restricted stock to the extent such options or rights were exercised, or such restrictions lapsed, subsequent to six months prior to the termination of Executive’s employment. In addition, payments under this\nAgreement shall be subject to (a) any applicable law or regulation, stock exchange rule, or policy required by the foregoing providing for recoupment or clawback, and (b) any recoupment or clawback policy of the Company in effect on or\nafter the date hereof (or the date of any amendment hereto)."}
-{"idx": 6, "level": 2, "span": "10. Severability\nThe parties hereto intend all provisions of\nSections 7, 8 and 9 hereof to be enforced to the fullest extent permitted by law. Accordingly, should a court of competent jurisdiction determine that the scope of any provision of Sections 7, 8 or 9 hereof is too broad to be enforced as written,\nthe parties intend that the court reform the provision to such narrower scope as it determines to be reasonable and enforceable. In addition, however, Executive agrees"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_7.jsonl b/data/auto_parse/level_freeze/frozen/idx_7.jsonl
deleted file mode 100644
index b0d114c..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_7.jsonl
+++ /dev/null
@@ -1,12 +0,0 @@
-{"idx": 7, "level": 1, "span": "AMENDMENT NO.1 TO CRUDE TALL OIL AND"}
-{"idx": 7, "level": 0, "span": "BLACK LIQUOR SOAP SKIMMINGS AGREEMENT\nThis Amendment No.1 (this “Amendment”) to the Supply Agreement, dated as of March 1, 2017 (the “Effective Date”), is entered into by and between WestRock Shared Services, LLC and WestRock MWV, LLC, on behalf of the affiliates of WestRock Company (“Seller”), and Ingevity Corporation, a Delaware corporation (“Buyer”).\nWHEREAS, Seller and Buyer previously entered into that certain Crude Tall Oil and Black Liquor Soap Skimmings Agreement, effective as of January 1, 2016 (the “Agreement”; capitalized terms used herein but not defined herein shall have the meanings given them in the Agreement); and\nWHEREAS, Buyer and Seller desire to amend the Agreement as detailed below.\nNOW THEREFORE, in consideration of the mutual premises and covenants contained herein and intending to be legally bound hereby, the Parties agree that the Agreement is amended as follows:\n1.Removal of Tres Barras, Santa Catarina, Brazil Mill.\nA. Effective on March 1, 2017 (the “Release Date”), Buyer and Seller agree to remove the Tres Barras, Santa Catarina Brazil Mill (the “Brazil Mill”) from the Agreement. The removal of the Brazil Mill from the Agreement shall not release either Party from the obligation to pay any sum that may be owing to the other Party (whether then or thereafter due) or operate to discharge any liability that had been incurred by either Party prior to such removal. Buyer and Seller agree that in order to effect the removal of the Brazil Mill from the Agreement, on the Release Date:\ni.The reference to “Tres Barras, Santa Catarina Brazil” is deleted from Section 1(B);\nii.Sections 2(D)(i) and 3(D) and Exhibit E are deleted from the Agreement and replaced with “RESERVED”;\niii.The reference to “Brazil” is deleted from Section 16;\niv.In the table contained in Exhibit B, the reference to “Tres Barras, Brazil” and the accompanying information is deleted; and\nv.The reference to “Note 3” is deleted from Exhibit B."}
-{"idx": 7, "level": 1, "span": "B. Brazilian Local Agreement. Seller and Buyer shall cause their respective affiliates, to sign the Mutual Termination Agreement, attached as Exhibit A hereto."}
-{"idx": 7, "level": 1, "span": "C. Payment. As consideration for Seller agreeing to remove the Brazil Mill from the Agreement, Buyer shall pay Seller Two Hundred Fifty Thousand Dollars ($250,000), payable within thirty (30) days of the Effective Date.\n2.Amendment to Section 1(E). Section 1(E) of the Agreement is amended by deleting such Section in its entirety and replacing it with the following:"}
-{"idx": 7, "level": 1, "span": "E."}
-{"idx": 7, "level": 1, "span": "Freight:"}
-{"idx": 7, "level": 1, "span": "Exhibit 10.7\n(i) Buyer is responsible for determining the mode of transportation and for providing suitable tank trucks, rail cars or barges for shipments of one hundred percent (100%) of the Products from the Mills. All freight charges, insurance, demurrage and all other expenses incident thereto are for Buyer’s account; provided that, if Buyer incurs third party demurrage charges due to Seller’s delay, then Seller shall reimburse Buyer for such charges. Seller will make commercially reasonable efforts to fully load tank trucks or rail cars to minimize total cost of transportation.\n(ii)Buyer may request and Seller shall provide a credit for underfilled vehicles (tank trucks and/or railcars) as follows:\na.CTO: Minimum Product weight in pounds for tank truck deliveries is 45,600. Minimum Product weight in pounds for rail cars will be calculated as 95% of the volume capacity rating, by gallons, of the individual railcar used multiplied by 8.0 pounds/gallon.\nb.BLSS: Minimum Product weight in pounds for tank trucks is 42,750 for tank trucks originating from the Demopolis, Florence, and Panama City Mills. Minimum Product weight in pounds for tank trucks is 39,900 for tank truck originating from the Evadale Mill.\n(iii) In the event that the Parties determine to: (A) ship BLSS from Mills not referenced above; (B) shipment BLSS by rail car, or (C) ship Products by barge, then the Parties shall mutually agree in writing on the minimum weight for such shipment mode.\n(iv) If the Product weight as listed on Seller’s invoices for either tank trucks or rail cars (“Actual Weight”) is less than the applicable minimum weight indicated above (the “Minimum Weight”), Buyer may request and Seller shall provide a credit equal to (Buyer’s actual freight cost for such shipment divided by the Minimum Weight) multiplied by the (the Minimum Weight – the Actual Weight). If Buyer disagrees with Seller’s calculation of the Actual Weight, Seller shall provide Buyer with the opportunity to inspect the measuring process and equipment, to verify the disparity. This credit calculation report will be generated by Buyer and sent to Seller on an excel spreadsheet substantially in the form of Exhibit K hereto at the time of the other calculations for amounts payable pursuant to Exhibit G of this Agreement, or credit shall be deemed waived. Seller will provide the applicable credit as a credit memo to Buyer for use within thirty (30) days from receipt of such report against applicable invoices from Seller (or, if the Agreement has terminated, will reimburse Buyer), as provided herein.\nFor example:\n1. CTO tank truck shipment with an Actual Weight of 41,700 lbs. Minimum Weight is 45,600. Seller will provide Buyer with a credit as follows: $1,200 actual freight cost / 45,600 lbs. * (45,600 lbs-41,700 lbs.) = $102.63."}
-{"idx": 7, "level": 4, "span": "(i) Buyer is responsible for determining the mode of transportation and for providing suitable tank trucks, rail cars or barges for shipments of one hundred percent (100%) of the Products from the Mills\nAll freight charges, insurance, demurrage and all other expenses incident thereto are for Buyer’s account; provided that, if Buyer incurs third party demurrage charges due to Seller’s delay, then Seller shall reimburse Buyer for such charges. Seller will make commercially reasonable efforts to fully load tank trucks or rail cars to minimize total cost of transportation."}
-{"idx": 7, "level": 4, "span": "(iii) In the event that the Parties determine to: (A) ship BLSS from Mills not referenced above; (B) shipment BLSS by rail car, or (C) ship Products by barge, then the Parties shall mutually agree in writing on the minimum weight for such shipment mode."}
-{"idx": 7, "level": 4, "span": "(iv) If the Product weight as listed on Seller’s invoices for either tank trucks or rail cars (“Actual Weight”) is less than the applicable minimum weight indicated above (the “Minimum Weight”), Buyer may request and Seller shall provide a credit equal to (Buyer’s actual freight cost for such shipment divided by the Minimum Weight) multiplied by the (the Minimum Weight – the Actual Weight)\nIf Buyer disagrees with Seller’s calculation of the Actual Weight, Seller shall provide Buyer with the opportunity to inspect the measuring process and equipment, to verify the disparity. This credit calculation report will be generated by Buyer and sent to Seller on an excel spreadsheet substantially in the form of Exhibit K hereto at the time of the other calculations for amounts payable pursuant to Exhibit G of this Agreement, or credit shall be deemed waived. Seller will provide the applicable credit as a credit memo to Buyer for use within thirty (30) days from receipt of such report against applicable invoices from Seller (or, if the Agreement has terminated, will reimburse Buyer), as provided herein."}
-{"idx": 7, "level": 2, "span": "1. CTO tank truck shipment with an Actual Weight of 41,700 lbs\nMinimum Weight is 45,600. Seller will provide Buyer with a credit as follows: $1,200 actual freight cost / 45,600 lbs. * (45,600 lbs-41,700 lbs.) = $102.63."}
-{"idx": 7, "level": 1, "span": "Exhibit 10.7"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_8.jsonl b/data/auto_parse/level_freeze/frozen/idx_8.jsonl
deleted file mode 100644
index ecff41e..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_8.jsonl
+++ /dev/null
@@ -1,23 +0,0 @@
-{"idx": 8, "level": 1, "span": "ALLEGIANCE BANCSHARES, INC."}
-{"idx": 8, "level": 0, "span": "RESTRICTED STOCK AGREEMENT"}
-{"idx": 8, "level": 1, "span": "(Non-Employee Director)"}
-{"idx": 8, "level": 1, "span": "THE SHARES REPRESENTED BY THIS CERTIFICATE MAY BE TRANSFERRED ONLY IN COMPLIANCE WITH THE CONDITIONS SPECIFIED IN THE ALLEGIANCE BANCSHARES, INC. RESTRICTED STOCK AGREEMENT, DATED AS OF ____________________ BETWEEN ALLEGIANCE BANCSHARES, INC. (\"COMPANY\") AND EACH OF THE GRANTEES NAMED THEREIN. A COMPLETE AND CORRECT COPY OF THE FORM OF SUCH AGREEMENTS IS AVAILABLE FOR INSPECTION AT THE PRINCIPAL OFFICE OF THE COMPANY AND WILL BE FURNISHED WITHOUT CHARGE TO THE HOLDER OF SUCH SHARES UPON WRITTEN REQUEST.\n(c) Except as otherwise provided in the Plan, Holder shall, during the Restricted Period, have all of the other rights of a stockholder with respect to the Shares including, but not limited to, the right to receive dividends, if any, as may be declared on such Shares from time to time, and the right to vote (in person or by proxy) such Shares at any meeting of stockholders of the Company.\n(d) In the event that Holder's service as a director of the Company or an Affiliate is terminated for any reason other than death or disability prior to the expiration of the Forfeiture Restrictions as provided in Section 3(a) or 3(e), any Restricted Shares outstanding shall, upon such termination of service, be forfeited by Holder to the Company, without the payment of any consideration or further consideration by the Company, and neither Holder nor any successors, heirs, assigns, or legal representatives of Holder shall thereafter have any further rights or interest in the Restricted Shares or certificates therefor, and Holder's name shall thereupon be deleted from the list of the Company's stockholders with respect to the Restricted Shares.\n(e) In the event of a Change of Control (as defined in the Plan), or if Holder's service as a director of the Company or an Affiliate is terminated because of Holder's death or disability, any Forfeiture Restrictions on the Restricted Shares set forth in this Agreement which have not previously been forfeited shall be deemed to have expired, and the Restricted Shares shall thereby be free of all such Forfeiture Restrictions.\n(f) If the Holder's service as a director of the Company or an Affiliate shall terminate prior to the expiration of the Restricted Period, and there exists a dispute between Holder and the Company or the Committee as to the satisfaction of the conditions to the release of the Shares from the Forfeiture Restrictions hereunder and under the Plan or the terms and conditions of the Grant, the Shares shall remain subject to the Forfeiture Restrictions until the resolution of such dispute, regardless of any intervening expiration of the Restricted Period, except that any dividends that may be payable to the holders of record of Stock as of a date during the period from termination of Holder's service to the resolution of such dispute (the \"Suspension Period\") shall:\n(1) to the extent to which such dividends would have been payable to Holder on the Shares, be held by the Company as part of its general funds, and shall be paid to or for\nthe account of Holder only upon, and in the event of, a resolution of such dispute in a manner favorable to Holder, and then only with respect to such of the Shares as to which such resolution shall be so favorable, and\n(2) be canceled upon, and in the event of, a resolution of such dispute in a manner unfavorable to Holder, and then only with respect to such of the Shares as to which such resolution shall be so unfavorable.\n(g) Upon expiration of the Forfeiture Restrictions, by lapse of time and upon compliance by the Holder, or the legal representative of Holder, with all obligations of Holder under the Plan and this Agreement, the Restricted Shares shall be released from all further restrictions and prohibitions hereunder and all of the forfeiture provisions of the Plan, and the Committee shall thereupon deliver or cause to be delivered to Holder or Holder's legal representative the certificate or certificates for the Shares free of any legend provided in subparagraph (b) of this paragraph.\n4. Taxes. Any federal, state or local taxes arising by virtue of this Grant and assessed against or based on the value of the Shares awarded to Holder shall be the sole responsibility of Holder; provided that the Company shall have the right to withhold any amounts required to be so withheld for federal, state or local income tax purposes. Any such taxes and withholding must be paid or provided for according to law and in a manner satisfactory to the Company and as provided in the Plan before any Shares, or certificates therefor, can be delivered to Holder. The Committee may permit payment of any such amount to be made through the tender of cash or Stock, the withholding of Stock out of shares otherwise distributable or any other arrangement satisfactory to the Committee. The Company shall, to the extent permitted by law, have the right to withhold delivery of a stock certificate or to deduct any required taxes from any payment of any kind otherwise due to Holder. If Holder does not pay the entire amount of such taxes to the Company, if any, within thirty (30) days after the date on which the Committee notifies Holder of the amount required to meet the withholding obligation, the Committee shall withhold from the Stock to which Holder is entitled a number of shares having an aggregate fair market value equal to the amount of such taxes remaining to be paid by Holder and shall deliver a certificate for the remaining shares to the Holder. If Holder makes the election authorized by section 83(b) of the Internal Revenue Code, Holder shall submit to the Company a copy of the statement filed by Holder to make such election. The failure of Holder to notify the Company of any such election made by Holder may, in the discretion of the Committee, result in the forfeiture of the Shares.\n5. Changes in Capital Structure. If the outstanding shares of Stock or other securities of the Company, or both, shall at any time be changed or ex-changed by declaration of a stock dividend, stock split, combination of shares, or recapitalization, the number and kind of shares of Stock or other securities subject to the Restricted Shares shall be appro-priately and equitably adjusted in accordance with the terms of the Plan.\n6. Compliance With Securities Laws. Upon the acqui-si-tion of any shares pursuant to this Agreement, Holder (or Holder's legal representative upon Holder's death or disability) will enter into such written representations, warranties and agreements as the Company may reasonably request in order to comply with applicable securities laws or with this Agreement.\n7. Service Relationship. Holder shall be considered to be in service as a director as long as Holder remains as a director of the Company or an Affiliate. Any questions as to whether and when there has been a termination of such service, and the cause of such termination, shall be determined by the Committee, with the advice of the applicable corporation, and its determination shall be final.\n8. Binding Effect. The provisions of the Plan and the terms and conditions hereof shall, in accordance with their terms, be binding upon, and inure to the benefit of, all successors of Holder, including, without limitation, Holder's estate and the executors, administrators, or trustees thereof, heirs and legatees, and any receiver, trustee in bankruptcy, or representative of creditors of Holder. This Agreement shall be binding upon and inure to the benefit of any successors to the Company.\n9. Agreement Subject to Plan. This Agreement is sub-ject to the Plan. The terms and provisions of the Plan (including any subsequent amend-ments thereto) are hereby incorporated herein by reference thereto. In the event of a conflict between any term or provision contained herein and a term or provision of the Plan, the applicable terms and provisions of the Plan will govern and prevail. All defini-tions of words and terms contained in the Plan shall be applicable to this Agreement.\n10. Notices. Every notice hereunder shall be in writing and shall be given by registered or certified mail. All notices by Holder shall be directed to Allegiance Bancshares, Inc., 8847 W. Sam Houston Parkway N., Suite 200, Houston, Texas 77040, Attention: Secretary. Any notice given by the Company to Holder directed to Holder at the address on file with the Company shall be effective to bind Holder and any other person who shall acquire rights hereunder. The Company shall be under no obligation whatsoever to advise Holder of the existence, maturity or termination of any of Holder's rights hereunder and Holder shall be deemed to have familiarized himself or herself with all matters contained herein and in the Plan which may affect any of Holder's rights or privileges hereunder.\n11. Resolution of Disputes. Any dispute or disagreement which may arise hereunder shall be determined by the Committee in its sole discretion and judgment, and any such determination and any interpretation by the Committee of the terms of the Plan or this Restricted Stock Agreement shall be final and shall be binding and conclusive, for all purposes, upon the Company, Holder, and Holder’s heirs, personal representatives and successors.\n12. Amendment. Any modification of this Agreement will be effective only if it is in writing and signed by a duly authorized officer of the Company and Holder, except to the extent such modification occurs pursuant to a proper amendment of the Plan.\n13. Jurisdiction. The provisions of the Plan and the terms and conditions hereof shall be construed in accordance with the laws of Texas except to the extent pre-empted by Federal law.\nIN WITNESS WHEREOF, the Company has caused this Agreement to be duly executed by one of its officers thereunto duly authorized, and Holder has executed this Agreement, all as of the day and year first above written."}
-{"idx": 8, "level": 3, "span": "(c) Except as otherwise provided in the Plan, Holder shall, during the Restricted Period, have all of the other rights of a stockholder with respect to the Shares including, but not limited to, the right to receive dividends, if any, as may be declared on such Shares from time to time, and the right to vote (in person or by proxy) such Shares at any meeting of stockholders of the Company."}
-{"idx": 8, "level": 3, "span": "(d) In the event that Holder's service as a director of the Company or an Affiliate is terminated for any reason other than death or disability prior to the expiration of the Forfeiture Restrictions as provided in Section 3(a) or 3(e), any Restricted Shares outstanding shall, upon such termination of service, be forfeited by Holder to the Company, without the payment of any consideration or further consideration by the Company, and neither Holder nor any successors, heirs, assigns, or legal representatives of Holder shall thereafter have any further rights or interest in the Restricted Shares or certificates therefor, and Holder's name shall thereupon be deleted from the list of the Company's stockholders with respect to the Restricted Shares."}
-{"idx": 8, "level": 3, "span": "(e) In the event of a Change of Control (as defined in the Plan), or if Holder's service as a director of the Company or an Affiliate is terminated because of Holder's death or disability, any Forfeiture Restrictions on the Restricted Shares set forth in this Agreement which have not previously been forfeited shall be deemed to have expired, and the Restricted Shares shall thereby be free of all such Forfeiture Restrictions."}
-{"idx": 8, "level": 3, "span": "(f) If the Holder's service as a director of the Company or an Affiliate shall terminate prior to the expiration of the Restricted Period, and there exists a dispute between Holder and the Company or the Committee as to the satisfaction of the conditions to the release of the Shares from the Forfeiture Restrictions hereunder and under the Plan or the terms and conditions of the Grant, the Shares shall remain subject to the Forfeiture Restrictions until the resolution of such dispute, regardless of any intervening expiration of the Restricted Period, except that any dividends that may be payable to the holders of record of Stock as of a date during the period from termination of Holder's service to the resolution of such dispute (the \"Suspension Period\") shall:"}
-{"idx": 8, "level": 4, "span": "(1) to the extent to which such dividends would have been payable to Holder on the Shares, be held by the Company as part of its general funds, and shall be paid to or for"}
-{"idx": 8, "level": 4, "span": "(2) be canceled upon, and in the event of, a resolution of such dispute in a manner unfavorable to Holder, and then only with respect to such of the Shares as to which such resolution shall be so unfavorable."}
-{"idx": 8, "level": 3, "span": "(g) Upon expiration of the Forfeiture Restrictions, by lapse of time and upon compliance by the Holder, or the legal representative of Holder, with all obligations of Holder under the Plan and this Agreement, the Restricted Shares shall be released from all further restrictions and prohibitions hereunder and all of the forfeiture provisions of the Plan, and the Committee shall thereupon deliver or cause to be delivered to Holder or Holder's legal representative the certificate or certificates for the Shares free of any legend provided in subparagraph (b) of this paragraph."}
-{"idx": 8, "level": 2, "span": "4. Taxes\nAny federal, state or local taxes arising by virtue of this Grant and assessed against or based on the value of the Shares awarded to Holder shall be the sole responsibility of Holder; provided that the Company shall have the right to withhold any amounts required to be so withheld for federal, state or local income tax purposes. Any such taxes and withholding must be paid or provided for according to law and in a manner satisfactory to the Company and as provided in the Plan before any Shares, or certificates therefor, can be delivered to Holder. The Committee may permit payment of any such amount to be made through the tender of cash or Stock, the withholding of Stock out of shares otherwise distributable or any other arrangement satisfactory to the Committee. The Company shall, to the extent permitted by law, have the right to withhold delivery of a stock certificate or to deduct any required taxes from any payment of any kind otherwise due to Holder. If Holder does not pay the entire amount of such taxes to the Company, if any, within thirty (30) days after the date on which the Committee notifies Holder of the amount required to meet the withholding obligation, the Committee shall withhold from the Stock to which Holder is entitled a number of shares having an aggregate fair market value equal to the amount of such taxes remaining to be paid by Holder and shall deliver a certificate for the remaining shares to the Holder. If Holder makes the election authorized by section 83(b) of the Internal Revenue Code, Holder shall submit to the Company a copy of the statement filed by Holder to make such election. The failure of Holder to notify the Company of any such election made by Holder may, in the discretion of the Committee, result in the forfeiture of the Shares."}
-{"idx": 8, "level": 2, "span": "5. Changes in Capital Structure\nIf the outstanding shares of Stock or other securities of the Company, or both, shall at any time be changed or ex-changed by declaration of a stock dividend, stock split, combination of shares, or recapitalization, the number and kind of shares of Stock or other securities subject to the Restricted Shares shall be appro-priately and equitably adjusted in accordance with the terms of the Plan."}
-{"idx": 8, "level": 2, "span": "6. Compliance With Securities Laws\nUpon the acqui-si-tion of any shares pursuant to this Agreement, Holder (or Holder's legal representative upon Holder's death or disability) will enter into such written representations, warranties and agreements as the Company may reasonably request in order to comply with applicable securities laws or with this Agreement."}
-{"idx": 8, "level": 2, "span": "7. Service Relationship\nHolder shall be considered to be in service as a director as long as Holder remains as a director of the Company or an Affiliate. Any questions as to whether and when there has been a termination of such service, and the cause of such termination, shall be determined by the Committee, with the advice of the applicable corporation, and its determination shall be final."}
-{"idx": 8, "level": 2, "span": "8. Binding Effect\nThe provisions of the Plan and the terms and conditions hereof shall, in accordance with their terms, be binding upon, and inure to the benefit of, all successors of Holder, including, without limitation, Holder's estate and the executors, administrators, or trustees thereof, heirs and legatees, and any receiver, trustee in bankruptcy, or representative of creditors of Holder. This Agreement shall be binding upon and inure to the benefit of any successors to the Company."}
-{"idx": 8, "level": 2, "span": "9. Agreement Subject to Plan\nThis Agreement is sub-ject to the Plan. The terms and provisions of the Plan (including any subsequent amend-ments thereto) are hereby incorporated herein by reference thereto. In the event of a conflict between any term or provision contained herein and a term or provision of the Plan, the applicable terms and provisions of the Plan will govern and prevail. All defini-tions of words and terms contained in the Plan shall be applicable to this Agreement."}
-{"idx": 8, "level": 2, "span": "10. Notices\nEvery notice hereunder shall be in writing and shall be given by registered or certified mail. All notices by Holder shall be directed to Allegiance Bancshares, Inc., 8847 W. Sam Houston Parkway N., Suite 200, Houston, Texas 77040, Attention: Secretary. Any notice given by the Company to Holder directed to Holder at the address on file with the Company shall be effective to bind Holder and any other person who shall acquire rights hereunder. The Company shall be under no obligation whatsoever to advise Holder of the existence, maturity or termination of any of Holder's rights hereunder and Holder shall be deemed to have familiarized himself or herself with all matters contained herein and in the Plan which may affect any of Holder's rights or privileges hereunder."}
-{"idx": 8, "level": 2, "span": "11. Resolution of Disputes\nAny dispute or disagreement which may arise hereunder shall be determined by the Committee in its sole discretion and judgment, and any such determination and any interpretation by the Committee of the terms of the Plan or this Restricted Stock Agreement shall be final and shall be binding and conclusive, for all purposes, upon the Company, Holder, and Holder’s heirs, personal representatives and successors."}
-{"idx": 8, "level": 2, "span": "12. Amendment\nAny modification of this Agreement will be effective only if it is in writing and signed by a duly authorized officer of the Company and Holder, except to the extent such modification occurs pursuant to a proper amendment of the Plan."}
-{"idx": 8, "level": 2, "span": "13. Jurisdiction\nThe provisions of the Plan and the terms and conditions hereof shall be construed in accordance with the laws of Texas except to the extent pre-empted by Federal law."}
-{"idx": 8, "level": 1, "span": "ALLEGIANCE BANCSHARES, INC.\nBy:\nName:\nTitle:"}
-{"idx": 8, "level": 1, "span": "Holder"}
diff --git a/data/auto_parse/level_freeze/frozen/idx_9.jsonl b/data/auto_parse/level_freeze/frozen/idx_9.jsonl
deleted file mode 100644
index bf2ff25..0000000
--- a/data/auto_parse/level_freeze/frozen/idx_9.jsonl
+++ /dev/null
@@ -1,17 +0,0 @@
-{"idx": 9, "level": 1, "span": "CSW INDUSTRIALS, INC."}
-{"idx": 9, "level": 0, "span": "Performance Share Award Agreement\n(c)Notwithstanding anything contained in this Award Agreement to the contrary, the Performance Shares awarded pursuant to this Award Agreement shall automatically vest as provided in Exhibit A hereto and become issuable as provided in Section 3 below upon the occurrence of any of the following events: (i) a Change in Control, (ii) the Participant’s termination of service from the Company and all Subsidiaries due to his or her Disability or (iii) the Participant’s termination of service from the Company and all Subsidiaries due to his or her death. Additionally, notwithstanding anything contained in this Award Agreement to the contrary, the forfeiture and cancellation of the Performance Shares awarded pursuant to this Award Agreement are subject to the terms and provisions of the Company’s Executive Change in Control and Severance Benefit Plan, dated December 9, 2016, as it may be amended from time to time. “Disability” means the Participant’s inability to engage in any substantial gainful activity by reason of any medically determinable physical or mental impairment which can be expected to result in death or which has lasted or can be expected to last for a continuo us period of not less than twelve (12) months.\n3. Issuance of Certificates\nSubject to prior compliance with Section 7 below, the Company will issue the certificate(s) for the equivalent number of Common Shares for all, or the portion, of the Performance Shares awarded to the Participant pursuant to this Award Agreement that have become vested pursuant to Section 2 above as soon as administratively feasible after the end of the Performance Period following written certification by the Committee of the vesting of such Performance Shares and the number of Common Shares that are issuable and no later than the December 31st of the year following the year in which that Performance Period ends in order to ensure that this Performance Share Award and the Plan complies with the specified time of payment requirement of Section 409A(a)(2)(A)(iv) of the Code and Treas. Reg. §§1.409A-3(a)(4) and (d). If, at the time of a Participant’s separation from service (within the meaning of Section 409A of the Code) due to his or her Disability, (i) the Participant is a “specified employee” (within the meaning of Section 409A of the Code and using the identification methodology selected by the Company from time to time) and (ii) the Company makes a good faith determination that the issuance of Common Shares hereunder constitutes deferred compensation (within the meaning of Section 409A of the Code) the payment of which is required to be delayed pursuant to the six-month delay rule set forth in Section 409A of the Code in order to avoid taxes or penalties under Section 409A of the Code, then the Company shall not issue the Common Shares before the fifth business day of the seventh month after such separation from service.\n4. Restrictions on Transfer\nNeither the Performance Shares awarded pursuant to this Award Agreement nor the right to the Common Shares, if any, which may become issuable pursuant to this Performance Share Award may be (i) sold, assigned, transferred, pledged or otherwise encumbered during the Performance Period or (ii) assignable by operation of law or subject to execution, attachment or similar process. Any attempted sale, assignment, transfer, pledge or other disposition of, and the levy of any execution, attachment or similar process upon, the Performance Shares and/or the Common Shares, if any, which may become issuable pursuant to this Performance Share Award contrary to the provisions of this Award Agreement or the Plan shall be null and void and without force or effect.\n5. Dividends and Other Distributions\nThe Participant shall be entitled to receive credits (“Dividend Equivalents”) based upon the cash dividends or cash distributions that would have been declared and paid with respect to the Performance Shares as if the equivalent number of Common Shares were held by the Participant. Dividend Equivalents shall be deemed to be reinvested in additional Common Shares (which may thereafter accrue additional Dividend Equivalents). Any such reinvestment shall be at the Fair Market Value of the Common Shares on the date of such reinvestment. The Participant shall also have the right to accrue Dividend Equivalents based upon the stock dividends or stock distributions that would have been declared and paid with respect to the Performance Shares as if the equivalent number of Common Shares were held by the Participant. With respect to any unvested Performance Shares, all Dividend Equivalents or distributions shall likewise vest in the same manner as the Performance Shares as to which such Dividend Equivalents or distributions relate. In the event any Performance Shares do not vest pursuant to Section 2 above, the Participant shall forfeit his or her right to any Dividend Equivalents accrued with respect to such unvested and forfeited Performance Shares.\n6. No Shareholder Rights\nThe Performance Shares awarded pursuant to this Award Agreement do not and shall not entitle the Participant to any rights of a shareholder of the Company prior to the date Common Shares are issued to the Participant pursuant to Section 3 above.\n7. Withholding\nTo the extent that the Company is required to withhold Federal, state or other taxes in connection with the vesting of all or any portion of the Performance Shares and the issuance of an equivalent number of Common Shares, and the amounts available to the Company are insufficient for such withholding, it shall be a condition to the obligation of the Company to make any delivery Common Shares to the Participant that the Participant make arrangements satisfactory to the Company for payment of the balance of such taxes required to be withheld.\n8. Notices\nAny notice required to be given pursuant to this Award Agreement or the Plan shall be in writing and shall be deemed to be delivered upon receipt or, in the case of notices by the Company,\nfive (5) days after deposit in the U.S. mail, postage prepaid, addressed to the Participant at the address last provided for his or her employee records.\n9. Award Agreement Subject to Plan\nThis Award Agreement is made pursuant to the Plan and shall be interpreted to comply therewith. Any provision of this Award Agreement inconsistent with the Plan shall be considered void and replaced with the applicable provision of the Plan.\n10. Entire Agreement\nThis Award Agreement, together with the Plan, embodies the entire agreement and understanding between the parties hereto with respect to the subject matter hereof and supersedes all prior oral or written agreements and understandings relating to the subject matter hereof. No statement, representation, warranty, covenant or agreement not expressly set forth in this Award Agreement shall affect or be used to interpret, change or restrict the express terms and provisions of this Award Agreement, provided, however, in any event, this Award Agreement shall be subject to and governed by the Plan.\n11. Severability\nIn the event that one or more of the provisions of this Award Agreement shall be invalidated for any reason by a court of competent jurisdiction, any provision so invalidated shall be deemed to be separable from the other provisions hereof, and the remaining provisions hereof shall continue to be valid and fully enforceable.\n12. Electronic Delivery\nThe Company may, in its sole discretion, deliver any documents related to the Performance Shares and the Participant’s participation in the Plan, or future awards that may be granted under the Plan, by electronic means or request the Participant’s consent to participate in the Plan by electronic means. The Participant hereby consents to receive such documents by electronic delivery and, if requested, agrees to participate in the Plan through an on-line or electronic system established and maintained by the Company or another third party designated by the Company.\n13. Counterparts\nThis Award Agreement may be executed in one or more counterparts, each of which shall be deemed to be an original but all of which together will constitute one and the same agreement.\nIN WITNESS WHEREOF, the parties hereto have executed this Award Agreement as of the date first above written."}
-{"idx": 9, "level": 1, "span": "COMPANY\n:"}
-{"idx": 9, "level": 1, "span": "CSW INDUSTRIALS, INC.\nBy: Joseph B. Armes"}
-{"idx": 9, "level": 1, "span": "Chief Executive Officer"}
-{"idx": 9, "level": 1, "span": "PARTICIPANT\n:"}
-{"idx": 9, "level": 2, "span": "3. Issuance of Certificates"}
-{"idx": 9, "level": 2, "span": "4. Restrictions on Transfer"}
-{"idx": 9, "level": 2, "span": "5. Dividends and Other Distributions"}
-{"idx": 9, "level": 2, "span": "6. No Shareholder Rights"}
-{"idx": 9, "level": 2, "span": "7. Withholding"}
-{"idx": 9, "level": 2, "span": "8. Notices"}
-{"idx": 9, "level": 2, "span": "9. Award Agreement Subject to Plan"}
-{"idx": 9, "level": 2, "span": "10. Entire Agreement"}
-{"idx": 9, "level": 2, "span": "11. Severability"}
-{"idx": 9, "level": 2, "span": "12. Electronic Delivery"}
-{"idx": 9, "level": 2, "span": "13. Counterparts"}
diff --git a/data/auto_parse/level_freeze/state.json b/data/auto_parse/level_freeze/state.json
index 911ae56..814e516 100644
--- a/data/auto_parse/level_freeze/state.json
+++ b/data/auto_parse/level_freeze/state.json
@@ -1,233 +1,50 @@
{
- "current_idx": 14,
+ "current_idx": 0,
"frozen": [
- 0,
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9,
- 10,
- 11,
- 12,
- 13
+ 0
],
"history": [
{
- "ts": "2026-05-09T01:27:07",
- "action": "freeze",
- "idx": 0,
- "n_records": 66,
- "note": "after EXHIBIT-drop + subdoc-penalty parser changes"
- },
- {
- "ts": "2026-05-09T03:45:25",
- "action": "freeze",
- "idx": 1,
- "n_records": 338,
- "note": "ROLLED BACK (4th attempt): agent monkey-patched _JSONL_BOILERPLATE list of regex patterns inside the parser. Detector missed because phrases were inside re.compile raw-string regexes, not standalone quoted literals. Same 18 trailer records (Sarah Carmody, MacDougall Biomedical Communications, phone numbers, emails, ###, 'No representation, warranty\u2026') passed both gates."
- },
- {
- "ts": "2026-05-09T03:46:01",
- "action": "advance",
- "from_idx": 1,
- "to_idx": 2,
- "note": "rolled back together with the freeze above"
- },
- {
- "ts": "2026-05-09T04:32:46",
- "action": "freeze",
- "idx": 1,
- "n_records": 304
- },
- {
- "ts": "2026-05-09T04:32:54",
- "action": "advance",
- "from_idx": 1,
- "to_idx": 2
- },
- {
- "ts": "2026-05-09T05:04:22",
- "action": "freeze",
- "idx": 2,
- "n_records": 143
- },
- {
- "ts": "2026-05-09T05:04:30",
- "action": "advance",
- "from_idx": 2,
- "to_idx": 3
- },
- {
- "ts": "2026-05-09T06:02:12",
- "action": "freeze",
- "idx": 3,
- "n_records": 103
- },
- {
- "ts": "2026-05-09T06:02:31",
- "action": "advance",
- "from_idx": 3,
- "to_idx": 4
- },
- {
- "ts": "2026-05-09T06:08:14",
- "action": "freeze",
- "idx": 4,
- "n_records": 68
- },
- {
- "ts": "2026-05-09T06:08:21",
- "action": "advance",
- "from_idx": 4,
- "to_idx": 5
- },
- {
- "ts": "2026-05-09T06:36:46",
- "action": "freeze",
- "idx": 5,
- "n_records": 267
- },
- {
- "ts": "2026-05-09T06:36:55",
- "action": "advance",
- "from_idx": 5,
- "to_idx": 6
- },
- {
- "ts": "2026-05-09T06:44:29",
- "action": "freeze",
- "idx": 6,
- "n_records": 50
- },
- {
- "ts": "2026-05-09T06:44:40",
- "action": "advance",
- "from_idx": 6,
- "to_idx": 7
+ "ts": "2026-05-11T22:27:59",
+ "action": "reset",
+ "note": "Full reset before redo/infra: rubric reshape (L0=title alone, L1=preamble+recitals+top body clauses+sig), order field added to JSONL schema, 95% reconstruction gate live. Previous 73 baselines stashed at ~/Library/clause-extract-backups/before-redo-20260511T222200/."
},
{
- "ts": "2026-05-09T07:16:17",
+ "ts": "2026-05-15T23:37:26",
"action": "freeze",
- "idx": 7,
- "n_records": 12
- },
- {
- "ts": "2026-05-09T07:16:27",
- "action": "advance",
- "from_idx": 7,
- "to_idx": 8
- },
- {
- "ts": "2026-05-09T08:30:43",
- "action": "freeze",
- "idx": 8,
- "n_records": 23
- },
- {
- "ts": "2026-05-09T08:30:51",
- "action": "advance",
- "from_idx": 8,
- "to_idx": 9
- },
- {
- "ts": "2026-05-09T09:13:34",
- "action": "freeze",
- "idx": 9,
- "n_records": 17
- },
- {
- "ts": "2026-05-09T09:13:57",
- "action": "advance",
- "from_idx": 9,
- "to_idx": 10
- },
- {
- "ts": "2026-05-09T09:30:30",
- "action": "freeze",
- "idx": 10,
- "n_records": 7
- },
- {
- "ts": "2026-05-09T09:30:35",
- "action": "advance",
- "from_idx": 10,
- "to_idx": 11
- },
- {
- "ts": "2026-05-09T09:31:23",
- "action": "freeze",
- "idx": 11,
- "n_records": 30,
- "note": "ROLLED BACK: overshoot freeze. agent for idx=9 dispatch kept session alive after advance, batched idxs 10/11/12 in same opencode session. idx=11 freeze was not done with one-by-one diligence."
- },
- {
- "ts": "2026-05-09T09:31:30",
- "action": "advance",
- "from_idx": 11,
- "to_idx": 12,
- "note": "rolled back with overshoot freeze above"
+ "idx": 0,
+ "n_records": 74
},
{
- "ts": "2026-05-09T09:31:57",
+ "ts": "2026-05-16T00:03:15",
"action": "freeze",
- "idx": 12,
- "n_records": 285,
- "note": "ROLLED BACK: overshoot freeze. {0:1, 1:36, 3:192, 4:56} \u2014 NO level-2 records, suspicious. Same batched opencode session as idx=11."
- },
- {
- "ts": "2026-05-09T09:31:57",
- "action": "advance",
- "from_idx": 12,
- "to_idx": 13,
- "note": "rolled back with overshoot freeze above"
+ "idx": 0,
+ "n_records": 76
},
{
- "ts": "2026-05-09T12:53:53",
+ "ts": "2026-05-16T00:28:41",
"action": "freeze",
- "idx": 11,
- "n_records": 30
- },
- {
- "ts": "2026-05-09T12:54:04",
- "action": "advance",
- "from_idx": 11,
- "to_idx": 12
+ "idx": 0,
+ "n_records": 73
},
{
- "ts": "2026-05-09T13:00:11",
+ "ts": "2026-05-16T00:30:03",
"action": "freeze",
- "idx": 12,
- "n_records": 285
- },
- {
- "ts": "2026-05-09T13:01:23",
- "action": "advance",
- "from_idx": 12,
- "to_idx": 13
+ "idx": 0,
+ "n_records": 73
},
{
- "ts": "2026-05-09T13:30:19",
+ "ts": "2026-05-17T01:57:39",
"action": "freeze",
- "idx": 13,
- "n_records": 54
- },
- {
- "ts": "2026-05-09T13:30:36",
- "action": "advance",
- "from_idx": 13,
- "to_idx": 14
+ "idx": 0,
+ "n_records": 79
},
{
- "ts": "2026-05-09T17:55:48",
+ "ts": "2026-05-17T04:55:00",
"action": "freeze",
- "idx": 13,
- "n_records": 54,
- "note": "REFREEZE after promoting salvage parser (1143\u21921157 lines). The new parser adds l0_seen dedup (eliminates idx=13 second-L0-record rubric violation) AND subdoc-penalty descendant propagation. Two records shifted +1: 'FIRST AMENDMENT TO CREDIT AGREEMENT' L1\u2192L2, 'PROCEDURE FOR INITIAL TERM B LENDERS:' L2\u2192L3 \u2014 both inside Annex I and now rubrically correct (subdocs add +1 to descendants per rubric)."
+ "idx": 0,
+ "n_records": 75,
+ "note": "sig-page rule revised: preserve doc2dict natural grouping at depth 2 (no per-line explosion). Company side as one L2 block (per worked example); per-line records 71-74 retire. Subdoc structure also rewritten in same parser commit but only idx=0 impact is sig page."
}
]
}
diff --git a/data/auto_parse/parse_doc2dict_with_config_nodes.jsonl b/data/auto_parse/parse_doc2dict_with_config_nodes.jsonl
deleted file mode 100644
index 7a2fd0d..0000000
--- a/data/auto_parse/parse_doc2dict_with_config_nodes.jsonl
+++ /dev/null
@@ -1,1759 +0,0 @@
-{"idx": 0, "level": 1, "span": "ULURU Inc."}
-{"idx": 0, "level": 0, "span": "INDEMNIFICATION AGREEMENT\nTHIS INDEMNIFICATION AGREEMENT (the “Agreement”) is made and entered into as of February 27, 2017 between ULURU Inc., a Nevada corporation (the “Company”), and Vaidehi Shah (“Indemnitee”)."}
-{"idx": 0, "level": 1, "span": "WITNESSETH THAT:\nWHEREAS, highly competent persons have become more reluctant to serve corporations as directors and officers or in other capacities unless they are provided with adequate protection through insurance or adequate indemnification against inordinate risks of claims and actions against them arising out of their service to and activities on behalf of the corporation;\nWHEREAS, the Board of Directors of the Company (the “Board”) has determined that, in order to attract and retain qualified individuals, the Company will attempt to maintain on an ongoing basis, at its sole expense, liability insurance to protect persons serving the Company and its subsidiaries from certain liabilities. Although the furnishing of such insurance has been a customary and widespread practice among United States-based corporations and other business enterprises, the Company believes that, given current market conditions and trends, such insurance may be available to it in the future only at higher premiums and with more exclusions. At the same time, directors, officers, and other persons in service to corporations or business enterprises are being increasingly subjected to expensive and time-consuming litigation relating to, among other things, matters that traditionally would have been brought only against the Company or business enterprise itself. The By-laws of the Company require indemnification of the directors, officers, employees, fiduciaries and agents of the Company. Indemnitee may also be entitled to indemnification pursuant to Chapter 78 - Private Corporations, of the Nevada Revised Statutes (the “NRS”). The NRS expressly provides that the indemnification provisions set forth therein are not exclusive, and thereby contemplate that contracts may be entered into between the Company and members of the Board with respect to indemnification;\nWHEREAS, the uncertainties relating to such insurance and to indemnification have increased the difficulty of attracting and retaining such persons;\nWHEREAS, the Board has determined that the increased difficulty in attracting and retaining such persons is detrimental to the best interests of the Company's stockholders and that the Company should act to assure such persons that there will be increased certainty of such protection in the future;\nWHEREAS, it is reasonable, prudent and necessary for the Company contractually to obligate itself to indemnify, and to advance expenses on behalf of, such persons to the fullest extent permitted by applicable law so that they will serve or continue to serve the Company free from undue concern that they will not be so indemnified;\nWHEREAS, this Agreement is a supplement to and in furtherance of any indemnification provisions in the Articles of Incorporation and/or the By-laws of the Company and any resolutions adopted pursuant thereto, and shall not be deemed a substitute therefore, nor to diminish or abrogate any rights of Indemnitee thereunder;\nWHEREAS, Indemnitee does not regard the protection available under the NRS, the Company's By-laws and insurance as adequate in the present circumstances, and may not be willing to serve as an officer or a director without adequate protection, and the Company desires Indemnitee to serve in such capacity. Indemnitee is willing to serve, continue to serve and to take on additional services for or on behalf of the Company on the condition that he be so indemnified; and\nNOW, THEREFORE, in consideration of Indemnitee’s agreement to serve as a director from and after the date hereof, the parties hereto agree as follows:\n1. Indemnity of Indemnitee. The Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:\n(a) Proceedings Other Than Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful.\n(b) Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made.\n(c) Indemnification under NRS 78.138. Indemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138.\n(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter.\n2. Additional Indemnity. In addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful.\n3. Contribution.\n(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee. The Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee.\n(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered. The relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 0, "level": 2, "span": "1. Indemnity of Indemnitee\nThe Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:"}
-{"idx": 0, "level": 3, "span": "(a) Proceedings Other Than Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful."}
-{"idx": 0, "level": 3, "span": "(b) Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made."}
-{"idx": 0, "level": 3, "span": "(c) Indemnification under NRS 78.138\nIndemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138."}
-{"idx": 0, "level": 3, "span": "(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter."}
-{"idx": 0, "level": 2, "span": "2. Additional Indemnity\nIn addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful."}
-{"idx": 0, "level": 2, "span": "3. Contribution."}
-{"idx": 0, "level": 3, "span": "(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee\nThe Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee."}
-{"idx": 0, "level": 3, "span": "(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered\nThe relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 0, "level": 3, "span": "(c) The Company hereby agrees to fully indemnify and hold Indemnitee harmless from any claims of contribution which may be brought by officers, directors or employees of the Company, other than Indemnitee, who may be jointly liable with Indemnitee.\n(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s).\n4. Indemnification for Expenses of a Witness. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith.\n5. Advancement of Expenses. Notwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement.\n6. Procedures and Presumptions for Determination of Entitlement to Indemnification. It is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:\n(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification. The Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure.\n(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 0, "level": 3, "span": "(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s)."}
-{"idx": 0, "level": 2, "span": "4. Indemnification for Expenses of a Witness\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith."}
-{"idx": 0, "level": 2, "span": "5. Advancement of Expenses\nNotwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement."}
-{"idx": 0, "level": 2, "span": "6. Procedures and Presumptions for Determination of Entitlement to Indemnification\nIt is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:"}
-{"idx": 0, "level": 3, "span": "(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification\nThe Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure."}
-{"idx": 0, "level": 3, "span": "(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 0, "level": 3, "span": "(c) \nNotwithstanding anything to the contrary set forth in this Agreement, if a request for indemnification is made after a Change in Control, at the election of Indemnitee made in writing to the Company, any determination required to be made pursuant to Section 6(b) above as to whether Indemnitee is entitled to indemnification shall be made by Independent Counsel selected as provided in this Section 6(c). The Independent Counsel shall be selected by Indemnitee, unless Indemnitee shall request that such selection be made by the Board. The party making the selection shall give written notice to the other party advising it of the identity of the Independent Counsel so selected. The party receiving such notice may, within seven (7) days after such written notice of selection shall have been given, deliver to the other party a written objection to such selection. Such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 hereof, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made, the Independent Counsel so selected may not serve as Independent Counsel unless and until a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by the Company or Indemnitee to the other’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(c) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof. The Company shall pay any and all reasonable and necessary fees and expenses incident to the procedures of this Section 6(c), regardless of the manner in which such Independent Counsel was selected or appointed.\n(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d). The Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 0, "level": 3, "span": "(e) \nIn making a determination with respect to entitlement to indemnification hereunder, the person or persons or entity making such determination shall presume that Indemnitee is entitled to indemnification under this Agreement. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence. Neither the failure of the Company (including by its directors or independent legal counsel) to have made a determination prior to the commencement of any action pursuant to this Agreement that indemnification is proper in the circumstances because Indemnitee has met the applicable standard of conduct, nor an actual determination by the Company (including by its directors or independent legal counsel) that Indemnitee has not met such applicable standard of conduct, shall be a defense to the action or create a presumption that Indemnitee has not met the applicable standard of conduct."}
-{"idx": 0, "level": 3, "span": "(f) \nIndemnitee shall be deemed to have acted in good faith if Indemnitee’s action is based on the records or books of account of the Enterprise (as hereinafter defined), including financial statements, or on information supplied to Indemnitee by the officers of the Enterprise in the course of their duties, or on the advice of legal counsel for the Enterprise or on information or records given or reports made to the Enterprise by an independent certified public accountant or by an appraiser or other expert selected with reasonable care by the Enterprise. In addition, the knowledge and/or actions, or failure to act, of any director, officer, agent or employee of the Enterprise shall not be imputed to Indemnitee for purposes of determining the right to indemnification under this Agreement. Whether or not the foregoing provisions of this Section 6(f) are satisfied, it shall in any event be presumed that Indemnitee has at all times acted in good faith and in a manner he reasonably believed to be in or not opposed to the best interests of the Company. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence."}
-{"idx": 0, "level": 3, "span": "(g) \nNotwithstanding anything to the contrary set forth in this Agreement, if the person, persons or entity empowered or selected under Section 6 to determine whether Indemnitee is entitled to indemnification shall not have been appointed or shall not have made a determination within sixty (60) days after receipt by the Company of the request therefore, the requisite determination of entitlement to indemnification shall be deemed to have been made and Indemnitee shall be entitled to such indemnification, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s statement not materially misleading, in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law; provided, however, that such 60-day period may be extended for a reasonable time, not to exceed an additional thirty (30) days, if the person, persons or entity making such determination with respect to entitlement to indemnification in good faith requires such additional time to obtain or evaluate documentation and/or information relating thereto; and provided, further, that the foregoing provisions of this Section 6(g) shall not apply if the determination of entitlement to indemnification is to be made by the stockholders pursuant to Section 6(b) of this Agreement and if (A) within fifteen (15) days after receipt by the Company of the request for such determination, the Disinterested Directors resolve as required by Section 6(b)(iii) of this Agreement to submit such determination to the stockholders for their consideration at an annual meeting thereof to be held within seventy-five (75) days after such receipt and such determination is made thereat, or (B) a special meeting of stockholders is called within fifteen (15) days after such receipt for the purpose of making such determination, such meeting is held for such purpose within sixty (60) days after having been so called and such determination is made thereat."}
-{"idx": 0, "level": 3, "span": "(h) \nIndemnitee shall cooperate with the person, persons or entity making such determination with respect to Indemnitee’s entitlement to indemnification, including providing to such person, persons or entity upon reasonable advance request any documentation or information which is not privileged or otherwise protected from disclosure and which is reasonably available to Indemnitee and reasonably necessary to such determination. Any Independent Counsel or member of the Board or stockholder of the Company shall act reasonably and in good faith in making a determination regarding Indemnitee’s entitlement to indemnification under this Agreement. Any costs or expenses (including attorneys’ fees and disbursements) incurred by Indemnitee in so cooperating with the person, persons or entity making such determination shall be borne by the Company (irrespective of the determination as to Indemnitee’s entitlement to indemnification) and the Company hereby indemnifies and agrees to hold Indemnitee harmless therefrom."}
-{"idx": 0, "level": 4, "span": "(i) \nThe Company acknowledges that a settlement or other disposition, including a conviction or a plea of nolo contendere, short of final judgment may be successful if it permits a party to avoid expense, delay, distraction, disruption and uncertainty. In the event that any action, claim or proceeding to which Indemnitee is a party is resolved in any manner other than by adverse judgment against Indemnitee (including, without limitation, settlement of such action, claim or proceeding with or without payment of money or other consideration) it shall be presumed that Indemnitee has been successful on the merits or otherwise in such action, suit or proceeding, and it shall not create a presumption that the Indemnitee did not act in good faith and in a manner reasonably believed to be in or not opposed to the best interest of the Company or that, with respect to any criminal Proceeding, the Indemnitee had reasonable cause to believe that his conduct unlawful. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence.\n(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful.\n7. Remedies of Indemnitee.\n(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association. The Company shall not oppose Indemnitee’s right to seek any such adjudication.\n(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement.\n(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law.\n(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery.\n(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement. The Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be.\n8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation.\n(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing. No amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise.\n(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies. If, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies.\n(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 0, "level": 3, "span": "(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful."}
-{"idx": 0, "level": 2, "span": "7. Remedies of Indemnitee."}
-{"idx": 0, "level": 3, "span": "(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association\nThe Company shall not oppose Indemnitee’s right to seek any such adjudication."}
-{"idx": 0, "level": 3, "span": "(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement."}
-{"idx": 0, "level": 3, "span": "(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law."}
-{"idx": 0, "level": 3, "span": "(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery."}
-{"idx": 0, "level": 3, "span": "(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement\nThe Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be."}
-{"idx": 0, "level": 2, "span": "8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation."}
-{"idx": 0, "level": 3, "span": "(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing\nNo amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise."}
-{"idx": 0, "level": 3, "span": "(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies\nIf, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies."}
-{"idx": 0, "level": 3, "span": "(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 0, "level": 3, "span": "(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d)\nThe Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 0, "level": 3, "span": "(d) \nThe Company shall not be liable under this Agreement to make any payment of amounts otherwise indemnifiable hereunder if and to the extent that Indemnitee has otherwise actually received such payment under any insurance policy, contract, agreement or otherwise.\n(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise.\n9. Exception to Right of Indemnification. Notwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:\n(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or\n(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or\n(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 0, "level": 2, "span": "10. "}
-{"idx": 0, "level": 4, "span": "Retroactive Effect; Duration of Agreement; Successors and Binding Agreement. All agreements and obligations of the Company contained herein shall be deemed to have become effective upon the date Indemnitee first became an officer or director of the Company; shall continue during the period Indemnitee is an officer or a director of the Company (or is or was serving at the request of the Company as a director, officer, employee or agent of another corporation, partnership, joint venture, trust or other enterprise); and shall continue thereafter so long as Indemnitee may be subject to any Proceeding (or any proceeding commenced under Section 7 hereof) by reason of his Corporate Status, whether or not he is acting or serving in any such capacity at the time any liability or expense is incurred for which indemnification can be provided under this Agreement. This Agreement shall be binding upon and inure to the benefit of and be enforceable by the parties hereto and their respective successors (including any direct or indirect successor by purchase, merger, consolidation, reorganization or otherwise to all or substantially all of the business or assets of the Company), assigns, spouses, heirs, executors and personal and legal representatives. The Company shall require any such successor to all or substantially all of the business or assets of the Company, by agreement in form and substance satisfactory to Indemnitee and his counsel, expressly to assume and agree to perform this Agreement in the same manner and to the same extent the Company would be required to perform if no such succession had taken place. Except as otherwise set forth in this Section 10, this Agreement shall not be assignable or delegable by the Company.\n11. Security. To the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee.\n12. Enforcement.\n(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company.\n(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof.\n13. Definitions. For purposes of this Agreement:\n(a) “Change in Control” means the occurrence of any one of the following events:\n(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);\n(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;\n(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);\n(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or\n(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company.\nNotwithstanding the foregoing, a Change in Control shall not be deemed to occur solely because any person acquires beneficial ownership of 35% or more of the Company Voting Securities as a result of the acquisition of Company Voting Securities by the Company which reduces the number of Company Voting Securities outstanding; provided, that, if after such acquisition by the Company such person becomes the beneficial owner of additional Company Voting Securities that increases the percentage of outstanding Company Voting Securities beneficially owned by such person, a Change in Control shall then occur.\n(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company.\n(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee.\n(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary.\n(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding. Expenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee.\n(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder. Notwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 0, "level": 1, "span": "SIGNATURE PAGE TO FOLLOW\nIN WITNESS WHEREOF, the parties hereto have executed this Indemnification Agreement on and as of the day and year first above written."}
-{"idx": 0, "level": 2, "span": "11. Security\nTo the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee."}
-{"idx": 0, "level": 2, "span": "12. Enforcement."}
-{"idx": 0, "level": 3, "span": "(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company."}
-{"idx": 0, "level": 3, "span": "(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof."}
-{"idx": 0, "level": 2, "span": "13. Definitions\nFor purposes of this Agreement:"}
-{"idx": 0, "level": 3, "span": "(a) “Change in Control” means the occurrence of any one of the following events:"}
-{"idx": 0, "level": 4, "span": "(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);"}
-{"idx": 0, "level": 4, "span": "(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;"}
-{"idx": 0, "level": 4, "span": "(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);"}
-{"idx": 0, "level": 4, "span": "(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or"}
-{"idx": 0, "level": 4, "span": "(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company."}
-{"idx": 0, "level": 3, "span": "(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company."}
-{"idx": 0, "level": 3, "span": "(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee."}
-{"idx": 0, "level": 3, "span": "(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary."}
-{"idx": 0, "level": 3, "span": "(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding\nExpenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee."}
-{"idx": 0, "level": 3, "span": "(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder\nNotwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 0, "level": 3, "span": "(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise."}
-{"idx": 0, "level": 2, "span": "9. Exception to Right of Indemnification\nNotwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:"}
-{"idx": 0, "level": 3, "span": "(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or"}
-{"idx": 0, "level": 3, "span": "(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or"}
-{"idx": 0, "level": 3, "span": "(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 0, "level": 1, "span": "ULURU Inc.\nBy: /s/ Terrance K. Wallberg \nName: Terrance K. Wallberg \nTitle: Vice President and Chief Financial Officer"}
-{"idx": 0, "level": 1, "span": "INDEMNITEE"}
-{"idx": 0, "level": 1, "span": "/s/ Vaidehi Shah"}
-{"idx": 0, "level": 1, "span": "Vaidehi Shah\nAddress:"}
-{"idx": 1, "level": 1, "span": "LICENSE AND OPTION AGREEMENT"}
-{"idx": 1, "level": 1, "span": "BY AND BETWEEN"}
-{"idx": 1, "level": 1, "span": "MOMENTA PHARMACEUTICALS, INC."}
-{"idx": 1, "level": 1, "span": "AND"}
-{"idx": 1, "level": 1, "span": "CSL BEHRING RECOMBINANT FACILITY AG"}
-{"idx": 1, "level": 1, "span": "DATED AS OF JANUARY 4, 2017"}
-{"idx": 1, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 1, "level": 0, "span": "LICENSE AND OPTION AGREEMENT\nThis License and Option Agreement (the “Agreement”), executed as of January 4, 2017 (the “Execution Date”), is made by and between Momenta Pharmaceuticals, Inc., a Delaware corporation (“Momenta”), with its principal place of business at 675 West Kendall Street, Cambridge, MA 02142 USA, and CSL Behring Recombinant Facility AG, a Swiss company (“CSL”), with its principal place of business at Wankdorfstrasse 10, 3000 Bern 22, Switzerland. Momenta and CSL may each be referred to individually as a “Party” or, collectively, the “Parties”."}
-{"idx": 1, "level": 1, "span": "RECITALS"}
-{"idx": 1, "level": 1, "span": "A.Momenta is performing research in the area of recombinant Fc multimeric proteins to treat autoimmune disorders and invented the Initial Products."}
-{"idx": 1, "level": 1, "span": "B.CSL is engaged in the research, development, manufacture and commercialization of biotherapeutic products."}
-{"idx": 1, "level": 1, "span": "C.Momenta desires to grant to CSL and CSL desires to receive exclusive, worldwide licenses to research the Research Products and develop, manufacture and commercialize the Products."}
-{"idx": 1, "level": 1, "span": "D.CSL desires to grant to Momenta and Momenta desires to receive, by way of alternative consideration for the exclusive licenses granted herein, options to co-fund global development and U.S. commercialization costs for the Products and the Research Products in exchange for a share of the U.S. profits and losses for the Products on the terms and conditions set forth in this Agreement."}
-{"idx": 1, "level": 1, "span": "E.Momenta further desires to receive, and CSL desires to grant an option for Momenta to co-promote in the United States the Products for which it is co-funding global development and U.S. commercialization costs, on the terms and conditions set forth in this Agreement.\nIn consideration of the premises set forth above and the mutual covenants contained herein, and other good and valuable consideration, the receipt and sufficiency of which is hereby acknowledged, Momenta and CSL agree as follows:"}
-{"idx": 1, "level": 2, "span": "ARTICLE 1."}
-{"idx": 1, "level": 2, "span": "DEFINITIONS\nThe capitalized terms used in this Agreement (other than the headings of the Sections or Articles) have the following meanings set forth in this Article 1, or, if not listed in this Article 1, the meanings as designated in the text of this Agreement.\n1.1 “30% Co-Funding Option” shall have the meaning set forth in Section 4.1(b).\n1.2 “50% Co-Funding Option” shall have the meaning set forth in Section 4.1(a).\n1.3 “Accounting Standards” means Generally Accepted Accounting Principles, as applicable, as consistently applied by a Party and its Affiliates, across product lines and in accordance with internal policies and procedures and Applicable Law (including the requirements of any securities exchange on which such Party is listed).\n1.4 “Acquirer” – see “Change of Control”.\n1.5 “Activities” means Research Activities, Development Activities, Manufacturing Activities and Commercialization Activities, collectively.\n1.6 “[***]” means, with respect to the [***], any event which is a [***] that would [***] of Development of the [***] for [***], or any [***] or [***] reasonably and objectively [***] to indicate a [***] of [***] for such Product that is detected prior to the date which is [***] after the [***] of such Product administered to the [***] in the [***].\n1.7 “Affiliate” means any corporation, company, partnership, joint venture and/or firm that controls, is controlled by, or is under common control with, a Party. For purposes of the foregoing sentence, “control” means: (a) in the case of corporate entities, direct or indirect ownership of at least fifty percent (50%) of the stock or shares having the right to vote for the election of directors; and (b) in the case of non-corporate entities, direct or indirect ownership of at least fifty percent (50%) of the equity interest with the power to direct the management and policies of such non-corporate entities.\n1.8 “Agreement” means this License and Option Agreement.\n1.9 “Alleged Breaching Party” shall have the meaning set forth in Section 11.5(b)(i).\n1.10 “Alleging Party” shall have the meaning set forth in Section 11.5(b)(i).\n1.11 “Alliance Manager” means an individual appointed by each Party to act as a primary point of contact between the Parties.\n1.12 “Annual Net Sales” means, with respect to a Product, the Net Sales in a given calendar year in the Territory.\n1.13 “Anti-Corruption Laws” shall have the meaning set forth in Section 12.7.\n1.14 “Applicable Law” means all applicable provisions of any and all federal, national, state, provincial, and local statutes, laws, rules, regulations, administrative codes, ordinances, decrees, orders, decisions, injunctions, awards, judgments, permits and licenses of or from any governmental authorities (including Regulatory Authorities) relating to or governing a Party’s obligations and rights under this Agreement.\n1.15 “[***]” shall have the meaning set forth in Section 7.6(c).\n1.16 “Assigning Party” shall have the meaning set forth in Section 13.3(a).\n1.17 “Bankruptcy Code” means Title 11, United States Code.\n1.18 “Biosimilar Product” means, with respect to a Product, any pharmaceutical product that: (a) receives marketing authorization pursuant to a Biosimilar Application made with respect to such Product and (b) is being sold by a Third Party (other than where such pharmaceutical product being sold by such Third Party is a Product which such Third Party is authorized to sell and is properly selling under this Agreement, including Section 2.5 but not including products Commercialized following agreement pursuant to Section 5.12, unless the parties have agreed otherwise); and (c) is not purchased from or manufactured by CSL or any of its Affiliates or Sublicensees.\n1.19 “Biosimilar Application” means, with respect to a Product, a submission to a Regulatory Authority for marketing authorization for a product claimed to be biosimilar or interchangeable to such Product, in the US under Section 351(k) of the BPCIA, or otherwise relying on the approval of such Product or data submitted in support of the prior approval of such Product, or any equivalent abbreviated regulatory process in another jurisdiction, in each case in accordance with Applicable Law in the jurisdiction in which the product is sought to be marketed and sold.\n1.20 “BLA” means, with respect to a Product, a biologics license application that would satisfy the requirements of 21 C.F.R. § 601.2, as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.21 “BPCIA” means the Biologics Price Competition and Innovation Act of 2009, § 351(k) of the PHS Act, as may be amended, supplemented, or replaced.\n1.22 “Business Day” a day other than Saturday or Sunday on which banking institutions in both New York, New York and Zurich, Switzerland are open for business.\n1.23 “Calendar Quarter” means each of the three (3) month periods ending March 31, June 30, September 30 and December 31; provided, however, that: (a) the first Calendar Quarter of the Term shall extend from the Effective Date to the end of the first complete Calendar Quarter thereafter; and (b) the last Calendar Quarter shall extend from the beginning of the Calendar Quarter in which this Agreement expires or terminates until the effective date of such expiration or termination.\n1.24 “C.F.R.” means the U.S. Code of Federal Regulations.\n1.25 “Change of Control” means, with respect to a Party, (a) a merger or consolidation of such Party with a Third Party (“Acquirer”) that results in the voting securities of such Party outstanding immediately prior thereto, or any securities into which such voting securities have been converted or exchanged, ceasing to represent more than fifty percent (50%) of the combined voting power of the surviving entity or the parent of the surviving entity immediately after such merger or consolidation, or (b) a transaction or series of related transactions in which an Acquirer, alone or together with its Affiliates, becomes the beneficial owner of more than fifty percent (50%) of the combined voting power of the outstanding securities of such Party, or (c) the sale or other transfer to an Acquirer of all or substantially all of such Party’s business to which the subject matter of this Agreement relates.\n1.26 “Co-Funding” means, with respect to any Product and at any particular time, that Momenta has exercised one of its Co-Funding Options and has not opted out of co-funding such Product as a result of (i) [***] out of co-funding [***] pursuant to Section 4.2(a); (ii) [***] out of co-funding [***] (including [***]) pursuant to Section 4.2(b); or (iii) [***] out of co-funding [***] specifically pursuant to Section 5.2(g), and “Co-Fund” and “Co-Funded” are to be similarly construed.\n1.27 “Co-Funding Options” means the 30% Co-Funding Option together with the 50% Co-Funding Option, and each a “Co-Funding Option”.\n1.28 “Co-Funding Option Effective Date” means:\n(a) in respect of the 50% Co-Funding Option, the date on which Momenta exercises its 50% Co-Funding Option in respect of the Products; and\n(b) in respect of the 30% Co-Funding Option, the earlier of the date on which Momenta exercises its 30% Co-Funding Option and the date which is [***] after the date on which the [***] is [***] with the [***] of the Product in the [***] or [***] in respect of a Product.\n1.29 “Co-Promotion Agreement” means a separate agreement setting out the Parties’ rights and obligations with respect to co-promotion of Products which Momenta is Co-Funding, to be negotiated in good faith by the Parties within [***] after the date on which Momenta exercises its Co-Promotion Option.\n1.30 “Co-Promotion Option” means an option to participate in the promotion of the Products in the United States.\n1.31 “[***]” means any multimeric Fc construct comprising [***] or more Fc domains, optionally having [***] or more [***] and/or other [***] as compared to the [***] or [***] Fc constructs, provided that such construct may not consist of or incorporate a [***].\n1.32 “Commercialization” and “Commercialization Activities” means all activities of using, marketing, promoting, distributing, importing, exporting, offering for sale and/or selling a pharmaceutical product\nthat has obtained Marketing Authorization (noting that some such activities may occur prior to the actual grant of Marketing Authorization) in the Territory. Commercialization Activities may include: (a) the creation and implementation of: (i) a [***] that is compliant with Applicable Law; (ii) a [***] including creation of [***] and initiatives; (iii) a [***], including selection and sequencing of [***] for [***] (but not the actual [***] and [***] of [***] pursuant to such strategy); (iv) development of a [***], including [***] and [***] (v) a [***], [***] and [***]; (vi) a [***] and [***]; (vii) a [***], including all [***] and [***] associated with the products; and (viii) a [***], including a product [***] and [***]; (b) [***] related to the product including [***], [***], management of [***]; (c) the design, creation and implementation of [***] and mechanisms; (d) the administration, operation and maintenance of [***] for promotion of product(s) in the Territory, sales bulletins and other [***] and [***] and [***], and [***] who support [***], including any activities of Momenta under the Co-Promotion Agreement; and (e) [***] (directly or indirectly) by the marketing authorization holder and [***]. For avoidance of doubt, (a) through (e) above sets forth examples of activities that may constitute “Commercialization Activities” rather than a [***] of [***] to be [***] by a Party. Commercialization does not include Research, Development or Manufacturing. When used as a verb, “Commercialize” means to engage in Commercialization.\n1.33 “Commercialization Expenses” means, with respect to a Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs and out-of-pocket costs (including relevant payments under [***] and/or [***] determined in accordance with Section 7.6) paid by a Party or its Affiliates to a Third Party or allocated to such Product after the Effective Date in connection with Commercialization of such Product in accordance with the applicable Product Work Plan, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. For clarity, a Product’s Commercialization Expenses excludes the Cost of Goods Sold for such Product and includes applicable expenses that are incurred by a Party pursuant to a Co-Promotion Agreement. Labor costs will be determined and allocation of expenses to any Product will be made as provided in Schedule 1.33.\n1.34 “Commercialization Plan” means, with respect to a Product, a plan setting out, in detail that is [***] to the [***] of [***] or [***] of such Product, the Commercialization Activities and Manufacturing Activities that will be conducted in respect of such Product over the subsequent [***], where such plan shall set forth an [***] for [***] and Commercialization of such Product including, at the appropriate time, [***] by [***]; provided that such Commercialization Plan shall contain [***] of Commercialization Activities and Manufacturing Activities, and [***] therefore, for the [***] of the period covered and [***] for the [***] of such period, as adopted and revised as provided in Section 5.3.\n1.35 “Commercially Reasonable Efforts” means, with respect to the performing Party, the carrying out of obligations of such Party in a diligent, expeditious and sustained manner as commonly practiced in the biopharmaceutical industry, including the [***] of a [***] of [***] and [***], and, in the case of [***] efforts to Develop and Commercialize Products, means a level of resources and efforts no less than the [***] and [***] that an [***] to products of [***] at a [***] of [***] or [***] in its [***], taking into account [***], [***] and [***] factors such as the [***], [***] of the [***] (including [***]), the [***] or other [***] of the Product or [***] Product, and the [***] involved, but without regard to other products (other than [***]) then being Developed or Commercialized [***]. In all cases, a Party’s Commercially Reasonable Efforts requires that such Party: (a) [***] for [***] in a [***] to [***] who are [***] for [***] and [***] such [***] on an [***] basis; (b) [***] and [***] to [***] and [***] for carrying out such tasks; and (c) [***] and [***] decisions and [***] resources designed to [***] with respect to such [***]; in each case [***] with such Party’s [***].\n1.36 “Confidential Information” means: (a) all proprietary information and materials, patentable or otherwise, of a Party that is disclosed by or on behalf of such Party to the other Party pursuant to and in contemplation of this Agreement, including, without limitation, biological substances, sequences, formulations, techniques, methodology, equipment, data, reports, know-how, sources of supply, information disclosed in unpublished patent applications, patent positioning and business plans; and (b) any other information designated by the disclosing Party to the other Party in writing as confidential or proprietary, whether or not related to making, using or selling a Product. Notwithstanding the foregoing, the term “Confidential Information” shall not include information that: (w) is or becomes generally available to the public other than as a result of disclosure thereof by the receiving Party; (x) is lawfully received by the receiving Party on a non-confidential basis from a Third Party that is not, to the\nreceiving Party’s knowledge, itself under any obligation of confidentiality or nondisclosure to the disclosing Party or any other Person with respect to such information; (y) is already known to the receiving Party at the time of disclosure by the disclosing Party; or (z) can be shown by the receiving Party to have been independently developed by the receiving Party without reference to the disclosing Party’s Confidential Information.\n1.37 “Control” or “Controlled” means, with respect to any Intellectual Property of a Party or any of its Affiliates that the Party or its Affiliates (a) owns, has an interest in, or, other than pursuant to this Agreement, has a license to such Intellectual Property and (b) has the ability to grant access, a license or a sublicense to such Intellectual Property to the other Party as provided in this Agreement without violating an agreement with any Third Party. Notwithstanding anything in this Agreement to the contrary, a Party shall be deemed not to Control any Intellectual Property that is Controlled by an [***], or such [***] Affiliates (other than an Affiliate of such Party [***] to the [***]) (a) prior to the [***] of such [***], except to the extent that any such Intellectual Property was developed [***] such [***] through the use of the [***] technology, or (b) after such [***] to the extent that such Patents or know-how are developed or conceived by the [***] or its Affiliates [***] such [***] without using or incorporating any Intellectual Property of the [***] or its Affiliates [***] to such [***].\n1.38 “Cost of Goods Sold” means, with respect to a Product, the aggregate of each Party’s and its Affiliates’ cost to Manufacture, perform quality control and assurance activities, test, package and label and release such Product for commercial use, in all cases determined from the books and records of such Party or its Affiliates maintained in accordance with the Accounting Standards, which costs may include (but not necessarily be limited to) the following:\n(a) the [***] of [***]; variable and fixed production costs, including factory overhead; purchase price variances; [***] revaluations, including [***] destroyed or written-off; change in value of [***] provisions; production variances; Manufacturing plant labor; a [***] of plant overhead expenses (including insurance, facility, and support staff personnel); materials and supplies; maintenance; discards; depreciation and amortization;\n(b) payments to Third Parties for [***] or [***] necessary for, or [***] and/or [***] determined in accordance with [***], for the commercial Manufacture, performance of quality control and assurance activities, testing, releasing, packaging and/or labeling may be treated as part of the Costs of Goods Sold for such Product and then such amounts shall not be included in any [***] payable under [***]; and\n(c) with respect to any newly constructed or other dedicated Manufacturing facility, whether such facility is owned by a Party or a Third Party, that will be utilized in the Manufacture of a Product, if a Party determines it will build or utilize a facility with [***] relative to the [***] for the Product(s) to be Manufactured in such facility, any decision to account for plant [***] for such facility [***] such [***] in the computation of Cost of Goods Sold must be approved by the Parties.\n1.39 “Cover”, “Covering” or “Covered” means, with respect to any Patent Right, that the manufacture, use, offer for sale, sale or import of any article or composition of matter, or the practice of any process or method, infringes at least one (1) Valid Claim of such Patent Right (or, in the case of a Valid Claim that has not yet issued, would infringe such Valid Claim if it were to issue without modification).\n1.40 “[***]” means the [***].\n1.41 “CSL” means CSL Behring Recombinant Facility AG, a Swiss company, with its principal place of business at Wankdorfstrasse 10, 3000 Bern 22, Switzerland.\n1.42 “CSL Indemnitees” shall have the meaning set forth in Section 9.2.\n1.43 “CSL Intellectual Property” means CSL Know-How and CSL Patent Rights, collectively.\n1.44 “CSL Know-How” means any Know-How that either (a) is Controlled by CSL or its Affiliates on the Effective Date or (b) comes within CSL’s or its Affiliates’ Control during the Term, including CSL’s or its Affiliates’ rights in Joint Know-How and CSL Sole Inventions.\n1.45 “CSL Losses” shall have the meaning set forth in Section 9.2.\n1.46 “CSL Patent Rights” means Patent Rights, including CSL’s or its Affiliates’ rights in Joint Patent Rights, to the extent that they (a) Cover CSL Know-How, a Product or a [***] Product, and (b) are Controlled by CSL or its Affiliates.\n1.47 “CSL Sole Inventions” means Sole Inventions made solely by CSL or its Affiliates, or CSL’s or its Affiliates’ employees, agents or consultants.\n1.48 “Development” and “Development Activities” means all activities either related to or in furtherance of the creation or scientific or technical improvement of a pharmaceutical product, or which are related to or in furtherance of obtaining regulatory approvals of such product anywhere in the Territory, whether such activities are conducted prior to the filing of an application for marketing authorization of such product or thereafter. Development Activities may include but are not limited to (a) all activities related to [***] (including [***] to [***] any [***]), (b) [***]; (c) [***], (d) [***] and [***], (e) [***], (f) all [***] activities including [***] development, (g) [***], (h) [***], (i) [***] including [***] and [***], (j) submission and management of [***], (k) [***] or [***], including [***] of [***] or [***] for [***], maintaining such [***] and otherwise handling [***], (l) [***], and (m) [***]. For avoidance of doubt, (a) through (m) above sets forth examples of activities that would constitute “Development Activities” [***] a list of [***]. Development does not include Research, Manufacturing or Commercialization. When used as a verb, “Develop” means to engage in Development.\n1.49 “Development Expenses” means, with respect to a Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs and out-of-pocket costs paid by a Party or its Affiliates to a Third Party (including relevant payments under [***] and/or [***] determined in accordance with Section 7.6) or [***] to such Product after the Effective Date in connection with the Development of such Product in accordance with the applicable Product Work Plan, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. Labor costs will be determined and [***] to any Product will be made as provided in Schedule 1.33.\n1.50 “Development Plan” means, with respect to a Product, a Development plan that sets forth, [***] that is [***] to the [***] of [***] of such Product and otherwise in accordance with [***] and [***] and [***], the Development Activities that will be undertaken in respect of such Product in order to obtain Marketing Authorization; provided that such Development Plan shall contain [***] at any [***] that is [***] the [***] of [***] that [***] has [***] for its [***] and [***], as adopted and revised as provided in Section 5.2. A written description of those [***] has been provided by CSL to Momenta prior to the Execution Date.\n1.51 “Development Approval Date” means, with respect to any [***] Product, the date on which CSL gives notice of its decision to select such [***] Product for Development as a Product under this Agreement, as provided in Section 5.1(d).\n1.52 “Disputed Matter” means a bona fide dispute that arises in relation to the Parties’ rights and obligations under this Agreement.\n1.53 “Dollars” or “$” means the legal tender of the United States.\n1.54 “[***]” means the [***] of a [***] of [***].\n1.55 “Effective Date” means the HSR Clearance Date.\n1.56 “EMA” or “European Medicines Agency” means the EU agency for the evaluation of medicinal products, or any successor entity.\n1.57 “Enforcement Intellectual Property Rights” shall have the meaning set forth in Section 7.4(a).\n1.58 “EU” means the European Union.\n1.59 “Execution Date” shall have the meaning set forth in the Preamble.\n1.60 “FDA” or “Food and Drug Administration” means the U.S. Food and Drug Administration, or any successor entity.\n1.61 “Final Decision-Making Authority” means the authority to make final decisions granted to CSL by the final sentence of Section 6.7 (Review and Approval by JSC).\n1.62 “First Commercial Sale” means, with respect to any Product, the [***] sale of such Product by CSL, its Sublicensee or any of their respective Affiliates to a Third Party in a country in the Territory for use or consumption by the general public in such country following receipt of Marketing Authorization for such Product in such country.\n1.63 “[***] Product” means that Collaboration Compound under development by Momenta designated as “M230”, a [***] human [***] Fc construct more specifically described, and having the [***] set out, in written disclosure from Momenta to CSL on or before the Execution Date.\n1.64 “[***]” shall have the meaning set forth in Section 11.2(a).\n1.65 “[***] Product” means that [***] under development by Momenta as a [***] form of the [***] as more specifically described, and having the [***] set out, in written disclosure from Momenta to CSL on or before the Execution Date.\n1.66 “GCP” or “Good Clinical Practice” means the standards of good clinical practice as are required by governmental agencies in countries in which the Products are intended to be sold under this Agreement.\n1.67 “GLP” or “Good Laboratory Practice” means the standards of good laboratory practice as a required by governmental agencies in countries in which the Products are intended to be sold under this Agreement.\n1.68 “GLP Toxicology Commencement” means, with respect to a Product or a [***] Product, [***] of the [***] with such Product or [***] Product in an [***] intended to support the safety of such Product or [***] Product in accordance with GLP as is required to [***] a [***].\n1.69 “GMP” or “Good Manufacturing Practice” means the standards of good manufacturing practice as are required by governmental agencies in countries in which the Products are intended to be sold under this Agreement.\n1.70 “HSR Act” shall have the meaning set forth in Section 13.12.\n1.71 “HSR Clearance Date” means the date on which the antitrust clearance under the HSR Act has been obtained which, for the avoidance of doubt, means that the waiting period provided by the HSR Act has terminated or expired without any action by any government agency or challenge to the termination.\n1.72 “Indication” means a distinct condition in humans for which a separate Marketing Authorization is required.\n1.73 “Infringement” means (i) any actual or threatened infringement or misappropriation of any CSL Intellectual Property, Momenta Intellectual Property or Joint Intellectual Property by a Third Party in the Territory, or (ii) any CSL Intellectual Property, Momenta Intellectual Property or Joint Intellectual Property is subject to an invalidation, cancellation, opposition or other similar action (including any administrative or judicial action whether or not there is current or anticipated infringement or misappropriation), or a declaratory judgment action arising from such infringement or misappropriation.\n1.74 “Initial Press Release” shall have the meaning set forth at Section 8.2.\n1.75 “Initial Products” means the First Product and the [***] Product from and after its Development Approval Date, collectively.\n1.76 “Intellectual Property” means Know-How and Patent Rights.\n1.77 “Joint Intellectual Property” means Joint Know-How and Joint Patent Rights, collectively.\n1.78 “Joint Inventions” means all inventions made jointly by both (a) one or more employees, agents and consultants of CSL and its Affiliates (or any Third Party or Third Parties acting on any of their behalf), and (b) one or more employees, agents and consultants of Momenta and its Affiliates (or any Third Party or Third Parties acting on any of their behalf).\n1.79 “Joint Know-How” means any Know-How that is developed or acquired jointly by the Parties in connection with their collaborative activities pursuant to this Agreement, including Joint Inventions.\n1.80 “Joint Patent Rights” means Patent Rights that Cover Joint Know-How.\n1.81 “Joint Steering Committee” or “JSC” means the joint steering committee established pursuant to Section 6.1 composed of senior members from each Party, including one Alliance Manager, to oversee and manage the Research of [***] Products and the Development, Manufacturing and Commercialization of Products.\n1.82 “Know-How” means all inventions, discoveries, data, processes, methods, techniques, materials, technology, results, analyses, laboratory, non-clinical and clinical data, commercial materials, information, materials or other know-how, whether proprietary or not and whether patentable or not, including without limitation ideas, concepts, formulae, methods, procedures, designs, compositions, plans, documents, works of authorship, compounds, biological materials, pharmacology, toxicology, drug stability, manufacturing and formulation methodologies and techniques, absorption, distribution, metabolism and excretion studies, clinical and non-clinical safety and efficacy studies, marketing studies and materials (including patient marketing materials), training materials and digital content from product websites.\n1.83 “Losses” means any and all liabilities, penalties, damages costs, fines, and expenses (including reasonable attorneys’ fees and other litigation expenses) associated with Products to the extent such Losses are not otherwise allocated either to CSL under Section 9.1 as Momenta Losses or to Momenta as CSL Losses under Section 9. 2.\n1.84 “Major Countries” means the U.S., [***] and [***].\n1.85 “Manufacturing” and “Manufacturing Activities” means, with respect to a product, to make or have made such product, including without limitation, all activities involved in the [***], and [***] of the product for [***], development of a [***], the manufacture of the [***] for the product, the [***] of the [***] for the product and the cost of any [***] or [***] of the biopharmaceutical product. For avoidance of doubt, the foregoing set forth examples of activities that would constitute “Manufacturing Activities” rather than a list of [***] to be [***] a [***]. Manufacturing does not include Research, Development or Commercialization. When used as a verb, “Manufacture” means to engage in Manufacturing.\n1.86 “Manufacturing Expenses” means, with respect to a Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs, depreciation costs, and out-of-pocket costs paid to a Third Party or allocated to such Product after the Effective Date, in connection with Manufacturing of such Product by or on behalf of a Party, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. Manufacturing Expenses includes expenses under [***] and [***] determined in accordance with [***]. In addition, with respect to any newly constructed or other dedicated Manufacturing facility, whether such facility is owned by a Party or a Third Party, that will be utilized in the Manufacture of a Product, if a Party determines it will [***] or [***] a [***] with [***] to the [***] for the Product(s) to be Manufactured in such facility, any decision to account for plant [***] for such [***] in [***] of such [***] in the [***] of [***] must be [***] the [***], For clarity, a Product’s Manufacturing Expenses includes the Cost of Goods Sold for such Product.\n1.87 “Marketing Authorization” means the grant of registration approval or license for the selling or marketing of a Product in any particular country or region in the Territory by the responsible Regulatory Authority.\n1.88 “Momenta” means Momenta Pharmaceuticals, Inc., a Delaware corporation, with its principal place of business at 675 West Kendall Street, Cambridge, MA 02142 USA.\n1.89 “Momenta Indemnitees” shall have the meaning set forth in Section 9.1.\n1.90 “Momenta Intellectual Property” means Momenta Know-How and Momenta Patent Rights, collectively.\n1.91 “Momenta Know-How” means any Know-How that either (a) is Controlled by Momenta or its Affiliates on the Effective Date or (b) comes within Momenta’s or its Affiliates’ Control during the Term, including Momenta’s or its Affiliates’ rights in Joint Know-How and Momenta Sole Inventions.\n1.92 “Momenta Losses” shall have the meaning set forth in Section 9.1.\n1.93 “Momenta Patent Rights” means (i) Patent Rights listed in Schedule 1.93 and (ii) any other Patent Rights, including Momenta’s or its Affiliates’ rights in Joint Patent Rights, to the extent that they (a) Cover Momenta Know-How, a Product or a [***] Product, and (b) are Controlled by Momenta or its Affiliates.\n1.94 “Momenta Sole Inventions” means Sole Inventions made solely by Momenta or its Affiliates, or Momenta’s or its Affiliates’ employees, agents or consultants.\n1.95 “[***]” has the meaning given to it in Section 7.6(b).\n1.96 “Net Sales” means, with respect to a Product, the [***] by a Party or its Affiliates or Sublicensees to Third Parties (whether an end-user, a distributor or otherwise) for sales of such Product within the Territory, less the following deductions, all as determined from the books and records of a Party, its Affiliates or Sublicensees maintained in accordance with the Accounting Standards:\n(a) customary trade and quantity discounts incurred and customary distribution rebates;\n(b) amounts incurred due to returns of Products previously sold as reflected in written invoices (and not to exceed the original invoice amount);\n(c) shipping, freight and insurance, to the extent separately invoiced and charged;\n(d) credits, allowances and rebates actually given pursuant to federal, state and/or government-mandated programs that require a manufacturer or distributor rebate (including Medicare and Medicaid); and\n(e) value added or import/export taxes, sales taxes, excise taxes or customs duties, to the extent applicable to such sale, and included in the invoice in respect of such sale and actually paid.\nIn the case of any sale of a Product between or among a Party or its Affiliates or Sublicensees for resale, Net Sales shall be calculated as above only on the [***] on the first arm’s length sale thereafter to a Third Party other than a Sublicensee. If no such separate sales are made, Net Sales shall be determined by the Parties in good faith. If the consideration for Products includes any non-cash element, or if Products are transferred by the selling Party, its Affiliate, or a respective Sublicensee in any manner other than an arms-length, [***] sale, then, in any such transaction, the Net Sales applicable to such transaction shall be the fair market value for the applicable quantity for the period in question in the applicable country of the Territory. The fair market value shall be determined, wherever possible, by reference to the average selling price of the relevant Product in arm’s length transactions in the relevant country in the Territory. Any Product transferred in connection with clinical and non-clinical research or clinical trials, Product promotional samples, compassionate sales or use, or indigent patient programs shall not be counted toward Net Sales; except that any Product sold as part of a named patient use program (or similar program where a Product can be sold in a country prior to Regulatory Approval being obtained for such Product in such country) will be counted toward Net Sales.\nEach Party agrees, on behalf of itself and its Affiliates and Sublicensees, not to use any Product as a loss leader. Each Party also agrees that if it or its Affiliate or Sublicensee prices a Product in order to gain or maintain sales of other products, then for purposes of calculating the payments due hereunder, the Net Sales shall be adjusted for any discount which was given to a customer that was in excess of customary discounts for such Product (or, in the absence of relevant data for such Product, other similar products under similar market conditions) by reversing such excess discount, if such discount was given in order to gain or maintain sales of other products.\nIf any Product is sold in combination with one or more other products (e.g., a delivery device) or active ingredients which are not the subject of this Agreement (as used in this definition of Net Sales, a “Combination”), then the [***] for that Product shall be calculated by multiplying the [***] for such Combination by the fraction A/(A+B), where “A” is the [***] for the Product sold separately and “B” is the [***] for the other product or active ingredient(s) sold separately. If the other product or active ingredient is not sold separately, then the [***] for that Product shall be calculated by multiplying the [***] for the Combination by the fraction A/C, where “A” is the [***] for the Product, if sold separately, and “C” is the [***] for the Combination.\n1.97 “Net Sales Statement” means a written report reflecting the accrual of Net Sales during the just-ended Calendar Quarter on a country-by-country and Product-by-Product basis [***] a [***] of Net Sales of such Product from [***], including [***] on [***] to be [***] in determining Net Sales pursuant to Section 1.96, [***] a [***] of the applicable [***], [***] and [***] for such [***].\n1.98 “New Intellectual Property” means all CSL Intellectual Property and all Momenta Intellectual Property that is not Joint Intellectual Property (a) arising out of the Parties’ Activities conducted pursuant to the Research Plan and (b) in the event of a termination under the provisions of Section 11.2(b) or Section 11.3, arising out of the Development Plan prior to the [***] of the [***] for the [***].\n1.99 “Opt-Out Effective Date” means the date on which an Opt-Out Notice given by Momenta to CSL becomes effective.\n1.100 “Opt-Out Notice” shall have the meaning set forth in Section 4.2(a).\n1.101 “Party” means CSL or Momenta, and or “Parties” means both of them.\n1.102 “Patent Rights” means any and all rights provided by (a) U.S. or non-U.S. patent applications, including all provisional applications, substitutions, continuations, continuations-in-part, divisions, renewals, and all patents granted thereon, (b) all U.S. or non-U.S. patents, reissues, reexaminations and extensions or restorations by existing or future extension or restoration mechanisms, including supplementary protection certificates or the equivalent thereof, and (c) any other form of government-issued right substantially similar to any of the foregoing.\n1.103 “Person” means any individual, partnership, joint venture, limited liability company, corporation, firm, trust, association, unincorporated organization, Regulatory Authority or any other entity not specifically listed herein.\n1.104 “Phase I” in reference to a clinical trial means a trial defined in 21 C.F.R. § 312.21(a), as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.105 “Phase II” in reference to a clinical trial means a trial defined in 21 C.F.R. § 312.21(b), as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.106 “Phase III” in reference to a clinical trial means a trial defined in 21 C.F.R. § 312.21(c), as may be amended from time to time, or any non-U.S. equivalent thereof, or if any Phase II clinical trial is a registration enabling pivotal clinical trial and a Phase III trial is not needed, then “Phase III” in reference to a clinical trial shall be deemed to refer to such Phase II registration enabling pivotal clinical trial.\n1.107 “Phase IV” in reference to a clinical trial means a trial defined in 21 CFR § 312.85, as may be amended from time to time, or any non-U.S. equivalent thereof.\n1.108 “PHS Act” means the U.S. Public Health Service Act, as may be amended from time to time.\n1.109 “Prior Confidentiality Agreement” means the Confidentiality Agreement dated [***] between Momenta and [***], as amended.\n1.110 “Prior Material Transfer Agreement” means the Material Transfer Agreement dated [***] between Momenta and [***].\n1.111 “Product” means the First Product or any [***] Product from and after its Development Approval Date.\n1.112 “Product Domain Name” means a domain name selected by CSL for the purpose of Commercializing a Product in the Territory.\n1.113 “Product Trademark” means a trademark selected by CSL for the purpose of Commercializing a Product in the Territory.\n1.114 “Product Work Plan” means, with respect to a Product, the Development Plan together with the Commercialization Plan.\n1.115 “Profit(s)” means [***] plus [***] minus [***], provided that should any expense fall within the definition of [***] and [***] a permitted deduction for the purpose of calculating [***], such expense shall only be [***].\n1.116 “Program Expenses” means Research Expenses, Development Expenses, Manufacturing Expenses and Commercialization Expenses.\n1.117 “Regulatory Approval” means, with respect to a country, [***], [***] and regulatory authorizations [***] to [***], market and sell a Product in such country as granted by the relevant Regulatory Authority, and includes Marketing Authorization.\n1.118 “Regulatory Authority” means, in a country, any applicable government authority, agency, legislative body, commission or other instrumentality of any national or territorial government or any supranational body which is responsible for granting approvals for the sale, use and/or manufacture of pharmaceutical products in that country or region, including the FDA, the EMA and any corresponding national or regional regulatory authorities.\n1.119 “Regulatory Exclusivity” means data, market or other regulatory exclusivity (as distinct from and excluding any exclusivity arising under Patent Rights) for an [***] Product in a country or region in the Territory under applicable laws, rules and regulations in such country or region, including, without limitation, (a) any such exclusivity provided in countries in the EU under national laws and regulations implementing EC Directives 2004/27/EC and 2001/83/EC, (b) U.S. exclusivity periods such as U.S. biologic exclusivity, pediatric exclusivity, orphan drug exclusivity, and the Hatch-Waxman data exclusivity or (c) any analogous laws or regulations in other countries in the Territory.\n1.120 “Regulatory Submission” means any application for Regulatory Approval, notification, and other submission made to or with a Regulatory Authority that is [***] to Develop, Manufacture, distribute or Commercialize the Product in a particular country, whether made before or after a Regulatory Approval in the country. Regulatory Submissions include, without limitation, investigational new drug applications, clinical trial applications and BLAs or imported drug license (IDL) applications, and amendments, renewals and supplements to any of the foregoing and their non-U.S. counterparts, [***] for [***] and [***], and all proposed labels, labeling, package inserts, monographs, and packaging for the Product.\n1.121 “Reimbursement and Co-Funding Report” means a cost reimbursement and/or cost/profit share report meeting the requirements set out in Section 4.3(c), and accompanied [***] and [***] to [***] each Party’s financial reporting obligations, independent auditor requirements and obligations under the Sarbanes-Oxley Act (or any equivalent law of another country) that calculates the share of each Party’s aggregate [***] and the [***] and [***] to be allocated to each Party for each Product for such Calendar Quarter.\n1.122 “Research” or “Research Activities” means all activities either related to or in furtherance of the creation or scientific or technical improvement of a biopharmaceutical product up to [***] for such product (and, for the avoidance of doubt, may include activities that would otherwise be defined as Manufacturing and Development activities if they were performed after [***]).\n1.123 “Research Expenses” means, with respect to a [***] Product, the costs actually incurred by or on behalf of a Party or its Affiliates, including labor costs and out-of-pocket costs paid by a Party or its Affiliates to a Third Party or allocated to such [***] Product after the Effective Date in connection with the Research of such [***] Product in accordance with the applicable Research Plan, as determined from the books and records of the applicable Party and/or its Affiliates maintained in accordance with the Accounting Standards. Labor costs will be determined and allocation of expenses to any [***] Product will be made as provided in Schedule 1.33. Research Expenses includes expenses under [***] and [***] determined in accordance with Section 7.6. \n1.124 “Research Plan” means the plan setting out the Parties’ Research Activities, adopted and revised as provided in Section 5.1(a).\n1.125 “Research Product” means the [***] Product and any other [***] which is generated out of or otherwise forms a part of the activities to be undertaken pursuant to the Research Plan.\n1.126 “Royalty Period” means, with respect to an Initial Product, the longer of the following periods, in each case on a [***] basis: (A) the period during which the sale or use of such Initial Product [***] would infringe a granted Valid Claim of [***] or [***] in [***] where (i) the Valid Claim is part of the [***] of [***] set out in the [***] in the [***] of [***] and (ii) for the purpose of determining whether such Valid Claim is infringed, no effect is given to any license granted under this Agreement or to [***] of [***] with respect to any Joint Patent Right, (B) the period during which such Product is [***] by [***] in [***]; and (C) [***] from First Commercial Sale of such Product in [***].\n1.127 “Sarbanes-Oxley Act” means the U.S. Sarbanes-Oxley Act of 2002, as may be amended from time to time.\n1.128 “[***]” means a multimeric Fc construct that consists of [***] or [***] to [***] or [***], wherein the Fc construct [***] or [***] or [***] and the [***] or [***] or [***] the [***] to a [***] and/or [***] other than a [***]. For the purpose of this definition, [***] means a [***] of an [***] that contains [***], and part of [***].\n1.129 “Sole Inventions” means all inventions made solely by a Party or its Affiliates, or such Party’s or its Affiliates’ employees, agents or consultants.\n1.130 “Sub-Committee” means a sub-committee formed by the JSC, with an equal number of representatives from CSL and Momenta, to address specific issues in greater detail.\n1.131 “Sublicense Revenue” means all consideration received by a Party or its Affiliates with respect to rights granted to a Third Party(ies) to Develop or Commercialize any Product for sale in the relevant country in the Territory, but excluding: (a) consideration received by such Party or its Affiliates as payments [***] for performing [***] or [***] undertaken by such Party or its Affiliates for, or in collaboration with, such Third Party(ies) or their Affiliates; (b) consideration received by such Party and/or its Affiliates from such Third Party(ies) or their Affiliates as the [***] for such Party’s or any of its Affiliates’ [***] or [***], except that consideration that [***] the [***] of [***] or [***]; and (c) consideration paid by such Third Party(ies) to such Party or its Affiliates to [***] of such Product (provided, however, that any consideration [***] the [***].\n1.132 “Sublicensee” means a Third Party that is granted a license, sublicense, covenant not to sue, or other grant of rights under this Agreement pursuant to the terms of this Agreement or otherwise granted rights with respect to any Product.\n1.133 “Summary Statement” means a written report provided in accordance with Section 4.3(b) reflecting the accrual of Program Expenses and Net Sales, as applicable, during the just-ended Calendar Quarter on a [***] Product-by-[***] Product (where possible) and Product-by-Product basis.\n1.134 “Technology Package” means all relevant documents relating to the Intellectual Property, regulatory information, biological materials, manufacturing and CMC and other materials owned and/or Controlled by Momenta, necessary for CSL to exercise its rights under the license, to be included in the Technology Transfer Plan.\n1.135 “Technology Transfer Plan” means the written transfer plan, an outline of the CMC elements of which is attached hereto as Schedule 1.135, [***] will be [***] to [***] after the [***] and which will form [***], which sets forth the activities of each Party relating to the transfer of the Technology Package and the timelines thereof, as may be updated from time to time until completion of all contemplated activities.\n1.136 “Term” shall have the meaning set forth in Section 11.1.\n1.137 “Termination Date” means the date this Agreement is terminated as provided for under each circumstance of termination in Article 11.\n1.138 “Territory” means all countries of the world.\n1.139 “Third Party” means any Person other than Momenta or CSL or any Affiliate of either Party.\n1.140 “Third Party Intellectual Property” means Third Party Patent Rights, Know-How, Trademarks, domain names or other intellectual property rights.\n1.141 “Third Party License” shall have the meaning set forth in Section 7.6.\n1.142 “Trademark” means all trademarks, service marks, trade names, brand names, sub-brand names, trade dress rights, product configuration rights, certification marks, collective marks, logos, taglines, slogans, designs or business symbols and all words, names, symbols, colors, shapes, designations or any combination thereof that\nfunction as an identifier of source or origin or quality, whether or not registered, and all statutory and common law rights therein, and all registrations and applications therefor, together with all goodwill associated with, or symbolized by, any of the foregoing.\n1.143 “Transferee” shall have the meaning set forth in Section 13.3(a).\n1.144 “United States” or “U.S.” means the United States of America, and its territories, districts and possessions.\n1.145 “U.S.C.” means the United States Code.\n1.146 “Valid Claim” means: (a) a claim in issued Patent Rights that has not: (i) expired or been canceled; (ii) been declared invalid by an unreversed and unappealable (or unappealed) decision of a court or other appropriate body of competent jurisdiction; (iii) been admitted to be invalid or unenforceable through reissue, disclaimer or otherwise; or (iv) been abandoned by mutual written agreement of the Parties; or (b) a claim under an application for Patent Rights that has not been canceled, withdrawn from consideration, finally determined to be unallowable by the applicable governmental authority or court for whatever reason (and from which no appeal is or can be taken) or abandoned.\nFor the purposes of the definition of [***] and for [***] to [***], Valid Claims [***] to the subset of Patent Rights Controlled by a Party to the extent such Patent Rights are owned by, are [***] or are exclusive license rights, held by a Party or the Parties with respect to the [***] of [***] or [***] of [***] of the relevant Product.\nIn the case of the First Product, the subset of Patent Rights Controlled by Momenta meeting these criteria at the Execution Date are the Patent Rights listed in Schedule 1.93 and listed under the Momenta internal references of [***] and [***]."}
-{"idx": 1, "level": 3, "span": "(a) in respect of the 50% Co-Funding Option, the date on which Momenta exercises its 50% Co-Funding Option in respect of the Products; and"}
-{"idx": 1, "level": 3, "span": "(b) in respect of the 30% Co-Funding Option, the earlier of the date on which Momenta exercises its 30% Co-Funding Option and the date which is [***] after the date on which the [***] is [***] with the [***] of the Product in the [***] or [***] in respect of a Product."}
-{"idx": 1, "level": 3, "span": "(a) the [***] of [***]; variable and fixed production costs, including factory overhead; purchase price variances; [***] revaluations, including [***] destroyed or written-off; change in value of [***] provisions; production variances; Manufacturing plant labor; a [***] of plant overhead expenses (including insurance, facility, and support staff personnel); materials and supplies; maintenance; discards; depreciation and amortization;"}
-{"idx": 1, "level": 3, "span": "(b) payments to Third Parties for [***] or [***] necessary for, or [***] and/or [***] determined in accordance with [***], for the commercial Manufacture, performance of quality control and assurance activities, testing, releasing, packaging and/or labeling may be treated as part of the Costs of Goods Sold for such Product and then such amounts shall not be included in any [***] payable under [***]; and"}
-{"idx": 1, "level": 3, "span": "(c) with respect to any newly constructed or other dedicated Manufacturing facility, whether such facility is owned by a Party or a Third Party, that will be utilized in the Manufacture of a Product, if a Party determines it will build or utilize a facility with [***] relative to the [***] for the Product(s) to be Manufactured in such facility, any decision to account for plant [***] for such facility [***] such [***] in the computation of Cost of Goods Sold must be approved by the Parties."}
-{"idx": 1, "level": 3, "span": "(a) customary trade and quantity discounts incurred and customary distribution rebates;"}
-{"idx": 1, "level": 3, "span": "(b) amounts incurred due to returns of Products previously sold as reflected in written invoices (and not to exceed the original invoice amount);"}
-{"idx": 1, "level": 3, "span": "(c) shipping, freight and insurance, to the extent separately invoiced and charged;"}
-{"idx": 1, "level": 3, "span": "(d) credits, allowances and rebates actually given pursuant to federal, state and/or government-mandated programs that require a manufacturer or distributor rebate (including Medicare and Medicaid); and"}
-{"idx": 1, "level": 3, "span": "(e) value added or import/export taxes, sales taxes, excise taxes or customs duties, to the extent applicable to such sale, and included in the invoice in respect of such sale and actually paid."}
-{"idx": 1, "level": 2, "span": "ARTICLE 2."}
-{"idx": 1, "level": 2, "span": "LICENSES\n2.1 Licenses to CSL. Subject to the terms and conditions of this Agreement, as of the Effective Date, Momenta hereby grants to CSL the following:\n(a) Product License. A royalty-bearing, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property to Research, Develop, Manufacture and Commercialize Products in the Territory.\n(b) Research License. A royalty-free, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property for purposes of researching (i) potential [***] Products and (ii) the [***] Products in the Territory.\n(c) [***]. The Parties acknowledge and agree that the license and sublicense rights granted by Momenta to CSL and CSL to Momenta under this Agreement [***] be [***] a [***] the [***] in [***] between the Parties or the [***] or [***] when exercised in compliance with the terms of this Agreement.\n2.2 Licenses to Momenta. Subject to the terms and conditions of this Agreement, as of the Effective Date, CSL hereby grants to Momenta: a limited, royalty-free, non-exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property, the CSL Intellectual Property and CSL’s rights in the Joint Intellectual Property to the extent necessary and for the purpose of enabling Momenta (i) to research potential [***] Products (ii) to perform Activities pursuant to the Research Plan or a Product Work Plan and (iii) to undertake research pursuant to Section 5.14. In addition,\nCSL grants to Momenta a limited, non-exclusive, non-transferrable license solely relating to the New Intellectual Property to engage in non-commercial research and development subject to the terms of this Agreement.\n2.3 Joint Intellectual Property. Subject to the terms and conditions of this Agreement including in relation to management and enforcement of Intellectual Property as set out in Article 7 and, as applicable, any Co-Promotion Agreement, as of the Effective Date, each Party hereby grants the other Party a world-wide, non-exclusive, perpetual, royalty-free, fully paid up, freely sublicensable right and license under its interest in the Joint Intellectual Property to exploit products other than Products (a) anywhere in the world and (b) without compensating or accounting to the other Party.\n2.4 Use of Third Party Contractors. Subject to the terms of this Agreement, either Party may perform any specific Activities for which it is responsible under this Agreement through subcontracting to a Third Party contractor and may grant a sublicense of the rights granted hereunder to any such Third Party contractor; provided that where [***] seeks to engage such subcontractor, [***] shall first obtain [***] to the appointing of such sub-contractor and, where necessary, the granting of such sublicense, provided further, that if a Third Party contractor is specified or otherwise authorized generally for categories of activity in an approved Product Work Plan, then [***] to [***] the [***] and [***] of a [***] to such Third Party contractor solely for the purposes set forth in such Product Work Plan.\n2.5 [***]. Except as permitted in [***] in respect of [***], each Party may only [***] the [***] to such Party under [***], and [***] with the other Party’s [***]. Any [***] granted by either Party pursuant to this Agreement will be [***] the [***] of [***]. In addition, each Party will [***], with respect to the Products and the [***] Products or [***], to [***] or [***] the [***] that such [***] may [***] in connection with its activities with respect to the Products and the [***] Products that would constitute [***] or [***] if arising [***] or [***] activities, respectively, so that any such Intellectual Property will be Controlled by the [***] Party for purposes and to the extent of the [***] to the other Party provided by Sections 2.1 and 2.2 above. [***], either Party may grant [***] of its rights hereunder to any Affiliate; provided that such Party remains primarily liable for the performance hereunder of any of its Affiliates.\n2.6 Technology Transfer.\n(a) General. Momenta will use Commercially Reasonable Efforts to transfer the Technology Package to CSL:\n(i) in accordance with the outline of the Technology Transfer Plan attached hereto as Schedule 1.135 where both activities and timeframes are specified in that Schedule; and\n(ii) otherwise in accordance with the Technology Transfer Plan, and both Parties will perform their respective activities under and in accordance with the Technology Transfer Plan (with the Technology Transfer Plan to prevail over the outline in the event of any inconsistency).\n(iii) In exercising such Commercially Reasonable Efforts a Party shall not be responsible for any delay or failure to achieve an objective to the extent such delay or failure is caused by the actions of the other Party.\n(b) Technology Transfer Plan. Momenta will use Commercially Reasonable Efforts to execute the Technology Transfer Plan in an [***] and [***] and in accordance with Schedule 1.135 (as modified (if applicable) by the agreed Technology Transfer Plan) In [***] the [***], Momenta will use Commercially Reasonable Efforts to transfer to CSL [***] under the Technology Package which are specified in Schedule 1.135 within [***] after the Effective Date and the Parties shall use Commercially Reasonable Efforts to complete the Technology Transfer Plan [***] with the goal of completing all activities under the Technology Transfer Plan no later than [***] after the Effective Date.\n2.7 Retained Rights. Any rights of Momenta not expressly granted to CSL under the provisions of this Agreement shall be retained by Momenta and any rights of CSL not expressly granted to Momenta under the provisions of this Agreement shall be retained by CSL.\n2.8 [***]. For the avoidance of doubt, in the event either Party [***] or [***], or has an opportunity to [***] or [***], directly or by way of an [***] to a product or product [***] which falls within the [***] of [***] (each, an “[***]”), the [***] is obligated to deliver to the other Party a [***] at least [***] prior to the [***] of such [***] or [***] (the date on which such notice is given, the “[***]”), and the [***] Party shall have [***] following the [***], upon written notice to the [***] Party, to require [***] a [***] or [***] or [***] the [***] of [***] and [***] A failure to comply with this provision shall be considered a [***] of [***].\n2.9 No Additional Licenses. Except as expressly provided in Sections 2.1, 2.2, 2.3, 2.5, 3.1(e)(vi) and Article 11, nothing in this Agreement grants either Party any right, title or interest in and to the intellectual property rights of the other Party (either expressly, by implication or by estoppel).\n2.10 Bankruptcy.\n(a) All rights and licenses to Intellectual Property granted under or pursuant to any Section of this Agreement are, and shall otherwise be deemed to be, for the purposes of Section 365(n) of the Bankruptcy Code, licenses of rights to “intellectual property” as defined under Section 101(35A) of the Bankruptcy Code. The Parties shall retain and may fully exercise all of their respective rights and elections under the Bankruptcy Code. Upon the bankruptcy of a Party, the non-bankrupt Party shall further be entitled to a complete duplicate of (or complete access to, as appropriate) any such Intellectual Property, and such, if not already in its possession, shall be promptly delivered to the non-bankrupt Party.\n(b) Notwithstanding any other provision of this Agreement, for purposes of Section 365(n)(2)(B) of the Bankruptcy Code, “royalty payments” shall mean solely (i) those amounts payable in Section 3.1(c), 3.1(d), and 3.1(e), in respect of Initial Products, (ii) any incremental royalty payments payable to Momenta in connection with an Opt-Out of Co-Funding with respect to the applicable Products, and (iii) any development milestones, sales milestones and royalties that may be negotiated and agreed pursuant to Section 3.1(g) in respect of [***] Products other than the [***] Product. Where, [***], [***] does not meet its [***] in respect of [***] shall automatically terminate and [***] and [***] in [***] shall be payable in respect of Products Commercialized and sold in the U.S."}
-{"idx": 1, "level": 3, "span": "(a) Product License\nA royalty-bearing, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property to Research, Develop, Manufacture and Commercialize Products in the Territory."}
-{"idx": 1, "level": 3, "span": "(b) Research License\nA royalty-free, exclusive, nontransferable (except as set forth in Section 13.3) license, with the right to grant sublicenses as described in Section 2.5, under the Momenta Intellectual Property and Momenta’s rights in the Joint Intellectual Property for purposes of researching (i) potential [***] Products and (ii) the [***] Products in the Territory."}
-{"idx": 1, "level": 3, "span": "(c) [***]\nThe Parties acknowledge and agree that the license and sublicense rights granted by Momenta to CSL and CSL to Momenta under this Agreement [***] be [***] a [***] the [***] in [***] between the Parties or the [***] or [***] when exercised in compliance with the terms of this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) General\nMomenta will use Commercially Reasonable Efforts to transfer the Technology Package to CSL:"}
-{"idx": 1, "level": 4, "span": "(i) in accordance with the outline of the Technology Transfer Plan attached hereto as Schedule 1.135 where both activities and timeframes are specified in that Schedule; and"}
-{"idx": 1, "level": 4, "span": "(ii) otherwise in accordance with the Technology Transfer Plan, and both Parties will perform their respective activities under and in accordance with the Technology Transfer Plan (with the Technology Transfer Plan to prevail over the outline in the event of any inconsistency)."}
-{"idx": 1, "level": 4, "span": "(iii) In exercising such Commercially Reasonable Efforts a Party shall not be responsible for any delay or failure to achieve an objective to the extent such delay or failure is caused by the actions of the other Party."}
-{"idx": 1, "level": 3, "span": "(b) Technology Transfer Plan\nMomenta will use Commercially Reasonable Efforts to execute the Technology Transfer Plan in an [***] and [***] and in accordance with Schedule 1.135 (as modified (if applicable) by the agreed Technology Transfer Plan) In [***] the [***], Momenta will use Commercially Reasonable Efforts to transfer to CSL [***] under the Technology Package which are specified in Schedule 1.135 within [***] after the Effective Date and the Parties shall use Commercially Reasonable Efforts to complete the Technology Transfer Plan [***] with the goal of completing all activities under the Technology Transfer Plan no later than [***] after the Effective Date."}
-{"idx": 1, "level": 3, "span": "(a) All rights and licenses to Intellectual Property granted under or pursuant to any Section of this Agreement are, and shall otherwise be deemed to be, for the purposes of Section 365(n) of the Bankruptcy Code, licenses of rights to “intellectual property” as defined under Section 101(35A) of the Bankruptcy Code\nThe Parties shall retain and may fully exercise all of their respective rights and elections under the Bankruptcy Code. Upon the bankruptcy of a Party, the non-bankrupt Party shall further be entitled to a complete duplicate of (or complete access to, as appropriate) any such Intellectual Property, and such, if not already in its possession, shall be promptly delivered to the non-bankrupt Party."}
-{"idx": 1, "level": 3, "span": "(b) Notwithstanding any other provision of this Agreement, for purposes of Section 365(n)(2)(B) of the Bankruptcy Code, “royalty payments” shall mean solely (i) those amounts payable in Section 3.1(c), 3.1(d), and 3.1(e), in respect of Initial Products, (ii) any incremental royalty payments payable to Momenta in connection with an Opt-Out of Co-Funding with respect to the applicable Products, and (iii) any development milestones, sales milestones and royalties that may be negotiated and agreed pursuant to Section 3.1(g) in respect of [***] Products other than the [***] Product\nWhere, [***], [***] does not meet its [***] in respect of [***] shall automatically terminate and [***] and [***] in [***] shall be payable in respect of Products Commercialized and sold in the U.S."}
-{"idx": 1, "level": 2, "span": "ARTICLE 3."}
-{"idx": 1, "level": 2, "span": "FINANCIAL TERMS"}
-{"idx": 1, "level": 2, "span": "Payment for Milestone [***] where [***] after [***] of [***].\n In the case of both the First Product and the [***] Product, in the event that Momenta is [***] the [***] the [***] by such Product but Momenta [***] the [***] of [***] prior to [***] by such Product, the amount that would have been paid on [***] of [***] by such Product had [***] at [***] by such Product shall be paid on: \n(i) the [***] of [***] by such Product if the [***] of [***] by such Product occurs after [***] to [***] such Product; or\n(ii) the [***] of [***] by such Product if the [***] of [***] by such Product occurs [***] such Product."}
-{"idx": 1, "level": 4, "span": "(i) the [***] of [***] by such Product if the [***] of [***] by such Product occurs after [***] to [***] such Product; or"}
-{"idx": 1, "level": 4, "span": "(ii) the [***] of [***] by such Product if the [***] of [***] by such Product occurs [***] such Product."}
-{"idx": 1, "level": 2, "span": "Payment for Milestone [***] where [***] after [***] of [***]."}
-{"idx": 1, "level": 2, "span": "ARTICLE 4."}
-{"idx": 1, "level": 2, "span": "CO-FUNDING OPTIONS; REPORTING AND RECORD KEEPING\n4.1 In General. CSL hereby grants to Momenta the following co-funding options in respect of the Products and the [***] Products; provided that Momenta may exercise only one of the following co-funding options:\n(a) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive fifty percent (50%) of all Profits and Losses for the Products and Research Products in the United States (the “50% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1. Momenta may exercise its 50% Co-Funding Option by written notice to CSL [***] after the [***] for the [***].\n(b) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive thirty percent (30%) of all Profits and Losses for the Products and [***] Products in the United States (the “30% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1. Momenta may exercise its 30% Co-Funding Option by written notice to CSL at any time prior to [***] after the date on which Momenta receives [***] the [***] of the [***] or [***], in each case in respect [***] the [***] is [***] and [***] to [***] (taking into account any [***] of any [***] with respect [***] may be made [***]).\n4.2 Opt-Out of Co-Funding.\n(a) Total Opt-Out. At any time on and after the Co-Funding Option Effective Date, Momenta has the right, in its sole discretion, to cease Co-Funding for all current and future Products upon [***] written notice to CSL (the “Opt-Out Notice”); provided that, following the effective date of such Opt-Out Notice:\n(i) Momenta shall have no further obligation to co-fund Research, Development or Commercialization of any Product or [***] Product and shall have no right to share in the applicable Profit percentage; and\n(ii) Momenta will be entitled to receive all royalty and milestone payments, for all Products, that are achieved following the Opt-Out Notice Effective Date. For the avoidance of doubt, Momenta will not be eligible to receive any payment under Section 3.1(c) for a Development Milestone achieved prior to the Opt-Out Notice Effective Date except to the extent expressly provided with respect to Milestones 1 and 2 in Section 3.1(c); and\n(iii) CSL shall make [***] ([***] provided for below) to Momenta in a [***] to [***] (the [***]), [***] follows:\n(1) all [***], excluding [***] or [***] the [***] for which it [***], [***] reference to the [***] and [***] and taking into account both [***] and [***] the [***] to the [***] following preparation of each such [***];\n(2) [***] any [***] to Momenta as [***] of [***].\nThe [***] shall be [***] by way of [***] in the [***] of [***] up to a [***] of a [***] in such [***] on [***], in the form of such [***] the [***]. In addition, CSL shall [***] to [***] within [***] of the Opt-Out Notice Effective Date, [***] or [***] by [***] for which it has [***] any [***].\n(b) Future Product Opt-Out. If Momenta is Co-Funding any Product at the time the [***] for a [***] is [***], Momenta has the right[***], upon giving written notice to CSL within [***] after the [***] for such [***] is [***], to opt out of Co-Funding that Product and all future Products and future [***] Products. In such event, Momenta would continue to [***] to the [***] to [***] under this section. [***] that were [***] or [***] for [***] which it will no longer be Co-Funding (that is, excluding those which were incurred in respect of [***] which Momenta is continuing to Co-Fund) shall be [***] the [***] of [***] in such [***] on [***] until Momenta [***], in the form of [***], the relevant [***].\n4.3 Cost Share and Profit Share for Co-Funding of Products and [***] Products. If, and during the period for which, Momenta is Co-Funding, the Parties shall comply with the following financial reporting requirements:\n(a) Initial Payment of Program Expenses. Except as expressly provided otherwise in this Agreement, the Party initially incurring Program Expenses will be responsible for and pay for all Program Expenses so incurred. Each Party will accrue all Program Expenses for [***] Products and Products and maintain books and records for same in accordance with the terms and conditions hereof and in accordance with applicable Accounting Standards. Within [***] after the end of each [***], each Party will submit to the other Party a non-binding, good faith estimate of such Program Expenses accrued and Net Sales, as applicable, during the just-ended [***].\n(b) Summary Statements. Within [***] after the end of each Calendar Quarter, each Party will submit to the other Party a Summary Statement. Such Summary Statements shall:\n(i) specify in reasonable detail all expenses included in such Program Expenses during such Calendar Quarter and, upon the reasonable request of the other Party, shall be accompanied by invoices, and/or other appropriate supporting documentation; or\n(ii) report Program Expenses and Losses which are subject to Momenta’s current Co-Funding on a [***] (e.g., [***] costs and [***] costs); and\n(iii) contain a separate summary of the Program Expenses and Losses which Momenta is required to share pursuant to its Co-Funding.\nIn order to accomplish this, the Parties shall seek to resolve any questions related to the non-binding, good faith estimate of such Program Expenses [***] and Net Sales provided pursuant to section 4.3(a) above, as applicable, within [***] following receipt by each Party of the other Party’s estimate. Thereafter, the JSC shall facilitate the finalization of the Parties’ Summary Statements, as applicable, hereunder and the resolution of any questions concerning such Summary Statements. Upon the request of either Party from time to time, the Parties’ [***] personnel will discuss any reasonable questions or reasonably arising issues in relation to the Summary Statements, including the basis for the accrual of specific Program Expenses (provided that where such Program Expenses were [***] or [***] and are within the amount most recently budgeted for the relevant Activity, the [***] that any question or issue is [***] shall be on the Party [***] such question or issue).\n(c) Reimbursement and Co-Funding Report. Within [***] after the last day of each Calendar Quarter, CSL will prepare a Reimbursement and Co-Funding Report. Without limiting the foregoing, the Reimbursement and Co-Funding Report for each such Product shall include:\n(i) the [***] and [***] which are to be shared by the Parties pursuant to Momenta’s Co-Funding (to be drawn from the Parties’ respective Summary Statements and setting out details of [***] and [***] pursuant to Section 4.3(b) and [***]);\n(ii) following the First Commercial Sale of any Product, the [***] sales of Product on a country-by-country and Product-by-Product basis, sold by each Party, its Affiliates and Sublicensees during the Calendar Quarter, including the amount of such Product sold and the [***] invoiced for such Product;\n(iii) a calculation of Net Sales of such Product from [***], including [***] on [***] allowed to be taken pursuant to [***], along with a description of the [***], [***] and [***] for such [***]; and\n(iv) The calculation, for the relevant period, of the US Profits (which, for the avoidance of doubt, the Parties agree could be [***]) and Losses, including [***] on the (A) [***] including [***], including [***] on [***] of [***], [***] and [***] variances, [***] reevaluations and [***] and any other applicable components, along with applicable accounting policies, methodologies and calculations for such components; (B) [***], including itemized information on applicable components of such costs, along with applicable accounting policies, methodologies and calculations for such components; (C) [***]; and (D) all [***] Program [***].\n(d) Payments of Cost Share and Profit Share. Based on the Reimbursement and Co-Funding Report, the applicable Party (to whom a net amount is owed to achieve the applicable Profit and Loss share percentage as set forth in Section 4.1) will invoice the other Party after such Reimbursement and Co-Funding Reports are complete, and the receiving Party will pay such invoice within [***] of receipt of invoice.\n4.4 Semi-Annual Reports when Momenta not Co-Funding. For Products which Momenta is not Co-Funding, CSL must deliver to Momenta, via the JSC, a [***] report (within [***] after [***] and [***]) that sets out, in summary form, the material elements of its Development and Commercialization plans for the preceding [***] and the [***] and shall include [***] or [***] of such plans which it [***] or [***] in the [***] and [***] or [***] of such plans which it did [***] or [***] including [***] for such [***] or [***], together with an [***] for any changes in related [***]. For the purpose of the semi-annual report provided under this Section, the Commercial plan summary shall contain the information provided under clauses (a)(iii), (iv), (v), (vi) and (viii) of Section 1.32.\n4.5 Overdue Payments. If any payment owed to a Party under this Agreement is not made when due, such outstanding payment shall accrue interest (from the date such payment is due through and including the date upon which full payment is made) at a rate of [***] per month from the due date until paid in full; provided that in no event shall said annual rate exceed the maximum interest rate permitted by Applicable Law in regard to\nsuch payments. Such payment, when made, shall be accompanied by all interest so accrued. Said interest and the payment and acceptance thereof shall not negate nor waive the right of a Party to any other remedy, legal or equitable, to which it is entitled because of the delinquency of the payment.\n4.6 Taxes. The royalties and milestones payable under Article 3, and other amounts due to either Party hereunder (“Payments”) shall not be reduced by any value-added tax or any other sales tax or duties unless required by Applicable Law; provided, however, that the Parties shall cooperate to minimize any tax liability. Each Party alone shall be responsible for paying any and all taxes (other than withholding taxes required by Applicable Law to be paid by the other Party) levied on account of, or measured in whole or in part by reference to, any Payments it receives; provided, however, that the payer shall deduct or withhold any applicable withholding taxes or similar mandatory governmental charges levied by any governmental jurisdiction from the amount due to the other Party hereunder which the payer is required by Applicable Law to deduct or withhold. CSL and Momenta will cooperate in obtaining any necessary documentation required under applicable tax law, regulation, or intergovernmental agreement. Notwithstanding the foregoing, if the Party receiving the Payment is entitled under any applicable tax treaty to a reduction of rate of, or the elimination of, applicable withholding tax, it may deliver to the payer or the appropriate governmental authority (with the assistance of the payer to the extent that this is reasonably required and is expressly requested in writing) the prescribed forms necessary to reduce the applicable rate of withholding or to relieve the payer of its obligation to withhold tax, and the payer shall apply the reduced rate of withholding, or dispense with withholding, as the case may be, provided that the payer has received evidence, in a form reasonably satisfactory to it, of the other Party’s delivery of all applicable forms (and, if necessary, its receipt of appropriate governmental authorization) at least [***] prior to the time that the Payments are due. If, in accordance with the foregoing, the payer withholds any amount, it shall pay to the other Party the balance when due, make timely payment to the proper taxing authority of the withheld amount, and send to the other Party proof of such payment within [***] following that payment. Without limiting the generality of the foregoing, the Parties acknowledge and agree that: (i) [***] is [***] and [***] is [***]; (ii) under current [***] and [***], no amount contemplated to be payable under this Agreement by [***] is subject to any [***] or [***]; and (iii) [***] a [***] in [***], [***] from the amounts payable pursuant under this Agreement [***] in respect of [***], provided that Momenta delivers a properly [***] and duly [***].\n4.7 Audits; Records and Inspection. CSL shall keep, and where Momenta has exercised a Co-Funding Option or a Co-Promotion Option or Momenta is performing Activities under a Research Plan or Product Work Plan, Momenta shall keep with respect to all relevant Products and [***] Products, complete, true and accurate books of account and records for the purpose of determining, as applicable, any reimbursement or the sharing of Program Expenses, Profits and Losses, and any royalty payable under this Agreement. Each Party shall also require its Affiliates and Sublicensees to keep all such books and records. Such books and records shall be kept at the principal place of business of each Party or its Affiliates or authorized Sublicensees, for at least [***] following the end of the Calendar Quarter to which they pertain. Upon [***] prior written notice from a Party, the other Party shall permit, and shall ensure that its Affiliates and Sublicensees shall permit, an independent certified public accounting firm of recognized international standing, selected by the requesting Party and reasonably acceptable to the other Party, at the requesting Party’s expense, to have access to such Party’s (or its Affiliates’ or Sublicensees’) records, specific to a country in the Territory, as may be reasonably necessary to verify the accuracy of any amounts reported, actually paid or payable under this Agreement for [***] to the date of such request. Such audits may be made no more than once each calendar year, during normal business hours at reasonable times mutually agreed by the Parties. If such accounting firm concludes that additional amounts were owed to the requesting Party during such period with respect to such country, or if the requesting Party overpaid for any rates or fees for products or services with respect to such country, the other Party shall pay such additional amounts or refund such overpayment (including interest on such additional sums with respect to such country of the Territory in accordance with Section 4.5) within [***] after the date the requesting Party delivers to the other Party such accounting firm’s written report so concluding. The fees charged by such accounting firm shall be paid by the requesting Party; provided, however, that if the audit discloses that the amounts payable to such Party for the audited period are more than [***] of the amounts actually paid for such period in such country of the Territory as applicable, or if the audit discloses that the other Party has [***] the [***] or [***] or [***] in the period in such country of the Territory as applicable, [***] then the other Party shall pay the reasonable fees and expenses charged by such accounting firm. Upon the\nexpiration of [***] the end of any calendar year, the calculation of any amounts payable with respect to such calendar year, or rates or fees charged for such year shall be binding and conclusive upon the Parties."}
-{"idx": 1, "level": 3, "span": "(a) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive fifty percent (50%) of all Profits and Losses for the Products and Research Products in the United States (the “50% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1\nMomenta may exercise its 50% Co-Funding Option by written notice to CSL [***] after the [***] for the [***]."}
-{"idx": 1, "level": 3, "span": "(b) Momenta shall bear fifty percent (50%) of the global Research Expenses of the [***] Products, fifty percent (50%) of global Development Expenses for the Products and fifty percent (50%) of Commercialization Expenses and [***] in the United States for the Products, in each case from and after the Co-Funding Option Effective Date, in exchange for which Momenta shall receive thirty percent (30%) of all Profits and Losses for the Products and [***] Products in the United States (the “30% Co-Funding Option”) and the applicable milestones and royalties as set forth in Section 3.1\nMomenta may exercise its 30% Co-Funding Option by written notice to CSL at any time prior to [***] after the date on which Momenta receives [***] the [***] of the [***] or [***], in each case in respect [***] the [***] is [***] and [***] to [***] (taking into account any [***] of any [***] with respect [***] may be made [***])."}
-{"idx": 1, "level": 3, "span": "(a) Total Opt-Out\nAt any time on and after the Co-Funding Option Effective Date, Momenta has the right, in its sole discretion, to cease Co-Funding for all current and future Products upon [***] written notice to CSL (the “Opt-Out Notice”); provided that, following the effective date of such Opt-Out Notice:"}
-{"idx": 1, "level": 4, "span": "(i) Momenta shall have no further obligation to co-fund Research, Development or Commercialization of any Product or [***] Product and shall have no right to share in the applicable Profit percentage; and"}
-{"idx": 1, "level": 4, "span": "(ii) Momenta will be entitled to receive all royalty and milestone payments, for all Products, that are achieved following the Opt-Out Notice Effective Date\nFor the avoidance of doubt, Momenta will not be eligible to receive any payment under Section 3.1(c) for a Development Milestone achieved prior to the Opt-Out Notice Effective Date except to the extent expressly provided with respect to Milestones 1 and 2 in Section 3.1(c); and"}
-{"idx": 1, "level": 4, "span": "(iii) CSL shall make [***] ([***] provided for below) to Momenta in a [***] to [***] (the [***]), [***] follows:"}
-{"idx": 1, "level": 4, "span": "(1) all [***], excluding [***] or [***] the [***] for which it [***], [***] reference to the [***] and [***] and taking into account both [***] and [***] the [***] to the [***] following preparation of each such [***];"}
-{"idx": 1, "level": 4, "span": "(2) [***] any [***] to Momenta as [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(b) Future Product Opt-Out\nIf Momenta is Co-Funding any Product at the time the [***] for a [***] is [***], Momenta has the right[***], upon giving written notice to CSL within [***] after the [***] for such [***] is [***], to opt out of Co-Funding that Product and all future Products and future [***] Products. In such event, Momenta would continue to [***] to the [***] to [***] under this section. [***] that were [***] or [***] for [***] which it will no longer be Co-Funding (that is, excluding those which were incurred in respect of [***] which Momenta is continuing to Co-Fund) shall be [***] the [***] of [***] in such [***] on [***] until Momenta [***], in the form of [***], the relevant [***]."}
-{"idx": 1, "level": 3, "span": "(a) Initial Payment of Program Expenses\nExcept as expressly provided otherwise in this Agreement, the Party initially incurring Program Expenses will be responsible for and pay for all Program Expenses so incurred. Each Party will accrue all Program Expenses for [***] Products and Products and maintain books and records for same in accordance with the terms and conditions hereof and in accordance with applicable Accounting Standards. Within [***] after the end of each [***], each Party will submit to the other Party a non-binding, good faith estimate of such Program Expenses accrued and Net Sales, as applicable, during the just-ended [***]."}
-{"idx": 1, "level": 3, "span": "(b) Summary Statements\nWithin [***] after the end of each Calendar Quarter, each Party will submit to the other Party a Summary Statement. Such Summary Statements shall:"}
-{"idx": 1, "level": 4, "span": "(i) specify in reasonable detail all expenses included in such Program Expenses during such Calendar Quarter and, upon the reasonable request of the other Party, shall be accompanied by invoices, and/or other appropriate supporting documentation; or"}
-{"idx": 1, "level": 4, "span": "(ii) report Program Expenses and Losses which are subject to Momenta’s current Co-Funding on a [***] (e.g., [***] costs and [***] costs); and"}
-{"idx": 1, "level": 4, "span": "(iii) contain a separate summary of the Program Expenses and Losses which Momenta is required to share pursuant to its Co-Funding."}
-{"idx": 1, "level": 3, "span": "(c) Reimbursement and Co-Funding Report\nWithin [***] after the last day of each Calendar Quarter, CSL will prepare a Reimbursement and Co-Funding Report. Without limiting the foregoing, the Reimbursement and Co-Funding Report for each such Product shall include:"}
-{"idx": 1, "level": 4, "span": "(i) the [***] and [***] which are to be shared by the Parties pursuant to Momenta’s Co-Funding (to be drawn from the Parties’ respective Summary Statements and setting out details of [***] and [***] pursuant to Section 4.3(b) and [***]);"}
-{"idx": 1, "level": 4, "span": "(ii) following the First Commercial Sale of any Product, the [***] sales of Product on a country-by-country and Product-by-Product basis, sold by each Party, its Affiliates and Sublicensees during the Calendar Quarter, including the amount of such Product sold and the [***] invoiced for such Product;"}
-{"idx": 1, "level": 4, "span": "(iii) a calculation of Net Sales of such Product from [***], including [***] on [***] allowed to be taken pursuant to [***], along with a description of the [***], [***] and [***] for such [***]; and"}
-{"idx": 1, "level": 4, "span": "(iv) The calculation, for the relevant period, of the US Profits (which, for the avoidance of doubt, the Parties agree could be [***]) and Losses, including [***] on the (A) [***] including [***], including [***] on [***] of [***], [***] and [***] variances, [***] reevaluations and [***] and any other applicable components, along with applicable accounting policies, methodologies and calculations for such components; (B) [***], including itemized information on applicable components of such costs, along with applicable accounting policies, methodologies and calculations for such components; (C) [***]; and (D) all [***] Program [***]."}
-{"idx": 1, "level": 3, "span": "(d) Payments of Cost Share and Profit Share\nBased on the Reimbursement and Co-Funding Report, the applicable Party (to whom a net amount is owed to achieve the applicable Profit and Loss share percentage as set forth in Section 4.1) will invoice the other Party after such Reimbursement and Co-Funding Reports are complete, and the receiving Party will pay such invoice within [***] of receipt of invoice."}
-{"idx": 1, "level": 2, "span": "ARTICLE 5."}
-{"idx": 1, "level": 2, "span": "RESEARCH, DEVELOPMENT, MANUFACTURING AND COMMERCIALIZATION\n5.1 Research Collaboration.\n(a) [***] Products. During the Term or a part thereof, the Parties will undertake research in respect of [***], which may include the [***] Product, in accordance with the Research Plan, which will be discussed and [***] by the Parties, and reviewed [***] by the JSC no less frequently than [***]. Selection of each [***] to be included as a [***] Product in the Research Plan shall be subject to the [***] the [***]. In selecting [***] for inclusion in the Research Plan, the Parties will have regard to [***] and [***] and [***] obtained in respect of such [***] and shall bear in mind the best interests of the collaboration and their mutual desire to Develop and Commercialize Products.\n(b) The initial Research Plan, including its duration and the [***] to be included as [***] Products, will be [***] by the Parties [***] of the Effective Date.\n(c) The Research Plan, as in effect at any time, shall identify, at a minimum:\n(i) the [***] to be subject to Research as [***] Products under the Research Plan;\n(ii) the Research Activities to be conducted by each Party with respect to such [***] Products, including which Party will be responsible for the manufacture of [***] Products;\n(iii) the estimated budget for such Research Activities on a [***] Product by [***] Product basis; and\n(iv) any preliminary research that a Party may conduct at its own expense to facilitate the proposal of future Research Activities.\n(d) [***] Product Development and Commercialization Decision for [***] Products. [***], at any time, [***], and shall so notify [***] and the notice provisions of this Agreement upon making such [***]. The date of such notice shall be the “Development Approval Date” for such [***] Product. From and after the Development Approval Date for such [***] Product, such [***] Product shall be deemed to be a “Product” under this Agreement. \n5.2 Development of Products\nCSL shall be responsible for Development of Products and for the [***] and [***] of Development Plans.\n(a) Development of each Product, including the First Product and any [***] Product which becomes a Product under this Agreement as provided in Section 5.1(d), shall be conducted pursuant to a Development Plan.\n(b) CSL shall prepare an initial Development Plan for the First Product on a basis consistent with the outline attached as Schedule 5.2(b). [***] in the [***] the [***] and [***] to [***]. Such initial Development Plan shall be [***] by the JSC on or before [***] after the Effective Date, or at such other time that is mutually agreed in writing by the Parties.\n(i) Momenta shall, unless otherwise provided for in the initial Development Plan for the First Product, use Commercially Reasonable Efforts to exercise Momenta’s rights under its [***] and [***], at [***], to [***] of the First Product for the [***] for the First Product. The expenses of [***] such [***] incurred on and from [***] shall be included in the Development Plan and [***] in accordance with the provisions of this Agreement [***] of [***] they were incurred [***] of the Development Plan, and provided that they are [***] with [***] and [***] by email or correspondence.\n(ii) The initial Development Plan and the initial Research Plan shall similarly provide for the [***] of [***] after the Effective Date regardless of whether such [***] to [***] the [***] or the [***] and provided that they are [***] with [***] and [***] by email or correspondence.\n(c) CSL shall prepare an initial Development Plan for each [***] Product that becomes a Product under this Agreement. [***] in the [***] and [***] to [***]. Such initial Development Plan for such Product shall be [***] the JSC on or before [***] after the Development Approval Date for such [***] Product.\n(d) During the [***] and [***] of any initial Development Plan, the Parties, through the JSC, shall [***] the following (subject to [***]): (1) [***] for the [***] of [***] for clinical development and potential [***], (2) [***] for [***] of clinical program [***], and (3) research efforts to [***] and [***] CSL agrees [***] to [***] related to (1), (2) and (3), which may involve activities to be performed at Momenta, including [***] for the [***] of [***].\n(e) Each Development Plan shall be updated [***] and shall contain a [***] covering at least the [***], with [***] estimates for [***] to [***] along with a [***] of [***] and [***] and [***] expected to be [***] the [***] and [***] of development, in all cases consistent with [***] and [***] processes [***]. Without limiting CSL’s general obligation to [***] as provided for in [***], [***] may [***] and [***] the Development Plan after [***] of the [***] Development Plan. [***] shall [***] through JSC meetings, Activity Reports and Annual Program Reviews provided for in Sections 5.7, 5.8 and Article 4. [***] will [***] of [***] or [***] to the Development Plan and [***] the [***] with [***] CSL will provide an [***] to Momenta via the JSC at least each [***].\n(f) As provided in [***] and [***]; CSL’s [***], if [***] cannot [***] on the [***] of any initial Development Plan for any Product within the timeframe specified above, the Parties shall [***] the [***] to [***] in accordance with [***]. If the matter remains unresolved [***] after [***] to [***], the matter may be resolved by [***] in [***] to the [***] of [***].\n(g) If Momenta is Co-Funding and CSL elects to take a [***] Product into Development and [***] the [***] and/or Commercialized are a [***] the [***] to [***] for such Product such that [***] with respect to such initial Development Plan, Momenta shall have the right to [***] such Product. Momenta shall [***] by written notice to CSL within [***] of [***]. Upon such notice, Momenta will be [***] to have [***] of [***] such Product and [***] (i.e., [***] of [***] or [***]), on the same basis and with the same consequences with respect to such Products (but no other Products) as provided with respect to all Products in [***] \n5.3 Commercialization of Products\nCSL shall be [***] and for the [***] and [***] of Commercialization Plans.\n(a) Commercialization of each Product shall be conducted pursuant to a Commercialization Plan.\n(b) CSL shall be [***] a Commercialization Plan for each Product.\n(c) CSL shall [***] Commercialization Plan for each Product no later than [***] the first [***] seeking [***] for such Product in a Major Country.\n(d) CSL shall [***], through [***], regarding the initial Commercialization Plan for any Product, but [***] the [***] by the JSC shall [***].\n(e) CSL [***] may [***] and [***] the Commercialization Plan for any Product [***], and will provide an [***] Commercialization Plan to Momenta via the JSC at least each [***].\n(f) The Commercialization Plan for each Product shall include [***] of [***] that is [***] to [***] Commercialization of such Product and [***] and [***].\n5.4 CSL’s Obligation to Share Commercialization Plans. CSL shall provide Commercialization Plans to the JSC [***] of [***] which Momenta [***], on a [***] basis, for [***] Momenta is [***] such Product.\n5.5 Manufacture of Products\n(a) CSL shall have the sole responsibility for Manufacturing strategy and shall be [***] all Products, including [***] and [***] of any [***].\n(b) Notwithstanding the foregoing, Momenta will use Commercially Reasonable Efforts to assist with [***] from [***] to CSL and Momenta [***] that it has no knowledge, at the Execution Date, of any contractual or commercial objection, either of Momenta or of its [***] to [***].\n5.6 Responsibility; Diligence.\n(a) Subject to the terms of this Agreement, each Party and its Affiliates shall use Commercially Reasonable Efforts to undertake the Activities assigned to it under each Product Work Plan and the Research Plan.\n(b) CSL shall use Commercially Reasonable Efforts to Develop, Manufacture and Commercialize Products in the Territory. Notwithstanding any other provision of this Section 5.6, CSL shall be deemed to have satisfied this obligation if CSL is [***] to (i) [***] for [***] for human use in [***] and (ii) to Commercialize each Product for human use [***] in which [***] is achieved.\n(c) The Parties recognize and agree that commercial or scientific circumstances may mean that it [***] to continue Research, Development or Commercialization of a specific Product or [***] Product, and that [***] in such circumstances [***] a [***] to satisfy its [***] hereunder provided that [***] to use Commercially Reasonable Efforts to Research, Develop or Commercialize [***] or [***] for human use or [***] for human use in satisfaction of [***].\n(d) CSL shall promptly notify Momenta of [***] of [***] on any Product or Research Product by means of a written report setting out in reasonably informative detail the reasons for [***] to [***], as applicable, Research, Development or Commercialization of such Product or [***] Product.\n5.7 Activity Reports. Each Party shall report on Activities undertaken by it in accordance with and in performance of the Product Work Plans and the Research Plan. Such reports shall be provided in connection with meetings of the JSC or as otherwise required under this Agreement.\n5.8 Annual Program Review. At the request of either Party, the JSC shall conduct an overall program review once each calendar year during the Term.\n5.9 Regulatory Matters\n(a) From and after the Effective Date, on a country-by-country basis, [***] for seeking Regulatory Approvals for the Products in each country in the Territory, in accordance with Product Work Plans. All Regulatory Submissions will be filed, [***] the [***] of [***] or its nominee, which entity will be the holder of all resulting Regulatory Approvals.\n(b) CSL will keep the JSC [***] regarding the [***] relating to the [***] or [***] of any Regulatory Approval in the Territory, which include, but are not limited to, [***] and [***] of Regulatory Submissions, [***] and [***] and [***] with Regulatory Authorities.\n(c) CSL agrees to [***] and to [***] in relation to [***] likely to be relevant to the Development and Commercialization of Products, including but not limited to [***], and further agrees that, [***] the Parties will, through the JSC, [***] and [***] and [***] from time to time.\n5.10 Momenta’s Co-Promotion Option.\n(a) In General. Subject to [***] CSL hereby grants to Momenta an option, on the terms and subject to the conditions of this Agreement, to participate in the promotion, in the U.S., of those Products which it is Co-Funding.\n(b) Exercise. Momenta may exercise its Co-Promotion Option with respect to a Product by written notice to CSL [***] prior to the [***] of the [***] for such Product as determined by reference to the most recent Development Plan for that Product reviewed by the JSC. On Momenta’s request, CSL [***] the [***] be [***] and shall [***] to [***]. Momenta shall exercise its Co-Promotion Option by written notice to CSL, following which the Parties will [***] and [***], by [***] to [***] of the [***] (as determined by reference to the most recent Development Plan for that Product reviewed by the JSC) the Commercialization Activities which Momenta will undertake (determined taking into account [***] and [***] to [***] the [***]) and the terms of a Co-Promotion Agreement to govern such Activities and the parties’ rights and obligations with respect thereto. The terms of such Co-Promotion Agreement shall be [***] and [***]. If the Parties cannot agree, the Parties shall [***] the [***] in [***], and [***] in [***] and [***] in [***] is [***]. If any inconsistency arises between the terms of this Agreement and the terms of the applicable Co-Promotion Agreement, the terms of this Agreement shall prevail. Momenta shall not have the right to promote any Product, unless and until a Co-Promotion Agreement, which permits the promotion by Momenta of such Product in the United States, is entered into by the Parties.\n(c) Co-Funding not affected by Co-Promotion. The Parties shall continue to share Profits and Losses in accordance with Article 4 with respect to each Co-Funded Product, regardless of whether Momenta exercises or does not exercise its Co-Promotion Option with respect to the Products.\n(d) CSL to book all sales. CSL will book (directly itself or indirectly through any of its Affiliates and Sublicensees) all sales revenue of the Products in the Territory.\n(e) Consequences for Co-Promotion of decision by Momenta not to exercise its Co-Funding Option or of Co-Funding Opt-Out. Momenta’s rights under this Section 5.10 will cease as of:\n(i) the deadline for Momenta’s exercise of its 30% Co-Funding Option, if Momenta fails to exercise its Co-Funding Option; or\n(ii) the Opt-Out Effective Date for each Product in respect of which Momenta has exercised, or still maintains, a Co-Funding Option and subsequently exercises its right to opt out of such Co-Funding Option,\nand any Co-Promotion Agreement shall automatically terminate in accordance with its terms.\n5.11 Exclusive Collaboration. For as long as there is [***], each Party shall collaborate exclusively with respect to any [***] with the other Party regarding Research or Development and shall not, and shall ensure that its respective Affiliates and Sublicensees shall not, independently undertake, or collaborate with or license any Third Party or any [***] who has Intellectual Property and activities [***] the [***] the [***] of [***] to [***] and/or Development of any [***] without the other Party`s prior written consent (which may be granted or withheld in such other Party’s absolute discretion). During the Term each Party shall collaborate exclusively with respect to any [***] with the other Party regarding Manufacture or Commercialization and shall not, and shall ensure that its respective Affiliates and Sublicensees shall not independently undertake, or collaborate with or license any Third Party or any [***] who has Intellectual Property and activities [***] the [***] the [***] of [***] to [***] or [***] of any [***] without the other Party’s prior written consent (which may be granted or withheld in such other Party’s absolute discretion). Exceptions from these obligations apply as follows:\n(a) To perform such [***] as may be required to [***] and [***] a [***] for [***] as a [***] Product under this Agreement as provided in Section 5.1 (Research Collaboration);\n(b) To conduct [***] or [***] with respect to an Acquired Product in compliance with Section 2.8; and\n(c) As provided in Section 5.12 ([***]) and Section 5.14 ([***] on the [***] in Certain Circumstances).\nThe provisions of this Section 5.11 shall not apply to any activity by an [***] of a Party following a [***] or any Affiliate of such [***] (other than an Affiliate of such Party prior to the [***]) to the extent that such activity is engaged in without using or incorporating any Collaboration Technology Controlled by such Party or otherwise licensed to such Party under this Agreement, where [***] or [***] the [***] or [***] of [***] or [***] of [***] of [***].\n5.12 [***]. In respect of any Product [***] is [***] or [***], or any [***] to [***], CSL will reasonably consider and discuss [***] of [***] and/or [***] such Product or [***] Product. Momenta may initiate discussions regarding such [***] at any time by written notice to CSL. Following such discussion, CSL will notify Momenta [***] to [***] and [***], such [***] to [***], and [***] of its [***]. In no circumstances shall it be [***] to [***] to any [***] and/or [***] of a Product or [***] Product in [***] which is included in [***] or [***]. For the avoidance of doubt, the provisions of this Section do not [***].\n5.13 Development or Commercialization other than for Human Use. Neither Party will be required to Co-Fund or invest any amounts in respect of activities (including Activities) aimed at exploitation, Development or Commercialization of Products or [***] other than for human use unless it has provided prior written consent to such activities. Should [***] to initiate Development or Commercialization of a [***] in a field other than for human use, [***] and [***] and [***] of a [***]. The Parties shall [***] and [***] to [***] on such terms within [***] of [***] the [***]. If after [***], the Parties are [***], then the Parties shall resolve the dispute first through [***], and if the [***] are unable to resolve the dispute, the Parties will try, in [***], to resolve the dispute by [***] pursuant to the [***] of the [***]). The [***] or [***] the [***]. The place of [***] will be [***]. If the dispute cannot be resolved by [***] within [***], such dispute will be resolved by [***].\n5.14 Further Research on the First Product by Momenta in Certain Circumstances. Where the [***] is [***], and CSL has not [***] after the [***] the [***], of [***] either to [***] the [***] Clinical Trial or of [***] to [***] to [***] the [***] (which the Parties agree could [***] prior to [***] or [***]), Momenta may [***] with respect to the [***] with a view to [***] and [***] the [***]. Following such [***], Momenta may present the [***] to CSL [***] and if, following [***] of [***], CSL [***] of the [***], Momenta’s [***] the [***] into the [***] shall be considered [***] under this Agreement. "}
-{"idx": 1, "level": 3, "span": "(a) [***] Products\nDuring the Term or a part thereof, the Parties will undertake research in respect of [***], which may include the [***] Product, in accordance with the Research Plan, which will be discussed and [***] by the Parties, and reviewed [***] by the JSC no less frequently than [***]. Selection of each [***] to be included as a [***] Product in the Research Plan shall be subject to the [***] the [***]. In selecting [***] for inclusion in the Research Plan, the Parties will have regard to [***] and [***] and [***] obtained in respect of such [***] and shall bear in mind the best interests of the collaboration and their mutual desire to Develop and Commercialize Products."}
-{"idx": 1, "level": 3, "span": "(b) The initial Research Plan, including its duration and the [***] to be included as [***] Products, will be [***] by the Parties [***] of the Effective Date."}
-{"idx": 1, "level": 3, "span": "(c) The Research Plan, as in effect at any time, shall identify, at a minimum:"}
-{"idx": 1, "level": 4, "span": "(i) the [***] to be subject to Research as [***] Products under the Research Plan;"}
-{"idx": 1, "level": 4, "span": "(ii) the Research Activities to be conducted by each Party with respect to such [***] Products, including which Party will be responsible for the manufacture of [***] Products;"}
-{"idx": 1, "level": 4, "span": "(iii) the estimated budget for such Research Activities on a [***] Product by [***] Product basis; and"}
-{"idx": 1, "level": 4, "span": "(iv) any preliminary research that a Party may conduct at its own expense to facilitate the proposal of future Research Activities."}
-{"idx": 1, "level": 3, "span": "(d) [***] Product Development and Commercialization Decision for [***] Products\n[***], at any time, [***], and shall so notify [***] and the notice provisions of this Agreement upon making such [***]. The date of such notice shall be the “Development Approval Date” for such [***] Product. From and after the Development Approval Date for such [***] Product, such [***] Product shall be deemed to be a “Product” under this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) Development of each Product, including the First Product and any [***] Product which becomes a Product under this Agreement as provided in Section 5.1(d), shall be conducted pursuant to a Development Plan."}
-{"idx": 1, "level": 3, "span": "(b) CSL shall prepare an initial Development Plan for the First Product on a basis consistent with the outline attached as Schedule 5.2(b)\n[***] in the [***] the [***] and [***] to [***]. Such initial Development Plan shall be [***] by the JSC on or before [***] after the Effective Date, or at such other time that is mutually agreed in writing by the Parties."}
-{"idx": 1, "level": 4, "span": "(i) Momenta shall, unless otherwise provided for in the initial Development Plan for the First Product, use Commercially Reasonable Efforts to exercise Momenta’s rights under its [***] and [***], at [***], to [***] of the First Product for the [***] for the First Product\nThe expenses of [***] such [***] incurred on and from [***] shall be included in the Development Plan and [***] in accordance with the provisions of this Agreement [***] of [***] they were incurred [***] of the Development Plan, and provided that they are [***] with [***] and [***] by email or correspondence."}
-{"idx": 1, "level": 4, "span": "(ii) The initial Development Plan and the initial Research Plan shall similarly provide for the [***] of [***] after the Effective Date regardless of whether such [***] to [***] the [***] or the [***] and provided that they are [***] with [***] and [***] by email or correspondence."}
-{"idx": 1, "level": 3, "span": "(c) CSL shall prepare an initial Development Plan for each [***] Product that becomes a Product under this Agreement\n[***] in the [***] and [***] to [***]. Such initial Development Plan for such Product shall be [***] the JSC on or before [***] after the Development Approval Date for such [***] Product."}
-{"idx": 1, "level": 3, "span": "(d) During the [***] and [***] of any initial Development Plan, the Parties, through the JSC, shall [***] the following (subject to [***]): (1) [***] for the [***] of [***] for clinical development and potential [***], (2) [***] for [***] of clinical program [***], and (3) research efforts to [***] and [***] CSL agrees [***] to [***] related to (1), (2) and (3), which may involve activities to be performed at Momenta, including [***] for the [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(e) Each Development Plan shall be updated [***] and shall contain a [***] covering at least the [***], with [***] estimates for [***] to [***] along with a [***] of [***] and [***] and [***] expected to be [***] the [***] and [***] of development, in all cases consistent with [***] and [***] processes [***]\nWithout limiting CSL’s general obligation to [***] as provided for in [***], [***] may [***] and [***] the Development Plan after [***] of the [***] Development Plan. [***] shall [***] through JSC meetings, Activity Reports and Annual Program Reviews provided for in Sections 5.7, 5.8 and Article 4. [***] will [***] of [***] or [***] to the Development Plan and [***] the [***] with [***] CSL will provide an [***] to Momenta via the JSC at least each [***]."}
-{"idx": 1, "level": 3, "span": "(f) As provided in [***] and [***]; CSL’s [***], if [***] cannot [***] on the [***] of any initial Development Plan for any Product within the timeframe specified above, the Parties shall [***] the [***] to [***] in accordance with [***]\nIf the matter remains unresolved [***] after [***] to [***], the matter may be resolved by [***] in [***] to the [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(g) If Momenta is Co-Funding and CSL elects to take a [***] Product into Development and [***] the [***] and/or Commercialized are a [***] the [***] to [***] for such Product such that [***] with respect to such initial Development Plan, Momenta shall have the right to [***] such Product\nMomenta shall [***] by written notice to CSL within [***] of [***]. Upon such notice, Momenta will be [***] to have [***] of [***] such Product and [***] (i.e., [***] of [***] or [***]), on the same basis and with the same consequences with respect to such Products (but no other Products) as provided with respect to all Products in [***]"}
-{"idx": 1, "level": 3, "span": "(a) Commercialization of each Product shall be conducted pursuant to a Commercialization Plan."}
-{"idx": 1, "level": 3, "span": "(b) CSL shall be [***] a Commercialization Plan for each Product."}
-{"idx": 1, "level": 3, "span": "(c) CSL shall [***] Commercialization Plan for each Product no later than [***] the first [***] seeking [***] for such Product in a Major Country."}
-{"idx": 1, "level": 3, "span": "(d) CSL shall [***], through [***], regarding the initial Commercialization Plan for any Product, but [***] the [***] by the JSC shall [***]."}
-{"idx": 1, "level": 3, "span": "(e) CSL [***] may [***] and [***] the Commercialization Plan for any Product [***], and will provide an [***] Commercialization Plan to Momenta via the JSC at least each [***]."}
-{"idx": 1, "level": 3, "span": "(f) The Commercialization Plan for each Product shall include [***] of [***] that is [***] to [***] Commercialization of such Product and [***] and [***]."}
-{"idx": 1, "level": 3, "span": "(a) CSL shall have the sole responsibility for Manufacturing strategy and shall be [***] all Products, including [***] and [***] of any [***]."}
-{"idx": 1, "level": 3, "span": "(b) Notwithstanding the foregoing, Momenta will use Commercially Reasonable Efforts to assist with [***] from [***] to CSL and Momenta [***] that it has no knowledge, at the Execution Date, of any contractual or commercial objection, either of Momenta or of its [***] to [***]."}
-{"idx": 1, "level": 3, "span": "(a) Subject to the terms of this Agreement, each Party and its Affiliates shall use Commercially Reasonable Efforts to undertake the Activities assigned to it under each Product Work Plan and the Research Plan."}
-{"idx": 1, "level": 3, "span": "(b) CSL shall use Commercially Reasonable Efforts to Develop, Manufacture and Commercialize Products in the Territory\nNotwithstanding any other provision of this Section 5.6, CSL shall be deemed to have satisfied this obligation if CSL is [***] to (i) [***] for [***] for human use in [***] and (ii) to Commercialize each Product for human use [***] in which [***] is achieved."}
-{"idx": 1, "level": 3, "span": "(c) The Parties recognize and agree that commercial or scientific circumstances may mean that it [***] to continue Research, Development or Commercialization of a specific Product or [***] Product, and that [***] in such circumstances [***] a [***] to satisfy its [***] hereunder provided that [***] to use Commercially Reasonable Efforts to Research, Develop or Commercialize [***] or [***] for human use or [***] for human use in satisfaction of [***]."}
-{"idx": 1, "level": 3, "span": "(d) CSL shall promptly notify Momenta of [***] of [***] on any Product or Research Product by means of a written report setting out in reasonably informative detail the reasons for [***] to [***], as applicable, Research, Development or Commercialization of such Product or [***] Product."}
-{"idx": 1, "level": 3, "span": "(a) From and after the Effective Date, on a country-by-country basis, [***] for seeking Regulatory Approvals for the Products in each country in the Territory, in accordance with Product Work Plans\nAll Regulatory Submissions will be filed, [***] the [***] of [***] or its nominee, which entity will be the holder of all resulting Regulatory Approvals."}
-{"idx": 1, "level": 3, "span": "(b) CSL will keep the JSC [***] regarding the [***] relating to the [***] or [***] of any Regulatory Approval in the Territory, which include, but are not limited to, [***] and [***] of Regulatory Submissions, [***] and [***] and [***] with Regulatory Authorities."}
-{"idx": 1, "level": 3, "span": "(c) CSL agrees to [***] and to [***] in relation to [***] likely to be relevant to the Development and Commercialization of Products, including but not limited to [***], and further agrees that, [***] the Parties will, through the JSC, [***] and [***] and [***] from time to time."}
-{"idx": 1, "level": 3, "span": "(a) In General\nSubject to [***] CSL hereby grants to Momenta an option, on the terms and subject to the conditions of this Agreement, to participate in the promotion, in the U.S., of those Products which it is Co-Funding."}
-{"idx": 1, "level": 3, "span": "(b) Exercise\nMomenta may exercise its Co-Promotion Option with respect to a Product by written notice to CSL [***] prior to the [***] of the [***] for such Product as determined by reference to the most recent Development Plan for that Product reviewed by the JSC. On Momenta’s request, CSL [***] the [***] be [***] and shall [***] to [***]. Momenta shall exercise its Co-Promotion Option by written notice to CSL, following which the Parties will [***] and [***], by [***] to [***] of the [***] (as determined by reference to the most recent Development Plan for that Product reviewed by the JSC) the Commercialization Activities which Momenta will undertake (determined taking into account [***] and [***] to [***] the [***]) and the terms of a Co-Promotion Agreement to govern such Activities and the parties’ rights and obligations with respect thereto. The terms of such Co-Promotion Agreement shall be [***] and [***]. If the Parties cannot agree, the Parties shall [***] the [***] in [***], and [***] in [***] and [***] in [***] is [***]. If any inconsistency arises between the terms of this Agreement and the terms of the applicable Co-Promotion Agreement, the terms of this Agreement shall prevail. Momenta shall not have the right to promote any Product, unless and until a Co-Promotion Agreement, which permits the promotion by Momenta of such Product in the United States, is entered into by the Parties."}
-{"idx": 1, "level": 3, "span": "(c) Co-Funding not affected by Co-Promotion\nThe Parties shall continue to share Profits and Losses in accordance with Article 4 with respect to each Co-Funded Product, regardless of whether Momenta exercises or does not exercise its Co-Promotion Option with respect to the Products."}
-{"idx": 1, "level": 3, "span": "(d) CSL to book all sales\nCSL will book (directly itself or indirectly through any of its Affiliates and Sublicensees) all sales revenue of the Products in the Territory."}
-{"idx": 1, "level": 3, "span": "(e) Consequences for Co-Promotion of decision by Momenta not to exercise its Co-Funding Option or of Co-Funding Opt-Out\nMomenta’s rights under this Section 5.10 will cease as of:"}
-{"idx": 1, "level": 4, "span": "(i) the deadline for Momenta’s exercise of its 30% Co-Funding Option, if Momenta fails to exercise its Co-Funding Option; or"}
-{"idx": 1, "level": 4, "span": "(ii) the Opt-Out Effective Date for each Product in respect of which Momenta has exercised, or still maintains, a Co-Funding Option and subsequently exercises its right to opt out of such Co-Funding Option,"}
-{"idx": 1, "level": 3, "span": "(a) To perform such [***] as may be required to [***] and [***] a [***] for [***] as a [***] Product under this Agreement as provided in Section 5.1 (Research Collaboration);"}
-{"idx": 1, "level": 3, "span": "(b) To conduct [***] or [***] with respect to an Acquired Product in compliance with Section 2.8; and"}
-{"idx": 1, "level": 3, "span": "(c) As provided in Section 5.12 ([***]) and Section 5.14 ([***] on the [***] in Certain Circumstances)."}
-{"idx": 1, "level": 2, "span": "ARTICLE 6."}
-{"idx": 1, "level": 2, "span": "GOVERNANCE\n6.1 In General. The Parties will establish a JSC. The structure, scope of responsibility and authority of the JSC shall be as set forth in this Article 6 and are subject to the terms of this Agreement.\n6.2 Structure. The JSC shall initially consist of four (4) representatives from each of CSL and Momenta, including each Party’s Alliance Manager. The JSC shall appoint a chairperson from among its members, who shall be a representative from CSL. The chairperson shall be responsible for notifying the Parties’ representatives of JSC meetings and for leading the meetings. The initial JSC representatives for each Party shall be set forth in writing within [***] after the Effective Date. Each Party may replace its representatives by providing written notice to the other Party. Employees and other representatives of each Party who are not members of the JSC may attend meetings of the JSC and any Sub-Committees as requested by that Party’s members of the JSC.\n6.3 Time and Location of Meetings. The JSC (and all Sub-Committees thereof) shall meet at such times and in such manner (either in person or remotely) as the JSC shall determine; provided, however, that the initial meeting of the JSC shall be held no later than [***] after the Effective Date. Thereafter, the JSC shall meet at least once per [***] and in any event within [***] of receiving [***] which requires [***] the [***] and either a [***] the [***] or [***], the timing of which [***] on the JSC meeting. [***] of [***] meetings of the JSC, determined on an annual basis, shall be held in the [***] or [***].\n6.4 Minutes. The JSC and all Sub-Committees thereof shall designate for each meeting one (1) person who shall be responsible for drafting and issuing minutes of the meeting reflecting all material items discussed and any agreements of the JSC, which minutes shall be distributed to all JSC members for review and approval. Such minutes shall provide a description in reasonable detail of the discussions held at the meeting and a list of any actions, or determinations arising out of the meeting. Minutes of each JSC meeting shall be distributed to all JSC members [***] of such meeting and shall be finalized and approved [***] after each such meeting. Approval of minutes may be indicated by email and by signature by one (1) JSC member from each Party; provided that if a Party’s JSC members have not notified the JSC of such members’ disapproval of such minutes prior to [***] after the meeting, such minutes shall be deemed approved by, and binding on, such Party’s JSC members. Final minutes of each meeting shall be distributed to the members of the JSC by the chairperson.\n6.5 Sub-Committees. The JSC may agree upon the formation of certain Sub-Committees to assist it to discharge its functions under this Agreement. Sub-Committees shall not have decision-making authority and may only provide advice, guidance and recommendations to the JSC, or provide oversight of particular activities undertaken by the Parties pursuant to the Agreement and report back to the JSC to enable it to perform its [***] and [***] functions.\n6.6 Scope of Authority; Responsibilities.\n(a) The JSC shall perform the functions and assume the responsibilities and have such authority only as set forth in this Agreement. The JSC shall perform [***] and [***], including reviewing and providing input on the [***] and [***] and [***] the [***] performed under the Product Work Plans and the Research Plan and facilitating the sharing of information and reporting of [***] between the Parties.\n(b) For the avoidance of doubt, the JSC shall have no authority to: (i) amend any of the terms of this Agreement, including by means of JSC minutes, Product Work Plans, Research Plans or otherwise; (ii) waive any rights that either Party may otherwise have pursuant to this Agreement or otherwise; (iii) allocate the ownership of any Patent Rights or rights to any Know-How or the Parties’ rights to apply for Patent(s); or (iv) interpret this Agreement, or determine whether or not a Party has met its diligence or other obligations under the Agreement or whether or not a breach of this Agreement has occurred. Notwithstanding the foregoing, the JSC may make recommendations to the Parties for amendment of this Agreement.\n6.7 Review and approval by JSC; CSL’s Final Decision-Making Authority. If a provision of this Agreement requires the approval of the JSC, such approval must be unanimous, with representatives of CSL having one (1) collective vote and representatives of Momenta having one (1) collective vote; provided that if the JSC fails to reach such approval, the Parties shall refer the dispute to their respective senior management representatives in accordance with Section 13.11(a). If the matter remains unresolved [***] referral to such senior management representatives, the matter may be resolved [***].\n6.8 Concerns regarding costs of Activities in respect of Products which Momenta is Co-Funding. If Momenta is Co-Funding a Product (a “Co-Funded Product”) and the actual Program Expenses of Development and/or Commercialization of such Co-Funded Product exceed the budgeted amounts for such Co-Funded Product by more than [***] over [***] and the [***] for [***] for the [***] also [***] the [***] in the [***] by more than [***], and such [***] does [***] to [***] to [***] in [***] or [***] by [***], in each case in relation to the relevant Co-Funded Product then the following process shall apply:\n(a) At least thirty (30) days prior to the next scheduled meeting of the JSC, Momenta may notify CSL in writing [***] in [***] detail [***] of [***] in [***] to the [***] with [***] to [***]. The matter will then be discussed at the next meeting of the JSC, at which meeting CSL [***] a [***] of [***] in [***] to [***], including any [***] its [***] and [***].\n(b) If Momenta is [***] that CSL’s [***] its [***], Momenta may, [***] the [***] each [***] for resolution under [***].\n(c) If Momenta’s [***] after [***] to [***], Momenta may [***] the [***] for [***] as [***] in [***], and then [***] in [***] for [***] in [***] with [***] to determine whether [***] and, if so, [***] the [***] by [***] in [***] of the [***] a [***] in [***] to [***] the [***]. The [***] shall have at least [***] has [***] the [***] or [***] of a [***] or [***]. In determining whether [***] were [***] of [***], the [***] shall have regard to the Activities set out in the current and previous Product Work Plans for such Co-Funded Product, any changes in the scope of such Activities [***] were [***] or [***] by [***] for the [***] or [***] of the relevant Product, the [***] for such [***], any [***] to the [***] of [***] which [***] the [***] of [***] be [***] to the [***] of [***] that [***] to [***] on [***] the [***]. If, following [***], it is determined that [***] are [***] and the [***] by [***] were [***] of [***] by [***] shall be [***] for [***] by the [***] to be [***] of [***] and [***] to [***] of [***] by [***] after such [***].\n6.9 Costs and Expenses of JSC. Each Party shall be responsible for all travel costs, labor costs and out-of-pocket expenses incurred by its respective representatives in connection with attending the meetings and otherwise being part of the JSC and of any Sub-Committee.\n6.10 Term of the JSC and Sub-Committees. The JSC shall, unless otherwise mutually agreed by the Parties, continue through the Term.\n6.11 Alliance Managers.\n(a) Appointment. Each of the Parties shall appoint an Alliance Manager. Each Party may change its designated Alliance Manager from time to time upon written notice to the other Party.\n(b) Responsibilities. The Alliance Managers shall be appointed members of the JSC and each Sub-Committee and shall attend all JSC and Sub-Committee meetings and support the chairpersons of JSC and Sub-Committees in the discharge of their responsibilities. In addition to the Alliance Managers’ duties as members of the JSC, each Alliance Manager: (i) will be the point of first referral in all matters of conflict resolution; (ii) will identify and bring disputes to the attention of the JSC in a timely manner; and (iii) will take responsibility for ensuring that governance activities, such as the conduct of required JSC and Sub-Committee meetings and production of meeting minutes, occur as set forth in this Agreement, and that relevant action items resulting from such meetings are appropriately carried out or otherwise addressed."}
-{"idx": 1, "level": 3, "span": "(a) The JSC shall perform the functions and assume the responsibilities and have such authority only as set forth in this Agreement\nThe JSC shall perform [***] and [***], including reviewing and providing input on the [***] and [***] and [***] the [***] performed under the Product Work Plans and the Research Plan and facilitating the sharing of information and reporting of [***] between the Parties."}
-{"idx": 1, "level": 3, "span": "(b) For the avoidance of doubt, the JSC shall have no authority to: (i) amend any of the terms of this Agreement, including by means of JSC minutes, Product Work Plans, Research Plans or otherwise; (ii) waive any rights that either Party may otherwise have pursuant to this Agreement or otherwise; (iii) allocate the ownership of any Patent Rights or rights to any Know-How or the Parties’ rights to apply for Patent(s); or (iv) interpret this Agreement, or determine whether or not a Party has met its diligence or other obligations under the Agreement or whether or not a breach of this Agreement has occurred\nNotwithstanding the foregoing, the JSC may make recommendations to the Parties for amendment of this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) At least thirty (30) days prior to the next scheduled meeting of the JSC, Momenta may notify CSL in writing [***] in [***] detail [***] of [***] in [***] to the [***] with [***] to [***]\nThe matter will then be discussed at the next meeting of the JSC, at which meeting CSL [***] a [***] of [***] in [***] to [***], including any [***] its [***] and [***]."}
-{"idx": 1, "level": 3, "span": "(b) If Momenta is [***] that CSL’s [***] its [***], Momenta may, [***] the [***] each [***] for resolution under [***]."}
-{"idx": 1, "level": 3, "span": "(c) If Momenta’s [***] after [***] to [***], Momenta may [***] the [***] for [***] as [***] in [***], and then [***] in [***] for [***] in [***] with [***] to determine whether [***] and, if so, [***] the [***] by [***] in [***] of the [***] a [***] in [***] to [***] the [***]\nThe [***] shall have at least [***] has [***] the [***] or [***] of a [***] or [***]. In determining whether [***] were [***] of [***], the [***] shall have regard to the Activities set out in the current and previous Product Work Plans for such Co-Funded Product, any changes in the scope of such Activities [***] were [***] or [***] by [***] for the [***] or [***] of the relevant Product, the [***] for such [***], any [***] to the [***] of [***] which [***] the [***] of [***] be [***] to the [***] of [***] that [***] to [***] on [***] the [***]. If, following [***], it is determined that [***] are [***] and the [***] by [***] were [***] of [***] by [***] shall be [***] for [***] by the [***] to be [***] of [***] and [***] to [***] of [***] by [***] after such [***]."}
-{"idx": 1, "level": 3, "span": "(a) Appointment\nEach of the Parties shall appoint an Alliance Manager. Each Party may change its designated Alliance Manager from time to time upon written notice to the other Party."}
-{"idx": 1, "level": 3, "span": "(b) Responsibilities\nThe Alliance Managers shall be appointed members of the JSC and each Sub-Committee and shall attend all JSC and Sub-Committee meetings and support the chairpersons of JSC and Sub-Committees in the discharge of their responsibilities. In addition to the Alliance Managers’ duties as members of the JSC, each Alliance Manager: (i) will be the point of first referral in all matters of conflict resolution; (ii) will identify and bring disputes to the attention of the JSC in a timely manner; and (iii) will take responsibility for ensuring that governance activities, such as the conduct of required JSC and Sub-Committee meetings and production of meeting minutes, occur as set forth in this Agreement, and that relevant action items resulting from such meetings are appropriately carried out or otherwise addressed."}
-{"idx": 1, "level": 2, "span": "ARTICLE 7."}
-{"idx": 1, "level": 2, "span": "INTELLECTUAL PROPERTY\n7.1 Ownership. The following ownership arrangements will apply unless the Parties [***] in and agree to varying them in respect of any particular Intellectual Property.\n(a) Ownership of Intellectual Property. Determinations as to which Party owns any Patent Right or Know-How developed pursuant to this Agreement will be made in accordance with the standards of inventorship under [***]. Subject to the license grants under Article 2, as between the Parties (i) CSL or its Affiliates will own all Intellectual Property invented solely by or on behalf of CSL, and (ii) Momenta will own all Intellectual Property invented solely by or on behalf of Momenta. Each Party or its designated Affiliate, will own an undivided one-half interest in and to the Joint Intellectual Property. In the event inventorship and ownership of any Intellectual Property cannot be resolved by the Parties with advice of their respective intellectual property counsel, such dispute will be resolved through [***] to [***] at [***] in [***] and [***] and [***] and [***] or [***]. Each Party shall make such assignments as are required to effect the ownership allocations set forth in this Section 7.1(a). Subject to the licenses granted to the other Party under this Agreement and the other terms of this Agreement, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; provided that, neither Party may assign its right, title, or interest in the Joint Intellectual Property to any Person, except (a) in connection with a permitted transaction under Section 13.3, or (b) to an Affiliate; and further provided that, neither Party may [***] or [***] in [***] that [***] and [***] to a [***] or [***] in [***] with [***]. For avoidance of doubt, assertion of Momenta Patent Rights that are infringed by a third party with respect to a product that is not a [***] Product or a Product [***] is outside the scope of this Agreement.\n(b) Employee Assignment. Each Party shall procure from each of its employees and permitted assignees and subcontractors who are conducting work under this Agreement, rights to any and all Intellectual Property such that it is properly secured as CSL Intellectual Property, Momenta Intellectual Property, and Joint Intellectual Property, as applicable, such that each Party shall receive from the other Party, without payments beyond those contemplated by this Agreement, the rights granted to such Party to use such CSL Intellectual Property (in the case of CSL), Momenta Intellectual Property (in the case of Momenta), Joint Intellectual Property, as applicable, pursuant to this Agreement. In the event such rights have not been secured or any original holder challenges such procurement, the Party responsible for procuring such rights shall bear the entire costs or damages arising from the failure of or challenge to such procurement.\n7.2 Prosecution and Maintenance of Patent Rights.\n(a) Patent Prosecution and Maintenance.\n(i) Momenta will have the first right, but not the obligation, to prepare, file, prosecute and maintain the Momenta Patent Rights at Momenta’s cost. Where Momenta Patent Rights Cover or, if issued would Cover, a Product or a [***] Product, Momenta will provide CSL with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***] and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Momenta Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***].\n(ii) CSL will have the first right, but not the obligation, to prepare, file, prosecute and maintain the CSL Patent Rights in the Territory at CSL’s cost. In respect of CSL Patents which arise out of the Research Plan or Product Work Plan, and only during the period in which Momenta retains a Co-Funding Option or is Co-Funding, CSL will provide Momenta with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the CSL Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action\nbefore a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***].\n(iii) On a case by case basis, the Parties will discuss, for a period not to [***], and agree which of them is best placed to prepare, file, prosecute and maintain the Joint Patent Rights in the Territory. Absent agreement, the Party which contributed the Product or [***] Product in the context of which the invention claimed in the Joint Patent Rights was invented or, if that [***] the [***] which [***] the [***] or [***] the [***] will [***] the [***] the [***] to manage such Patent Rights. The Party responsible for the prosecution of Joint Patent Rights shall bear the external costs of such Joint Patent Rights, and each Party shall be responsible for its own internal costs. The responsible Party shall provide the other Party with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***], and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Joint Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***].\n(iv) A Party providing comments in accordance with this Section 7.2(a) will provide such comments, if any, expeditiously and in any event in reasonably sufficient time to meet any filing deadline communicated to it by the other Party. The Party receiving any such patent application and correspondence will maintain such information in confidence, except for patent applications that have been published and official correspondence that is publicly available.\n(b) Second Rights. If a Party decides not to file, prosecute or maintain a Patent Right pursuant to this Section 7.2(a), to the extent such Patent Right Covers the Development, Manufacture or Commercialization of a Product or a [***] Product, such Party will give the other Party reasonable notice to that effect sufficiently in advance of any deadline for any filing with respect to such Patent Right to permit the other Party to carry out such activity. After such notice, such other Party may, subject to the terms of any applicable license, file, prosecute and maintain the Patent Right, and perform such acts as may be reasonably necessary for such other Party to file, prosecute or maintain such Patent Right at its own cost. If a Party does elect to file, prosecute and maintain a Patent Right pursuant to this Section 7.2(b), then the non-electing Party shall provide such cooperation to the electing Party, including the execution and filing of appropriate instruments, as may reasonably be requested to facilitate the transition of such patent activities.\n(c) Patent Term Extensions.\n(i) Regardless of which Party is filing, prosecuting and maintaining any Patent Right pursuant to this Article 7, the Parties shall discuss all opportunities for patent term extensions with respect to the Momenta Patent Rights, the CSL Patent Rights and the Joint Patent Rights in the Territory, and seek to reach agreement on which Patent Rights to seek to extend.\n(ii) Unless otherwise agreed under clause (i) above, in any country where only a single patent can be extended for a given Product, [***] the [***] to [***] to [***] that [***] for [***] in [***] or [***] that [***] for [***] in [***] for [***] for [***] and shall cooperate with [***] to allow [***] to [***] for [***] at [***].\n(iii) The Parties will cooperate with each other including without limitation to provide necessary information and assistance as the other Party may reasonably request in obtaining patent term extension (including any supplemental protection certificates or the like) or any similar rights in any country in the Territory.\n(iv) Except as provided in Section 7.2(c)(ii) above, CSL shall be responsible for the cost of seeking any extensions.\n(d) CREATE Act. Notwithstanding anything to the contrary in this Article 7, the Parties have agreed to elect under the Cooperative Research and Technology Enhancement Act of 2004, (Public Law 108-453, 118 Stat. 3596 (2004)), as codified in 35 U.S.C. § 103(c)(2)-(c)(3) or 35 U.S.C. § 102(c), as applicable,\nwith respect to their rights under this Article 7. The Parties acknowledge and agree that this Agreement is a “joint research agreement” as defined in 35 U.S.C. § 100(h).\n7.3 Trademarks and Domain Names.\n(a) Each Party and its Affiliates shall retain all right, title and interest in and to its and their respective corporate names and logos.\n(b) All Products are to be Commercialized in the Territory under the Product Trademark and the Product Domain Names. CSL will own all Product Trademarks and Product Domain Names, and is responsible for the filing, prosecution, registration and maintenance of such Product Trademarks and the registration and maintenance of such Product Domain Names. The expenses of the selection, filing, prosecution and maintenance of the Product Trademarks and obtaining and maintaining the Product Domain Name shall be borne by CSL.\n(c) In the event either Party becomes aware of any actual or threatened infringement of any Product Trademark or Product Domain Name by a Third Party, such Party shall promptly notify the other Party and the Parties shall consult with each other and jointly determine the best way to prevent such infringement, including, without limitation, by the institution of legal proceedings against such Third Party. CSL shall have the first right to initiate, to control and to resolve (including by way of settlement) any such legal proceedings.\n7.4 Enforcement and Defense of Enforcement Intellectual Property.\n(a) Notice of Infringement by a Third Party. Each Party shall provide to the other Party prompt written notice of any Infringement of the subset of Patent Rights and Know-How Controlled by a Party (x) to the extent such Patent Rights or Know How are exclusively owned by, are Joint Intellectual Property or exclusive license rights are held by, a Party or the Parties with respect to the relevant Product or for the class of [***], other than under a license under this Agreement; and (y) to the extent such claims are directed to inventions Covering the manufacture, sale, import or use of a Product or a [***] Product (the “Enforcement Intellectual Property Rights”), in all cases prior to initiating any legal proceedings with respect to such Infringement.\n(b) Initial Right to Enforce. Subject to Section 7.4(d) and the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, (i) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce (x) CSL Intellectual Property and Joint Intellectual Property in the Territory and (y) any [***] to [***] where the alleged Infringement involves manufacture or sale, or threatened manufacture or sale, of a product that is, or will, compete with a Product under this Agreement and (ii) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce [***] in the Territory except as set out in (i). The other Party shall have the right to participate in such suit or action as provided for in Section 7.4(d).\n(c) Step-In Right. Subject to the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, if the Party with the first right to enforce (the “Initial Enforcement Rights Party”) Momenta Intellectual Property, CSL Intellectual Property or Joint Intellectual Property fails to initiate a suit or take other appropriate action that it has the initial right to initiate or take pursuant to Section 7.4(b) with respect to an Infringement within ninety (90) days after becoming aware of the basis for such suit or action, then the other Party (the “Secondary Enforcement Rights Party”) may, in its discretion, provide the Initial Enforcement Rights Party with written notice of such Secondary Enforcement Rights Party’s intent to initiate a suit and control or take other appropriate action with respect to such Infringement in the Territory. If the Secondary Enforcement Rights Party provides such notice and the Initial Enforcement Rights Party fails to initiate a suit or take such other\nappropriate action within thirty (30) days after receipt of such notice from the Secondary Enforcement Rights Party, then the Secondary Enforcement Rights Party shall have the right to initiate a suit and to control or take other appropriate action that it believes is reasonably required to protect Momenta Intellectual Property, CSL Intellectual Property or Joint Intellectual Property, as applicable, from such Infringement in the Territory.\n(d) Participation; Conduct of Certain Actions; Costs. The Party initiating suit shall have the sole and exclusive right to select counsel for any suit initiated by it pursuant to Section 7.4(b) or Section 7.4(c) and to control such suit or other action; provided that:\n(i) The other Party shall have the right to participate, and upon request, review pleadings and discuss strategy with the Party initiating suit, including discussions with [***] counsel. The other Party shall have the right to be represented in any such suit that is based on an Infringement by its own counsel at its own expense;\n(ii) The initiating Party shall be solely responsible for the costs associated with the posting of security for any injunctions, without the prior written consent of the other Party, which absent such consent shall not constitute Commercial Expenses under this Agreement and shall be reimbursed from any recoveries under Section 7.4(e); and\n(iii) The initiating Party shall not resolve or settle any action taken pursuant to this Section 7.4 where such settlement would affect the other Party’s entitlement to receive payments under this Agreement or the validity of the other Party’s Intellectual Property Rights without the prior written consent of the other Party which shall not be unreasonably withheld or delayed.\n(iv) If required under applicable law in order for the initiating Party to initiate and/or maintain such suit, the other Party shall join as a party to the suit. Such other Party shall offer reasonable assistance to the initiating Party in connection therewith at no charge to the initiating Party except for reimbursement of reasonable out-of-pocket expenses incurred in rendering such assistance. The initiating Party shall assume and pay all of its own out-of-pocket costs incurred in connection with any litigation or proceedings initiated by it pursuant to Section 7.4(b) or Section 7.4(c), including without limitation the fees and expenses of the counsel selected by it.\n(e) Costs Reimbursement and Recoveries. The out-of-pocket costs paid by a Party in connection any litigation or proceedings initiated under this Section 7.4 shall be reimbursed to such Party by the proceeds of any awards, judgments or settlements obtained in connection with an Infringement in the Territory, and the remainder of such proceeds shall be treated as Net Sales for the purpose of determining royalties or Profit share under this Agreement.\n7.5 Third Party Claims and Suits.\nIn the event that a Party becomes aware of any claim that the research of any [***] Product or the Development, Manufacture or Commercialization of any Product infringes or misappropriates the Intellectual Property rights of any Third Party, such Party shall promptly notify the other Party. In any such instance the [***] of [***] or [***] the [***] the [***] the [***] to [***] and to [***] of [***]. Expenses of such litigation shall be deemed to be [***] the [***] and [***] the [***]. If the [***] of [***], the [***] shall have the right to [***], to be [***] by its [***], at its [***], or where feasible [***] with the [***]. Each Party shall provide to the other Party copies of any notices it receives from Third Parties regarding any such alleged infringement or misappropriation or the agreed upon course of action. Such notices shall be provided promptly, but in no event after more than [***] following receipt thereof.\n7.6 Third Party Licenses.\n(a) Where a Party, its Affiliates or its Sublicensees identifies the need or is otherwise offered a license, covenant not to sue or similar rights to Third Party Intellectual Property that are (i) [***] to\n[***] or [***] of such Third Party Intellectual Property based on the Research of a Research Product or the Development, Manufacture or Commercialization of a Product or (ii) [***] the Research of a [***] Product or the Development, Manufacture or Commercialization of a Product, [***] to [***] or [***] with [***] to [***] or [***], such Party shall promptly notify the other Party. The Parties shall thereafter [***], regarding whether such Third Party Intellectual Property is [***] the Research of a [***] Product or the Development, Manufacturing and Commercialization of a Product. Subject to the provisions in this Section 7.6, CSL [***] to [***] in [***] of such Third Party Intellectual Property or any other Third Party Intellectual Property which it [***] to [***] the Development and/or Commercialization of Products. The Parties agree to allocate the risk and opportunity associated with such future licenses entered into with Third Parties (“Third Party Licenses”) as provided for herein.\n(b) [***]: In the event such Third Party License is [***] (but not [***] or [***]) any Intellectual Property [***] Momenta to CSL under this Agreement (a “[***]”), CSL, its Affiliates or Sublicensees [***] the [***] to [***] the [***] of [***]. In such event, then:\n(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] and [***] to the [***] in the calculation of Research Expenses, Costs of Goods Sold and/or Manufacturing Expenses, as provided for in the definition of such expenses;\n(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments solely attributable to or [***] to [***], and [***] to the [***] to [***] to the [***] to [***] up to [***] of the amount of such license fees, milestones or royalties paid to such Third Party under any such [***] License; provided that such reduction [***] in any given [***] in the Royalty Term;\n(c) [***]: In the event CSL, any of its Affiliates or Sublicensees enters into a [***] that CSL determines is [***] for the Development and Commercialization of a Product (“[***]”), then the Parties agree that the following provisions will apply unless the Parties specifically agree, in writing, to the contrary:\n(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] to [***], and [***] to the [***] shall be included in the calculation of [***], as provided for in the [***] of [***];\n(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product under such Approved Third Party License and (2) any licensee fees and milestone payments [***] to or [***] to [***] and [***] to the [***] shall be [***] to Momenta for such Product under Section 3.1(e) [***] to the [***] to [***] to the [***] the [***] or [***] to such Third Party under any such [***]; provided that [***] shall [***] the [***] in any Calendar Quarter by more than [***] (e.g., no more than a reduction from [***] of the then-applicable royalty rate.\nFor this purpose of this Section, “[***]” shall mean the percentage calculated by dividing (X) the [***] in a Calendar Quarter before any deduction in respect of such Approved Third Party License by (Y) which shall be calculated by [***] (1) [***] to [***] in a Calendar Quarter before any [***] in [***] of [***] (2) [***] in [***] of [***].\n(d) Other Third Party Licenses: Subject always to the obligations of Section 7.6(a), each Party is free to enter into any Third Party Licenses that do not impose obligations on the other Party, and the Parties may elect to discuss and seek to agree to alternative allocation of Third Party License arrangements in lieu of the provisions provided for in subsections (b) and (c) of this Section 7.6.\n7.7 Patent Marking. Each Party agrees to mark or virtually mark and have its Affiliates and all Sublicensees mark or virtually mark all Products (or their containers or labels) sold pursuant to this Agreement in accordance with the applicable statutes or regulations in the country or countries of manufacture and sale thereof.\n7.8 Biosimilar or Interchangeable Biological Product Patent Exchange. If the Party that is the reference product sponsor of a Product within the meaning of § 351(l)(1)(A) of the PHS Act receives notice of a Biosimilar Application filed by a § 351(k) applicant that references such Product and related manufacturing information in accordance with § 351(l)(2)(A) of the PHS Act or receives a notice of commercial marketing in accordance with § 351(l)(8)(A) of the PHS Act, then such Party will provide notice to the other Party, and the Parties will discuss and cooperate with each other in determining such Party’s course of action with regard to (a) engaging in the information exchange provisions of the BPCIA, including providing a list of patents that relate to the relevant Product, (b) engaging in the patent resolution provisions of the BPCIA, and (c) determining which patents will be the subject of immediate patent infringement action under § 351(l)(6) of the BPCIA. In the event that the Parties do not agree with respect to the exercise of any such rights, [***] with [***] the [***] with [***] with [***] and [***]. If any patent litigation commences with respect to a Biosimilar Application filed by a § 351(k) applicant that references such Product, then the provisions of Section 7.4 will thereafter apply as if such § 351(k) applicant were an infringer or suspected infringer.\n7.9 Privileged Communications. In furtherance of this Agreement, it is expected that Momenta and CSL will, from time to time, disclose to one another privileged communications with counsel, including opinions, memoranda, letters and other written, electronic and verbal communications. Such disclosures are made with the understanding that they will remain confidential, they will not be deemed to waive any applicable attorney-client privilege and that they are made in connection with the shared community of legal interests existing between CSL and Momenta, including the community of legal interests in avoiding infringement of any valid, enforceable patents of Third Parties and maintaining the validity of CSL Patent Rights, Momenta Patent Rights and Joint Patent Rights."}
-{"idx": 1, "level": 3, "span": "(a) Ownership of Intellectual Property\nDeterminations as to which Party owns any Patent Right or Know-How developed pursuant to this Agreement will be made in accordance with the standards of inventorship under [***]. Subject to the license grants under Article 2, as between the Parties (i) CSL or its Affiliates will own all Intellectual Property invented solely by or on behalf of CSL, and (ii) Momenta will own all Intellectual Property invented solely by or on behalf of Momenta. Each Party or its designated Affiliate, will own an undivided one-half interest in and to the Joint Intellectual Property. In the event inventorship and ownership of any Intellectual Property cannot be resolved by the Parties with advice of their respective intellectual property counsel, such dispute will be resolved through [***] to [***] at [***] in [***] and [***] and [***] and [***] or [***]. Each Party shall make such assignments as are required to effect the ownership allocations set forth in this Section 7.1(a). Subject to the licenses granted to the other Party under this Agreement and the other terms of this Agreement, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; provided that, neither Party may assign its right, title, or interest in the Joint Intellectual Property to any Person, except (a) in connection with a permitted transaction under Section 13.3, or (b) to an Affiliate; and further provided that, neither Party may [***] or [***] in [***] that [***] and [***] to a [***] or [***] in [***] with [***]. For avoidance of doubt, assertion of Momenta Patent Rights that are infringed by a third party with respect to a product that is not a [***] Product or a Product [***] is outside the scope of this Agreement."}
-{"idx": 1, "level": 3, "span": "(b) Employee Assignment\nEach Party shall procure from each of its employees and permitted assignees and subcontractors who are conducting work under this Agreement, rights to any and all Intellectual Property such that it is properly secured as CSL Intellectual Property, Momenta Intellectual Property, and Joint Intellectual Property, as applicable, such that each Party shall receive from the other Party, without payments beyond those contemplated by this Agreement, the rights granted to such Party to use such CSL Intellectual Property (in the case of CSL), Momenta Intellectual Property (in the case of Momenta), Joint Intellectual Property, as applicable, pursuant to this Agreement. In the event such rights have not been secured or any original holder challenges such procurement, the Party responsible for procuring such rights shall bear the entire costs or damages arising from the failure of or challenge to such procurement."}
-{"idx": 1, "level": 3, "span": "(a) Patent Prosecution and Maintenance."}
-{"idx": 1, "level": 4, "span": "(i) Momenta will have the first right, but not the obligation, to prepare, file, prosecute and maintain the Momenta Patent Rights at Momenta’s cost\nWhere Momenta Patent Rights Cover or, if issued would Cover, a Product or a [***] Product, Momenta will provide CSL with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***] and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Momenta Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***]."}
-{"idx": 1, "level": 4, "span": "(ii) CSL will have the first right, but not the obligation, to prepare, file, prosecute and maintain the CSL Patent Rights in the Territory at CSL’s cost\nIn respect of CSL Patents which arise out of the Research Plan or Product Work Plan, and only during the period in which Momenta retains a Co-Funding Option or is Co-Funding, CSL will provide Momenta with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***] and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the CSL Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action"}
-{"idx": 1, "level": 4, "span": "(iii) On a case by case basis, the Parties will discuss, for a period not to [***], and agree which of them is best placed to prepare, file, prosecute and maintain the Joint Patent Rights in the Territory\nAbsent agreement, the Party which contributed the Product or [***] Product in the context of which the invention claimed in the Joint Patent Rights was invented or, if that [***] the [***] which [***] the [***] or [***] the [***] will [***] the [***] the [***] to manage such Patent Rights. The Party responsible for the prosecution of Joint Patent Rights shall bear the external costs of such Joint Patent Rights, and each Party shall be responsible for its own internal costs. The responsible Party shall provide the other Party with (i) [***] of, and a [***] to [***] the [***] any [***] or other [***] from which [***] the [***] can [***] and [***] and [***] with [***] the [***] to any [***], and will [***] in [***] and [***] such [***]; and (ii) subject to Section 7.9, [***] or [***] or [***] which [***] to the [***] and [***] the Joint Patent Rights, which correspondence or other communications or actions that are to be made during the course of an action before a national patent office in the Territory (i.e., the United States Patent & Trademark Office) or national court in the Territory [***] the [***] of [***]."}
-{"idx": 1, "level": 4, "span": "(iv) A Party providing comments in accordance with this Section 7.2(a) will provide such comments, if any, expeditiously and in any event in reasonably sufficient time to meet any filing deadline communicated to it by the other Party\nThe Party receiving any such patent application and correspondence will maintain such information in confidence, except for patent applications that have been published and official correspondence that is publicly available."}
-{"idx": 1, "level": 3, "span": "(b) Second Rights\nIf a Party decides not to file, prosecute or maintain a Patent Right pursuant to this Section 7.2(a), to the extent such Patent Right Covers the Development, Manufacture or Commercialization of a Product or a [***] Product, such Party will give the other Party reasonable notice to that effect sufficiently in advance of any deadline for any filing with respect to such Patent Right to permit the other Party to carry out such activity. After such notice, such other Party may, subject to the terms of any applicable license, file, prosecute and maintain the Patent Right, and perform such acts as may be reasonably necessary for such other Party to file, prosecute or maintain such Patent Right at its own cost. If a Party does elect to file, prosecute and maintain a Patent Right pursuant to this Section 7.2(b), then the non-electing Party shall provide such cooperation to the electing Party, including the execution and filing of appropriate instruments, as may reasonably be requested to facilitate the transition of such patent activities."}
-{"idx": 1, "level": 3, "span": "(c) Patent Term Extensions."}
-{"idx": 1, "level": 4, "span": "(i) Regardless of which Party is filing, prosecuting and maintaining any Patent Right pursuant to this Article 7, the Parties shall discuss all opportunities for patent term extensions with respect to the Momenta Patent Rights, the CSL Patent Rights and the Joint Patent Rights in the Territory, and seek to reach agreement on which Patent Rights to seek to extend."}
-{"idx": 1, "level": 4, "span": "(ii) Unless otherwise agreed under clause (i) above, in any country where only a single patent can be extended for a given Product, [***] the [***] to [***] to [***] that [***] for [***] in [***] or [***] that [***] for [***] in [***] for [***] for [***] and shall cooperate with [***] to allow [***] to [***] for [***] at [***]."}
-{"idx": 1, "level": 4, "span": "(iii) The Parties will cooperate with each other including without limitation to provide necessary information and assistance as the other Party may reasonably request in obtaining patent term extension (including any supplemental protection certificates or the like) or any similar rights in any country in the Territory."}
-{"idx": 1, "level": 4, "span": "(iv) Except as provided in Section 7.2(c)(ii) above, CSL shall be responsible for the cost of seeking any extensions."}
-{"idx": 1, "level": 3, "span": "(d) CREATE Act\nNotwithstanding anything to the contrary in this Article 7, the Parties have agreed to elect under the Cooperative Research and Technology Enhancement Act of 2004, (Public Law 108-453, 118 Stat. 3596 (2004)), as codified in 35 U.S.C. § 103(c)(2)-(c)(3) or 35 U.S.C. § 102(c), as applicable,"}
-{"idx": 1, "level": 3, "span": "(a) Each Party and its Affiliates shall retain all right, title and interest in and to its and their respective corporate names and logos."}
-{"idx": 1, "level": 3, "span": "(b) All Products are to be Commercialized in the Territory under the Product Trademark and the Product Domain Names\nCSL will own all Product Trademarks and Product Domain Names, and is responsible for the filing, prosecution, registration and maintenance of such Product Trademarks and the registration and maintenance of such Product Domain Names. The expenses of the selection, filing, prosecution and maintenance of the Product Trademarks and obtaining and maintaining the Product Domain Name shall be borne by CSL."}
-{"idx": 1, "level": 3, "span": "(c) In the event either Party becomes aware of any actual or threatened infringement of any Product Trademark or Product Domain Name by a Third Party, such Party shall promptly notify the other Party and the Parties shall consult with each other and jointly determine the best way to prevent such infringement, including, without limitation, by the institution of legal proceedings against such Third Party\nCSL shall have the first right to initiate, to control and to resolve (including by way of settlement) any such legal proceedings."}
-{"idx": 1, "level": 3, "span": "(a) Notice of Infringement by a Third Party\nEach Party shall provide to the other Party prompt written notice of any Infringement of the subset of Patent Rights and Know-How Controlled by a Party (x) to the extent such Patent Rights or Know How are exclusively owned by, are Joint Intellectual Property or exclusive license rights are held by, a Party or the Parties with respect to the relevant Product or for the class of [***], other than under a license under this Agreement; and (y) to the extent such claims are directed to inventions Covering the manufacture, sale, import or use of a Product or a [***] Product (the “Enforcement Intellectual Property Rights”), in all cases prior to initiating any legal proceedings with respect to such Infringement."}
-{"idx": 1, "level": 3, "span": "(b) Initial Right to Enforce\nSubject to Section 7.4(d) and the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, (i) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce (x) CSL Intellectual Property and Joint Intellectual Property in the Territory and (y) any [***] to [***] where the alleged Infringement involves manufacture or sale, or threatened manufacture or sale, of a product that is, or will, compete with a Product under this Agreement and (ii) [***] the [***] to [***] a [***] or take other appropriate action that it believes is reasonably required to protect (i.e., prevent or abate actual or threatened infringement or misappropriation of) or otherwise enforce [***] in the Territory except as set out in (i). The other Party shall have the right to participate in such suit or action as provided for in Section 7.4(d)."}
-{"idx": 1, "level": 3, "span": "(c) Step-In Right\nSubject to the provisions of any Third Party License, and solely with respect to the Enforcement Intellectual Property Rights, if the Party with the first right to enforce (the “Initial Enforcement Rights Party”) Momenta Intellectual Property, CSL Intellectual Property or Joint Intellectual Property fails to initiate a suit or take other appropriate action that it has the initial right to initiate or take pursuant to Section 7.4(b) with respect to an Infringement within ninety (90) days after becoming aware of the basis for such suit or action, then the other Party (the “Secondary Enforcement Rights Party”) may, in its discretion, provide the Initial Enforcement Rights Party with written notice of such Secondary Enforcement Rights Party’s intent to initiate a suit and control or take other appropriate action with respect to such Infringement in the Territory. If the Secondary Enforcement Rights Party provides such notice and the Initial Enforcement Rights Party fails to initiate a suit or take such other"}
-{"idx": 1, "level": 3, "span": "(d) Participation; Conduct of Certain Actions; Costs\nThe Party initiating suit shall have the sole and exclusive right to select counsel for any suit initiated by it pursuant to Section 7.4(b) or Section 7.4(c) and to control such suit or other action; provided that:"}
-{"idx": 1, "level": 4, "span": "(i) The other Party shall have the right to participate, and upon request, review pleadings and discuss strategy with the Party initiating suit, including discussions with [***] counsel\nThe other Party shall have the right to be represented in any such suit that is based on an Infringement by its own counsel at its own expense;"}
-{"idx": 1, "level": 4, "span": "(ii) The initiating Party shall be solely responsible for the costs associated with the posting of security for any injunctions, without the prior written consent of the other Party, which absent such consent shall not constitute Commercial Expenses under this Agreement and shall be reimbursed from any recoveries under Section 7.4(e); and"}
-{"idx": 1, "level": 4, "span": "(iii) The initiating Party shall not resolve or settle any action taken pursuant to this Section 7.4 where such settlement would affect the other Party’s entitlement to receive payments under this Agreement or the validity of the other Party’s Intellectual Property Rights without the prior written consent of the other Party which shall not be unreasonably withheld or delayed."}
-{"idx": 1, "level": 4, "span": "(iv) If required under applicable law in order for the initiating Party to initiate and/or maintain such suit, the other Party shall join as a party to the suit\nSuch other Party shall offer reasonable assistance to the initiating Party in connection therewith at no charge to the initiating Party except for reimbursement of reasonable out-of-pocket expenses incurred in rendering such assistance. The initiating Party shall assume and pay all of its own out-of-pocket costs incurred in connection with any litigation or proceedings initiated by it pursuant to Section 7.4(b) or Section 7.4(c), including without limitation the fees and expenses of the counsel selected by it."}
-{"idx": 1, "level": 3, "span": "(e) Costs Reimbursement and Recoveries\nThe out-of-pocket costs paid by a Party in connection any litigation or proceedings initiated under this Section 7.4 shall be reimbursed to such Party by the proceeds of any awards, judgments or settlements obtained in connection with an Infringement in the Territory, and the remainder of such proceeds shall be treated as Net Sales for the purpose of determining royalties or Profit share under this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) Where a Party, its Affiliates or its Sublicensees identifies the need or is otherwise offered a license, covenant not to sue or similar rights to Third Party Intellectual Property that are (i) [***] to"}
-{"idx": 1, "level": 3, "span": "(b) [***]: In the event such Third Party License is [***] (but not [***] or [***]) any Intellectual Property [***] Momenta to CSL under this Agreement (a “[***]”), CSL, its Affiliates or Sublicensees [***] the [***] to [***] the [***] of [***]\nIn such event, then:"}
-{"idx": 1, "level": 4, "span": "(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] and [***] to the [***] in the calculation of Research Expenses, Costs of Goods Sold and/or Manufacturing Expenses, as provided for in the definition of such expenses;"}
-{"idx": 1, "level": 4, "span": "(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments solely attributable to or [***] to [***], and [***] to the [***] to [***] to the [***] to [***] up to [***] of the amount of such license fees, milestones or royalties paid to such Third Party under any such [***] License; provided that such reduction [***] in any given [***] in the Royalty Term;"}
-{"idx": 1, "level": 3, "span": "(c) [***]: In the event CSL, any of its Affiliates or Sublicensees enters into a [***] that CSL determines is [***] for the Development and Commercialization of a Product (“[***]”), then the Parties agree that the following provisions will apply unless the Parties specifically agree, in writing, to the contrary:"}
-{"idx": 1, "level": 4, "span": "(i) When Momenta is Co-Funding the Product, (1) the royalties payable on sales of such Product in any country under such [***] and (2) any licensee fees and milestone payments [***] to or [***] to [***], and [***] to the [***] shall be included in the calculation of [***], as provided for in the [***] of [***];"}
-{"idx": 1, "level": 4, "span": "(ii) When Momenta is not Co-Funding the Product (1) the royalties payable on sales of such Product under such Approved Third Party License and (2) any licensee fees and milestone payments [***] to or [***] to [***] and [***] to the [***] shall be [***] to Momenta for such Product under Section 3.1(e) [***] to the [***] to [***] to the [***] the [***] or [***] to such Third Party under any such [***]; provided that [***] shall [***] the [***] in any Calendar Quarter by more than [***] (e.g., no more than a reduction from [***] of the then-applicable royalty rate."}
-{"idx": 1, "level": 3, "span": "(d) Other Third Party Licenses: Subject always to the obligations of Section 7.6(a), each Party is free to enter into any Third Party Licenses that do not impose obligations on the other Party, and the Parties may elect to discuss and seek to agree to alternative allocation of Third Party License arrangements in lieu of the provisions provided for in subsections (b) and (c) of this Section 7.6."}
-{"idx": 1, "level": 2, "span": "ARTICLE 8."}
-{"idx": 1, "level": 2, "span": "CONFIDENTIAL INFORMATION\n8.1 Confidentiality. Except as contemplated by this Agreement, each Party shall hold in confidence and shall not publish or otherwise disclose and shall not use for any purpose (except for the purposes of carrying out its obligations or exercising its rights under this Agreement): (a) any Confidential Information of the other Party disclosed to it pursuant to the terms of this Agreement, (b) the terms of this Agreement (subject to Section 8.4) until [***] after the expiration or termination of this Agreement. The members of the JSC and any Sub-Committees shall use pricing and other competitive commercial information provided by the other Party solely for purposes contemplated by this Agreement and shall not share such information more broadly within their organizations. All Confidential Information of a Party, including all copies and derivations thereof, is and shall remain the sole and exclusive property of the disclosing Party and subject to the restrictions provided for herein. Subject to Sections 8.2, 8.3, 8.4 and 8.5, neither Party shall disclose any Confidential Information of the other Party other than to those of its directors, officers, Affiliates, employees, actual or potential licensors, independent contractors, actual or potential licensees or Sublicensees (if permitted), actual or potential investors, lenders, assignees, agents, and external advisors directly involved in or concerned with the carrying out of this Agreement, on a strictly applied “need to know” basis; provided, however, that such persons and entities are subject to confidentiality and non-use obligations at least as stringent as the confidentiality and non-use obligations provided for in this Article 8.\n8.2 Public Disclosure. The Parties have attached hereto as Exhibit 8.2, a mutually acceptable press release announcing this Agreement (the “Initial Press Release”). The JSC shall review, from time to time, proposed disclosures of the Parties relating specifically to this Agreement (or related activities, results or events) and consent for such disclosures shall not be unreasonably withheld, delayed or conditioned. Except: (a) as determined by a Party to be reasonably necessary to comply with Applicable Law (including applicable securities laws and the rules and regulations of exchanges upon which a Party’s securities are traded); (b) with respect to JSC approved disclosures; and (c) with respect to the Initial Press Release as agreed upon between the Parties, neither Party shall issue a press release or make any other public disclosure of the terms of this Agreement or the progress of Research, Development or Commercialization of any Product, [***] Product or [***] without the prior approval of such press release or\npublic disclosure by the other Party. Each Party shall submit any such press release or public disclosure to the other Party, and the receiving Party shall have [***] from receipt to review and approve any such press release or public disclosure, which approval shall not be unreasonably withheld, delayed or conditioned, and provided that should the requesting Party request earlier review, the receiving Party shall use reasonable efforts to respond within a shorter timeframe. If the receiving Party does not respond to the other Party within such [***] period, the press release or public disclosure shall be deemed approved. Notwithstanding the preceding requirements related to a press release or other public disclosure, if a public disclosure is required by Applicable Law, including without limitation in a filing with the Securities and Exchange Commission or any securities exchange on which such Party’s securities are traded, the disclosing Party shall provide copies of the disclosure reasonably in advance of such filing or other disclosure for the non-disclosing Party’s prior review and comment. The first approval of the contents of a press release or public disclosure shall constitute permission to use such contents subsequently without submission of the press release or public disclosure to the other Party for approval.\n8.3 Legally Required Disclosures. If the receiving Party or any of its representatives is required by law, rule or regulation or by order of a court of law, administrative agency, or other governmental body or any securities exchange on which such Party’s securities are traded, to disclose any of the Confidential Information, the receiving Party will (a) promptly, and if practicable, provide the disclosing Party with reasonable advance written notice to enable the disclosing Party the opportunity to seek, where appropriate, a protective order or to otherwise prevent or limit such legally required disclosure, (b) use reasonable efforts to cooperate with the disclosing Party to obtain such protection, and (c) disclose only the legally required portion of the Confidential Information. Any such legally required disclosure will not relieve the receiving Party from its obligations under this Agreement to otherwise limit the disclosure and use of such information as Confidential Information.\n8.4 Confidential Terms. Except as expressly provided herein, each Party agrees not to disclose any terms of this Agreement to any Third Party without the consent of the other Party; provided, however, that disclosures may be made on a strict need to know basis to actual or prospective investors, acquirers, financing sources or licensees, or to a Party’s accountants, attorneys and other professional advisors; provided, further, that such persons and entities are subject to confidentiality and non-use obligations at least as stringent as the confidentiality and non-use obligations provided for in this Article 8.\n8.5 Prior Agreements. All Confidential Information (as that term is defined in the Prior Confidentiality Agreement and the Prior Material Transfer Agreement) disclosed pursuant to the Prior Confidentiality Agreement or the Prior Material Transfer Agreement, respectively, shall be considered Confidential Information under this Agreement, subject to the exceptions in Section 1.36.\n8.6 Return of Confidential Information. Each Party shall return or destroy, at the other Party’s instruction, all Confidential Information of the other Party in its possession upon termination or expiration of this Agreement, The receiving Party shall provide a written confirmation of such destruction within thirty (30) days after such destruction; provided that the foregoing shall not apply to any Confidential Information that is legally required to be retained (including by any Regulatory Authority) or necessary to allow such Party to perform its obligations or exercise any of its rights that expressly survive the termination or expiration of this Agreement."}
-{"idx": 1, "level": 2, "span": "ARTICLE 9."}
-{"idx": 1, "level": 2, "span": "INDEMNIFICATION AND LIMITATION OF LIABILITY\n9.1 CSL Indemnification. CSL agrees to defend Momenta and its Affiliates, and their respective agents, directors, officers and employees (the “Momenta Indemnitees”), at CSL’s cost and expense, and will indemnify and hold harmless the Momenta Indemnitees from and against any and all [***] a [***] or [***] or [***] that [***] (collectively, “Momenta Losses”) arising out of any act or omission of CSL, its Affiliates, Sublicensees, contractors or agents in connection with the development, use, manufacture, distribution or sale of a Product, including, but not limited to, any actual or alleged injury, damage, death or other consequence occurring to any Person claimed to result, directly or indirectly, from the possession, use or consumption of, or treatment with, a Product, whether claimed by reason of breach of warranty, negligence, product defect or otherwise, and regardless of the form in which any such claim is made; provided that the foregoing indemnity shall not apply to the extent\nthat any such Momenta Losses are attributable to: (a) Momenta’s breach of this Agreement, including any warranty; or (b) Momenta’s or any Momenta Indemnitee’s, Momenta subcontractor’s or Momenta Sublicensee’s failure adequately to perform its designated Activities pursuant to any applicable Product Work Plan; or (c) Momenta’s or any Momenta Indemnitee’s, Momenta subcontractor’s or Momenta Sublicensee’s performance of any action or activity not designated to it under this Agreement or any applicable Product Work Plan; or (d) the negligence, gross negligence or willful misconduct of Momenta, the Momenta Indemnitees or of any Momenta subcontractor or Momenta Sublicensee. If any such claim against any Momenta Indemnitee arises, Momenta shall promptly notify CSL in writing of the claim and CSL shall manage and control, at its sole expense, the defense of the claim and its settlement. Notwithstanding the foregoing, no settlements shall be finalized without obtaining Momenta’s prior written consent, which shall not be unreasonably withheld, delayed or conditioned, except that in the case of a settlement that does not require an admission or action on the part of Momenta, and does not harm Momenta or its ability to comply with its obligations hereunder, Momenta’s consent shall not be required so long as Momenta is unconditionally released from all liability in such settlement. Momenta shall cooperate with CSL and may, at its discretion and expense, be represented in any such action or proceeding. CSL shall not be liable for any settlements, litigation costs or expenses incurred by Momenta Indemnitees without CSL’s written authorization.\n9.2 Momenta Indemnification. Momenta agrees to defend CSL and its Affiliates, and their respective agents, directors, officers and employees (the “CSL Indemnitees”), at Momenta’s cost and expense, and will indemnify and hold harmless the CSL Indemnitees from and against any and [***] on [***] or [***] or [***] that [***], (collectively, “CSL Losses”) arising out of any act or omission of Momenta, its Affiliates, Sublicensees, contractors or agents in connection with the development, use, manufacture, distribution or sale of a Product, including, but not limited to, any actual or alleged injury, damage, death or other consequence occurring to any Person claimed to result, directly or indirectly, from the possession, use or consumption of, or treatment with, a Product, whether claimed by reason of breach of warranty, negligence, product defect or otherwise, and regardless of the form in which any such claim is made; provided that the foregoing indemnity shall not apply to the extent that any such CSL Losses are attributable to: (a) CSL’s breach of this Agreement; or (b) CSL’s, or any CSL Indemnitee’s, CSL’s subcontractor’s or CSL’s Sublicensee’s failure adequately to perform its designated Activities pursuant to any applicable Product Work Plan; or (c) CSL’s or any or any CSL Indemnitee’s, CSL’s subcontractor’s or CSL’s Sublicensee’s performance of any action or activity not designated to it under this Agreement or any applicable Product Work Plan; or (d) the negligence, gross negligence or willful misconduct of CSL, the CSL Indemnitees or of any CSL subcontractor or CSL Sublicensee. If any such claim against any CSL Indemnitee arises, CSL shall promptly notify Momenta in writing of the claim, and Momenta shall manage and control, at its sole expense, the defense of the claim and its settlement. Notwithstanding the foregoing, no settlements shall be finalized without obtaining CSL’s prior written consent, which shall not be unreasonably withheld, delayed or conditioned, except that in the case of a settlement that does not require an admission or action on the part of CSL, and does not harm CSL or its ability to comply with its obligations hereunder, CSL’s consent shall not be required so long as CSL is unconditionally released from all liability in such settlement. CSL shall cooperate with Momenta and may, at its discretion and expense, be represented in any such action or proceeding. Momenta shall not be liable for any settlements, litigation costs or expenses incurred by CSL Indemnitees without Momenta’s written authorization.\n9.3 Joint Loss Liability. To the extent that any Third Party product liability related losses, costs, liabilities, damages, fees or expenses remain unallocated to an Indemnifying Party under Sections 9.1 and 9.2, after following the procedures for such indemnification thereof and any dispute arising in connection with such claims for indemnification, such unallocated Third Party product liability related losses, costs, liabilities, damages, fees or expenses [***] to [***].\n9.4 Insurance.\n(a) Each Party shall maintain insurance or self-insurance (including a captive insurance company), including product liability insurance, with respect to its activities under this Agreement. Such insurance or self-insurance shall be in such amounts and subject to such deductibles as are prevailing in the industry from time to time, provided that, each Party and its Affiliates and Sublicensees shall maintain a minimum of an aggregate of (a) [***] in general comprehensive liability insurance, (b) [***] in product liability\ninsurance [***] of [***], and (c) [***] in product liability insurance no later than [***] following [***] of [***].\n(b) Each party may self-insure all or any portion of the required insurance as long as, together with its Affiliates, its US GAAP net worth is greater than [***] or [***] and [***] is greater than [***]\n9.5 No Consequential Damages. UNLESS RESULTING FROM A PARTY’S WILLFUL MISCONDUCT OR FROM A PARTY’S BREACH OF ARTICLE 2 OR ARTICLE 8, NO PARTY WILL BE LIABLE TO THE OTHER PARTY OR ITS AFFILIATES FOR SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, PUNITIVE, MULTIPLE OR OTHER INDIRECT DAMAGES ARISING OUT OF THIS AGREEMENT OR THE EXERCISE OF ITS RIGHTS HEREUNDER, OR FOR LOSS OF PROFITS, LOSS OF DATA OR LOSS OF USE DAMAGES ARISING FROM OR RELATING TO ANY BREACH OF THIS AGREEMENT WHETHER BASED UPON WARRANTY, CONTRACT, TORT, STRICT LIABILITY OR OTHERWISE, REGARDLESS OF ANY NOTICE OF SUCH DAMAGES. NOTHING IN THIS SECTION 9.5 IS INTENDED TO LIMIT OR RESTRICT THE INDEMNIFICATION RIGHTS OR OBLIGATIONS OF ANY PARTY UNDER THIS AGREEMENT."}
-{"idx": 1, "level": 3, "span": "(a) Each Party shall maintain insurance or self-insurance (including a captive insurance company), including product liability insurance, with respect to its activities under this Agreement\nSuch insurance or self-insurance shall be in such amounts and subject to such deductibles as are prevailing in the industry from time to time, provided that, each Party and its Affiliates and Sublicensees shall maintain a minimum of an aggregate of (a) [***] in general comprehensive liability insurance, (b) [***] in product liability"}
-{"idx": 1, "level": 3, "span": "(b) Each party may self-insure all or any portion of the required insurance as long as, together with its Affiliates, its US GAAP net worth is greater than [***] or [***] and [***] is greater than [***]"}
-{"idx": 1, "level": 2, "span": "ARTICLE 10."}
-{"idx": 1, "level": 2, "span": "EXPORT\n10.1 General. The Parties acknowledge that the exportation from the United States of materials, products and related technical data (and the re-export from elsewhere of items of U.S. origin) may be subject to compliance with U.S. export laws, including without limitation the U.S. Bureau of Export Administration’s Export Administration Regulations, the Federal Food, Drug and Cosmetic Act and regulations of the FDA issued thereunder, and the U.S. Department of State’s International Traffic and Arms Regulations, which restrict export, re-export, and release of materials, products and their related technical data, and the direct products of such technical data. The Parties agree to comply with all export laws and to commit no act that, directly or indirectly, would violate any U.S. law, regulation, or treaty, or any other international treaty or agreement, relating to the export, re-export, or release of any materials, products or their related technical data to which the U.S. adheres or with which the U.S. complies.\n10.2 Delays. The Parties acknowledge that they are not responsible for any delays attributable to export controls that are beyond the reasonable control of either Party.\n10.3 Assistance. The Parties agree to provide assistance to one another in connection with each Party’s efforts to fulfill its obligations under this Article 10.\n10.4 Other. The Parties agree not to export, re-export, or release any item that may be used in the design, development, production, stockpiling or use of chemical or biological weapons in or by a country listed in Country Group D: 3 of Part 370 to Title 15 of the U.S. Code of Federal Regulations as it may be updated from time to time."}
-{"idx": 1, "level": 2, "span": "ARTICLE 11."}
-{"idx": 1, "level": 2, "span": "TERM AND TERMINATION\n11.1 Term. This Agreement shall be binding upon the Parties as of the Effective Date. The term of this Agreement (the “Term”) shall commence on the Execution Date, and, unless earlier terminated as provided in this Article 11, shall continue in full force and effect until the later of:\n(a) the expiration of all payment obligations with respect to Products; and\n(b) if Momenta exercises a Co-Funding Option, the [***] of [***] to [***] or [***] on [***] it [***] ceases to Co-Fund any Product; and\n(c) the date on which there are no active Product Work Plans.\n11.2 Termination by CSL:\n(a) Prior to achievement of [***]. CSL may terminate the Agreement in its [***] or [***] to the [***] at any time prior to the date on which the [***] would become payable for the [***], by giving [***] to Momenta ([***] period between the notice and the Termination Date, the [***]); provided that CSL shall be obligated to pay to Momenta the [***] as set forth in [***] within [***] of giving Momenta such termination notice regardless of whether such [***] is [***]\n(b) After Failure to Achieve [***]. If the [***] with respect to the [***] is not met, CSL may terminate the Agreement [***] or [***] to the [***] by giving [***] Momenta within [***] after the [***] with respect to the [***] is not achieved.\n(c) Termination Prior to [***]. CSL may, by giving not less than (x) [***] if a Product does not achieve [***] in [***] in the Development Plan, or (y) [***] written notice otherwise, to Momenta, terminate the Agreement:\n(i) [***] or [***] to the [***] (A) at any time after the [***] is [***] but before the [***] of the [***], or (B) more than [***] after the [***] with respect to the [***] is not achieved but before the [***] of the [***] or\n(ii) with respect to a Product other than [***], at any time before the [***] of [***].\n(d) Termination After [***]. CSL may terminate the Agreement in its entirety or with respect to a Product at any time after the [***] in [***] to Momenta.\n11.3 Termination by Momenta. If CSL elects to terminate the Agreement with respect to the [***], then Momenta may terminate the Agreement [***] by providing written notice to CSL [***] of the [***] of the [***], with such termination becoming effective the date on which [***].\n11.4 Termination for [***]. Either Party may terminate this Agreement on a Product-by-Product basis and on a [***] Product-by-[***] Product basis, on not less than [***] written notice to the other Party if the non-terminating Party or its Affiliates (directly or indirectly, [***] or in [***] with any other [***]) [***] the [***] or [***] of any [***] the [***] of [***] or [***] of [***] of such Product or [***] Product (if the terminating Party is CSL) or [***] the [***] or [***] of such Product or [***] Product (if the terminating Party is Momenta) or any of the [***] the [***] or [***] of such Product or [***] Product, provided however that, subject to the termination rights set out herein, each Party acknowledges and agrees that nothing in this clause [***] the [***] or [***] any of the [***] referred to in this Section 11.4 and provided further that:\n(a) CSL shall not have the right to terminate this Agreement [***] or [***]:\n(i) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement, in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or\n(ii) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement [***] a [***] in [***] by [***] of such [***].\n(b) Momenta shall not have the right to terminate this Agreement [***] or [***]:\n(i) [***] a [***] that is [***] the [***] in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or\n(ii) [***] a [***] that is [***] the [***] a [***] in [***] by [***] of [***]\n11.5 Termination for Material Breach. \n(a) Subject to Section 11.5(b), a Party may terminate this Agreement entirely or with respect to a Product upon written notice specifying a date of immediate or future effectiveness if the other Party has materially breached this Agreement (provided that, if such material breach relates only to a Product, then the Party’s right to terminate is limited to such Product), and such breach is not cured by that Party [***] of [***] of such breach and the non-breaching Party’s intent to terminate; provided that if such breach is not susceptible of cure within such period and the Party in breach uses diligent good faith efforts to cure such breach, the stated period will be extended by an additional [***].\n(b) If an alleged material breach pertains to a failure to exercise Commercially Reasonable Efforts, the following process will apply:\n(i) If a Party believes that the other Party is not exercising Commercially Reasonable Efforts with respect to a Product or as otherwise required under this Agreement, that Party (the “Alleging Party”) may notify the other Party (the “Alleged Breaching Party”) in writing as to what [***] for the [***] to [***] its obligations to exercise such Commercially Reasonable Efforts, taking into account any [***] undertaken by the Alleged Breaching Party to date in relation to such obligations. Within [***] of receipt of such notice, the Alleged Breaching Party must either:\n(1) inform the Alleging Party that it agrees that such expectations are reasonable, in which case it will also provide a [***] that [***] the [***] the [***] to [***]; or\n(2) provide the Alleging Party with a detailed written explanation as to why the Alleged Breaching Party is [***] to [***] and [***] the [***].\n(ii) If the Alleging Party is satisfied that the [***] under [***] the allegations, notwithstanding any other provisions of this Agreement to the contrary, the Alleged Breaching Party [***] and [***] to [***] the [***] a [***]. If the Alleged Breaching Party fails to take such steps in a timely manner, the Alleging Party may [***] the [***] or [***] the [***] by [***] (provided that, if the [***] to [***] relates only to a Product, the Alleging Party’s right to terminate is limited to such Product).\n(iii) If the Alleging Party is [***] that the [***] provided under Section 11.5(b)(i)(1) resolves the allegations, or if the Alleged Breaching Party provides notice under Section 11.5(b)(i)(2), the Alleging Party may, acting reasonably, [***] the [***] to [***] the [***] and, if necessary, [***] in [***] with [***] to determine whether the [***] has [***] its [***] to use Commercially Reasonable Efforts and/or whether any [***] provided under [***], if implemented, would [***] any [***] to [***] such [***].\n(iv) If the matter is referred to [***] and following such [***]:\n(1) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***], no [***] shall be taken with respect to such [***];\n(2) it is determined that the Alleged Breaching Party has [***] its [***] to exercise such [***] and the [***] provided under [***] (if any) [***] the [***], the [***] shall take [***] and [***] to [***] the [***] in a timely manner; provided however that if the Alleged Breaching Party [***] to [***] such [***] in a timely manner, the [***] may terminate the Agreement entirely or with respect to the relevant Product by immediate written notice (provided that, if the failure to exercise Commercially Reasonable Efforts relates to a Product, the Alleging Party’s right to terminate is limited to that Product);\n(3) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***] and either [***] was provided under [***], or the [***] provided under that [***] does [***] the [***], the Alleging Party may terminate the Agreement entirely or with respect to the relevant Product by immediate written\nnotice (provided that, if the failure to exercise Commercially Reasonable Efforts relates to a Product, the Alleging Party’s right to terminate is limited to that Product).\n11.6 Termination for Bankruptcy. To the extent permitted under Applicable Law, either Party may terminate this Agreement immediately upon written notice to the other Party, if, at any time: (a) the other Party files in any court or agency pursuant to any statute or regulation of any state or country, a petition in bankruptcy or insolvency or for reorganization or for an arrangement or for the appointment of a receiver or trustee of the Party or of substantially all of its assets; (b) the other Party is served with an involuntary petition against it, filed in any insolvency proceeding, and such petition shall not be dismissed within [***] after the filing thereof; (c) the other Party shall propose or be a party to any dissolution or liquidation; or (d) the other Party shall make an assignment of substantially all of its assets for the benefit of creditors. The Parties shall retain and may fully exercise all of their respective rights and elections under the Bankruptcy Code.\n11.7 Consequences of Termination. Consequences of Termination are described with respect to three categories of termination: (1) where Momenta has the right to the return of the Product(s), and (2) where CSL has the right to continue and retain the Product(s), and (3) where the Agreement is terminated [***] the [***].\n(a) Termination Where Momenta Has the Right to the Return of the Product(s). Without limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:\n•by CSL under [***] for [***] other than where the [***] is [***] in its [***] by CSL [***],\n•by Momenta under [***] for [***],\n•by Momenta for [***] under [***],\n•by Momenta for [***] or [***] under [***], or\n•by Momenta for [***] under [***],\nthe following provisions will take effect as of the Termination Date (or upon the giving of a termination notice where indicated) with respect to the Product(s) for which the Agreement has been terminated:\n(i) CSL will use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee: (A) possession and ownership of all governmental and regulatory correspondence, conversation logs, filings and approvals (including all Regulatory Approvals) [***] or [***] that [***] and [***] related to the Development, Manufacture or Commercialization of the terminated Product(s); (B) copies of all data, reports, records and materials [***] or [***] and [***] to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s); (C) all inventory of terminated Product(s) [***]; and (D) all records and materials [***] or [***] containing Confidential Information of Momenta relating [***] to the [***] provided, however, that CSL shall be entitled to retain one copy of all such Confidential Information for purposes of determining its obligations under this Agreement. Effective as of the date of the termination notice, CSL will, [***], and [***] and [***] cooperate with Momenta, either to transition all Development activities initiated prior to the Termination Date with respect to the terminated Products and wind down, transition, and end such Development activities in an orderly manner;\n(ii) CSL will, [***] in [***]: (A) [***] Momenta as CSL’s and/or its Affiliates’ [***] for all terminated Product-related matters involving Regulatory Authorities; or (B) appoint a mutually [***] to [***] as a [***] for [***] on [***] behalf for the period of time after termination necessary to allow for an [***] of the regulatory file or Regulatory Approval. Momenta agrees to use [***] to the [***] the [***];\n(iii) If, at the time of termination, CSL is performing process development or Manufacturing activities for the terminated Product(s), CSL shall upon [***] and [***] to [***] to [***] and [***]\nassociated therewith, [***] to effect a transfer of such activities to Momenta or a Third Party nominated by Momenta. If Momenta so requests, CSL will assign to Momenta any agreements with Third Parties reasonably necessary for and primarily relating to the Development, Manufacture or Commercialization of the terminated Product(s) to which CSL is a party to the extent permitted by the terms of such agreements; provided, however, that CSL [***] to [***] or to [***]. In addition, effective upon the giving of a notice of termination, (A) CSL shall meet with Momenta to immediately discuss and plan transfer and transition activities; (B) CSL shall use Commercially Reasonable Efforts to manufacture Products [***] the [***] of [***] that [***] to [***] to [***] to [***] or [***] of [***] is [***]; and (C) CSL shall use Commercially Reasonable Efforts to cooperate with Momenta in initiating the post-Termination transition activities provided for in this Section 11.7(a);\n(iv) the licenses granted to CSL and Momenta pursuant to Article 2 (other than the licenses granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated) (except to the extent necessary to enable CSL to perform its obligations under this Section 11.7 with respect to the terminated Products); provided, however, that CSL shall grant Momenta a [***] license under CSL Intellectual Property and CSL’s interest in the Joint Intellectual Property existing as of the Termination Date to make, have made, use, develop, import, offer for sale, sell and have sold the terminated Product(s). Where Momenta does not have control or hold the first right to enforce Momenta Patent Rights or Joint Patent Rights under Section 7.4 or to defend litigation brought against Momenta under Section 7.5, CSL shall transfer control of such litigation to Momenta and CSL shall assume the rights and obligations previously held by Momenta in such litigation proceedings.\n(v) Momenta shall pay to CSL:\n(1) a royalty of [***] on Net Sales of the terminated Product(s) until [***] of [***] incurred with respect to such Product through the Termination Date are reimbursed, provided, however, that if such termination occurs with respect to [***] to [***] to [***] or [***] to [***] the [***] the only royalty payable shall be the royalty specified in [***]; and\n(2) commencing only after the royalty payable pursuant to Section 11.7(a)(v)(1) is no longer payable, a royalty of [***] of each terminated Product that, but, for the licenses granted hereunder, would infringe a Valid Claim in a CSL Patent Right or a Joint Patent Right existing as of the Termination Date;\n(vi) Until the expiry of Momenta’s obligation to pay royalties under Section 11.7(a)(v), Momenta shall provide CSL with Quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to that required in respect of Net Sales Statements;\n(vii) CSL will assign to Momenta all right, title and interest in the Product Trademarks and Product Domain Names for the terminated Product(s) and [***] Product(s) and all goodwill associated therewith;\n(viii) Subject to any surviving licenses granted to the other Party under this Agreement (including the license to Momenta in Section 11.7(a)(iv)) and any other terms of this Agreement that survive termination, each Party may exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party;\n(ix) CSL shall submit payment to Momenta for any amounts paid by Momenta related to Commercialization Expenses incurred through the Termination Date for which CSL is responsible under the Agreement with respect to the terminated Product(s) and [***] Product(s), and any milestones achieved and royalty payments pursuant to Section 3.1 with respect to the terminated Product(s), as of the Termination Date within sixty (60) days following receipt from Momenta of a detailed invoice therefore;\n(x) Momenta shall reimburse CSL for [***] and [***] with the [***] of the [***]; and\n(xi) If this Agreement is terminated in its entirety only:\n(1) Momenta shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights covered by the license in Section 11.7(a)(iv);\n(2) CSL shall use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee (A) copies of all data, reports, records and materials in CSL’s possession or control which relate to any Momenta Intellectual Property comprised in the [***] Products; (B) all records and materials in CSL’s possession or control containing Confidential Information of Momenta which relates to Momenta Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] reasonable costs and expenses [***] or [***] which relate to Momenta Intellectual Property comprised in the [***]; and\n(3) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to any CSL Intellectual Property comprised in the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information of CSL which relates to CSL Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] and [***] or [***] which relate to CSL Intellectual Property comprised in the [***].\n(b) Termination Where CSL Has the Right to Continue and Retain Rights to the Product(s). Without limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:\n•by CSL under [***],\n•by CSL [***] under [***],\n•by CSL [***] or [***] under [***]; or\n•by CSL [***] under [***],\nthe following provisions will take effect as of the effective date of the Termination Date with respect to the Product(s) for which the Agreement has terminated:\n(i) Momenta will, as soon as practicable, transfer to CSL or its designee: (A) copies of all data, reports, records and [***] in [***] relating to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s), [***] (B) all inventory of terminated Product(s) [***] or [***]; and (C) all records and materials [***] or [***] Confidential Information of CSL relating solely to the terminated Product(s);\n(ii) If, at the time of termination, Momenta is performing Manufacturing activities for the terminated Product(s), Momenta shall upon [***] and [***] to [***] to [***] and [***] associated therewith, [***] to effect a transfer of such activities to CSL or a Third Party nominated by CSL. If CSL so requests, Momenta will assign to CSL any agreements with Third Parties reasonably necessary for and primarily relating to the Development, Manufacture or Commercialization of the terminated Product(s) to which Momenta is a party to the extent permitted by the terms of such agreements; provided, however, that Momenta shall not be [***] to [***] to [***] or [***];\n(iii) If Momenta is Co-Funding one or more Products, Momenta shall submit payment to CSL for any amounts paid by CSL related to Program Expenses incurred through the Termination Date for which Momenta is responsible for under the Agreement with respect to the terminated Product(s), within [***] receipt from CSL of a detailed invoice therefore;\n(iv) the licenses granted to Momenta in Article 2 (other than the license granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated);\n(v) CSL shall, with respect to the terminated Products, continue to exercise the licenses and rights granted to CSL under Article 2, subject to the revised royalty rates set forth below, replacing the royalty rates set out in Section 3.1(e)(i), and with the same reporting obligations and other obligations related to the payment of such royalties as would have applied under this Agreement. No other royalties or milestones will be payable with respect to the terminated Product(s). CSL shall have the right to terminate such licenses at any time. The revised royalty rates are as follows:\n(1) If the Agreement is terminated prior to the [***] a [***] Trial for a terminated Product(s), CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product(s) during the Royalty Period;\n(2) If the Agreement is terminated after [***] a [***] and [***] the [***] a [***], CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period; and.\n(3) If the Agreement is terminated on or after the [***] terminated Product, CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period;\n(vi) until the expiry of CSL’s obligation to pay royalties under Section 11.7(b)(v), CSL shall provide Momenta with quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to Net Sales Statements; and.\n(vii) if this Agreement is terminated in its entirety only:\n(1) CSL shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights; and.\n(2) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information which relates to the [***] Products; and (C) [***] and [***] to [***] to [***] and [***] of [***] associated therewith, [***] or [***] which relate to [***].\n(c) Termination Prior to the [***] the [***]. Without limiting any other legal or equitable remedies that either Party may have, if this Agreement is terminated:\n•by CSL [***] its [***] under [***] (Prior to [***]), or\n•by Momenta under [***] terminates prior to [***] of [***]),\nthe following provisions will take effect as of the Termination Date with respect to the Agreement:\n(i) the consequences set out in Section 11.7(a) shall apply, provided that the license specified in Section 11.7(a)(iv) shall not be granted by CSL to Momenta;\n(ii) Each Party shall grant to the other Party and its Affiliates a [***] to [***] in which it or its Affiliates has an ownership interest at the termination date [***] the [***] the [***] to [***];\n(iii) despite anything to the contrary in Section 11.7(a), the provisions of this Agreement relating to the [***] of [***] to [***];\n(iv) subject to the licenses granted to the other Party under this Agreement and any other terms of this Agreement that survive termination, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; and\n(v) no further royalties or milestones will be payable by either Party except for the royalty payable under Section 11.7(a)(v).\n(d) [***] Products. [***] Products are not subject to separate termination on a [***] Product by [***] Product basis under this Agreement. Subject to the provisions of any licenses granted or surviving on termination, on termination of the Agreement in its entirety, each Party will be free to exploit any Intellectual Property owned by it comprised in the [***] Products.\n11.8 Non-Exclusive Remedy. Termination of this Agreement shall be in addition to, and shall not prejudice, the Parties’ remedies at law or in equity, including, without limitation, the Parties’ ability to receive legal damages and/or equitable relief with respect to any breach of this Agreement, regardless of whether or not such breach was the reason for the termination.\n11.9 Survival of Liability. Expiration or termination of this Agreement for any reason shall not release either Party from any liability that, at the time of such expiration or termination, has already accrued or that is attributable to a period prior to such expiration or termination, nor preclude either Party from pursuing any right or remedy it may have hereunder or at law or in equity with respect to any breach of this Agreement.\n11.10 Survival. Termination or expiration of this Agreement for any reason will be without prejudice to any rights that have accrued to the benefit of a Party prior to such termination or expiration. Such termination or expiration will not relieve a Party from obligations that are expressly indicated to survive the termination or expiration of this Agreement or prevent a Party from exercising any rights that are expressly indicated to survive such termination or expiration. Upon termination or expiration of this Agreement as provided for in this Article 11, the following Articles and Sections of this Agreement shall survive:\n(a) Article 1 (Definitions);\n(b) Article 2 (Licenses), but solely with respect to the subject matter of the following provisions, and solely to the extent required to give effect to and subject to the provisions of:\n(i) Section 11.7(b)(v) (CSL’s right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);\n(ii) Section 11.7(a)(iv) (licenses to CSL survive solely to the extent necessary to enable CSL to perform its obligations under Section 11.7 with respect to the terminated Products on termination by Momenta where Momenta has right to return of the Product(s));\n(iii) Section 2.1(c) (providing for exercise of rights by Affiliates);\n(iv) Section 2.3 (Joint Intellectual Property);\n(v) Section 2.7 (Retained Rights);\n(vi) Section 2.9 (No Additional Licenses);\n(vii) Section 2.10(a) (Bankruptcy); and\n(viii) The limited license granted by CSL to Momenta with respect to New Intellectual Property, as provided in the final sentence of Section 2.2;\n(c) Section 3.5 (Currency);\n(d) Section 4.5(Overdue Payments);\n(e) Article 3 (Financial Terms) (with respect to earned payments and royalties as of the effective date of termination and the reporting of Net Sales and payments thereof under royalties payable post-termination under Section 11.7);\n(f) Section 4.3 (Cost Share and Profit Share for Co-Funding of Products and [***] Products) (solely with respect to unreported, unreconciled and Program Expenses, Profits and Losses as of the effective date of termination to facilitate the final payment and Reimbursement to a Party related thereto);\n(g) Section 4.6 (Taxes);\n(h) Section 4.7 (Audits; Records and Inspections);\n(i) Section 7.1 (Ownership of Intellectual Property);\n(j) Section 7.4 (Enforcement and Defense of Enforcement Intellectual Property) (but solely where, pursuant to Section 11.7(b)(v), CSL has the right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);\n(k) Section 7.3(a) (Trademarks and Domain Names) (ownership of provision); \n(l) Article 8 (Confidential Information) other than Section 8.2 (Public Disclosure);\n(m) Article 9 (Indemnification and Limitation of Liability) other than Section 9.4(Insurance);\n(n) Article 11 (Term and Termination); and\n(o) Article 13 (Miscellaneous) other than Sections 13.3(b) (Change of Control); Section 13.8 (Quality Agreement); Section 13.11 (Dispute Resolution); Section 13.12 (HSR Act); and Section 13.13 (Anti-Corruption Audits and Inspections). \nFor the avoidance of doubt, if CSL has obtained, under Section 3.1(e)(vi), upon the expiration of the Royalty Period with respect to any Product in any particular country in the Territory, a fully paid-up, perpetual, irrevocable, exclusive license in such country to the Momenta Intellectual Property to research, Develop, make, use, import, sell, have made, have sold and otherwise Commercialize such Product, such license shall not be affected by the subsequent termination or expiration of this Agreement."}
-{"idx": 1, "level": 3, "span": "(a) the expiration of all payment obligations with respect to Products; and"}
-{"idx": 1, "level": 3, "span": "(b) if Momenta exercises a Co-Funding Option, the [***] of [***] to [***] or [***] on [***] it [***] ceases to Co-Fund any Product; and"}
-{"idx": 1, "level": 3, "span": "(c) the date on which there are no active Product Work Plans."}
-{"idx": 1, "level": 3, "span": "(a) Prior to achievement of [***]\nCSL may terminate the Agreement in its [***] or [***] to the [***] at any time prior to the date on which the [***] would become payable for the [***], by giving [***] to Momenta ([***] period between the notice and the Termination Date, the [***]); provided that CSL shall be obligated to pay to Momenta the [***] as set forth in [***] within [***] of giving Momenta such termination notice regardless of whether such [***] is [***]"}
-{"idx": 1, "level": 3, "span": "(b) After Failure to Achieve [***]\nIf the [***] with respect to the [***] is not met, CSL may terminate the Agreement [***] or [***] to the [***] by giving [***] Momenta within [***] after the [***] with respect to the [***] is not achieved."}
-{"idx": 1, "level": 3, "span": "(c) Termination Prior to [***]\nCSL may, by giving not less than (x) [***] if a Product does not achieve [***] in [***] in the Development Plan, or (y) [***] written notice otherwise, to Momenta, terminate the Agreement:"}
-{"idx": 1, "level": 4, "span": "(i) [***] or [***] to the [***] (A) at any time after the [***] is [***] but before the [***] of the [***], or (B) more than [***] after the [***] with respect to the [***] is not achieved but before the [***] of the [***] or"}
-{"idx": 1, "level": 4, "span": "(ii) with respect to a Product other than [***], at any time before the [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(d) Termination After [***]\nCSL may terminate the Agreement in its entirety or with respect to a Product at any time after the [***] in [***] to Momenta."}
-{"idx": 1, "level": 3, "span": "(a) CSL shall not have the right to terminate this Agreement [***] or [***]:"}
-{"idx": 1, "level": 4, "span": "(i) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement, in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or"}
-{"idx": 1, "level": 4, "span": "(ii) [***] a [***] that is [***] the [***] or [***] to [***] under this Agreement [***] a [***] in [***] by [***] of such [***]."}
-{"idx": 1, "level": 3, "span": "(b) Momenta shall not have the right to terminate this Agreement [***] or [***]:"}
-{"idx": 1, "level": 4, "span": "(i) [***] a [***] that is [***] the [***] in an [***], such as a [***], or other [***] or [***] in a good faith effort to [***] within such [***]; or"}
-{"idx": 1, "level": 4, "span": "(ii) [***] a [***] that is [***] the [***] a [***] in [***] by [***] of [***]"}
-{"idx": 1, "level": 3, "span": "(a) Subject to Section 11.5(b), a Party may terminate this Agreement entirely or with respect to a Product upon written notice specifying a date of immediate or future effectiveness if the other Party has materially breached this Agreement (provided that, if such material breach relates only to a Product, then the Party’s right to terminate is limited to such Product), and such breach is not cured by that Party [***] of [***] of such breach and the non-breaching Party’s intent to terminate; provided that if such breach is not susceptible of cure within such period and the Party in breach uses diligent good faith efforts to cure such breach, the stated period will be extended by an additional [***]."}
-{"idx": 1, "level": 3, "span": "(b) If an alleged material breach pertains to a failure to exercise Commercially Reasonable Efforts, the following process will apply:"}
-{"idx": 1, "level": 4, "span": "(i) If a Party believes that the other Party is not exercising Commercially Reasonable Efforts with respect to a Product or as otherwise required under this Agreement, that Party (the “Alleging Party”) may notify the other Party (the “Alleged Breaching Party”) in writing as to what [***] for the [***] to [***] its obligations to exercise such Commercially Reasonable Efforts, taking into account any [***] undertaken by the Alleged Breaching Party to date in relation to such obligations\nWithin [***] of receipt of such notice, the Alleged Breaching Party must either:"}
-{"idx": 1, "level": 4, "span": "(1) inform the Alleging Party that it agrees that such expectations are reasonable, in which case it will also provide a [***] that [***] the [***] the [***] to [***]; or"}
-{"idx": 1, "level": 4, "span": "(2) provide the Alleging Party with a detailed written explanation as to why the Alleged Breaching Party is [***] to [***] and [***] the [***]."}
-{"idx": 1, "level": 4, "span": "(ii) If the Alleging Party is satisfied that the [***] under [***] the allegations, notwithstanding any other provisions of this Agreement to the contrary, the Alleged Breaching Party [***] and [***] to [***] the [***] a [***]\nIf the Alleged Breaching Party fails to take such steps in a timely manner, the Alleging Party may [***] the [***] or [***] the [***] by [***] (provided that, if the [***] to [***] relates only to a Product, the Alleging Party’s right to terminate is limited to such Product)."}
-{"idx": 1, "level": 4, "span": "(iii) If the Alleging Party is [***] that the [***] provided under Section 11.5(b)(i)(1) resolves the allegations, or if the Alleged Breaching Party provides notice under Section 11.5(b)(i)(2), the Alleging Party may, acting reasonably, [***] the [***] to [***] the [***] and, if necessary, [***] in [***] with [***] to determine whether the [***] has [***] its [***] to use Commercially Reasonable Efforts and/or whether any [***] provided under [***], if implemented, would [***] any [***] to [***] such [***]."}
-{"idx": 1, "level": 4, "span": "(iv) If the matter is referred to [***] and following such [***]:"}
-{"idx": 1, "level": 4, "span": "(1) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***], no [***] shall be taken with respect to such [***];"}
-{"idx": 1, "level": 4, "span": "(2) it is determined that the Alleged Breaching Party has [***] its [***] to exercise such [***] and the [***] provided under [***] (if any) [***] the [***], the [***] shall take [***] and [***] to [***] the [***] in a timely manner; provided however that if the Alleged Breaching Party [***] to [***] such [***] in a timely manner, the [***] may terminate the Agreement entirely or with respect to the relevant Product by immediate written notice (provided that, if the failure to exercise Commercially Reasonable Efforts relates to a Product, the Alleging Party’s right to terminate is limited to that Product);"}
-{"idx": 1, "level": 4, "span": "(3) it is determined that the Alleged Breaching Party has [***] its [***] to exercise [***] and either [***] was provided under [***], or the [***] provided under that [***] does [***] the [***], the Alleging Party may terminate the Agreement entirely or with respect to the relevant Product by immediate written"}
-{"idx": 1, "level": 3, "span": "(a) Termination Where Momenta Has the Right to the Return of the Product(s)\nWithout limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:"}
-{"idx": 1, "level": 4, "span": "(i) CSL will use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee: (A) possession and ownership of all governmental and regulatory correspondence, conversation logs, filings and approvals (including all Regulatory Approvals) [***] or [***] that [***] and [***] related to the Development, Manufacture or Commercialization of the terminated Product(s); (B) copies of all data, reports, records and materials [***] or [***] and [***] to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s); (C) all inventory of terminated Product(s) [***]; and (D) all records and materials [***] or [***] containing Confidential Information of Momenta relating [***] to the [***] provided, however, that CSL shall be entitled to retain one copy of all such Confidential Information for purposes of determining its obligations under this Agreement\nEffective as of the date of the termination notice, CSL will, [***], and [***] and [***] cooperate with Momenta, either to transition all Development activities initiated prior to the Termination Date with respect to the terminated Products and wind down, transition, and end such Development activities in an orderly manner;"}
-{"idx": 1, "level": 4, "span": "(ii) CSL will, [***] in [***]: (A) [***] Momenta as CSL’s and/or its Affiliates’ [***] for all terminated Product-related matters involving Regulatory Authorities; or (B) appoint a mutually [***] to [***] as a [***] for [***] on [***] behalf for the period of time after termination necessary to allow for an [***] of the regulatory file or Regulatory Approval\nMomenta agrees to use [***] to the [***] the [***];"}
-{"idx": 1, "level": 4, "span": "(iii) If, at the time of termination, CSL is performing process development or Manufacturing activities for the terminated Product(s), CSL shall upon [***] and [***] to [***] to [***] and [***]"}
-{"idx": 1, "level": 4, "span": "(iv) the licenses granted to CSL and Momenta pursuant to Article 2 (other than the licenses granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated) (except to the extent necessary to enable CSL to perform its obligations under this Section 11.7 with respect to the terminated Products); provided, however, that CSL shall grant Momenta a [***] license under CSL Intellectual Property and CSL’s interest in the Joint Intellectual Property existing as of the Termination Date to make, have made, use, develop, import, offer for sale, sell and have sold the terminated Product(s)\nWhere Momenta does not have control or hold the first right to enforce Momenta Patent Rights or Joint Patent Rights under Section 7.4 or to defend litigation brought against Momenta under Section 7.5, CSL shall transfer control of such litigation to Momenta and CSL shall assume the rights and obligations previously held by Momenta in such litigation proceedings."}
-{"idx": 1, "level": 4, "span": "(v) Momenta shall pay to CSL:"}
-{"idx": 1, "level": 4, "span": "(1) a royalty of [***] on Net Sales of the terminated Product(s) until [***] of [***] incurred with respect to such Product through the Termination Date are reimbursed, provided, however, that if such termination occurs with respect to [***] to [***] to [***] or [***] to [***] the [***] the only royalty payable shall be the royalty specified in [***]; and"}
-{"idx": 1, "level": 4, "span": "(2) commencing only after the royalty payable pursuant to Section 11.7(a)(v)(1) is no longer payable, a royalty of [***] of each terminated Product that, but, for the licenses granted hereunder, would infringe a Valid Claim in a CSL Patent Right or a Joint Patent Right existing as of the Termination Date;"}
-{"idx": 1, "level": 4, "span": "(vi) Until the expiry of Momenta’s obligation to pay royalties under Section 11.7(a)(v), Momenta shall provide CSL with Quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to that required in respect of Net Sales Statements;"}
-{"idx": 1, "level": 4, "span": "(vii) CSL will assign to Momenta all right, title and interest in the Product Trademarks and Product Domain Names for the terminated Product(s) and [***] Product(s) and all goodwill associated therewith;"}
-{"idx": 1, "level": 4, "span": "(viii) Subject to any surviving licenses granted to the other Party under this Agreement (including the license to Momenta in Section 11.7(a)(iv)) and any other terms of this Agreement that survive termination, each Party may exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party;"}
-{"idx": 1, "level": 4, "span": "(ix) CSL shall submit payment to Momenta for any amounts paid by Momenta related to Commercialization Expenses incurred through the Termination Date for which CSL is responsible under the Agreement with respect to the terminated Product(s) and [***] Product(s), and any milestones achieved and royalty payments pursuant to Section 3.1 with respect to the terminated Product(s), as of the Termination Date within sixty (60) days following receipt from Momenta of a detailed invoice therefore;"}
-{"idx": 1, "level": 4, "span": "(x) Momenta shall reimburse CSL for [***] and [***] with the [***] of the [***]; and"}
-{"idx": 1, "level": 4, "span": "(xi) If this Agreement is terminated in its entirety only:"}
-{"idx": 1, "level": 4, "span": "(1) Momenta shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights covered by the license in Section 11.7(a)(iv);"}
-{"idx": 1, "level": 4, "span": "(2) CSL shall use Commercially Reasonable Efforts to promptly transfer to Momenta or its designee (A) copies of all data, reports, records and materials in CSL’s possession or control which relate to any Momenta Intellectual Property comprised in the [***] Products; (B) all records and materials in CSL’s possession or control containing Confidential Information of Momenta which relates to Momenta Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] reasonable costs and expenses [***] or [***] which relate to Momenta Intellectual Property comprised in the [***]; and"}
-{"idx": 1, "level": 4, "span": "(3) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to any CSL Intellectual Property comprised in the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information of CSL which relates to CSL Intellectual Property comprised in the [***] Products; and (C) [***] and [***] to [***] and [***] or [***] which relate to CSL Intellectual Property comprised in the [***]."}
-{"idx": 1, "level": 3, "span": "(b) Termination Where CSL Has the Right to Continue and Retain Rights to the Product(s)\nWithout limiting any other legal or equitable remedies that either Party may have, if this Agreement or a Product under the Agreement is terminated:"}
-{"idx": 1, "level": 4, "span": "(i) Momenta will, as soon as practicable, transfer to CSL or its designee: (A) copies of all data, reports, records and [***] in [***] relating to the Development, Manufacture or Commercialization of the terminated Product(s), including all [***] and [***] relating to the terminated Product(s), [***] (B) all inventory of terminated Product(s) [***] or [***]; and (C) all records and materials [***] or [***] Confidential Information of CSL relating solely to the terminated Product(s);"}
-{"idx": 1, "level": 4, "span": "(ii) If, at the time of termination, Momenta is performing Manufacturing activities for the terminated Product(s), Momenta shall upon [***] and [***] to [***] to [***] and [***] associated therewith, [***] to effect a transfer of such activities to CSL or a Third Party nominated by CSL\nIf CSL so requests, Momenta will assign to CSL any agreements with Third Parties reasonably necessary for and primarily relating to the Development, Manufacture or Commercialization of the terminated Product(s) to which Momenta is a party to the extent permitted by the terms of such agreements; provided, however, that Momenta shall not be [***] to [***] to [***] or [***];"}
-{"idx": 1, "level": 4, "span": "(iii) If Momenta is Co-Funding one or more Products, Momenta shall submit payment to CSL for any amounts paid by CSL related to Program Expenses incurred through the Termination Date for which Momenta is responsible for under the Agreement with respect to the terminated Product(s), within [***] receipt from CSL of a detailed invoice therefore;"}
-{"idx": 1, "level": 4, "span": "(iv) the licenses granted to Momenta in Article 2 (other than the license granted under Section 2.3 with respect to Joint Intellectual Property) will terminate with respect to the terminated Product(s) (or entirely if the whole Agreement is terminated);"}
-{"idx": 1, "level": 4, "span": "(v) CSL shall, with respect to the terminated Products, continue to exercise the licenses and rights granted to CSL under Article 2, subject to the revised royalty rates set forth below, replacing the royalty rates set out in Section 3.1(e)(i), and with the same reporting obligations and other obligations related to the payment of such royalties as would have applied under this Agreement\nNo other royalties or milestones will be payable with respect to the terminated Product(s). CSL shall have the right to terminate such licenses at any time. The revised royalty rates are as follows:"}
-{"idx": 1, "level": 4, "span": "(1) If the Agreement is terminated prior to the [***] a [***] Trial for a terminated Product(s), CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product(s) during the Royalty Period;"}
-{"idx": 1, "level": 4, "span": "(2) If the Agreement is terminated after [***] a [***] and [***] the [***] a [***], CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period; and."}
-{"idx": 1, "level": 4, "span": "(3) If the Agreement is terminated on or after the [***] terminated Product, CSL shall pay to Momenta a royalty of [***] of Net Sales of such Product during the Royalty Period;"}
-{"idx": 1, "level": 4, "span": "(vi) until the expiry of CSL’s obligation to pay royalties under Section 11.7(b)(v), CSL shall provide Momenta with quarterly reports of Net Sales in relation to the terminated Product(s) in a level of detail equivalent to Net Sales Statements; and."}
-{"idx": 1, "level": 4, "span": "(vii) if this Agreement is terminated in its entirety only:"}
-{"idx": 1, "level": 4, "span": "(1) CSL shall have the right, at its sole cost and expense, to prosecute, maintain and enforce any Joint Patent Rights; and."}
-{"idx": 1, "level": 4, "span": "(2) Momenta shall use Commercially Reasonable Efforts to promptly transfer to CSL or its designee (A) copies of all data, reports, records and materials in Momenta’s possession or control which relate to the [***] Products; (B) all records and materials in Momenta’s possession or control containing Confidential Information which relates to the [***] Products; and (C) [***] and [***] to [***] to [***] and [***] of [***] associated therewith, [***] or [***] which relate to [***]."}
-{"idx": 1, "level": 3, "span": "(c) Termination Prior to the [***] the [***]\nWithout limiting any other legal or equitable remedies that either Party may have, if this Agreement is terminated:"}
-{"idx": 1, "level": 4, "span": "(i) the consequences set out in Section 11.7(a) shall apply, provided that the license specified in Section 11.7(a)(iv) shall not be granted by CSL to Momenta;"}
-{"idx": 1, "level": 4, "span": "(ii) Each Party shall grant to the other Party and its Affiliates a [***] to [***] in which it or its Affiliates has an ownership interest at the termination date [***] the [***] the [***] to [***];"}
-{"idx": 1, "level": 4, "span": "(iii) despite anything to the contrary in Section 11.7(a), the provisions of this Agreement relating to the [***] of [***] to [***];"}
-{"idx": 1, "level": 4, "span": "(iv) subject to the licenses granted to the other Party under this Agreement and any other terms of this Agreement that survive termination, each Party has a right to exploit its interest in the Joint Intellectual Property without the consent of and without accounting to the other Party; and"}
-{"idx": 1, "level": 4, "span": "(v) no further royalties or milestones will be payable by either Party except for the royalty payable under Section 11.7(a)(v)."}
-{"idx": 1, "level": 3, "span": "(d) [***] Products\n[***] Products are not subject to separate termination on a [***] Product by [***] Product basis under this Agreement. Subject to the provisions of any licenses granted or surviving on termination, on termination of the Agreement in its entirety, each Party will be free to exploit any Intellectual Property owned by it comprised in the [***] Products."}
-{"idx": 1, "level": 3, "span": "(a) Article 1 (Definitions);"}
-{"idx": 1, "level": 3, "span": "(b) Article 2 (Licenses), but solely with respect to the subject matter of the following provisions, and solely to the extent required to give effect to and subject to the provisions of:"}
-{"idx": 1, "level": 4, "span": "(i) Section 11.7(b)(v) (CSL’s right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);"}
-{"idx": 1, "level": 4, "span": "(ii) Section 11.7(a)(iv) (licenses to CSL survive solely to the extent necessary to enable CSL to perform its obligations under Section 11.7 with respect to the terminated Products on termination by Momenta where Momenta has right to return of the Product(s));"}
-{"idx": 1, "level": 4, "span": "(iii) Section 2.1(c) (providing for exercise of rights by Affiliates);"}
-{"idx": 1, "level": 4, "span": "(iv) Section 2.3 (Joint Intellectual Property);"}
-{"idx": 1, "level": 4, "span": "(v) Section 2.7 (Retained Rights);"}
-{"idx": 1, "level": 4, "span": "(vi) Section 2.9 (No Additional Licenses);"}
-{"idx": 1, "level": 4, "span": "(vii) Section 2.10(a) (Bankruptcy); and"}
-{"idx": 1, "level": 4, "span": "(viii) The limited license granted by CSL to Momenta with respect to New Intellectual Property, as provided in the final sentence of Section 2.2;"}
-{"idx": 1, "level": 3, "span": "(c) Section 3.5 (Currency);"}
-{"idx": 1, "level": 3, "span": "(d) Section 4.5(Overdue Payments);"}
-{"idx": 1, "level": 3, "span": "(e) Article 3 (Financial Terms) (with respect to earned payments and royalties as of the effective date of termination and the reporting of Net Sales and payments thereof under royalties payable post-termination under Section 11.7);"}
-{"idx": 1, "level": 3, "span": "(f) Section 4.3 (Cost Share and Profit Share for Co-Funding of Products and [***] Products) (solely with respect to unreported, unreconciled and Program Expenses, Profits and Losses as of the effective date of termination to facilitate the final payment and Reimbursement to a Party related thereto);"}
-{"idx": 1, "level": 3, "span": "(g) Section 4.6 (Taxes);"}
-{"idx": 1, "level": 3, "span": "(h) Section 4.7 (Audits; Records and Inspections);"}
-{"idx": 1, "level": 4, "span": "(i) Section 7.1 (Ownership of Intellectual Property);"}
-{"idx": 1, "level": 3, "span": "(j) Section 7.4 (Enforcement and Defense of Enforcement Intellectual Property) (but solely where, pursuant to Section 11.7(b)(v), CSL has the right to continue to exercise the licenses and rights granted to CSL under Article 2 on termination by CSL where CSL has right to continue);"}
-{"idx": 1, "level": 3, "span": "(k) Section 7.3(a) (Trademarks and Domain Names) (ownership of provision);"}
-{"idx": 1, "level": 3, "span": "(l) Article 8 (Confidential Information) other than Section 8.2 (Public Disclosure);"}
-{"idx": 1, "level": 3, "span": "(m) Article 9 (Indemnification and Limitation of Liability) other than Section 9.4(Insurance);"}
-{"idx": 1, "level": 3, "span": "(n) Article 11 (Term and Termination); and"}
-{"idx": 1, "level": 3, "span": "(o) Article 13 (Miscellaneous) other than Sections 13.3(b) (Change of Control); Section 13.8 (Quality Agreement); Section 13.11 (Dispute Resolution); Section 13.12 (HSR Act); and Section 13.13 (Anti-Corruption Audits and Inspections)"}
-{"idx": 1, "level": 2, "span": "ARTICLE 12."}
-{"idx": 1, "level": 2, "span": "REPRESENTATIONS, WARRANTIES AND COVENANTS\n12.1 Momenta. Momenta represents and warrants that, as of the Execution Date: (a) it has the full right, power and authority to enter into this Agreement and to grant the rights and licenses granted by it hereunder; (b) to the knowledge of Momenta, there are no existing or threatened actions, suits or claims pending with respect to the subject matter hereof or the right of Momenta to enter into and perform its obligations under this Agreement; (c) it has taken all necessary action on its part to authorize the execution and delivery of this Agreement and the performance of its obligations hereunder; (d) this Agreement has been duly executed and delivered on behalf of it, and constitutes a legal, valid, binding obligation, enforceable against it in accordance with the terms hereof; and (e) the execution and delivery of this Agreement and the performance of its obligations hereunder do not conflict with or violate any requirement of Applicable Law or regulations and do not conflict with, or constitute a default under, any contractual obligation of Momenta.\n12.2 CSL. CSL represents and warrants that as of the Execution Date: (a) it has the full right, power and authority to enter into this Agreement and to grant the rights and licenses granted by it hereunder; (b) to the knowledge of CSL, there are no existing or threatened actions, suits or claims pending with respect to the subject\nmatter hereof or the right of CSL to enter into and perform its obligations under this Agreement; (c) it has taken all necessary action on its part to authorize the execution and delivery of this Agreement and the performance of its obligations hereunder; (d) this Agreement has been duly executed and delivered on behalf of it, and constitutes a legal, valid, binding obligation, enforceable against it in accordance with the terms hereof; and (e) the execution and delivery of this Agreement and the performance of its obligations hereunder do not conflict with or violate any requirement of Applicable Law or regulations and do not conflict with, or constitute a default under, any contractual obligation of CSL.\n12.3 Additional Representations and Warranties by Momenta. In addition to the representations and warranties given by Momenta elsewhere in this Article 12, Momenta hereby also represents, warrants, and covenants to CSL that, to the best of its actual knowledge at the Execution Date, and other than those matters which have been disclosed, in writing, by Momenta to CSL prior to the signing of this Agreement:\n(a) it has not previously assigned or transferred its right, title and interest in any item of Momenta Patent Rights listed in Schedule 1.93;\n(b) it has the right to grant the license and rights herein to CSL and it has not granted any license, right or interest in, to or under the Momenta Patent Rights listed in Schedule 1.93 or any Momenta Know-How that is [***] and [***] the [***] the [***] under this Agreement to any Third Party;\n(c) the Development, use, sale and importation of Products [***] or [***] and does not [***] of [***] or [***] a [***];\n(d) there are no claims, judgments or settlements against or owed by Momenta and there are no pending or threatened claims or litigation; in each case relating to the Momenta Patents or Momenta Know-How;\n(e) [***] the [***] and [***] the [***] or [***] as of, the Execution Date have been and are being conducted in accordance with Applicable Laws;\n(f) [***] the [***] and, are [***] or [***], in whole or in part;\n(g) it has and will have the full right, power and authority to grant all of the right, title and interest in the licenses granted or to be granted to CSL under this Agreement; with the acknowledgement that non-exclusive license that held by Momenta can only be granted exclusively as to CSL and are not exclusive as to Third Parties;\n(h) Schedule 1.93 contains a complete and correct list of all Momenta Patents related to [***] existing as of the Execution Date, including any exclusive license rights, and the Momenta Patent Rights listed in Schedule 1.93 are existing and, with respect to any patents listed in Schedule 1.93 Momenta (i) is not aware of any claim made against it asserting the invalidity, misuse, unregisterability, unenforceability or non-infringement of any of such Momenta Patent Rights and (ii) is not aware of any claim made against it challenging Momenta’ Control of such Momenta Patent Rights or making any adverse claim of ownership or the rights of Momenta to such Momenta Patent Rights;\n(i) are not aware of any Third Party that is infringing any of the Momenta Patents;\n(j) other than as set out in Schedule 1.93 there are no exclusive license rights held by Momenta with respect to the composition, method of making, or method of use of the [***] Product;\n(k) the Momenta Patent Rights listed in Schedule 1.93 and any Momenta Know-how that is material to and would interfere with the exercise of the licenses granted under this Agreement existing as of the Execution Date are not subject to any funding agreement with any government or government agency which is inconsistent with the rights granted to CSL under this Agreement;\n(l) with regard to any invention claimed in the Momenta Patent Rights which was conceived, reduced to practice, developed, made or created by Momenta’s employees, Momenta has:\n(i) [***] or [***] on [***] on [***] to [***] to [***] the [***] or [***] of [***]\n(ii) [***] and [***] to [***] to [***] or [***] or [***] the [***] and [***] or [***] the [***] or [***] the [***] or [***] or [***] of [***].\n12.4 No Debarment. Each Party represents and warrants to the other Party that such Party, and such Party’s employees, officers, independent contractors, consultants, or agents who will render services relating to the Products and the [***] Products: (a) have not been debarred and are not subject to debarment or convicted of a crime for which an entity or person could be debarred under 21 U.S.C. § 335a (or its equivalent under Applicable Law); and (b) have never been under indictment for a crime for which a person or entity could be debarred under said § 335a (or its equivalent under Applicable Law). If during the Term, a Party has reason to believe that it or any of its employees, officers, independent contractors, consultants, or agents rendering services relating to the Products and the [***] Products: (x) is or will be debarred or convicted of a crime under 21 U.S.C. § 335a (or its equivalent under Applicable Law); or (y) is or will be under indictment under said § 335a (or its equivalent under Applicable Law), then such Party shall immediately so notify the other Party in writing.\n12.5 Compliance with Applicable Law. Each Party shall carry out all work assigned to such Party in the applicable Product Work Plan(s) and its other obligations under this Agreement in material compliance with all Applicable Law, including: (a) the Food, Drug, and Cosmetic Act and any applicable implementing regulations, and relevant non-U.S. equivalents thereof; (b) GMPs; (c) GCPs, (d) all other applicable FDA guidelines and relevant guidelines of applicable regulatory authorities; (e) all other Applicable Laws and regulations, including all applicable federal, national, multinational, state, provincial and local environmental, health and safety laws and regulations in effect at the time and place of Manufacture of a Product or a Research Product; (f) all applicable export and import control laws and regulations; and (g) all applicable anti-bribery and anti-corruption laws and regulations.\n12.6 Commercialization of Products. Each Party agrees, on behalf of itself and its Affiliates and Sublicensees, not to materially and artificially discount the price of a Product solely to generate sales of other products commercialized by such Party (either its own products or those of its Affiliates or Sublicensees).\n12.7 Anti-Corruption Laws. Each Party represents, warrants and covenants that it will comply with the U.S. Customs & Trade Partnership Against Terrorism and with the laws and regulations relating to anti-corruption and anti-bribery including the U.S. Foreign Corrupt Practices Act (collectively, the “Anti-Corruption Laws”). Each Party further represents and warrants that no one acting on its behalf will give, offer, agree or promise to give, or authorize the giving directly or indirectly, of any money or other thing of value to anyone as an inducement or reward for favorable action or forbearance from action or the exercise of influence (a) to any governmental official or employee (including employees of government-owned and government-controlled corporations or agencies), (b) to any political party, official of a political party, or candidate, (c) to an intermediary for payment to any of the foregoing, or (d) to any other person or entity in a corrupt or improper effort to obtain or retain business or any commercial advantage, such as receiving a permit or license.\n(a) Each Party understands that the other Party may immediately suspend payment, in its sole discretion and without notice, if the actions or inactions of such Party become subject to an investigation of potential violations of the Anti-Corruption Laws. Moreover, each Party understands that if it fails to comply with the provisions of the Anti-Corruption Laws, the other Party may terminate this Agreement, and any payments due thereunder, pursuant to Section 11.5.\n(b) Each Party warrants that all persons acting on its behalf will comply with all Anti-Corruption Laws in connection with all work performed hereunder prevailing in the country(ies) in which each Party has its principal places of business or performs such work.\n12.8 Disclaimer. EXCEPT AS OTHERWISE EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER PARTY MAKES ANY REPRESENTATIONS OR EXTENDS ANY WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR VALIDITY OF TECHNOLOGY OR PATENT CLAIMS, WHETHER ISSUED OR PENDING."}
-{"idx": 1, "level": 3, "span": "(a) it has not previously assigned or transferred its right, title and interest in any item of Momenta Patent Rights listed in Schedule 1.93;"}
-{"idx": 1, "level": 3, "span": "(b) it has the right to grant the license and rights herein to CSL and it has not granted any license, right or interest in, to or under the Momenta Patent Rights listed in Schedule 1.93 or any Momenta Know-How that is [***] and [***] the [***] the [***] under this Agreement to any Third Party;"}
-{"idx": 1, "level": 3, "span": "(c) the Development, use, sale and importation of Products [***] or [***] and does not [***] of [***] or [***] a [***];"}
-{"idx": 1, "level": 3, "span": "(d) there are no claims, judgments or settlements against or owed by Momenta and there are no pending or threatened claims or litigation; in each case relating to the Momenta Patents or Momenta Know-How;"}
-{"idx": 1, "level": 3, "span": "(e) [***] the [***] and [***] the [***] or [***] as of, the Execution Date have been and are being conducted in accordance with Applicable Laws;"}
-{"idx": 1, "level": 3, "span": "(f) [***] the [***] and, are [***] or [***], in whole or in part;"}
-{"idx": 1, "level": 3, "span": "(g) it has and will have the full right, power and authority to grant all of the right, title and interest in the licenses granted or to be granted to CSL under this Agreement; with the acknowledgement that non-exclusive license that held by Momenta can only be granted exclusively as to CSL and are not exclusive as to Third Parties;"}
-{"idx": 1, "level": 3, "span": "(h) Schedule 1.93 contains a complete and correct list of all Momenta Patents related to [***] existing as of the Execution Date, including any exclusive license rights, and the Momenta Patent Rights listed in Schedule 1.93 are existing and, with respect to any patents listed in Schedule 1.93 Momenta (i) is not aware of any claim made against it asserting the invalidity, misuse, unregisterability, unenforceability or non-infringement of any of such Momenta Patent Rights and (ii) is not aware of any claim made against it challenging Momenta’ Control of such Momenta Patent Rights or making any adverse claim of ownership or the rights of Momenta to such Momenta Patent Rights;"}
-{"idx": 1, "level": 4, "span": "(i) are not aware of any Third Party that is infringing any of the Momenta Patents;"}
-{"idx": 1, "level": 3, "span": "(j) other than as set out in Schedule 1.93 there are no exclusive license rights held by Momenta with respect to the composition, method of making, or method of use of the [***] Product;"}
-{"idx": 1, "level": 3, "span": "(k) the Momenta Patent Rights listed in Schedule 1.93 and any Momenta Know-how that is material to and would interfere with the exercise of the licenses granted under this Agreement existing as of the Execution Date are not subject to any funding agreement with any government or government agency which is inconsistent with the rights granted to CSL under this Agreement;"}
-{"idx": 1, "level": 3, "span": "(l) with regard to any invention claimed in the Momenta Patent Rights which was conceived, reduced to practice, developed, made or created by Momenta’s employees, Momenta has:"}
-{"idx": 1, "level": 4, "span": "(i) [***] or [***] on [***] on [***] to [***] to [***] the [***] or [***] of [***]"}
-{"idx": 1, "level": 4, "span": "(ii) [***] and [***] to [***] to [***] or [***] or [***] the [***] and [***] or [***] the [***] or [***] the [***] or [***] or [***] of [***]."}
-{"idx": 1, "level": 3, "span": "(a) Each Party understands that the other Party may immediately suspend payment, in its sole discretion and without notice, if the actions or inactions of such Party become subject to an investigation of potential violations of the Anti-Corruption Laws\nMoreover, each Party understands that if it fails to comply with the provisions of the Anti-Corruption Laws, the other Party may terminate this Agreement, and any payments due thereunder, pursuant to Section 11.5."}
-{"idx": 1, "level": 3, "span": "(b) Each Party warrants that all persons acting on its behalf will comply with all Anti-Corruption Laws in connection with all work performed hereunder prevailing in the country(ies) in which each Party has its principal places of business or performs such work."}
-{"idx": 1, "level": 2, "span": "ARTICLE 13."}
-{"idx": 1, "level": 2, "span": "MISCELLANEOUS\n13.1 Governing Law. This Agreement shall be governed by, interpreted and construed in accordance with the substantive laws of the State of New York in the United States, without regard to conflicts of law principles.\n13.2 Amendment; Waiver. This Agreement may only be amended or waived in a document that expressly states the Article or Section that is being modified or waived and that is signed by the Parties. The failure of a Party to insist upon strict performance of any provision of this Agreement or to exercise any right arising out of this Agreement shall neither impair that provision or right nor constitute a waiver of that provision or right, in whole or in part, in that instance or in any other instance.\n13.3 Assignments; Change in Control.\n(a) Assignment. Neither this Agreement nor any right or obligation hereunder may be assigned or delegated, in whole or part, by either Party without the prior written consent of the other or pursuant to subcontracting or sublicensing arrangements expressly contemplated herein; provided, however, that either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder in connection with the transfer or sale of all or substantially all of its business or in the event of its merger, consolidation, change in control or similar transaction. Notwithstanding the foregoing, either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder to an Affiliate; provided that neither Party may, [***] the [***] the [***] or [***] of [***] to [***] Any permitted assignee shall assume all obligations of its assignor under this Agreement; provided that such assignor shall remain primarily liable for the performance hereunder of such assignee. Any purported assignment in violation of this Section 13.3 shall be null and void. Notwithstanding anything to the contrary set forth herein, if a Party (the “Assigning Party”) assigns or transfers this Agreement to a Third Party (any such Third Party, a “Transferee”), whether by merger, assignment, transfer of assets, or operation of law, then the [***] that were [***] or [***] by such [***] to or [***] such assignment or [***] (other than [***] by such [***] in the course of [***] the [***] under this Agreement to the extent such [***] would [***] been so [***] had it been [***] or [***] to [***] by [***]) shall not be deemed to [***], [***] or other [***] or [***] by such [***], and shall also not be [***] or otherwise [***] in any manner, including without limitation, by being [***] to any [***] of or [***] this [***]. Furthermore, such [***] (and [***] of such [***]: (a) [***] immediately prior to such merger, acquisition, assignment or transfer; or (b) [***] or [***] such merger, acquisition, assignment or transfer, in each case which are not [***] by (as defined under the [***] definition in [***]) the [***]) shall be excluded from the [***] for purposes of determining [***] that are [***] to this [***].\n(b) Change of Control.\n(i) Momenta Change of Control. Notwithstanding anything to the contrary in Section 13.3(a), in the event that Momenta is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), Momenta shall, within [***] after the date that such Change of Control closes (the “Momenta COC Closing Date”), provide CSL with notice of such Change of Control (“Momenta COC Notice”). In the event of a Change of Control of Momenta, then:\n(1) Upon CSL’s written election after receipt of such Momenta COC Notice (which election shall be made by providing notice thereof (“CSL COC Election Notice”) no later than [***] after receipt of the Momenta COC Notice), and effective as of the Momenta COC Closing Date (or the Effective Date, if later) solely if CSL provides such CSL COC Election Notice:\n(A) CSL shall retain all licenses granted under this Agreement and shall retain the exclusive right to Develop, Manufacture and Commercialize the Products in the Territory;\n(B) If Momenta is Co-Funding prior to the Change of Control, Momenta will retain its Opt-Out Options under this Agreement. If Momenta has not exercised a Co-Funding Option, Momenta shall forfeit its Co-Funding Option if it has not expired;\n(C) Momenta shall promptly transfer to CSL or its designee all Development, Manufacturing, and Commercialization Activities under any Product Work Plan. Momenta shall also transfer its control of any Enforcement and Defense of Intellectual Property activities under Section 7.4 pertaining to CSL Intellectual Property and Joint Intellectual Property for the Products in the Territory and CSL shall assume control thereof and the provisions of Subsections 11.7(b)(i) to 11.7(b)(iv) (inclusive) shall apply;\n(D) CSL shall not be obligated to submit any further updates to the Product Work Plan or the Commercialization Plan to Momenta;\n(E) Except as provided in (F) below, Momenta shall [***] or [***] the [***] and the [***] and [***];\n(F) CSL shall have no further reporting or record-keeping obligations hereunder with respect to the Development, Manufacture or Commercialization of, and regulatory activities for, the Products other than: (x) its financial reporting and record-keeping obligations, and audit rights, to the extent necessary to verify the accuracy of the calculation of royalties, milestones or other amounts paid or payable to Momenta and to provide to Momenta, if Momenta is Co-Funding any Product, the information to be provided in the Reimbursement and Co-Funding Report provided for in Section 4.3(c), based on the then-effective terms of the Agreement, as applicable; and (y) provision of updates regarding anticipated timelines for Regulatory Approvals and Launches of the Products and budgets associated with such timelines;\n(G) CSL shall have the right to terminate any Co-Promotion Agreements and Momenta’s Co-Promotion Options in the U.S. by providing written notice of such termination to Momenta within [***] after sending the CSL COC Election Notice;\n(H) Unless CSL specifies otherwise in its Momenta COC Notice, if there is an existing Research Plan at time of Change of Control, the Research Plan shall terminate; and\n(I) All licenses of Intellectual Property granted by CSL to Momenta under this Agreement shall terminate. Except as otherwise expressly provided in this Section 13.3(b)(i), each Party shall continue to have the same rights and obligations to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control.\n(ii) CSL Change of Control. Notwithstanding anything to the contrary in Section 13.3(a), in the event that CSL is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), CSL shall, within [***] after the date that such Change of Control closes (the “CSL COC Closing Date”), provide Momenta with notice of such Change of Control (“CSL COC Notice”). In the event of a Change of Control of CSL, then:\n(1) Upon Momenta’s written election after receipt of such CSL COC Notice (which election shall be made by providing notice thereof (“Momenta COC Election Notice”) no later than [***] after receipt of the CSL COC Notice), and effective as of the CSL COC Closing Date (or the Effective Date, if later) solely if Momenta provides such Momenta COC Election Notice, Momenta shall have:\n(A) the right to terminate any Co-Promotion agreement and/or the Research Plan;\n(B) The right to opt out of Co-Funding any Product on a Product by Product basis or with regard to all Products by giving an Opt-Out Notice under Section 4.2(b); and Section 4.2(b) shall be deemed to be amended to allow for an opt-out of Co-Funding on Product-by-Product basis; and\n(C) Each Development Plan then in effect shall be subject to review and approval by the JSC in accordance with Section 5.2 in the same manner as provided for an initial Development Plan for each Product.\n(2) Except as otherwise expressly provided in this Section 13.3(b)(ii), each Party shall continue to have the same rights and obligations under the Agreement, including without limitation, the right to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control.\n13.4 Independent Contractors. The relationship of the Parties hereto is that of independent contractors. The Parties hereto are not deemed to be agents, partners or joint ventures of the others for any purpose as a result of this Agreement or the transactions contemplated thereby.\n13.5 Notices. Any notice required or permitted to be given under or in connection with this Agreement shall be deemed to have been sufficiently given if in writing and (a) sent by certified or registered mail, return receipt requested, postage prepaid, (b) sent by an internationally recognized overnight courier service, (c) sent by hand delivery, to the representative for such Party at the address set forth below for such Party, or (d) sent by electronic mail to the representative for such party at the electronic mail address set forth below for such Party. If a Party changes its representative or address, written notice shall be given promptly to the other Party of the new representative or address. Notice shall be deemed given on the third (3rd) Business Day after being sent in the case of delivery by mail, on the first (1st) Business Day after being sent in the case of delivery by overnight courier, on the date of delivery in the case of delivery by hand, and upon receipt by the Party giving notice of an electronic mail message from the Party to which notice is being given acknowledging acceptance in the case of electronic mail. The addresses of the Parties and representatives are as follows:\nIf to Momenta:Momenta Pharmaceuticals, Inc.\n675 West Kendall Street\nCambridge, MA 02142"}
-{"idx": 1, "level": 2, "span": "USA\nAttn: President and CEO\nFacsimile: [***]\nWith a copy to:Momenta Pharmaceuticals, Inc.\n675 West Kendall Street\nCambridge, MA 02142"}
-{"idx": 1, "level": 2, "span": "USA\nAttn: General Counsel\nEmail: [***]\nIf to CSL:CSL Behring Recombinant Facility AG\nWankdorfstrasse 10\n3000 Bern 22"}
-{"idx": 1, "level": 3, "span": "Switzerland\nAttention: Senior Director, Legal Affairs\nFacsimile: [***]\nWith a copy to:CSL Limited\n45 Poplar Road\nParkville Vic 3052"}
-{"idx": 1, "level": 3, "span": "Australia\nAttention: Company Secretary\nEmail: [***]\n13.6 Force Majeure. Neither Party shall be held liable or responsible to the other nor be deemed to have defaulted under or breached the Agreement for failure or delay in fulfilling or performing any term of the Agreement (excluding payment obligations) to the extent, and for so long as, such failure or delay is caused by or results from causes beyond the reasonable control of such Party including but not limited to fires, earthquakes, floods, embargoes, wars, acts of war (whether war is declared or not), terrorist acts, insurrections, riots, civil commotion, and other similar causes. Performance shall be excused only to the extent of and during the reasonable continuance of such disability. Any deadline\nor time for performance specified in a Product Work Plan that falls due during or subsequent to the occurrence of any of the disabilities referred to herein shall be automatically extended for a period of time equal to the period of such disability. Each Party shall immediately notify the other if, by reason of any of the disabilities referred to herein, it cannot meet any deadline or time for performance specified in any Exhibit to this Agreement. The Parties shall meet to discuss and negotiate in good faith what modifications to this Agreement should result from this force majeure. If a condition constituting force majeure, as defined herein, exists for more than one-hundred eighty (180) consecutive days (a) with respect to a Product or a [***] Product, then either Party may terminate the Agreement solely with respect to such Product or [***] Product, or (b) that affects all Products and [***] Products, either Party may terminate this entire Agreement. The consequences of such termination are set forth in Section 11.7.\n13.7 Complete Agreement. This Agreement constitutes the entire agreement, both written and oral, between the Parties with respect to the subject matter hereof, and all prior agreements respecting the subject matter hereof, whether written or oral, expressed or implied, shall be of no force or effect, including the Prior Confidentiality Agreement and the Prior Material Transfer Agreement (subject to Section 8.5).\n13.8 Quality Agreement. The Parties shall enter into a quality agreement relating to any GMP Product to be manufactured under a Product Work Plan by or for Momenta on behalf of CSL prior to initiating any GMP activities under the Product Work Plan.\n13.9 Severability. If any provisions of this Agreement are determined to be invalid or unenforceable by a court of competent jurisdiction, the remainder of the Agreement shall remain in full force and effect without such provision. In such event, the Parties shall in good faith negotiate a substitute clause for any provision declared invalid or unenforceable, which shall most nearly approximate the intent of the Parties in entering this Agreement.\n13.10 Counterparts. This Agreement may be executed in counterparts, each of which shall be deemed to be an original and both together shall be deemed to be one and the same agreement. Counterparts may be signed and delivered by facsimile, or electronically in PDF format, each of which will be binding when sent.\n13.11 Dispute Resolution. The Parties recognize that bona fide disputes may arise that relate to the Parties’ rights and obligations under this Agreement. Where this Agreement does not specifically provide for a mechanism to resolve such Disputed Matter, the Parties shall follow the procedure set out in this section:\n(a) Executive Resolution. In attempting to resolve any Disputed Matters, the Disputed Matter shall first be elevated through each Party’s respective executive management representatives having responsibility for the function or Activity in respect of which such dispute occurs.\n(b) Mediation. If executive management representatives are unable to resolve a Disputed Matter within [***] after such matter is referred to such executive management representatives, and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, the Parties shall, for Disputed Matters other than those arising under Section 3.1(g), then submit the matter for non-binding mediation under the [***]. The Parties will select a mediator on an expedited basis and seek to mediate the matter with in [***] of referral to mediation.\n(c) Arbitration except in respect of matters arising under Sections [***] and [***]. Subject to Sections [***] and [***], where a Disputed Matter remains unresolved [***] after referral to executive management representatives pursuant to Section 13.11(a) and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, and, following such failure of executive management resolution, mediation pursuant to Section 13.11(b) (as applicable) has been unsuccessful, a Party seeking further resolution of the Disputed Matter shall submit the Disputed Matter to resolution by final and binding arbitration in accordance with [***] in effect on the date of this Agreement and applying the substantive law specified in Section 13.1. For the purposes of this Section 13.11, these rules and supplementary procedures shall be called the “Rules”. Whenever a Party decides to institute arbitration proceedings, it shall give written notice to that effect to the other Party, and the place of arbitration will be in [***]. The arbitration will be conducted by a panel of three (3) arbitrators, who will be appointed as follows: the Parties shall attempt to jointly select such arbitrators. If the Parties cannot agree on the three arbitrators, then the arbitrators will be appointed by [***] in accordance with the Rules. Each arbitrator must have business or legal experience in the biologic pharmaceutical industry and any additional experience set forth in Section 6.8(c), if such Disputed Matter arises under such section. Decisions of the arbitrators that conform to the terms of this Section 13.11(c) shall be final and binding on the Parties, and judgment on the award so rendered may be entered in any court of competent jurisdiction.\n(d) Arbitration in relation to matters arising under Sections [***] and [***]. As explicitly provided for in Sections [***] and [***], if executive management resolution and then mediation do not resolve the relevant Disputed Matter, the Parties shall then submit the relevant Disputed Matter for arbitration pursuant to the [***], using a single arbitrator who will be agreed by the Parties or, should the Parties fail to reach agreement within [***], will be selected in accordance with the [***]. Unless otherwise agreed to by the Parties, the arbitrator shall not be the same as the mediator, and must have business or legal experience in the biologic pharmaceutical industry. The arbitrator shall have sole responsibility of resolving such Disputed Matter from a case and proposal submitted by each Party under this Section 13.11(d), and no other Disputed Matters, claims or counterclaims will be permitted by the Parties in such arbitration. Within [***] after selection of the arbitrator, each Party shall submit to the arbitrator, and exchange with the other Party in accordance with a procedure to be established by the arbitrator, its case and proposal for resolving such Disputed Matter. Within [***] after receiving each Party’s case and proposal, the arbitrator shall select, in its entirety and without modification, solely one (1) of the two (2) proposals submitted by the Parties. Decisions of the arbitrator that conform to the terms of this Section 13.11(d) shall be final and binding on the Parties for the purpose of [***] of the relevant Product; provided that it shall not affect CSL’s right under this Agreement, exercisable at any time, [***] to [***] with [***] and [***] of such [***].\n(e) The Parties shall each bear or pay [***] of the administrative costs and fees of any arbitration under Section 13.11(c) and/or 13.11(d) and the arbitrators’ award will so provide. Each Party shall also bear or pay its own attorneys’ fees, expert or witness fees, and any other fees and costs, and no such fees or costs will be shifted to the other Party. Except as may be required by Applicable Law, no Party (or its representative, witnesses or arbitrators) may disclose the existence, content or result of any arbitration under this Agreement without the prior written consent of both Parties, except that no such consent shall be required to enter and enforce the judgment in court.\n(f) Non-arbitrated Disputes. Notwithstanding anything in this Agreement to the contrary, as between the Parties, any and all issues regarding: (i) the infringement, validity and enforceability of any patent in a country, (ii) the termination of this Agreement (other than termination for failure to use Commercially Reasonable Efforts), (iii) any Disputed Matter that occurs after the termination of the Agreement and (iv) any decision of CSL under Section 5.14 not to continue with Development and/or Commercialization of the First Product (collectively “Non-Arbitrated Matters”) shall be determined in a court or other tribunal, as the case may be, of competent jurisdiction. To the extent that such Non-Arbitrated Matters are litigated in a court in the United States, the parties agree to file any such dispute in the United States District Court for the [***], with each party waiving its right to object due to lack of personal jurisdiction, improper or inconvenient venue, or other reasons. Subject to the provisions of Section 11.4 (Termination for Patent Challenge), the parties reserve the right to challenge the validity of patents in the Patent Trial and Appeal Board of the U.S. Patent Office. If such Non-Arbitrated Matters involve other related Disputed Matters, the Parties agree that all such matters shall be litigated together in court and without arbitration.\n(g) Equitable Relief. Notwithstanding anything in this Agreement to the contrary, nothing in this Agreement shall prevent either Party from seeking equitable relief from any court of competent jurisdiction to prevent immediate and irreparable injury, loss, or damage on a provisional basis, pending the decision of the arbitrators on the ultimate merits of any Disputed Matter. Any such request shall not be deemed incompatible with the agreement to arbitrate or a waiver of the right to arbitrate.\n13.12 HSR Act. The Parties shall use Commercially Reasonable Efforts to promptly obtain any clearance required under the Hart-Scott-Rodino Antitrust Improvements Act of 1976, as amended (15 U.S.C. § 18a) (the “HSR Act”) for the consummation of this Agreement and the transactions contemplated hereby. Each Party shall furnish to the other Party reasonably necessary information and reasonable assistance as the other Party may request in connection with its compliance with the HSR Act, and any inquiries or requests for additional information in connection therewith. Each Party shall pay all of its costs and expenses related to any filing by such Party pursuant to the HSR Act, save that the parties shall each pay one half of the filing fee for such filing. The Parties shall request early termination of the waiting period for clearance under the HSR Act. Each Party shall provide the other Party with notice of achievement of the HSR clearance on the HSR Clearance Date or promptly thereafter as practical. Other than the provisions of Article 12 and this Section 13.12, the rights and obligations of the Parties under this Agreement shall not become effective until the HSR Clearance Date, at which time they shall be immediately effective. If the HSR Clearance Date has not been granted within one hundred twenty (120) days after the Execution Date, either Party may terminate this Agreement by written notice to the other Party. Except for Article 8, none of the provisions of this Agreement (for clarity, including Section 11.7 and Section 11.9), shall remain in effect after such termination.\n13.13 Anti-Corruption Audits and Inspection. Upon sixty (60) days’ prior written notice from a Party, the other Party shall permit, and shall ensure that its Affiliates and Sublicensees shall permit representatives and/or agents of the requesting Party, at the requesting Party’s expense, to have access to such Party’s (or their Affiliates’ or Sublicensees’) records, as may be reasonably necessary to verify the non-requesting Party’s compliance with Section 12.7; provided that a Party may not request to conduct such an audit of the other Party more than once per calendar year.\n13.14 Captions; Certain Conventions; Construction. All captions herein are for convenience only and shall not be interpreted as having any substantive meaning. The Exhibits to this Agreement are incorporated herein by reference and shall be deemed a part of this Agreement. Unless otherwise expressly provided herein or the context of this Agreement otherwise requires: (a) words of any gender include each other gender; (b) words such as “herein”, “hereof”, and “hereunder” refer to this Agreement as a whole and not merely to the particular provision in which such words appear; (c) words using the singular shall include the plural, and vice versa; (d) the words “include,” “includes” and “including” shall be deemed to be followed by the phrase “but not limited to”, “without limitation”, “inter alia” or words of similar import; and (e) references to “Article,” “Section,” “subsection”, “clause”, or other subdivision, or Exhibit, without reference to a document are to the specified provision or Exhibit of this Agreement. If the terms of this Agreement conflict with the terms of any Exhibit, the terms of this Agreement shall prevail. References to either Party include the successors and permitted assigns of that Party. The Preamble, Recitals and Exhibits are incorporated by reference into this Agreement. The Parties have each consulted counsel of their choice regarding this Agreement, and, accordingly, no provisions of this Agreement will be construed against either Party on the basis that the Party drafted this Agreement or any provision thereof. The official text of this Agreement and any Exhibit, any notice given or accounts or statements required by this Agreement, and any dispute proceeding related to or arising hereunder, will be in English. If any dispute concerning the construction or meaning of this Agreement arises, then reference will be made only to this Agreement as written in English and not to any translation into any other language."}
-{"idx": 1, "level": 4, "span": "[Signature Page Follows]"}
-{"idx": 1, "level": 4, "span": "[Signature Page to License and Option Agreement]\nIN WITNESS WHEREOF, the Parties hereto have set their hand as of the Execution Date."}
-{"idx": 1, "level": 3, "span": "(a) Executive Resolution\nIn attempting to resolve any Disputed Matters, the Disputed Matter shall first be elevated through each Party’s respective executive management representatives having responsibility for the function or Activity in respect of which such dispute occurs."}
-{"idx": 1, "level": 3, "span": "(b) Mediation\nIf executive management representatives are unable to resolve a Disputed Matter within [***] after such matter is referred to such executive management representatives, and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, the Parties shall, for Disputed Matters other than those arising under Section 3.1(g), then submit the matter for non-binding mediation under the [***]. The Parties will select a mediator on an expedited basis and seek to mediate the matter with in [***] of referral to mediation."}
-{"idx": 1, "level": 3, "span": "(c) Arbitration except in respect of matters arising under Sections [***] and [***]\nSubject to Sections [***] and [***], where a Disputed Matter remains unresolved [***] after referral to executive management representatives pursuant to Section 13.11(a) and final decision-making in respect of such Disputed Matter is not otherwise conferred upon CSL by the terms of this Agreement, and, following such failure of executive management resolution, mediation pursuant to Section 13.11(b) (as applicable) has been unsuccessful, a Party seeking further resolution of the Disputed Matter shall submit the Disputed Matter to resolution by final and binding arbitration in accordance with [***] in effect on the date of this Agreement and applying the substantive law specified in Section 13.1. For the purposes of this Section 13.11, these rules and supplementary procedures shall be called the “Rules”. Whenever a Party decides to institute arbitration proceedings, it shall give written notice to that effect to the other Party, and the place of arbitration will be in [***]. The arbitration will be conducted by a panel of three (3) arbitrators, who will be appointed as follows: the Parties shall attempt to jointly select such arbitrators. If the Parties cannot agree on the three arbitrators, then the arbitrators will be appointed by [***] in accordance with the Rules. Each arbitrator must have business or legal experience in the biologic pharmaceutical industry and any additional experience set forth in Section 6.8(c), if such Disputed Matter arises under such section. Decisions of the arbitrators that conform to the terms of this Section 13.11(c) shall be final and binding on the Parties, and judgment on the award so rendered may be entered in any court of competent jurisdiction."}
-{"idx": 1, "level": 3, "span": "(d) Arbitration in relation to matters arising under Sections [***] and [***]\nAs explicitly provided for in Sections [***] and [***], if executive management resolution and then mediation do not resolve the relevant Disputed Matter, the Parties shall then submit the relevant Disputed Matter for arbitration pursuant to the [***], using a single arbitrator who will be agreed by the Parties or, should the Parties fail to reach agreement within [***], will be selected in accordance with the [***]. Unless otherwise agreed to by the Parties, the arbitrator shall not be the same as the mediator, and must have business or legal experience in the biologic pharmaceutical industry. The arbitrator shall have sole responsibility of resolving such Disputed Matter from a case and proposal submitted by each Party under this Section 13.11(d), and no other Disputed Matters, claims or counterclaims will be permitted by the Parties in such arbitration. Within [***] after selection of the arbitrator, each Party shall submit to the arbitrator, and exchange with the other Party in accordance with a procedure to be established by the arbitrator, its case and proposal for resolving such Disputed Matter. Within [***] after receiving each Party’s case and proposal, the arbitrator shall select, in its entirety and without modification, solely one (1) of the two (2) proposals submitted by the Parties. Decisions of the arbitrator that conform to the terms of this Section 13.11(d) shall be final and binding on the Parties for the purpose of [***] of the relevant Product; provided that it shall not affect CSL’s right under this Agreement, exercisable at any time, [***] to [***] with [***] and [***] of such [***]."}
-{"idx": 1, "level": 3, "span": "(e) The Parties shall each bear or pay [***] of the administrative costs and fees of any arbitration under Section 13.11(c) and/or 13.11(d) and the arbitrators’ award will so provide\nEach Party shall also bear or pay its own attorneys’ fees, expert or witness fees, and any other fees and costs, and no such fees or costs will be shifted to the other Party. Except as may be required by Applicable Law, no Party (or its representative, witnesses or arbitrators) may disclose the existence, content or result of any arbitration under this Agreement without the prior written consent of both Parties, except that no such consent shall be required to enter and enforce the judgment in court."}
-{"idx": 1, "level": 3, "span": "(f) Non-arbitrated Disputes\nNotwithstanding anything in this Agreement to the contrary, as between the Parties, any and all issues regarding: (i) the infringement, validity and enforceability of any patent in a country, (ii) the termination of this Agreement (other than termination for failure to use Commercially Reasonable Efforts), (iii) any Disputed Matter that occurs after the termination of the Agreement and (iv) any decision of CSL under Section 5.14 not to continue with Development and/or Commercialization of the First Product (collectively “Non-Arbitrated Matters”) shall be determined in a court or other tribunal, as the case may be, of competent jurisdiction. To the extent that such Non-Arbitrated Matters are litigated in a court in the United States, the parties agree to file any such dispute in the United States District Court for the [***], with each party waiving its right to object due to lack of personal jurisdiction, improper or inconvenient venue, or other reasons. Subject to the provisions of Section 11.4 (Termination for Patent Challenge), the parties reserve the right to challenge the validity of patents in the Patent Trial and Appeal Board of the U.S. Patent Office. If such Non-Arbitrated Matters involve other related Disputed Matters, the Parties agree that all such matters shall be litigated together in court and without arbitration."}
-{"idx": 1, "level": 3, "span": "(g) Equitable Relief\nNotwithstanding anything in this Agreement to the contrary, nothing in this Agreement shall prevent either Party from seeking equitable relief from any court of competent jurisdiction to prevent immediate and irreparable injury, loss, or damage on a provisional basis, pending the decision of the arbitrators on the ultimate merits of any Disputed Matter. Any such request shall not be deemed incompatible with the agreement to arbitrate or a waiver of the right to arbitrate."}
-{"idx": 1, "level": 2, "span": "MOMENTA PHARMACEUTICALS, INC.\nBy: /s/ Craig A. Wheeler \nName: Craig A. Wheeler\nTitle: President and Chief Executive Officer\nCSL BEHRING RECOMBINANT FACILITY AG by its duly authorized attorney\nBy: /s/ David Lamont \nName: David Lamont\nTitle: Chief Financial Officer"}
-{"idx": 1, "level": 3, "span": "(a) Assignment\nNeither this Agreement nor any right or obligation hereunder may be assigned or delegated, in whole or part, by either Party without the prior written consent of the other or pursuant to subcontracting or sublicensing arrangements expressly contemplated herein; provided, however, that either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder in connection with the transfer or sale of all or substantially all of its business or in the event of its merger, consolidation, change in control or similar transaction. Notwithstanding the foregoing, either Party may, without the written consent of the other, assign this Agreement and its rights and delegate its obligations hereunder to an Affiliate; provided that neither Party may, [***] the [***] the [***] or [***] of [***] to [***] Any permitted assignee shall assume all obligations of its assignor under this Agreement; provided that such assignor shall remain primarily liable for the performance hereunder of such assignee. Any purported assignment in violation of this Section 13.3 shall be null and void. Notwithstanding anything to the contrary set forth herein, if a Party (the “Assigning Party”) assigns or transfers this Agreement to a Third Party (any such Third Party, a “Transferee”), whether by merger, assignment, transfer of assets, or operation of law, then the [***] that were [***] or [***] by such [***] to or [***] such assignment or [***] (other than [***] by such [***] in the course of [***] the [***] under this Agreement to the extent such [***] would [***] been so [***] had it been [***] or [***] to [***] by [***]) shall not be deemed to [***], [***] or other [***] or [***] by such [***], and shall also not be [***] or otherwise [***] in any manner, including without limitation, by being [***] to any [***] of or [***] this [***]. Furthermore, such [***] (and [***] of such [***]: (a) [***] immediately prior to such merger, acquisition, assignment or transfer; or (b) [***] or [***] such merger, acquisition, assignment or transfer, in each case which are not [***] by (as defined under the [***] definition in [***]) the [***]) shall be excluded from the [***] for purposes of determining [***] that are [***] to this [***]."}
-{"idx": 1, "level": 3, "span": "(b) Change of Control."}
-{"idx": 1, "level": 4, "span": "(i) Momenta Change of Control\nNotwithstanding anything to the contrary in Section 13.3(a), in the event that Momenta is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), Momenta shall, within [***] after the date that such Change of Control closes (the “Momenta COC Closing Date”), provide CSL with notice of such Change of Control (“Momenta COC Notice”). In the event of a Change of Control of Momenta, then:"}
-{"idx": 1, "level": 4, "span": "(1) Upon CSL’s written election after receipt of such Momenta COC Notice (which election shall be made by providing notice thereof (“CSL COC Election Notice”) no later than [***] after receipt of the Momenta COC Notice), and effective as of the Momenta COC Closing Date (or the Effective Date, if later) solely if CSL provides such CSL COC Election Notice:"}
-{"idx": 1, "level": 4, "span": "(A) CSL shall retain all licenses granted under this Agreement and shall retain the exclusive right to Develop, Manufacture and Commercialize the Products in the Territory;"}
-{"idx": 1, "level": 4, "span": "(B) If Momenta is Co-Funding prior to the Change of Control, Momenta will retain its Opt-Out Options under this Agreement\nIf Momenta has not exercised a Co-Funding Option, Momenta shall forfeit its Co-Funding Option if it has not expired;"}
-{"idx": 1, "level": 4, "span": "(C) Momenta shall promptly transfer to CSL or its designee all Development, Manufacturing, and Commercialization Activities under any Product Work Plan\nMomenta shall also transfer its control of any Enforcement and Defense of Intellectual Property activities under Section 7.4 pertaining to CSL Intellectual Property and Joint Intellectual Property for the Products in the Territory and CSL shall assume control thereof and the provisions of Subsections 11.7(b)(i) to 11.7(b)(iv) (inclusive) shall apply;"}
-{"idx": 1, "level": 4, "span": "(D) CSL shall not be obligated to submit any further updates to the Product Work Plan or the Commercialization Plan to Momenta;"}
-{"idx": 1, "level": 4, "span": "(E) Except as provided in (F) below, Momenta shall [***] or [***] the [***] and the [***] and [***];"}
-{"idx": 1, "level": 4, "span": "(F) CSL shall have no further reporting or record-keeping obligations hereunder with respect to the Development, Manufacture or Commercialization of, and regulatory activities for, the Products other than: (x) its financial reporting and record-keeping obligations, and audit rights, to the extent necessary to verify the accuracy of the calculation of royalties, milestones or other amounts paid or payable to Momenta and to provide to Momenta, if Momenta is Co-Funding any Product, the information to be provided in the Reimbursement and Co-Funding Report provided for in Section 4.3(c), based on the then-effective terms of the Agreement, as applicable; and (y) provision of updates regarding anticipated timelines for Regulatory Approvals and Launches of the Products and budgets associated with such timelines;"}
-{"idx": 1, "level": 4, "span": "(G) CSL shall have the right to terminate any Co-Promotion Agreements and Momenta’s Co-Promotion Options in the U.S\nby providing written notice of such termination to Momenta within [***] after sending the CSL COC Election Notice;"}
-{"idx": 1, "level": 4, "span": "(H) Unless CSL specifies otherwise in its Momenta COC Notice, if there is an existing Research Plan at time of Change of Control, the Research Plan shall terminate; and"}
-{"idx": 1, "level": 4, "span": "(I) All licenses of Intellectual Property granted by CSL to Momenta under this Agreement shall terminate\nExcept as otherwise expressly provided in this Section 13.3(b)(i), each Party shall continue to have the same rights and obligations to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control."}
-{"idx": 1, "level": 4, "span": "(ii) CSL Change of Control\nNotwithstanding anything to the contrary in Section 13.3(a), in the event that CSL is subject to a Change of Control (whether or not this Agreement is assigned in connection with such Change of Control), CSL shall, within [***] after the date that such Change of Control closes (the “CSL COC Closing Date”), provide Momenta with notice of such Change of Control (“CSL COC Notice”). In the event of a Change of Control of CSL, then:"}
-{"idx": 1, "level": 4, "span": "(1) Upon Momenta’s written election after receipt of such CSL COC Notice (which election shall be made by providing notice thereof (“Momenta COC Election Notice”) no later than [***] after receipt of the CSL COC Notice), and effective as of the CSL COC Closing Date (or the Effective Date, if later) solely if Momenta provides such Momenta COC Election Notice, Momenta shall have:"}
-{"idx": 1, "level": 4, "span": "(A) the right to terminate any Co-Promotion agreement and/or the Research Plan;"}
-{"idx": 1, "level": 4, "span": "(B) The right to opt out of Co-Funding any Product on a Product by Product basis or with regard to all Products by giving an Opt-Out Notice under Section 4.2(b); and Section 4.2(b) shall be deemed to be amended to allow for an opt-out of Co-Funding on Product-by-Product basis; and"}
-{"idx": 1, "level": 4, "span": "(C) Each Development Plan then in effect shall be subject to review and approval by the JSC in accordance with Section 5.2 in the same manner as provided for an initial Development Plan for each Product."}
-{"idx": 1, "level": 4, "span": "(2) Except as otherwise expressly provided in this Section 13.3(b)(ii), each Party shall continue to have the same rights and obligations under the Agreement, including without limitation, the right to receive royalties and milestone payments and, if applicable, to share or require the sharing of Program Expenses, Profits and Losses, and, in the case of Momenta, to exercise its Opt-Out Option, in each case as applicable under the terms of the Agreement in effect immediately prior to the Change of Control."}
-{"idx": 2, "level": 0, "span": "INVESTMENT AGREEMENT"}
-{"idx": 2, "level": 1, "span": "by and among"}
-{"idx": 2, "level": 1, "span": "PANDORA MEDIA, INC.,"}
-{"idx": 2, "level": 1, "span": "KKR CLASSIC INVESTORS LLC"}
-{"idx": 2, "level": 1, "span": "and"}
-{"idx": 2, "level": 1, "span": "THE OTHER PURCHASERS HERETO"}
-{"idx": 2, "level": 1, "span": "Dated as of May 8, 2017"}
-{"idx": 2, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 2, "level": 1, "span": "iii\nINVESTMENT AGREEMENT, dated as of May 8, 2017 (this “Agreement”), by and among Pandora Media, Inc., a Delaware corporation (the “Company”), and KKR Classic Investors LLC, together with certain of its managed funds and accounts and affiliates, and the other parties that become Purchasers hereunder pursuant to Section 2.03.\nWHEREAS, the Company desires to issue, sell and deliver to the Purchasers, and the Purchasers desire to purchase and acquire from the Company, pursuant to the terms and conditions set forth in this Agreement, up to 250,000 shares of the Company’s Series A Convertible Preferred Stock, par value $0.0001 per share (the “Series A Preferred Stock”), having the designation, preferences, conversion or other rights, voting powers, restrictions, limitations as to dividends, qualifications and terms and conditions, as specified in the form of Certificate of Designations attached hereto as Annex I (the “Certificate of Designations”);\nNOW, THEREFORE, in consideration of the mutual covenants, representations, warranties and agreements contained in this Agreement, the receipt and sufficiency of which are hereby acknowledged, the parties to this Agreement hereby agree as follows:"}
-{"idx": 2, "level": 2, "span": "Article I"}
-{"idx": 2, "level": 2, "span": "Definitions\nSection 1.01 Definitions. (a) As used in this Agreement (including the recitals hereto), the following terms shall have the following meanings:\n“20% Entity” means any Person that, after giving effect to a proposed Transfer, would beneficially own, on an as converted basis, greater than 20% of the then outstanding Common Stock, on an as converted basis.\n“50% Beneficial Ownership Requirement” means that either (i) the Lead Purchasers and their Permitted Transferees continue to beneficially own at all times shares of Series A Preferred Stock and/or shares of Common Stock that were issued upon conversion of shares of Series A Preferred Stock that represent in the aggregate and on an as converted basis, at least 50% of the number of shares of Common Stock issuable upon conversion of the Series A Preferred Stock purchased by the Lead Purchasers under this Agreement; provided that for purposes of this clause (i) it shall be assumed that the Lead Purchasers owned 125,000 shares of Series A Preferred Stock on the Initial Closing Date rather than the 150,000 shares of Series A Preferred Stock purchased by the Lead Purchasers on the Initial Closing Date or (ii) all Purchasers collectively continue to beneficially own at all times shares of Series A Preferred Stock and/or shares of Common Stock that were issued upon conversion of shares of Series A Preferred Stock that represent in the aggregate and on an as converted basis, at least 50% of the number of shares of Common Stock issuable upon conversion of the Series A Preferred Stock purchased under this Agreement.\n“Acquisition Proposal” means (i) any proposal or offer from any Person or group of Persons, other than the Lead Purchasers and their respective Affiliates, with respect to a merger, joint venture, partnership, consolidation, dissolution, liquidation, tender offer, recapitalization, reorganization, spin-off, extraordinary dividend, share exchange, business combination or similar transaction\ninvolving the Company or any of its Subsidiaries which is structured to permit such Person or group of Persons (or the holders of their equity securities) to, directly or indirectly, acquire beneficial ownership of 50% or more of the Company’s consolidated total assets or any class of the Company’s Capital Stock and (ii) any acquisition by any Person or group of Persons (or the holders of their equity interests) (other than the Lead Purchasers and their respective Affiliates) resulting in, or proposal or offer, which if consummated would result in, any Person or group of Persons (or the holders of their equity interests) (other than the Lead Purchasers and their respective Affiliates) obtaining control (through contract or otherwise) over or becoming the beneficial owner of, directly or indirectly, in one or a series of related transactions, 50% or more of the total voting power of any class of Capital Stock of the Company, or 50% or more of the consolidated total assets (including equity securities of its Subsidiaries) of the Company, in each case other than the transactions contemplated by this Agreement.\n“Affiliate” means, as to any Person, any other Person that, directly or indirectly, controls, or is controlled by, or is under common control with, such Person; provided, however, that the Company and its Subsidiaries shall not be deemed to be Affiliates of any Purchaser Party or any of its Affiliates, and portfolio companies of any Lead Purchasers or any Affiliate thereof, shall not be deemed to be Affiliates of such Lead Purchaser. For this purpose, “control” (including, with its correlative meanings, “controlled by” and “under common control with”) shall mean the possession, directly or indirectly, of the power to direct or cause the direction of management or policies of a Person, whether through the ownership of securities or partnership or other ownership interests, by contract or otherwise.\n“as converted basis” means (i) with respect to the outstanding shares of Common Stock as of any date, all outstanding shares of Common Stock calculated on a basis in which all shares of Common Stock issuable upon conversion of the outstanding shares of Series A Preferred Stock (at the Conversion Rate in effect on such date as set forth in the Certificate of Designations) are assumed to be outstanding as of such date and (ii) with respect to any outstanding shares of Series A Preferred Stock as of any date, the number of shares of Common Stock issuable upon conversion of such shares of Series A Preferred Stock on such date (at the Conversion Rate in effect on such date as set forth in the Certificate of Designations).\nAny Person shall be deemed to “beneficially own”, to have “beneficial ownership” of, or to be “beneficially owning” any securities (which securities shall also be deemed “beneficially owned” by such Person) that such Person is deemed to “beneficially own” within the meaning of Rules 13d-3 and 13d-5 under the Exchange Act; provided that any Person shall be deemed to beneficially own any securities that such Person has the right to acquire, whether or not such right is exercisable immediately (including assuming conversion of all Series A Preferred Stock, if any, owned by such Person to Common Stock).\n“Board” means the Board of Directors of the Company.\n“Business Day” means any day except a Saturday, a Sunday or other day on which the SEC or banks in the City of New York are authorized or required by Law to be closed.\n“Capital Stock” means, with respect to any Person, any and all shares of, interests in, rights to purchase, warrants to purchase, options for, participations in or other equivalents of or interests in (however designated) stock issued by such Person.\n“Closing” means the Initial Closing or an Additional Closing, as applicable.\n“Closing Date” means the Initial Closing Date or an Additional Closing Date, as applicable.\n“Code” means the United States Internal Revenue Code of 1986, as amended.\n“Common Equity” of any Person means Capital Stock of such Person that is generally entitled (a) to vote in the election of directors of such Person or (b) if such Person is not a corporation, to vote or otherwise participate in the selection of the governing body, partners, managers or others that will control the management or policies of such Person.\n“Common Stock” means the common stock, par value $0.0001 per share, of the Company.\n“Company Charter Documents” means the Company’s charter and bylaws, each as amended to the date of this Agreement, and shall include the Certificate of Designations, when filed with and accepted for record by the DSS.\n“Company Plan” means each plan, program, policy, agreement or other arrangement covering current or former employees, directors or consultants, that is (i) an employee welfare plan within the meaning of Section 3(1) of ERISA, (ii) an employee pension benefit plan within the meaning of Section 3(2) of ERISA, other than any plan which is a “multiemployer plan” (as defined in Section 4001(a)(3) of ERISA), (iii) a stock option, stock purchase, stock appreciation right or other stock-based agreement, program or plan, (iv) an individual employment, consulting, severance, retention or other similar agreement or (v) a bonus, incentive, deferred compensation, profit-sharing, retirement, post-retirement, vacation, severance or termination pay, benefit or fringe-benefit plan, program, policy, agreement or other arrangement, in each case that is sponsored, maintained or contributed to by the Company or any of its Subsidiaries or to which the Company or any of its Subsidiaries contributes or is obligated to contribute to or has or may have any liability, other than any plan, program, policy, agreement or arrangement sponsored and administered by a Governmental Authority.\n“Company MSU” means a restricted stock unit of the Company subject to vesting conditions based on the total stockholder return of the Company’s common stock against that of the Russell 2000 Index.\n“Company PSU” means a restricted stock unit of the Company subject to performance-based vesting conditions.\n“Company Restricted Share” means a share of Common Stock that is subject to forfeiture conditions.\n“Company Stock Option” means an option to purchase shares of Common Stock.\n“Company Stock Plans” means the Company’s 2000 Stock Incentive Plan, 2004 Stock Plan and the 2011 Equity Incentive Plan, in each case as amended.\n“Conversion Rate” has the meaning set forth in the Certificate of Designations.\n“Credit Agreement” means the Amendment and Restatement Agreement to Credit Agreement, as previously amended and restated as of September 12, 2013, among the Company, the Lenders party thereto and JPMorgan Chase Bank, N.A. as Administrative Agent, dated as of December 21, 2015.\n“DGCL” means the Delaware General Corporation Law, as amended, supplemented or restated from time to time.\n“DSS” means Delaware Secretary of State, Division of Corporations.\n“ERISA” means the Employee Retirement Income Security Act of 1974, as amended.\n“Exchange Act” means the Securities Exchange Act of 1934, as amended, and the rules and regulations promulgated thereunder.\n“Fall-Away of Purchaser Board Rights” means the first day on which the 50% Beneficial Ownership Requirement is not satisfied.\n“Fair Market Value” means, with respect to any security or other property, the fair market value of such security or other property as reasonably determined in good faith by a majority of the Board, or an authorized committee thereof, (i) after consultation with an Independent Financial Advisor, as to any security or other property with a Fair Market Value of less than $25,000,000, or (ii) otherwise using an Independent Financial Advisor to provide a valuation opinion.\n(a) a “person” or “group” within the meaning of Section 13(d) of the Exchange Act, other than the Company, its Wholly-owned Subsidiaries and the employee benefit plans of the Company and its Wholly-Owned Subsidiaries, files a Schedule TO or any schedule, form or report under the Exchange Act disclosing that such person or group, has become the direct or indirect “beneficial owner,” as defined in Rule 13d-3 under the Exchange Act, of the Company’s Common Equity representing more than 50% of the voting power of the Company’s Common Equity;\n(b) the consummation of (A) any recapitalization, reclassification or change of the Common Stock (other than changes resulting from a subdivision or combination) as a result of which the Common Stock would be converted into, or exchanged for, stock, other securities, other property or assets; (B) any share exchange, consolidation or merger of the Company pursuant to which the Common Stock will be converted into cash, securities or other property or assets; or (C) any sale, lease or other transfer in one transaction or a series of transactions of all or substantially all of the consolidated assets of the Company and its Subsidiaries, taken as a whole, to any Person other than one of the Company’s Wholly-Owned Subsidiaries; provided, however, that a transaction\ndescribed in clause (B) in which the holders of all classes of the Company’s Common Equity immediately prior to such transaction own, directly or indirectly, more than 50% of all classes of Common Equity of the continuing or surviving corporation or transferee or the parent thereof immediately after such transaction in substantially the same proportions as such ownership immediately prior to such transaction shall not be a Fundamental Change pursuant to this clause (b);\n(c) the stockholders of the Company approve any plan or proposal for the liquidation or dissolution of the Company;\n(d) the occurrence of any “change in control” or “fundamental change” (or any similar event, however denominated) with respect to the Company under and as defined in any indenture, credit agreement or other agreement or instrument evidencing, governing the rights of the holders or otherwise relating to any indebtedness for borrowed money of the Company in an aggregate principal amount of $2,000,000 or more or any other series of preferred equity interests; or\n(e) the Common Stock (or other common stock underlying the Notes) ceases to be listed or quoted on any of The New York Stock Exchange, The NASDAQ Global Select Market or The NASDAQ Global Market (or any of their respective successors);"}
-{"idx": 2, "level": 2, "span": "provided, however\n, that a transaction or transactions described in clause (a) or clause (b) above shall not constitute a Fundamental Change if at least 90% of the consideration received or to be received by the common stockholders of the Company, excluding cash payments for fractional shares, in connection with such transaction or transactions consists of shares of common stock that are listed or quoted on any of The New York Stock Exchange, The NASDAQ Global Select Market or The NASDAQ Global Market (or any of their respective successors) or will be so listed or quoted when issued or exchanged in connection with such transaction or transactions and as a result of such transaction or transactions the shares of Series A Preferred Stock become convertible into such consideration, excluding cash payments for fractional shares (subject to the provisions of Section 13 of the Certificate of Designations).\n“GAAP” means generally accepted accounting principles in the United States, consistently applied.\n“Governmental Authority” means any government, court, regulatory or administrative agency, commission, arbitrator or authority or other legislative, executive or judicial governmental entity (in each case including any self-regulatory organization), whether federal, state or local, domestic, foreign or multinational.\n“HSR Act” means the Hart-Scott-Rodino Antitrust Improvements Act of 1976, as amended, and the rules and regulations promulgated thereunder.\n“Indenture” means the 1.75% Convertible Senior Notes Indenture, dated December 9, 2015, between the Company and Citibank, N.A, as trustee.\n“Independent Director” means a person other than (i) a person who has been or who has an immediate family member who has been an officer, employee or director of a Purchaser or Affiliate thereof within the three years prior to the designation of such person to the Board, (ii) a person who has received, or has an immediate family member who has received, during any twelve-month period within the three years prior to the designation of such person to the Board, more than $120,000 in direct compensation from the Purchaser or any Affiliate thereof, other than deferred compensation for prior service (provided such compensation is not contingent in any way on continued service), (iii) a person who is or who has an immediate family member who is an officer, employee or director of a company or an Affiliate thereof that has made payments to, or received payments from, a Purchaser or its Affiliates for property or services in an amount which, in any of the three years prior to the designation of such person to the Board, in excess of the greater of $1 million, or 2% of such other company's or its Affiliate’s, as applicable, consolidated gross revenues or (iv) any other individual having a relationship, which, in the opinion of the Board, would interfere with the exercise of independent judgment in carrying out the responsibilities of a director. An “immediate family member” includes a person’s spouse, parents, children, siblings, mothers and fathers-in-law, sons and daughters-in-law, brothers and sisters-in-law, and anyone (other than domestic employees) who shares such person’s home.\n“Independent Financial Advisor” means an accounting, appraisal, investment banking firm or consultant of nationally recognized standing selected by the Company.\n“Intellectual Property” means any of the following, as they exist anywhere in the world, whether registered or unregistered: (a) patents, patentable inventions and other patent rights; (b) trademarks, service marks, trade dress, trade names, domain names, logos and corporate names and all goodwill related thereto; (c) copyrights; (d) trade secrets, know-how, inventions, algorithms, databases, confidential business information and other proprietary information and rights; (e) computer software programs; and (f) other technology and intellectual property rights.\n“Knowledge” means, with respect to the Company, the actual knowledge of the individuals listed on Section 1.01 of the Company Disclosure Letter, after reasonable inquiry of an officer or employee of the Company that has primary responsibility for such matter.\n“Lead Purchasers” means all Purchasers that are affiliates or managed funds or accounts of KKR Classic Investors LLC.\n“Liens” means any mortgage, pledge, lien, charge, encumbrance, security interest or other restriction of any kind or nature, whether based on common law, statute or contract.\n“Material Adverse Effect” means any effect, change, event or occurrence that has or would reasonably be expected to have, individually or in the aggregate, (x) a material adverse effect on the business, results of operations, assets or condition (financial or otherwise) of the Company and its Subsidiaries, taken as a whole or (y) would prevent, materially delay or materially impede (i) the ability of the Company to consummate the Transactions on a timely basis, (ii) the ability of the Company to comply with its obligations under this Agreement or (iii) the enforceability of the Certificate of Designations; provided, however, that, for purposes of clause (x) above, none of the following, and no effect, change, event or occurrence arising out of, or resulting from, the following,\nshall constitute or be taken into account in determining whether a Material Adverse Effect has occurred or would reasonably be expected to occur: any effect, change, event or occurrence (A) generally affecting (1) the industry in which the Company and its Subsidiaries operate or (2) the economy, credit or financial or capital markets, in the United States or elsewhere in the world, including changes in interest or exchange rates, or (B) to the extent arising out of, resulting from or attributable to (1) changes or prospective changes in Law or in GAAP or in accounting standards, or any changes or prospective changes in the interpretation or enforcement of any of the foregoing, or any changes or prospective changes in general legal, regulatory or political conditions, (2) the negotiation, execution or announcement of this Agreement or the consummation of the Transactions, including the impact thereof on relationships, contractual or otherwise, with customers, suppliers, distributors, partners, employees or regulators, or any claims or litigation arising from allegations of breach of fiduciary duty or violation of Law relating to this Agreement or the Transactions, (3) acts of war (whether or not declared), sabotage or terrorism, or any escalation or worsening of any such acts of war (whether or not declared), sabotage or terrorism, (4) volcanoes, tsunamis, pandemics, earthquakes, hurricanes, tornados or other natural disasters, (5) any action taken by the Company or its Subsidiaries that is required by this Agreement or with a Purchaser’s express written consent or at a Purchaser’s express written request, (6) any change resulting or arising from the identity of, or any facts or circumstances relating to, the Purchasers or any of their Affiliates, (7) any change or prospective change in the Company’s credit ratings, (8) any decline in the market price, or change in trading volume, of the capital stock of the Company or (9) any failure to meet any internal or public projections, forecasts, guidance, estimates, milestones, budgets or internal or published financial or operating predictions of revenue, earnings, cash flow or cash position (it being understood that the exceptions in clauses (7), (8) and (9) shall not prevent or otherwise affect a determination that the underlying cause of any such change, decline or failure referred to therein (if not otherwise falling within any of the exceptions provided by clause (A) and clauses (B)(1) through (9) hereof) is a Material Adverse Effect); provided further, however, that any effect, change, event or occurrence referred to in clause (A) or clauses (B)(1), (3) or (4) may be taken into account in determining whether there has been, or would reasonably be expected to be, individually or in the aggregate, a Material Adverse Effect to the extent such effect, change, event or occurrence has a disproportionate adverse effect on the business, results of operations, assets or condition (financial or otherwise) of the Company and its Subsidiaries, taken as a whole, as compared to other participants in the industry in which the Company and its Subsidiaries operate (in which case the incremental disproportionate impact or impacts may be taken into account in determining whether there has been, or would reasonably be expected to be, a Material Adverse Effect).\n“NYSE” means the New York Stock Exchange.\n“PCI DSS” means the Payment Card Industry Data Security Standards, as amended from time to time.\n“Permitted Transferee” means, with respect to any Person, (i) any Affiliate of such Person, (ii) any successor entity of such Person, (iii) with respect to any Person that is an investment fund, vehicle or similar entity, any other investment fund, vehicle or similar entity of which such Person or an Affiliate, advisor or manager of such Person serves as the general partner, manager or advisor, (iv) with respect to any Person that is an investment fund, vehicle or similar entity, the limited\npartners of such Person pursuant to a distribution in kind in connection with the winding up or dissolution of such Person, (v) any Person who purchases, in the aggregate, up to 25,000 shares of Series A Preferred Stock from the Lead Purchasers within 90 days from the date hereof; provided that such Person is not a Prohibited Transferee and is a US Person and such Transfer does not violate Section 5.08(d), and (vi) any transferee consented to in writing by the Company; provided that, in each such case with respect to the Series A Preferred Stock, such Person is a U.S. Person, unless otherwise consented to in writing by the Company.\n“Person” means an individual, corporation, limited liability company, partnership, joint venture, association, trust, unincorporated organization or any other entity, including a Governmental Authority.\n“Prohibited Transferee” means the Persons listed on Section 1.01 of the Company Disclosure Letter as a “Prohibited Transferee” and the Affiliates thereof.\n“Purchasers” means the Lead Purchasers and the other Persons who become a party hereto as a Purchaser pursuant to Section 2.03, each of which shall be a “Purchaser”.\n“Purchaser Designee” means an individual designated in writing by the Lead Purchasers or the Purchasers, as applicable, for election to the Board pursuant to Section 5.10.\n“Purchaser Director” means a member of the Board who was elected to the Board as a Purchaser Designee.\n“Purchaser Material Adverse Effect” means any effect, change, event, occurrence, state of facts, development or condition that would prevent or materially delay, interfere with, hinder or impair (i) the consummation by the Purchasers of any of the Transactions on a timely basis or (ii) the compliance by the Purchasers with their obligations under this Agreement.\n“Purchaser Parties” means the Purchasers and each Permitted Transferee of the Purchasers to whom shares of Series A Preferred Stock or Common Stock are transferred pursuant to Section 5.08(b)(i).\n“Registration Rights Agreement” means that certain Registration Rights Agreement to be entered into by the Company and the Purchasers, the form of which is set forth as Annex II hereto.\n“Representatives” means, with respect to any Person, its officers, directors, principals, partners, managers, members, employees, consultants, agents, financial advisors, investment bankers, attorneys, accountants, other advisors and other representatives.\n“SEC” means the Securities and Exchange Commission.\n“Securities Act” means the Securities Act of 1933, as amended, and the rules and regulations promulgated thereunder.\n“Standstill Period” means (i) for the Lead Purchasers and their Permitted Transferees, the period beginning on the Initial Closing Date and ending on the date that is six (6) months after the\ndate on which both (x) the Lead Purchasers and their Permitted Transferees no longer have the right to designate a Board member pursuant to Section 5.10 and (y) a Purchaser Director is no longer serving on the Board and (ii) for any other Purchaser, the period beginning on the Closing Date on which such Person purchased shares of Series A Preferred Stock and ending on the one-year anniversary of such date.\n“Subsidiary”, when used with respect to any Person, means any corporation, limited liability company, partnership, association, trust or other entity of which (x) securities or other ownership interests representing more than 50% of the ordinary voting power (or, in the case of a partnership, more than 50% of the general partnership interests) or (y) sufficient voting rights to elect at least a majority of the board of directors or other governing body are, as of such date, owned by such Person or one or more Subsidiaries of such Person or by such Person and one or more Subsidiaries of such Person.\n“Tax” means any and all federal, state, local or foreign taxes, fees, levies, duties, tariffs, imposts, and other similar charges (together with any and all interest, penalties and additions to tax) imposed by any Governmental Authority, including taxes or other charges on or with respect to income, franchises, windfall or other profits, gross receipts, property, sales, use, capital stock, payroll, employment, social security, workers’ compensation, unemployment compensation or net worth; taxes or other charges in the nature of excise, withholding, ad valorem, stamp, transfer, value added or gains taxes; license, registration and documentation fees; and customs duties, tariffs and similar charges, together with any interest or penalty, in addition to tax or additional amount imposed by any Governmental Authority.\n“Tax Return” means returns, reports, claims for refund, declarations of estimated Taxes and information statements, including any schedule or attachment thereto or any amendment thereof, with respect to Taxes filed or required to be filed with any Governmental Authority, including consolidated, combined and unitary tax returns."}
-{"idx": 2, "level": 3, "span": "(a) a “person” or “group” within the meaning of Section 13(d) of the Exchange Act, other than the Company, its Wholly-owned Subsidiaries and the employee benefit plans of the Company and its Wholly-Owned Subsidiaries, files a Schedule TO or any schedule, form or report under the Exchange Act disclosing that such person or group, has become the direct or indirect “beneficial owner,” as defined in Rule 13d-3 under the Exchange Act, of the Company’s Common Equity representing more than 50% of the voting power of the Company’s Common Equity;"}
-{"idx": 2, "level": 3, "span": "(b) the consummation of (A) any recapitalization, reclassification or change of the Common Stock (other than changes resulting from a subdivision or combination) as a result of which the Common Stock would be converted into, or exchanged for, stock, other securities, other property or assets; (B) any share exchange, consolidation or merger of the Company pursuant to which the Common Stock will be converted into cash, securities or other property or assets; or (C) any sale, lease or other transfer in one transaction or a series of transactions of all or substantially all of the consolidated assets of the Company and its Subsidiaries, taken as a whole, to any Person other than one of the Company’s Wholly-Owned Subsidiaries; provided, however, that a transaction"}
-{"idx": 2, "level": 3, "span": "(c) the stockholders of the Company approve any plan or proposal for the liquidation or dissolution of the Company;"}
-{"idx": 2, "level": 3, "span": "(d) the occurrence of any “change in control” or “fundamental change” (or any similar event, however denominated) with respect to the Company under and as defined in any indenture, credit agreement or other agreement or instrument evidencing, governing the rights of the holders or otherwise relating to any indebtedness for borrowed money of the Company in an aggregate principal amount of $2,000,000 or more or any other series of preferred equity interests; or"}
-{"idx": 2, "level": 3, "span": "(e) the Common Stock (or other common stock underlying the Notes) ceases to be listed or quoted on any of The New York Stock Exchange, The NASDAQ Global Select Market or The NASDAQ Global Market (or any of their respective successors);"}
-{"idx": 2, "level": 2, "span": "ARTICLE II"}
-{"idx": 2, "level": 2, "span": "Purchase and Sale\nSection 2.01 Purchase and Sale. On the terms of this Agreement and subject to the satisfaction (or, to the extent permitted by applicable Law, waiver by the party entitled to the benefit thereof) of the conditions set forth in Article VI, at the applicable Closing, the Purchasers shall purchase and acquire from the Company the number of shares of Series A Preferred Stock set forth in Section 2.01 of the Company Disclosure Letter, and the Company shall issue, sell and deliver to each Purchaser, such shares of Series A Preferred Stock (the “Acquired Shares”) set forth opposite such Purchaser’s name in Section 2.01 of the Company Disclosure Letter, for a purchase price per Acquired Share equal to $1,000 (the “Purchase Price”). The purchase and sale of the Acquired Shares pursuant to this Section 2.01 is referred to as the “Purchase”.\nSection 2.02 Initial Closing. (a) On the terms of this Agreement, the initial closing of the Purchase (the “Initial Closing”) shall occur at 10:00 a.m. (New York City time) on the later of (i) June 8, 2017 and (ii) first Business Day after all of the conditions to the Closing set forth in Article VI of this Agreement have been satisfied or, to the extent permitted by applicable Law, waived by the party entitled to the benefit thereof (other than those conditions that by their nature are to be satisfied at the Closing, but subject to the satisfaction or waiver of those conditions at such time) at the offices of Sidley Austin LLP, 1999 Avenue of the Stars, Los Angeles, California 90067, or at such other place, time and date as shall be agreed between the Company and the Purchasers (the date on which the Initial Closing occurs, the “Initial Closing Date”).\n(a) At the Initial Closing:\n(i) the Company shall deliver to the Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and\n(ii) the Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S. federal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers.\nSection 2.03 Additional Closings. (a) The Company may conduct one or more additional closings (an “Additional Closing”) for the issuance of shares of Series A Preferred Stock with additional Persons who become Purchasers under this Agreement by signing a joinder whereby such Persons agree to become Purchasers hereunder (“Additional Closing Purchasers”); provided that the aggregate number of shares of Series A Preferred Stock issued shall not exceed 250,000.\n(a) At each Additional Closing:\n(i) the Company shall deliver to the Additional Closing Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and\n(ii) the Additional Closing Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S. federal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers.\nFor the avoidance of doubt, additional Purchasers who become party to this Agreement prior to the Initial Closing Date shall purchase their Acquired Shares at the Initial Closing. The Company shall amend and restate Section 2.01 of the Company Disclosure Letter for each Additional Closing Purchaser who becomes a party to this Agreement."}
-{"idx": 2, "level": 3, "span": "(a) At the Initial Closing:"}
-{"idx": 2, "level": 4, "span": "(i) the Company shall deliver to the Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and"}
-{"idx": 2, "level": 4, "span": "(ii) the Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S\nfederal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers."}
-{"idx": 2, "level": 3, "span": "(a) At each Additional Closing:"}
-{"idx": 2, "level": 4, "span": "(i) the Company shall deliver to the Additional Closing Purchasers (1) the Acquired Shares purchased by them free and clear of all Liens, except restrictions on transfer imposed by the Securities Act, Section 5.08 and any applicable securities Laws and (2) the Registration Rights Agreement, duly executed by the Company; and"}
-{"idx": 2, "level": 4, "span": "(ii) the Additional Closing Purchasers shall (1) pay the Purchase Price for the Acquired Shares purchased by them to the Company, by wire transfer in immediately available U.S\nfederal funds, to the account designated by the Company in writing and (2) deliver to the Company the Registration Rights Agreement, duly executed by the Purchasers."}
-{"idx": 2, "level": 2, "span": "ARTICLE III"}
-{"idx": 2, "level": 2, "span": "Representations and Warranties of the Company\nThe Company represents and warrants to each Purchaser as of the date hereof and as of the Initial Closing (except to the extent made only as of a specified date, in which case such representation and warranty is made as of such date) that, except as (A) set forth in the confidential disclosure letter delivered by the Company to the Purchasers prior to the execution of this Agreement\n(the “Company Disclosure Letter”) (it being understood that any information, item or matter set forth on one section or subsection of the Company Disclosure Letter shall only be deemed disclosure with respect to, and shall only be deemed to apply to and qualify, the section or subsection of this Agreement to which it corresponds in number and each other section or subsection of this Agreement to the extent that it is reasonably apparent that such information, item or matter is relevant to such other section or subsection) or (B) disclosed in any report, schedule, form, statement or other document (including exhibits) filed with, or furnished to, the SEC and publicly available after December 31, 2016 and prior to the date hereof (the “Filed SEC Documents”), other than any risk factor disclosures in any such Filed SEC Document contained in the “Risk Factors” section or any forward-looking statements within the meaning of the Securities Act or the Exchange Act thereof (it being acknowledged that nothing disclosed in the Filed SEC Documents shall be deemed to qualify or modify the representations and warranties set forth in Sections 3.01, 3.02(a), 3.03, 3.05, 3.12 and 3.13):\nSection 3.01 Organization; Standing. (a) The Company is a corporation duly organized and validly existing under the Laws of the State of Delaware, is in good standing with the DSS and has all requisite corporate power and corporate authority necessary to carry on its business as it is now being conducted. The Company is duly licensed or qualified to do business and is in good standing (where such concept is recognized under applicable Law) in each jurisdiction in which the nature of the business conducted by it or the character or location of the properties and assets owned or leased by it makes such licensing or qualification necessary, except where the failure to be so licensed, qualified or in good standing would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. True and complete copies of the Company Charter Documents are included in the Filed SEC Documents.\n(a) Each of the Company’s Subsidiaries is duly organized, validly existing and in good standing (where such concept is recognized under applicable Law) under the Laws of the jurisdiction of its organization, except where the failure to be so organized, existing and in good standing would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\nSection 3.02 Capitalization. (a) The authorized capital stock of the Company consists of 1,000,000,000 shares of Common Stock and 10,000,000 shares of preferred stock, par value $0.0001 per share (“Company Preferred Stock”), of which 250,000 shares of Series A Preferred Stock, par value $0.0001 per share will be authorized as of the date hereof. At the close of business on May 5, 2017 (the “Capitalization Date”), (i) 240,358,500 shares of Common Stock were issued and outstanding (and no Company Restricted Shares were issued and outstanding), (ii) 11,429,472 shares of Common Stock were reserved and available for issuance pursuant to the Company Stock Plans, (iii) 9,668,144 shares of Common Stock were subject to outstanding Company Stock Options, (iv) 357,696 Company MSUs were outstanding pursuant to which a maximum of 386,000 shares of Common Stock could be issued, (v) 1,697,750 Company PSUs were outstanding, (vi) 1,516,662 shares of Common Stock were reserved and available for purchase under the Company’s 2014 Equity Stock Purchase Plan and (vii) no shares of Company Preferred Stock were issued or outstanding.\n(a) Except as described in this Section 3.02, as of the Capitalization Date, there were (i) no outstanding shares of capital stock of, or other equity or voting interests in, the Company, (ii) no outstanding securities of the Company convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company, (iii) no outstanding options, warrants, rights or other commitments or agreements to acquire from the Company, or that obligate the Company to issue, any capital stock of, or other equity or voting interests (or voting debt) in, or any securities convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company other than obligations under the Company Plans in the ordinary course of business, (iv) no obligations of the Company to grant, extend or enter into any subscription, warrant, right, convertible or exchangeable security or other similar agreement or commitment relating to any capital stock of, or other equity or voting interests in, the Company (the items in clauses (i), (ii), (iii) and (iv) being referred to collectively as “Company Securities”) and (v) no other obligations by the Company or any of its Subsidiaries to make any payments based on the price or value of any Company Securities. There are no outstanding agreements of any kind which obligate the Company or any of its Subsidiaries to repurchase, redeem or otherwise acquire any Company Securities (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs), or obligate the Company to grant, extend or enter into any such agreements relating to any Company Securities, including any agreements granting any preemptive rights, subscription rights, anti-dilutive rights, rights of first refusal or similar rights with respect to any Company Securities. None of the Company or any Subsidiary of the Company is a party to any stockholders’ agreement, voting trust agreement, registration rights agreement or other similar agreement or understanding relating to any Company Securities or any other agreement relating to the disposition, voting or dividends with respect to any Company Securities. All outstanding shares of Common Stock have been duly authorized and validly issued and are fully paid, nonassessable and free of preemptive rights.\nSection 3.03 Authority; Noncontravention. (a) The Company has all necessary corporate power and corporate authority to execute and deliver this Agreement and the other Transaction Agreements and to perform its obligations hereunder and thereunder and to consummate the Transactions. The execution, delivery and performance by the Company of this Agreement and the other Transaction Agreements, and the consummation by it of the Transactions, have been duly authorized by the Board and no other corporate action on the part of the Company is necessary to authorize the execution, delivery and performance by the Company of this Agreement and the other Transaction Agreements and the consummation by it of the Transactions. This Agreement has been duly executed and delivered by the Company and, assuming due authorization, execution and delivery hereof by the Purchasers, constitutes a legal, valid and binding obligation of the Company, enforceable against the Company in accordance with its terms, except that such enforceability (i) may be limited by bankruptcy, insolvency, fraudulent transfer, reorganization, moratorium and other similar Laws of general application affecting or relating to the enforcement of creditors’ rights generally and (ii) is subject to general principles of equity, whether considered in a proceeding at law or in equity (the “Bankruptcy and Equity Exception”).\n(a) Neither the execution and delivery of this Agreement or the other Transaction Agreements by the Company, nor the consummation by the Company of the Transactions, nor\nperformance or compliance by the Company with any of the terms or provisions hereof or thereof, will (i) conflict with or violate any provision of (A) the Company Charter Documents or (B) the similar organizational documents of any of the Company’s Subsidiaries or (ii) assuming that the authorizations, consents and approvals referred to in Section 3.04 are obtained prior to the Initial Closing Date and the filings referred to in Section 3.04 are made and any waiting periods thereunder have terminated or expired prior to the Initial Closing Date, (x) violate any Law or Judgment applicable to the Company or any of its Subsidiaries or (y) violate or constitute a default (or constitute an event which, with notice or lapse of time or both, would violate or constitute a default) under any of the terms or provisions of any loan or credit agreement, indenture, debenture, note, bond, mortgage, deed of trust, lease, sublease, license, contract or other agreement (each, a “Contract”) to which the Company or any of its Subsidiaries is a party or accelerate the Company’s or, if applicable, any of its Subsidiaries’ obligations under any such Contract, except, in the case of clause (i)(B) and clause (ii), as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\nSection 3.04 Governmental Approvals. Except for (a) the filing of the Certificate of Designations with the DSS and the acceptance for record by the DSS of the Certificate of Designations pursuant to the DGCL, (b) filings required under, and compliance with other applicable requirements of the HSR Act and (c) compliance with any applicable state securities or blue sky laws, no consent or approval of, or filing, license, permit or authorization, declaration or registration with, any Governmental Authority is necessary for the execution and delivery of this Agreement and the other Transaction Agreements by the Company, the performance by the Company of its obligations hereunder and thereunder and the consummation by the Company of the Transactions, other than such other consents, approvals, filings, licenses, permits or authorizations, declarations or registrations that, if not obtained, made or given, would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\nSection 3.05 Company SEC Documents; Undisclosed Liabilities. (a) The Company has filed with the SEC, on a timely basis, all required reports, schedules, forms, statements and other documents required to be filed by the Company with the SEC pursuant to the Exchange Act since January 1, 2015 (collectively, the “Company SEC Documents”). As of their respective SEC filing dates, the Company SEC Documents complied as to form in all material respects with the requirements of the Securities Act, the Exchange Act or the Sarbanes-Oxley Act of 2002 (and the regulations promulgated thereunder), as the case may be, applicable to such Company SEC Documents, and none of the Company SEC Documents as of such respective dates (or, if amended prior to the date hereof, the date of the filing of such amendment, with respect to the disclosures that are amended) contained any untrue statement of a material fact or omitted to state a material fact required to be stated therein or necessary in order to make the statements therein, in light of the circumstances under which they were made, not misleading.\n(a) The consolidated financial statements of the Company (including all related notes or schedules) included or incorporated by reference in the Company SEC Documents complied as to form, as of their respective dates of filing with the SEC, in all material respects with the published rules and regulations of the SEC with respect thereto, have been prepared in all material respects in accordance with GAAP (except, in the case of unaudited quarterly statements, as\npermitted by Form 10-Q of the SEC or other rules and regulations of the SEC) applied on a consistent basis during the periods involved (except (i) as may be indicated in the notes thereto or (ii) as permitted by Regulation S‑X) and fairly present in all material respects the consolidated financial position of the Company and its consolidated Subsidiaries as of the dates thereof and the consolidated results of their operations and cash flows for the periods shown (subject, in the case of unaudited quarterly financial statements, to normal year-end adjustments).\n(b) Neither the Company nor any of its Subsidiaries has any liabilities of any nature (whether accrued, absolute, contingent or otherwise) that would be required under GAAP, as in effect on the date hereof, to be reflected on a consolidated balance sheet of the Company (including the notes thereto) except liabilities (i) reflected or reserved against in the balance sheet (or the notes thereto) of the Company and its Subsidiaries as of December 31, 2016 (the “Balance Sheet Date”) included in the Filed SEC Documents, (ii) incurred after the Balance Sheet Date in the ordinary course of business, (iii) as expressly contemplated by this Agreement or otherwise incurred in connection with the Transactions, (iv) that have been discharged or paid prior to the date of this Agreement or (v) as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\n(c) The Company has established and maintains, and at all times since January 1, 2015 has maintained, disclosure controls and procedures and a system of internal controls over financial reporting (as such terms are defined in paragraphs (e) and (f), respectively, of Rule 13a-15 under the Exchange Act) in accordance with Rule 13a-15 under the Exchange Act in all material respects. Neither the Company nor, to the Company’s Knowledge, the Company’s independent registered public accounting firm, has identified or been made aware of “significant deficiencies” or “material weaknesses” (as defined by the Public Company Accounting Oversight Board) in the design or operation of the Company’s internal controls over and procedures relating to financial reporting which would reasonably be expected to adversely affect in any material respect the Company’s ability to record, process, summarize and report financial data, in each case which has not been subsequently remediated.\nSection 3.06 Absence of Certain Changes. Since January 1, 2015, through the date of this Agreement (a) except for the execution and performance of this Agreement and the discussions, negotiations and transactions related thereto and any transaction of the type contemplated by this Agreement or other extraordinary transaction, the business of the Company and its Subsidiaries has been carried on and conducted in all material respects in the ordinary course of business and (b) there has not been any Material Adverse Effect or any event, change or occurrence that would, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. Since January 1, 2015, through the date of this Agreement, the Company has not taken any actions which, had such actions been taken after the date of this Agreement, would have required the written consent of the Purchasers pursuant to Section 5.01.\nSection 3.07 Legal Proceedings. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, as of the date of this Agreement, there is no (a) pending or, to the Knowledge of the Company, threatened legal, regulatory or administrative proceeding, suit, investigation, arbitration or action (an “Action”) against the Company or any of\nits Subsidiaries or (b) outstanding order, judgment, injunction, ruling, writ or decree of any Governmental Authority (“Judgments”) imposed upon the Company or any of its Subsidiaries, in each case, by or before any Governmental Authority.\nSection 3.08 Compliance with Laws; Permits; USA PATRIOT ACT; OFAC; Sanctions; FCPA.\n(a) The Company and each of its Subsidiaries are and since January 1, 2015 have been, in compliance with all state or federal laws, common law, statutes, ordinances, codes, rules or regulations or other similar requirement enacted, adopted, promulgated, or applied by any Governmental Authority (“Laws”) or Judgments, in each case, that are applicable to the Company or any of its Subsidiaries, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. The Company and each of its Subsidiaries hold all licenses, franchises, permits, certificates, approvals and authorizations from Governmental Authorities (“Permits”) necessary for the lawful conduct of their respective businesses, except where the failure to hold the same would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect.\n(b) The Company and each of its Subsidiaries is in compliance with the applicable provisions of the USA PATRIOT Act, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, and, on or prior to the Closing Date, the Company has provided to the Purchasers information related to the Company and its Subsidiaries (including names, addresses and tax identification numbers (if applicable)) reasonably requested in writing by the Purchasers and to be mutually agreed to be required under applicable U.S. “know your customer” and anti-money laundering rules and regulations, including the USA PATRIOT Act.\n(c) None of the Company or any of its Subsidiaries nor, to the Knowledge of the Company, any directors or officer of the Company or any of its Subsidiaries is currently the target of any sanctions administered by the Office of Foreign Assets Control of the U.S. Treasury Department (“OFAC”) U.S. State Department, the United Nations Security Council, Her Majesty’s Treasury, the European Union or relevant member states of the European Union (collectively, the “Sanctions”) and the Company and its Subsidiaries and, to the Knowledge of the Company, their respective directors, officers, employees and agents (to the extent such persons are acting for or on behalf of the Company of any of its Subsidiaries) are, and since January 1, 2015 have been, in compliance with Sanctions, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. The Company shall not directly or indirectly use the proceeds of the Purchase Price or otherwise make available such proceeds to any Person, for the purpose of financing the activities of any Person that is currently the target of any Sanctions program or for the purpose of funding, financing or facilitating any activities, business or transaction with or in any country that is the target of the Sanctions, to the extent such activities, businesses or transaction would be prohibited by the Sanctions, or in any manner that would result in the violation of any Sanctions applicable to any Person.\n(d) The Company and its Subsidiaries, and, to the Knowledge of the Company, their respective directors, officers, employees, and agents acting on behalf of or for the Company’s\nor any Subsidiary’s benefit are, and since January 1, 2015 have been, in compliance with the U.S. Foreign Corrupt Practices Act of 1977 or similar law of a jurisdiction in which the Company or any of its Subsidiaries conduct their respective businesses and to which they are lawfully subject, in each case, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. No part of the proceeds of the Purchase Price paid hereunder shall be used to make any unlawful bribe, rebate, payoff, influence payment, kickback or other unlawful payment.\nSection 3.09 Intellectual Property.\n(a) Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, (i) all Intellectual Property used or held for use in the operation of the business of the Company and its Subsidiaries (the “Company Intellectual Property”) is either owned by the Company or one or more of its Subsidiaries (the “Owned Intellectual Property”) or is used by the Company or one or more of its Subsidiaries pursuant to a valid license Contract (the “Licensed Intellectual Property”), and (ii) the Company and its Subsidiaries have taken all necessary actions to maintain and protect each item of Company Intellectual Property. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the conduct of the business of the Company and its Subsidiaries does not infringe or otherwise violate any Intellectual Property or other proprietary rights of any other Person, and to the Knowledge of the Company, no Person is infringing or otherwise violating any Owned Intellectual Property.\n(b) Each material Contract pursuant to which the Company or any of its Subsidiaries use any Licensed Intellectual Property or have granted to a third party any right in or to any Owned Intellectual Property (collectively, the “IP Licenses”) is a legal, valid and binding obligation of the Company or its Subsidiaries, as applicable, and is enforceable against the Company or its Subsidiaries, as applicable, and, to the Knowledge of the Company, the other parties thereto, subject to the Bankruptcy and Equity Exception. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, none of the Company and its Subsidiaries is in breach, violation or default under any IP License and no event has occurred that, with notice or lapse of time or both, would constitute such a breach, violation or default by the Company or any of its Subsidiaries.\n(c) Except as set forth in the Company Disclosure Letter or as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the Company and each of its Subsidiaries is in compliance with PCI DSS, to the extent applicable, as well as with their privacy policy regarding the collection, use and protection of personally identifiable information, and, to the Knowledge of the Company, no Person has gained unauthorized access to or made any unauthorized use of any personally identifiable information or “cardholder data” (as defined in PCI DSS) maintained by the Company or any of its Subsidiaries.\nSection 3.10 Tax Matters. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect: (a) the Company and each of its Subsidiaries has prepared (or caused to be prepared) and timely filed (taking into account valid extensions of time within which to file) all Tax Returns required to be filed by any of them, and all such filed Tax Returns (taking into account all amendments thereto) are true, complete and accurate, (b) all Taxes owed by the Company and each of its Subsidiaries that are due (whether or not shown\non any Tax Return) have been timely paid except for Taxes which are being contested in good faith by appropriate proceedings and which have been adequately reserved against in accordance with GAAP, (c) no examination or audit of any Tax Return relating to any Taxes of the Company or any of its Subsidiaries or with respect to any Taxes due from or with respect to the Company or any of its Subsidiaries by any Governmental Authority is currently in progress or threatened in writing and (d) none of the Company or any of its Subsidiaries has engaged in, or has any liability or obligation with respect to, any “listed transaction” within the meaning of Treasury Regulations Section 1.6011-4(b)(2).\nSection 3.11 Environmental Matters. Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, (a) the Company and each of its Subsidiaries has complied since January 1, 2015 with and is in compliance with all applicable Laws relating to pollution or the protection of the environment or natural resources (“Environmental Laws”), and the Company has not received any written notice since January 1, 2015 alleging that the Company is in violation of or has liability under any Environmental Law, (b) the Company and its Subsidiaries possess and have complied since January 1, 2015 with and are in compliance with all Permits required under Environmental Laws for the operation of their respective businesses, (c) there is no Action under or pursuant to any Environmental Law or environmental Permit that is pending or, to the Knowledge of the Company, threatened in writing against the Company or any of its Subsidiaries, (d) neither the Company nor any of its Subsidiaries has become subject to any Judgment imposed by any Governmental Authority under which there are uncompleted, outstanding or unresolved obligations on the part of the Company or its Subsidiaries arising under Environmental Laws, (e) neither the Company nor any of its Subsidiaries has any liabilities or obligations arising from the Company’s or any of its Subsidiaries’ management disposal or release of, or exposure of any Person to, any hazardous or toxic substance, or any owned or operated property or facility contaminated by any such substance and (f) neither the Company nor any of its Subsidiaries has by contract or operation of law assumed responsibility or provided an indemnity for any liability of any other Person relating to Environmental Laws.\nSection 3.12 No Rights Agreement; Anti-Takeover Provisions. The Company is not party to a stockholder rights agreement, “poison pill” or similar anti-takeover agreement or plan.\nSection 3.13 Brokers and Other Advisors. Except for Morgan Stanley and Centerview Partners LLC, the fees and expenses of which will be paid by the Company, no broker, investment banker, financial advisor or other Person is entitled to any broker’s, finder’s, financial advisor’s or other similar fee or commission, or the reimbursement of expenses in connection therewith, in connection with the Transactions based upon arrangements made by or on behalf of the Company or any of its Subsidiaries.\nSection 3.14 Sale of Securities. Assuming the accuracy of the representations and warranties set forth in Section 4.08, the sale of the shares of Series A Preferred Stock pursuant to this Agreement is exempt from the registration and prospectus delivery requirements of the Securities Act and the rules and regulations thereunder. Without limiting the foregoing, neither the Company nor, to the Knowledge of the Company, any other Person authorized by the Company to act on its behalf, has engaged in a general solicitation or general advertising (within the meaning\nof Regulation D of the Securities Act) of investors with respect to offers or sales of Series A Preferred Stock, and neither the Company nor, to the Knowledge of the Company, any Person acting on its behalf has made any offers or sales of any security or solicited any offers to buy any security, under circumstances that would cause the offering or issuance of Series A Preferred Stock under this Agreement to be integrated with prior offerings by the Company for purposes of the Securities Act that would result in none of Regulation D or any other applicable exemption from registration under the Securities Act to be available, nor will the Company take any action or steps that would cause the offering or issuance of Series A Preferred Stock under this Agreement to be integrated with other offerings by the Company.\nSection 3.15 Listing and Maintenance Requirements. The Common Stock is registered pursuant to Section 12(b) of the Exchange Act and listed on the NYSE, and the Company has taken no action designed to, or which to the Knowledge of the Company is reasonably likely to have the effect of, terminating the registration of the Common Stock under the Exchange Act or delisting the Common Stock from the NYSE, nor has the Company received as of the date of this Agreement any notification that the SEC or the NYSE is contemplating terminating such registration or listing.\nSection 3.16 Status of Securities. As of the applicable Closing, the Acquired Shares will be duly classified pursuant to applicable provisions of the Company Charter Documents and the DGCL and such Acquired Shares and the shares of Common Stock issuable upon conversion of any of the Acquired Shares will be, when issued, duly authorized by all necessary corporate action on the part of the Company, validly issued, fully paid and nonassessable and issued in compliance with all applicable federal and state securities laws and will not be subject to preemptive rights of any other stockholder of the Company, and will be free and clear of all Liens, except restrictions imposed by the Securities Act, Section 5.08 and any applicable securities Laws.\nSection 3.17 Indebtedness. Except with respect to the covenants contained in the Credit Agreement, the Company is not party to any material Contract, and is not subject to any provision in the Company Charter Documents or resolutions of the Board that, in each case, by its terms prohibits or prevents the Company from paying dividends in form and the amounts contemplated by the Certificate of Designations. The Company and its Subsidiaries are not in material breach of, or default or violation under, the Credit Agreement or the Indenture.\nSection 3.18 No Other Representations or Warranties. Except for the representations and warranties made by the Company in this Article III and in any certificate or other document delivered in connection with this Agreement, neither the Company nor any other Person acting on its behalf makes any other express or implied representation or warranty with respect to the Series A Preferred Stock, the Common Stock, the Company or any of its Subsidiaries or their respective businesses, operations, properties, assets, liabilities, condition (financial or otherwise) or prospects, notwithstanding the delivery or disclosure to the Purchasers or any of their Representatives of any documentation, forecasts or other information with respect to any one or more of the foregoing, and the Purchasers acknowledges the foregoing. In particular, and without limiting the generality of the foregoing, except for the representations and warranties made by the Company in this Article III and in any certificate or other document delivered in connection with this Agreement, neither the Company nor any other Person makes or has made any express or implied representation\nor warranty to the Purchasers or any of their Representatives with respect to (a) any financial projection, forecast, estimate, budget or prospect information relating to the Company, any of its Subsidiaries or their respective businesses or (b) any oral or written information presented to the Purchasers or any of their Representatives in the course of its due diligence investigation of the Company, the negotiation of this Agreement or the course of the Transactions or any other transactions or potential transactions involving the Company and the Purchasers.\nSection 3.19 No Other Purchaser Representations or Warranties. Except for the representations and warranties expressly set forth in Article IV and in any certificate or other document delivered in connection with this Agreement, the Company hereby acknowledges that no Purchaser nor any other Person (a) has made or is making any other express or implied representation or warranty with respect to such Purchaser or any of its Subsidiaries or their respective businesses, operations, assets, liabilities, condition (financial or otherwise) or prospects, including with respect to any information provided or made available to the Company or any of its Representatives or any information developed by the Company or any of its Representatives or (b) except in the case of fraud, will have or be subject to any liability or indemnification obligation to the Company resulting from the delivery, dissemination or any other distribution to the Company or any of its Representatives, or the use by the Company or any of its Representatives, of any information, documents, estimates, projections, forecasts or other forward-looking information, business plans or other material developed by or provided or made available to the Company or any of its Representatives, including in due diligence materials, in anticipation or contemplation of any of the Transactions or any other transactions or potential transactions involving the Company and the Purchasers. The Company, on behalf of itself and on behalf of its respective Affiliates, expressly waives any such claim relating to the foregoing matters, except with respect to fraud."}
-{"idx": 2, "level": 3, "span": "(a) Each of the Company’s Subsidiaries is duly organized, validly existing and in good standing (where such concept is recognized under applicable Law) under the Laws of the jurisdiction of its organization, except where the failure to be so organized, existing and in good standing would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect."}
-{"idx": 2, "level": 3, "span": "(a) Except as described in this Section 3.02, as of the Capitalization Date, there were (i) no outstanding shares of capital stock of, or other equity or voting interests in, the Company, (ii) no outstanding securities of the Company convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company, (iii) no outstanding options, warrants, rights or other commitments or agreements to acquire from the Company, or that obligate the Company to issue, any capital stock of, or other equity or voting interests (or voting debt) in, or any securities convertible into or exchangeable for shares of capital stock of, or other equity or voting interests in, the Company other than obligations under the Company Plans in the ordinary course of business, (iv) no obligations of the Company to grant, extend or enter into any subscription, warrant, right, convertible or exchangeable security or other similar agreement or commitment relating to any capital stock of, or other equity or voting interests in, the Company (the items in clauses (i), (ii), (iii) and (iv) being referred to collectively as “Company Securities”) and (v) no other obligations by the Company or any of its Subsidiaries to make any payments based on the price or value of any Company Securities\nThere are no outstanding agreements of any kind which obligate the Company or any of its Subsidiaries to repurchase, redeem or otherwise acquire any Company Securities (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs), or obligate the Company to grant, extend or enter into any such agreements relating to any Company Securities, including any agreements granting any preemptive rights, subscription rights, anti-dilutive rights, rights of first refusal or similar rights with respect to any Company Securities. None of the Company or any Subsidiary of the Company is a party to any stockholders’ agreement, voting trust agreement, registration rights agreement or other similar agreement or understanding relating to any Company Securities or any other agreement relating to the disposition, voting or dividends with respect to any Company Securities. All outstanding shares of Common Stock have been duly authorized and validly issued and are fully paid, nonassessable and free of preemptive rights."}
-{"idx": 2, "level": 3, "span": "(a) Neither the execution and delivery of this Agreement or the other Transaction Agreements by the Company, nor the consummation by the Company of the Transactions, nor"}
-{"idx": 2, "level": 3, "span": "(a) The consolidated financial statements of the Company (including all related notes or schedules) included or incorporated by reference in the Company SEC Documents complied as to form, as of their respective dates of filing with the SEC, in all material respects with the published rules and regulations of the SEC with respect thereto, have been prepared in all material respects in accordance with GAAP (except, in the case of unaudited quarterly statements, as"}
-{"idx": 2, "level": 3, "span": "(b) Neither the Company nor any of its Subsidiaries has any liabilities of any nature (whether accrued, absolute, contingent or otherwise) that would be required under GAAP, as in effect on the date hereof, to be reflected on a consolidated balance sheet of the Company (including the notes thereto) except liabilities (i) reflected or reserved against in the balance sheet (or the notes thereto) of the Company and its Subsidiaries as of December 31, 2016 (the “Balance Sheet Date”) included in the Filed SEC Documents, (ii) incurred after the Balance Sheet Date in the ordinary course of business, (iii) as expressly contemplated by this Agreement or otherwise incurred in connection with the Transactions, (iv) that have been discharged or paid prior to the date of this Agreement or (v) as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect."}
-{"idx": 2, "level": 3, "span": "(c) The Company has established and maintains, and at all times since January 1, 2015 has maintained, disclosure controls and procedures and a system of internal controls over financial reporting (as such terms are defined in paragraphs (e) and (f), respectively, of Rule 13a-15 under the Exchange Act) in accordance with Rule 13a-15 under the Exchange Act in all material respects\nNeither the Company nor, to the Company’s Knowledge, the Company’s independent registered public accounting firm, has identified or been made aware of “significant deficiencies” or “material weaknesses” (as defined by the Public Company Accounting Oversight Board) in the design or operation of the Company’s internal controls over and procedures relating to financial reporting which would reasonably be expected to adversely affect in any material respect the Company’s ability to record, process, summarize and report financial data, in each case which has not been subsequently remediated."}
-{"idx": 2, "level": 3, "span": "(a) The Company and each of its Subsidiaries are and since January 1, 2015 have been, in compliance with all state or federal laws, common law, statutes, ordinances, codes, rules or regulations or other similar requirement enacted, adopted, promulgated, or applied by any Governmental Authority (“Laws”) or Judgments, in each case, that are applicable to the Company or any of its Subsidiaries, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect\nThe Company and each of its Subsidiaries hold all licenses, franchises, permits, certificates, approvals and authorizations from Governmental Authorities (“Permits”) necessary for the lawful conduct of their respective businesses, except where the failure to hold the same would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect."}
-{"idx": 2, "level": 3, "span": "(b) The Company and each of its Subsidiaries is in compliance with the applicable provisions of the USA PATRIOT Act, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, and, on or prior to the Closing Date, the Company has provided to the Purchasers information related to the Company and its Subsidiaries (including names, addresses and tax identification numbers (if applicable)) reasonably requested in writing by the Purchasers and to be mutually agreed to be required under applicable U.S\n“know your customer” and anti-money laundering rules and regulations, including the USA PATRIOT Act."}
-{"idx": 2, "level": 3, "span": "(c) None of the Company or any of its Subsidiaries nor, to the Knowledge of the Company, any directors or officer of the Company or any of its Subsidiaries is currently the target of any sanctions administered by the Office of Foreign Assets Control of the U.S\nTreasury Department (“OFAC”) U.S. State Department, the United Nations Security Council, Her Majesty’s Treasury, the European Union or relevant member states of the European Union (collectively, the “Sanctions”) and the Company and its Subsidiaries and, to the Knowledge of the Company, their respective directors, officers, employees and agents (to the extent such persons are acting for or on behalf of the Company of any of its Subsidiaries) are, and since January 1, 2015 have been, in compliance with Sanctions, except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect. The Company shall not directly or indirectly use the proceeds of the Purchase Price or otherwise make available such proceeds to any Person, for the purpose of financing the activities of any Person that is currently the target of any Sanctions program or for the purpose of funding, financing or facilitating any activities, business or transaction with or in any country that is the target of the Sanctions, to the extent such activities, businesses or transaction would be prohibited by the Sanctions, or in any manner that would result in the violation of any Sanctions applicable to any Person."}
-{"idx": 2, "level": 3, "span": "(d) The Company and its Subsidiaries, and, to the Knowledge of the Company, their respective directors, officers, employees, and agents acting on behalf of or for the Company’s"}
-{"idx": 2, "level": 3, "span": "(a) Except as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, (i) all Intellectual Property used or held for use in the operation of the business of the Company and its Subsidiaries (the “Company Intellectual Property”) is either owned by the Company or one or more of its Subsidiaries (the “Owned Intellectual Property”) or is used by the Company or one or more of its Subsidiaries pursuant to a valid license Contract (the “Licensed Intellectual Property”), and (ii) the Company and its Subsidiaries have taken all necessary actions to maintain and protect each item of Company Intellectual Property\nExcept as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the conduct of the business of the Company and its Subsidiaries does not infringe or otherwise violate any Intellectual Property or other proprietary rights of any other Person, and to the Knowledge of the Company, no Person is infringing or otherwise violating any Owned Intellectual Property."}
-{"idx": 2, "level": 3, "span": "(b) Each material Contract pursuant to which the Company or any of its Subsidiaries use any Licensed Intellectual Property or have granted to a third party any right in or to any Owned Intellectual Property (collectively, the “IP Licenses”) is a legal, valid and binding obligation of the Company or its Subsidiaries, as applicable, and is enforceable against the Company or its Subsidiaries, as applicable, and, to the Knowledge of the Company, the other parties thereto, subject to the Bankruptcy and Equity Exception\nExcept as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, none of the Company and its Subsidiaries is in breach, violation or default under any IP License and no event has occurred that, with notice or lapse of time or both, would constitute such a breach, violation or default by the Company or any of its Subsidiaries."}
-{"idx": 2, "level": 3, "span": "(c) Except as set forth in the Company Disclosure Letter or as would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect, the Company and each of its Subsidiaries is in compliance with PCI DSS, to the extent applicable, as well as with their privacy policy regarding the collection, use and protection of personally identifiable information, and, to the Knowledge of the Company, no Person has gained unauthorized access to or made any unauthorized use of any personally identifiable information or “cardholder data” (as defined in PCI DSS) maintained by the Company or any of its Subsidiaries."}
-{"idx": 2, "level": 2, "span": "ARTICLE IV"}
-{"idx": 2, "level": 2, "span": "Representations and Warranties of the Purchasers\nEach Purchaser represents and warrants to the Company, as of the date hereof and as of the applicable Closing Date for such Purchaser:\nSection 4.01 Organization; Standing. Each Purchaser is the type of entity set forth on the signature pages hereto, duly organized, validly existing and in good standing under the Laws of its jurisdiction of incorporation or formation, as applicable, and is a U.S. Person, and each Purchaser has all requisite power and authority necessary to carry on its business as it is now being conducted and is duly licensed or qualified to do business and is in good standing (where such concept is recognized under applicable Law) in each jurisdiction in which the nature of the business conducted by it or the character or location of the properties and assets owned or leased by it makes such licensing or qualification necessary, except where the failure to be so licensed, qualified or in good standing would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect.\nSection 4.02 Authority; Noncontravention. (a) Each Purchaser has all necessary power and authority to execute and deliver this Agreement and the other Transaction Agreements, to perform its obligations hereunder and thereunder and to consummate the Transactions. The\nexecution, delivery and performance by each Purchaser of this Agreement and the other Transaction Agreements and the consummation by such Purchaser of the Transactions have been duly authorized and approved by all necessary action on the part of such Purchaser, and no further action, approval or authorization by any of its stockholders, partners, members or other equity owners, as the case may be, is necessary to authorize the execution, delivery and performance by such Purchaser of this Agreement and the other Transaction Agreements and the consummation by each Purchaser of the Transactions. This Agreement has been duly executed and delivered by each Purchaser and, assuming due authorization, execution and delivery hereof by the Company, constitutes a legal, valid and binding obligation of such Purchaser, enforceable against it in accordance with its terms, subject to the Bankruptcy and Equity Exception. Neither the execution and delivery of this Agreement or the other Transaction Agreements by any Purchaser, nor the consummation of the Transactions by any Purchaser, nor performance or compliance by any Purchaser with any of the terms or provisions hereof or thereof, will (i) conflict with or violate any provision of the certificate or articles of incorporation, bylaws or other comparable charter or organizational documents of such Purchaser or (ii) assuming that the authorizations, consents and approvals referred to in Section 4.03 are obtained prior to the applicable Closing Date and the filings referred to in Section 4.03 are made and any waiting periods with respect to such filings have terminated or expired prior to the applicable Closing Date, (x) violate any Law or Judgment applicable to such Purchaser or any of its Subsidiaries or (y) violate or constitute a default (or constitute an event which, with notice or lapse of time or both, would violate or constitute a default) under any of the terms, conditions or provisions of any Contract to which such Purchaser or any of its Subsidiaries is a party or accelerate such Purchaser’s or any of its Subsidiaries’, if applicable, obligations under any such Contract, except, in the case of clause (ii), as would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect.\nSection 4.03 Governmental Approvals. Except for (a) the filing by the Company of the Certificate of Designations with the DSS and the acceptance for record by the DSS of the Certificate of Designations pursuant to the DGCL and (b) filings required under, and compliance with other applicable requirements of, the HSR Act, no consent or approval of, or filing, license, permit or authorization, declaration or registration with, any Governmental Authority is necessary for the execution and delivery of this Agreement and the other Transaction Agreements by such Purchaser, the performance by such Purchaser of its obligations hereunder and thereunder and the consummation by such Purchaser of the Transactions, other than such other consents, approvals, filings, licenses, permits, authorizations, declarations or registrations that, if not obtained, made or given, would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect.\nSection 4.04 Financing. At the applicable Closing, each Purchaser acquiring shares of Series A Preferred Stock at such Closing will have available funds necessary to, consummate the Purchase and pay the Purchase Price for its Acquired Shares on the terms and conditions contemplated by this Agreement.\nSection 4.05 Ownership of Company Stock. None of the Purchasers nor any of their respective Affiliates owns any capital stock or other securities of the Company.\nSection 4.06 Brokers and Other Advisors. No broker, investment banker, financial advisor or other Person is entitled to any broker’s, finder’s, financial advisor’s or other similar fee or commission, or the reimbursement of expenses in connection therewith, in connection with the Transactions based upon arrangements made by or on behalf of any Purchaser or any of their respective Subsidiaries, except for Persons, if any, whose fees and expenses will be paid by the Purchasers.\nSection 4.07 Non-Reliance on Company Estimates, Projections, Forecasts, Forward-Looking Statements and Business Plans. In connection with the due diligence investigation of the Company by each Purchaser and its respective Representatives, each Purchaser and its respective Representatives have received and may continue to receive from the Company and its Representatives certain estimates, projections, forecasts and other forward-looking information, as well as certain business plan information containing such information, regarding the Company and its Subsidiaries and their respective businesses and operations. Such Purchaser hereby acknowledges that there are uncertainties inherent in attempting to make such estimates, projections, forecasts and other forward-looking statements, as well as in such business plans, with which such Purchaser is familiar, that each Purchaser is making its own evaluation of the adequacy and accuracy of all estimates, projections, forecasts and other forward-looking information, as well as such business plans, so furnished to such Purchaser (including the reasonableness of the assumptions underlying such estimates, projections, forecasts, forward-looking information or business plans), and that except for fraud or the representations and warranties made by the Company in Article III of this Agreement and in any certificate or other document delivered in connection with this Agreement, such Purchaser will have no claim against the Company or any of its Subsidiaries, or any of their respective Representatives, with respect thereto.\nSection 4.08 Purchase for Investment. Each Purchaser acknowledges that the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock have not been registered under the Securities Act or under any state or other applicable securities laws. Such Purchaser (a) acknowledges that it is acquiring the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock pursuant to an exemption from registration under the Securities Act solely for investment with no intention to distribute any of the foregoing to any Person, (b) will not sell, transfer, or otherwise dispose of any of the Series A Preferred Stock or the Common Stock issuable upon the conversion of the Series A Preferred Stock, except in compliance with this Agreement and the registration requirements or exemption provisions of the Securities Act and any other applicable securities Laws, (c) has such knowledge and experience in financial and business matters and in investments of this type that it is capable of evaluating the merits and risks of its investment in the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock and of making an informed investment decision, (d) is an “accredited investor” (as that term is defined by Rule 501 of the Securities Act) and (e) (1) has been furnished with or has had full access to all the information that it considers necessary or appropriate to make an informed investment decision with respect to the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock, (2) has had an opportunity to discuss with the Company and its Representatives the intended business and financial affairs of the Company and to obtain information necessary to verify any information furnished to it or to which it had access and (3) can bear the economic risk\nof (i) an investment in the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock indefinitely and (ii) a total loss in respect of such investment. Such Purchaser has such knowledge and experience in business and financial matters so as to enable it to understand and evaluate the risks of, and form an investment decision with respect to its investment in, the Series A Preferred Stock and the Common Stock issuable upon the conversion of the Series A Preferred Stock and to protect its own interest in connection with such investment.\nSection 4.09 No Other Company Representations or Warranties. Except for the representations and warranties expressly set forth in Article III and in any certificate or other document delivered in connection with this Agreement, such Purchaser hereby acknowledges that neither the Company nor any of its Subsidiaries, nor any other Person, (a) has made or is making any other express or implied representation or warranty with respect to the Company or any of its Subsidiaries or their respective businesses, operations, assets, liabilities, condition (financial or otherwise) or prospects, including with respect to any information provided or made available to such Purchaser or any of its Representatives or any information developed by such Purchaser or any of its Representatives or (b) except in the case of fraud, will have or be subject to any liability or indemnification obligation to such Purchaser resulting from the delivery, dissemination or any other distribution to such Purchaser or any of its Representatives, or the use by such Purchaser or any of its Representatives, of any information, documents, estimates, projections, forecasts or other forward-looking information, business plans or other material developed by or provided or made available to such Purchaser or any of its Representatives, including in due diligence materials, “data rooms” or management presentations (formal or informal), in anticipation or contemplation of any of the Transactions or any other transactions or potential transactions involving the Company and such Purchaser. Such Purchaser, on behalf of itself and on behalf of its respective Affiliates, expressly waives any such claim relating to the foregoing matters, except with respect to fraud. Such Purchaser hereby acknowledges (for itself and on behalf of its Affiliates and Representatives) that it has conducted, to its satisfaction, its own independent investigation of the business, operations, assets and financial condition of the Company and its Subsidiaries and, in making its determination to proceed with the Transactions, such Purchaser and its Affiliates and Representatives have relied on the results of their own independent investigation."}
-{"idx": 2, "level": 2, "span": "ARTICLE V"}
-{"idx": 2, "level": 2, "span": "Additional Agreements\nSection 5.01 Pre-Closing Covenants. Except as required by applicable Law, Judgment or to comply with any notice from a Governmental Authority, as expressly contemplated, required or permitted by this Agreement, during the period from the date of this Agreement until the Initial Closing Date (or such earlier date on which this Agreement may be terminated pursuant to Section 7.01), unless the Purchasers otherwise consent in writing (such consent not to be unreasonably withheld, delayed or conditioned) the Company shall, and shall cause its Subsidiaries to, use their commercially reasonable efforts to operate their businesses in all material respects in the ordinary course and, unless the Purchasers otherwise consent in writing (such consent not to be unreasonably withheld, delayed or conditioned), the Company shall not:\n(a) other than the authorization and issuance of the Series A Preferred Stock to the Purchasers and the consummation of the other Transactions, issue, sell or grant any shares of its capital stock, or any securities or rights convertible into, exchangeable or exercisable for, or evidencing the right to subscribe for any shares of its capital stock, or any rights, warrants or options to purchase any shares of its capital stock; provided that the Company may issue or grant shares of Common Stock or other securities in the ordinary course of business pursuant to the terms of a Company Plan in effect on the date of this Agreement;\n(b) redeem, purchase or otherwise acquire any of its outstanding shares of capital stock or other equity or voting interests, or any rights, warrants or options to acquire any shares of its capital stock or other equity or voting interests (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs);\n(c) establish a record date for, declare, set aside for payment or pay any dividend on, or make any other distribution in respect of, any shares of its capital stock or other equity or voting interests;\n(d) split, combine, subdivide or reclassify any shares of its capital stock or other equity or voting interests; or\n(e) amend or supplement the Company Charter Documents in a manner that would affect the Purchasers in an adverse manner either as a holder of Series A Preferred Stock or with respect to the rights of the Purchasers under this Agreement.\nSection 5.02 Reasonable Best Efforts; Filings. (a) Subject to the terms and conditions of this Agreement, each of the Company and the Purchasers shall cooperate with each other and use (and shall cause its Subsidiaries to use) its reasonable best efforts (unless, with respect to any action, another standard of performance is expressly provided for herein) to promptly (i) take, or cause to be taken, all actions, and do, or cause to be done, and assist and cooperate with each other in doing, all things necessary, proper or advisable to cause the conditions to Initial Closing to be satisfied as promptly as reasonably practicable and to consummate and make effective, in the most expeditious manner reasonably practicable, the Transactions, including preparing and filing promptly and fully all documentation to effect all necessary filings, notices, petitions, statements, registrations, submissions of information, applications and other documents, (ii) obtain all approvals, consents, registrations, waivers, permits, authorizations, orders and other confirmations from any Governmental Authority or third party necessary, proper or advisable to consummate the Transactions, (iii) execute and deliver any additional instruments necessary to consummate the Transactions and (iv) defend or contest in good faith any Action brought by a third party that could otherwise prevent or impede, interfere with, hinder or delay in any material respect the consummation of the Transactions.\n(a) The Company and the Purchasers agree to make an appropriate filing of a Notification and Report Form (“HSR Form”) pursuant to the HSR Act with respect to the Transactions (which shall request the early termination of any waiting period applicable to the Transactions under the HSR Act) as promptly as reasonably practicable following the date of this\nAgreement, and to supply as promptly as reasonably practicable any additional information and documentary material that may be requested pursuant to the HSR Act and to promptly take any and all steps necessary to avoid or eliminate each and every impediment and obtain all consents that may be required pursuant to the HSR Act, so as to enable the parties hereto to consummate the Transactions.\n(b) Each of the Company and the Purchasers shall use their respective reasonable best efforts to (i) cooperate in all respects with the other party in connection with any filing or submission with a Governmental Authority in connection with the Transactions and in connection with any investigation or other inquiry by or before a Governmental Authority relating to the Transactions, including any proceeding initiated by a private person, (ii) keep the other party informed in all material respects and on a reasonably timely basis of any material communication received by the Company or the Purchaser, as the case may be, from or given by the Company or the Purchasers, as the case may be, to the Federal Trade Commission (“FTC”), the Department of Justice (“DOJ”) or any other Governmental Authority and of any material communication received or given in connection with any proceeding by a private Person, in each case regarding the Transactions, (iii) subject to applicable Laws relating to the exchange of information, and to the extent reasonably practicable, consult with the other party with respect to information relating to such party and its respective Subsidiaries, as the case may be, that appears in any filing made with, or written materials submitted to, any third Person or any Governmental Authority in connection with the Transactions, other than “4(c) and 4(d) documents” as that term is used in the rules and regulations under the HSR Act and other confidential information contained in the HSR Form, and (iv) to the extent permitted by the FTC, the DOJ or such other applicable Governmental Authority or other Person, give the other party the opportunity to attend and participate in such meetings and conferences.\n(c) Notwithstanding anything to the contrary in this Agreement, nothing in this Section 5.02 shall require any Purchaser to take any action or to cause any of its Affiliates (other than the Purchaser Parties or any assignees of a Purchaser that become a party to this Agreement pursuant to Section 8.03 and their respective controlled Affiliates) to take any action, including selling, divesting, conveying, holding separate, or otherwise limiting its freedom of action, with respect to any assets, rights, products, licenses, businesses, operations, or interest therein, of any such Purchaser, Affiliates or any direct or indirect portfolio companies of investment funds advised or managed by one or more Affiliates of such Purchaser with respect to satisfying the condition set forth in Section 6.01(b).\nSection 5.03 Corporate Actions. (a) At any time that any Series A Preferred Stock is outstanding, the Company shall:\n(i) from time to time take all lawful action within its control to cause the authorized capital stock of the Company to include a sufficient number of authorized but unissued shares of Common Stock to satisfy the conversion requirements of all shares of the Series A Preferred Stock then outstanding; and\n(ii) not effect any voluntary deregistration under the Exchange Act or any voluntary delisting with the NYSE in respect of the Common Stock other than in connection with a Change of Control (as defined in the Certificate of Designations).\n(b) Prior to the Initial Closing, the Company shall file with the DSS the Certificate of Designations in the form attached hereto as Annex I, with such changes thereto as the parties may reasonably agree.\n(c) If any occurrence since the date of this Agreement until the Initial Closing would have resulted in an adjustment to the Conversion Rate pursuant to the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement, the Company shall adjust the Conversion Rate, effective as of the Initial Closing, in the same manner as would have been required by the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement.\nSection 5.04 Public Disclosure. The Purchasers and the Company shall consult with each other before issuing, and give each other the opportunity to review and comment upon, any press release or other public statements with respect to the Transaction Agreements or the Transactions, and shall not issue any such press release or make any such public statement prior to such consultation, except as may be required by applicable Law, Judgment, court process or the rules and regulations of any national securities exchange or national securities quotation system. The Purchasers and the Company agree that the initial press release to be issued with respect to the Transactions following execution of this Agreement shall be in the form attached hereto as Annex III (the “Announcement”). Notwithstanding the forgoing, this Section 5.04 shall not apply to any press release or other public statement made by the Company or the Purchasers (a) which is consistent with the Announcement and does not contain any information relating to the Transactions that has not been previously announced or made public in accordance with the terms of this Agreement or (b) is made in the ordinary course of business and does not relate specifically to the signing of the Transaction Agreements or the Transactions.\nSection 5.05 Confidentiality. The Purchasers will, and will cause their Affiliates and their respective Representatives to, keep confidential any information (including oral, written and electronic information) concerning the Company, its Subsidiaries or its Affiliates that may be furnished to any Purchaser, its Affiliates or its or their respective Representatives by or on behalf of the Company or any of its Representatives pursuant to (x) this Agreement, including any such information provided pursuant to Section 5.14 of this Agreement or (y) pursuant to the non-disclosure agreement, dated March 27, 2017, by and between Kohlberg Kravis Roberts & Co. L.P. and the Company (the “Confidentiality Agreement”) (the information referred to in clauses (x) and (y), collectively referred to as the “Confidential Information”) and to use the Confidential Information solely for the purposes of monitoring, administering or managing the Purchaser Parties’ investment in the Company made pursuant to this Agreement; provided that the Confidential Information shall not include information that (i) was or becomes available to the public other than as a result of a disclosure by any Purchaser, any of its Affiliates or any of their respective Representatives in violation of this Section 5.05, (ii) was or becomes available to any Purchaser, any of its Affiliates or any of their respective Representatives from a source other than the Company\nor its Representatives, provided that such source is believed by such Purchaser not to be disclosing such information in violation of an obligation of confidentiality (whether by agreement or otherwise) to the Company, (iii) at the time of disclosure is already in the possession of any Purchaser, any of its Affiliates or any of their respective Representatives, provided that such information is believed by such Purchaser not to be subject to an obligation of confidentiality (whether by agreement or otherwise) to the Company, or (iv) was independently developed by any Purchaser, any of its Affiliates or any of their respective Representatives without reference to, incorporation of, or other use of any Confidential Information. Each Purchaser agrees, on behalf of itself and its Affiliates and its and their respective Representatives, that Confidential Information may be disclosed solely (i) to such Purchaser’s Affiliates and its and their respective Representatives on a need-to-know basis, (ii) to its stockholders, limited partners, members or other owners, as the case may be, regarding the general status of its investment in the Company (without disclosing specific confidential information), (iii) to any third-party that has entered into a confidentiality agreement with a Purchaser in form similar to the Confidentiality Agreement and (iv) in the event that such Purchaser, any of its Affiliates or any of its or their respective Representatives are requested or required by applicable Law, Judgment, stock exchange rule or other applicable judicial or governmental process (including by deposition, interrogatory, request for documents, subpoena, civil investigative demand or similar process) to disclose any Confidential Information, in each of which instances such Purchaser, its Affiliates and its and their respective Representatives, as the case may be, shall, to the extent legally permitted, provide notice to the Company sufficiently in advance of any such disclosure so that the Company will have a reasonable opportunity to timely seek to limit, condition or quash such disclosure.\nSection 5.06 NYSE Listing of Shares. To the extent the Company has not done so prior to the date of this Agreement, the Company shall promptly apply to cause the aggregate number of shares of Common Stock issuable upon the conversion of the Acquired Shares, including Accrued Dividends (as defined in the Certificate of Designations) until the fifth anniversary of the first Dividend Payment Date (as defined in the Certificate of Designations), to be approved for listing on the NYSE, subject to official notice of issuance. From time to time following the Initial Closing Date, the Company shall cause the number of shares of Common Stock issuable upon conversion of the then outstanding shares of Series A Preferred Stock to be approved for listing on the NYSE, subject to official notice of issuance.\nSection 5.07 Standstill. The Purchasers agree that during the applicable Standstill Period, without the prior written approval of the Board, the Purchasers will not, directly or indirectly, and will cause its Affiliates not to:\n(a) acquire, offer or seek to acquire, agree to acquire or make a proposal to acquire, by purchase or otherwise, any securities or direct or indirect rights to acquire any equity securities of the Company or any of its Affiliates, any securities convertible into or exchangeable for any such equity securities, any options or other derivative securities or contracts or instruments in any way related to the price of shares of Common Stock or substantially all of the assets or property of the Company and its Subsidiaries (but in any case excluding any issuance by the Company of shares of Company Common Stock or options, warrants or other rights to acquire Common Stock (or the exercise thereof) to any Purchaser Director (A) as compensation for their\nmembership on the Board or (B) as a result of a dividend payment on, or the conversion of, the Series A Preferred Stock pursuant to the provisions of the Certificate of Designations);\n(b) make or in any way encourage or participate in any “solicitation” of “proxies” (whether or not relating to the election or removal of directors), as such terms are used in the rules of the SEC, to vote, or knowingly seek to advise or influence any Person with respect to voting of, any voting securities of the Company or any of its Subsidiaries (excluding any votes required for the approval of the Transactions), or call or seek to call a meeting of the Company’s stockholders or initiate any stockholder proposal for action by the Company’s stockholders, or other than with respect to the Purchaser Director, seek election to or to place a representative on the Board or seek the removal of any director from the Board;\n(c) [Reserved];\n(d) make any public announcement with respect to, or offer, seek, propose or indicate an interest in (in each case with or without conditions), any merger, consolidation, business combination, tender or exchange offer, recapitalization, reorganization or purchase of all or substantially all of the assets of the Company and its Subsidiaries, or any other extraordinary transaction involving the Company or any Subsidiary of the Company or any of their respective securities, or enter into any discussions, negotiations, arrangements, understandings or agreements (whether written or oral) with any other Person regarding any of the foregoing; provided that the Purchasers may make confidential proposals to the Board of Directors of the Company regarding mergers, consolidations or other business combinations with the Company or a purchase of all or substantially all of the Company’s assets so long as such proposals would not reasonably be expected to require any public disclosure by the Company;\n(e) otherwise act, alone or in concert with others, to seek to control or influence, in any manner, management or the board of directors of the Company or any of its Subsidiaries (other than in the capacity of the Purchaser Director);\n(f) make any proposal or statement of inquiry or disclose any intention, plan or arrangement inconsistent with any of the foregoing;\n(g) advise, assist, knowingly encourage or direct any Person to do, or to advise, assist, encourage or direct any other Person to do, any of the foregoing;\n(h) take any action that would, in effect, require the Company to make a public announcement regarding the possibility of a transaction or any of the events described in this Section 5.07;\n(i) enter into any discussions, negotiations, arrangements or understandings with any third party (including, without limitation, security holders of the Company, but excluding, for the avoidance of doubt, any Purchaser Parties) with respect to any of the foregoing, including, without limitation, forming, joining or in any way participating in a “group” (as defined in Section 13(d)(3) of the Exchange Act) with any third party with respect to any securities of the Company or otherwise in connection with any of the foregoing;\n(j) request the Company or any of its Representatives, directly or indirectly, to amend or waive any provision of this Section 5.07, provided that this clause shall not prohibit the Purchaser Parties from making a confidential request to the Company seeking an amendment or waiver of the provisions of this Section 5.07, which the Company may accept or reject in its sole discretion, so long as any such request is made in a manner that does not require public disclosure thereof by any Person; or\n(k) contest the validity of this Section 5.07 or make, initiate, take or participate in any demand, Action (legal or otherwise) or proposal to amend, waive or terminate any provision of this Section 5.07;"}
-{"idx": 2, "level": 2, "span": "provided, however, that nothing in this Section 5.07 will limit (1) the Purchaser Parties’ ability to vote (subject to Section 5.10), Transfer (subject to Section 5.08\n), convert (subject to Section 6 of the Certificate of Designations) or otherwise exercise rights under its Common Stock or Series A Preferred Stock or (2) the ability of any Purchaser Director to vote or otherwise exercise his or her legal duties or otherwise act in his or her capacity as a member of the Board.\nSection 5.08 Transfer Restrictions. (a) Except as otherwise permitted in Section 5.08(b), until the earlier of (i) the one-year anniversary of the Initial Closing Date and (ii) a Fundamental Change, the Purchaser Parties will not (i) Transfer any Series A Preferred Stock or any Common Stock issued upon conversion of the Series A Preferred Stock or (ii) make any short sale of, grant any option for the purchase of, or enter into any hedging or similar transaction with the same economic effect as a short sale of or the purpose of which is to offset the loss which results from a decline in the market price of, any shares of Series A Preferred Stock or Common Stock, or otherwise establish or increase, directly or indirectly, a put equivalent position, as defined in Rule 16a-1(h) under the Exchange Act, with respect to any of the Series A Preferred Stock, the Common Stock or any other capital stock of the Company (any such action, a “Hedge”).\n(a) Notwithstanding Section 5.08(a), the Purchaser Parties shall be permitted to Transfer any portion or all of their Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock at any time under the following circumstances:\n(i) Transfers to any Permitted Transferees of the Purchaser or a Purchaser Party, but only if the transferee agrees in writing prior to such Transfer for the express benefit of the Company (in form and substance reasonably satisfactory to the Company and with a copy thereof to be furnished to the Company) to be bound by the terms of this Agreement and if the transferee and the transferor agree for the express benefit of the Company that the transferee shall Transfer the Series A Preferred Stock or Common Stock so Transferred back to the transferor at or before such time as the transferee ceases to be a Permitted Transferee of the transferor;\n(ii) Transfers pursuant to a merger, consolidation or other business combination involving the Company;\n(iii) Transfers pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock; and\n(iv) Transfers that have been approved by the Board, subject to such conditions as the Board determines.\n(b) Notwithstanding Sections 5.08(a) and (b), the Purchaser Parties will not at any time, directly or knowingly indirectly (without the prior written consent of the Board) Transfer any Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock to a Prohibited Transferee; provided, however, that this Section 5.08(c) shall not restrict (i) any Transfer into the public market pursuant to a bona-fide, broadly distributed underwritten public offering made pursuant to the Registration Rights Agreement, (ii) any Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business, (iii) any Transfer pursuant to a merger, consolidation or other business combination involving the Company or (iv) any Transfer pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock.\n(c) Notwithstanding Sections 5.08(a), (b) or (c), until the earlier of (i) the three-year anniversary of the Initial Closing Date and (ii) a Fundamental Change, no Purchaser Party will directly or indirectly (without the prior written consent of the Board) Transfer, in one or more related transactions, shares of Series A Preferred Stock or shares of Common Stock issued upon conversion of the Series A Preferred Stock to any single Person or any “group” (as defined in Section 13(d)(3) of the Exchange Act) of Persons who such Purchaser Party knows or would know after reasonable inquiry at the time of such Transfer to beneficially own 5% or more of the Common Stock then outstanding on an as converted basis; provided, however, that this Section 5.08(d) shall not restrict (i) Transfers permitted in Section 5.08(b), (ii) Transfers to a mutual fund that, to the relevant Purchaser Party’s or broker-dealer’s, as applicable knowledge after reasonable inquiry, typically makes investments in Persons in the ordinary course of its business for investment purposes and not with the purpose or intent of changing or influencing the control of such Person, (iii) a bona fide underwritten public offering, in an open market transaction effected through a broker-dealer, (iv) a Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business or (v) a derivatives transaction entered into with a bank, broker-dealer or other derivatives dealer.\n(d) Any attempted Transfer in violation of this Section 5.08 shall be null and void ab initio.\nSection 5.09 Legend. (a) All certificates or other instruments representing the Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock will bear a legend substantially to the following effect:"}
-{"idx": 2, "level": 3, "span": "THE SECURITIES REPRESENTED BY THIS INSTRUMENT HAVE NOT BEEN REGISTERED UNDER THE SECURITIES ACT OF 1933, AS AMENDED, OR THE SECURITIES LAWS OF ANY STATE AND MAY NOT BE TRANSFERRED, SOLD OR"}
-{"idx": 2, "level": 3, "span": "OTHERWISE DISPOSED OF EXCEPT WHILE A REGISTRATION STATEMENT RELATING THERETO IS IN EFFECT UNDER SUCH ACT AND APPLICABLE STATE SECURITIES LAWS OR PURSUANT TO AN EXEMPTION FROM REGISTRATION UNDER SUCH ACT OR SUCH LAWS."}
-{"idx": 2, "level": 3, "span": "THE SECURITIES REPRESENTED BY THIS CERTIFICATE ARE SUBJECT TO TRANSFER AND OTHER RESTRICTIONS SET FORTH IN AN INVESTMENT AGREEMENT, DATED AS OF MAY 8, 2017, COPIES OF WHICH ARE ON FILE WITH THE SECRETARY OF THE ISSUER.\n(a) Upon request of the applicable Purchaser Party, upon receipt by the Company of an opinion of counsel reasonably satisfactory to the Company to the effect that such legend is no longer required under the Securities Act and applicable state securities laws, the Company shall promptly cause the first paragraph of the legend to be removed from any certificate for any Series A Preferred Stock or Common Stock to be Transferred in accordance with the terms of this Agreement and the second paragraph of the legend shall be removed upon the expiration of such transfer and other restrictions set forth in this Agreement (and, for the avoidance of doubt, immediately prior to any termination of this Agreement).\nSection 5.10 Election of Directors. (a) [Reserved].\n(a) Upon the occurrence of the Fall-Away of Purchaser Board Rights, at the written request of the Board, the Purchaser Director shall immediately resign, and the Purchasers shall cause the Purchaser Director immediately to resign, from the Board effective as of the date of the Fall-Away of Purchaser Board Rights, and the Purchasers shall no longer have any rights under this Section 5.10, including, for the avoidance of doubt, any designation and/or nomination rights under Section 5.10(c)\n(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, at each annual meeting of the Company’s stockholders, the Lead Purchasers shall have the right to designate a Purchaser Designee for election (in accordance with Section 15 of the Certificate of Designations) to the Board at such annual meeting; provided that if at any time the Lead Purchasers and their Permitted Transferees fail to satisfy clause (i) of the 50% Beneficial Ownership Requirement while all Purchasers collectively continue to satisfy clause (ii) of the 50% Beneficial Ownership Requirement, then the Purchasers, by vote or written consent of Purchasers having beneficial ownership of a majority of shares of Series Common Stock issued or issuable upon conversion of the Series A Preferred Stock, shall have the right to designate the Purchaser Designee. Subject to Section 5.10(e), the Company shall include the Purchaser Designee designated by the Lead Purchasers or the Purchasers, as applicable, in accordance with this Section 5.10(c) in the Company’s slate of nominees as “Purchaser Designee” (in accordance with Section 15 of the Certificate of Designations) for each relevant annual meeting of the Company’s stockholders and shall recommend that the holders of the Series A Preferred Stock vote in favor of the Purchaser Designee and shall support the Purchaser Designee in a manner no less rigorous and favorable than the manner in which the Company supports its other nominees in the aggregate.\n(c) Until the occurrence of the Fall-Away of Purchaser Board Rights, in the event of the death, disability, resignation or removal of any Purchaser Director as a member of the Board, the Lead Purchasers or the Purchasers, as applicable, may designate a Purchaser Designee to replace such Purchaser Director and, subject to Section 5.10(e) and any applicable provisions of the DGCL, the Company shall cause such Purchaser Designee to fill such resulting vacancy.\n(d) The Company’s obligations to have any Purchaser Designee elected to the Board or nominate any Purchaser Designee for election as a director at any meeting of the Company’s stockholders pursuant to this Section 5.10, as applicable, shall in each case be subject to (A) such Purchaser Designee’s satisfaction of all requirements regarding service as a director of the Company under applicable Law and stock exchange rules regarding service as a director of the Company and all other criteria and qualifications for service as a director applicable to all directors of the Company, (B) such Purchaser Designee meeting all independence requirements under the listing rules of the NYSE and (C) in the event the Purchaser Designee is to be designated by the Purchasers pursuant to Section 5.10(c), then such Purchaser Designee shall be an Independent Director; provided that in no event shall such Purchaser Designee’s relationship with the Purchaser Parties or their Affiliates (or any other actual or potential lack of independence resulting therefrom), in and of itself, be considered to disqualify such Purchaser Designee from being a member of the Board pursuant to this Section 5.10. The Purchaser Parties will cause each Purchaser Designee to make himself or herself reasonably available for interviews and to consent to such reference and background checks or other investigations as the Board may reasonably request from any individual nominated as a director of the Company to determine the Purchaser’s Nominee’s eligibility and qualification to serve as a director of the Company. No Purchaser Designee shall be eligible to serve on the Board if he or she has been involved in any of the events enumerated under Item 2(d) or (2) of Schedule 13D under the Exchange Act or Item 401(f) of Regulation S-K under the Securities Act or is subject to any Judgment prohibiting service as a director of any public company. As a condition to any Purchaser Designee’s election to the Board or nomination for election as a director of the Company at any meeting of the Company’s stockholders, the Purchaser Parties and the Purchaser Designee must provide to the Company:\n(i) all information requested by the Company that is required to be or is customarily disclosed for directors, candidates for directors and their respective Affiliates and Representatives in a proxy statement or other filings in accordance with applicable Law, any stock exchange rules or listing standards or the Company Charter Documents or corporate governance guidelines, in each case, relating to the Purchaser Designee’s election as a director of the Company;\n(ii) all information requested by the Company in connection with assessing eligibility, independence and other criteria applicable to directors or satisfying compliance and legal or regulatory obligations, in each case, relating to the Purchaser Designee’s nomination or election, as applicable, as a director of the Company or the Company’s operations in the ordinary course of business;\n(iii) an undertaking in writing by the Purchaser Designee:\na. to be subject to, bound by and duly comply with the code of conduct in the form agreed upon by the other directors of the Company; and\nb. to recuse himself or herself from any deliberations or discussion of the Board or any committee thereof regarding any Transaction Agreement or the Transactions.\n(e) The Company shall indemnify the Purchaser Director and provide the Purchaser Director with director and officer insurance to the same extent as it indemnifies and provides such insurance to other members of the Board, pursuant to the Company Charter Documents, the DGCL or otherwise.\nSection 5.11 Voting. Until the Fall-Away of Purchaser Board Rights:\n(a) At the first meeting of the stockholders of the Company for the election of directors following the execution of this Agreement and at every postponement or adjournment thereof, the Purchasers shall, and shall cause the Purchaser Parties to, take such action as may be required so that all of the shares of Series A Preferred Stock or Common Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of each director nominated or recommended by the Board for election, and until the Fall Away of Purchaser Board Rights, the Purchasers shall, and shall cause the Purchaser Parties to, at each applicable meeting of the stockholders of the Company, take such action as may be required so that all of the shares of the Series A Preferred Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of the Purchaser Designee, who shall be nominated and recommended by the Board for election at any such meeting; provided that no Purchaser Party shall be under any obligation to vote in the same manner as recommended by the Board or in any other manner, other than in the Purchaser Parties’ sole discretion, with respect to any other matter, including the approval (or non-approval) or adoption (or non-adoption) of, or other proposal directly related to, any merger or other business combination transaction involving the Company, the sale of all or substantially all of the assets of the Company and its Subsidiaries or any other change of control transaction involving the Company; and\n(b) Until the Fall-Away of Purchaser Board Rights, the Purchasers shall, and shall (to the extent necessary to comply with this Section 5.11) cause the Purchaser Parties to, be present, in person or by proxy, at all meetings of the stockholders of the Company so that all shares of Series A Preferred Stock or Common Stock beneficially owned by the Purchasers or the Purchaser Parties may be counted for the purposes of determining the presence of a quorum and voted in accordance with Section 5.11(a) at such meetings (including at any adjournments or postponements thereof).\n(c) The provisions of this Section 5.11 shall not apply to the exclusive consent and voting rights of the holders of Series A Preferred Stock set forth in Section 15 of the Certificate of Designations and Section 5.10.\nSection 5.12 Tax Matters. (a) The Company and its paying agent shall be entitled to withhold Taxes on all payments and distributions (or deemed distributions) on the Series A Preferred Stock or Common Stock or other securities issued upon conversion of the Series A Preferred Stock to the extent required by applicable Law. Prior to the date of any such payment, each Purchaser, and each Permitted Transferee with respect to the Series A Preferred Stock, shall have delivered to the Company or its paying agent a duly executed, valid, accurate and properly completed Internal Revenue Service (“IRS”) Form W‑9, certifying that such Purchaser is a U.S. Person exempt from U.S. federal backup withholding tax.\n(a) Absent a change in law or IRS practice, issuance of contrary guidance or a contrary determination (as defined in Section 1313(a) of the Code), the Purchasers and the Company agree not to treat the Series A Preferred Stock (based on their terms as set forth in the Certificate of Designations) as indebtedness for United States federal income Tax and withholding Tax purposes, and shall not take any position inconsistent with such treatment.\n(b) The Company shall pay any and all documentary, stamp and similar issue or transfer Tax due on (x) the issue of the Series A Preferred Stock and (y) the issue of shares of Common Stock upon conversion of the Series A Preferred Stock. However, in the case of conversion of Series A Preferred Stock, the Company shall not be required to pay any Tax or duty that may be payable in respect of any transfer involved in the issue and delivery of shares of Common Stock or Series A Preferred Stock to a beneficial owner other than the beneficial owner of the Series A Preferred Stock immediately prior to such conversion, and no such issue or delivery shall be made unless and until the person requesting such issue has paid to the Company the amount of any such Tax or duty, or has established to the satisfaction of the Company that such Tax or duty has been paid.\nSection 5.13 Use of Proceeds. The Company shall use the proceeds from the issuance and sale of the Acquired Shares (a) to pay for any costs, fees and expenses incurred in connection with the Transactions and/or (b) for general corporate purposes.\nSection 5.14 Participation.\n(a) For the purposes of this Section 5.14, “Excluded Issuance” shall mean (i) the issuance of any shares of equity securities that is subject to Section 12 of the Certificate of Designations, but solely to the extent than an adjustment is made or the holders of Series A Preferred Stock participate in such issuance pursuant to Section 12 of the Certificate of Designations, (ii) the issuance of shares of any equity securities (including upon exercise of options) to directors, officers, employees, consultants or other agents of the Company as approved by the Board, (iii) the issuance of shares of any equity securities pursuant to an employee stock option plan, management incentive plan, restricted stock plan, stock purchase plan or stock, ownership plan or similar benefit plan, program or agreement as approved by the Board, (iv) the issuance of shares of equity securities in connection with any “business combination” (as defined in the rules and regulations promulgated by the SEC) or otherwise in connection with bona fide acquisitions of securities or substantially all of the assets of another Person, business unit, division or business, (v) securities issued pursuant to the conversion, exercise or exchange of Series A Preferred Stock issued to the Purchaser, (vi) shares of a Subsidiary of the Company issued to the Company or a Wholly-Owned Subsidiary of the\nCompany, (vii) securities of a joint venture (provided that no Affiliate (other than any Subsidiary of the Company) of the Company acquires any interest in such securities in connection with such issuance) or (viii) the issuance of bonds, debentures, notes or similar debt securities convertible into Common Stock into the public market pursuant to a bona-fide, broadly distributed underwritten public offering, if the conversion or exercise price is at least the greater of (x) the then applicable Conversion Price (as defined in the Certificate of Designations) and (y) the Current Market Price (as defined in the Certificate of Designations) as of the date the Company would have been required to give the Purchasers notice of such issuance if it were not an Excluded Issuance.\n(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, if the Company proposes to issue equity securities of any kind (the term “equity securities” shall include for these purposes Common Stock and any warrants, options or other rights to acquire, or any securities that are exercisable for, exchangeable for or convertible into, Common Stock or any other class of capital stock of the Company), other than in an Excluded Issuance, then the Company shall:\n(i) give written notice to the Purchasers (no less than ten (10) Business Days prior to the closing of such issuance, setting forth in reasonable detail (A) the designation and all of the terms and provisions of the securities proposed to be issued (the “Proposed Securities”), including, to the extent applicable, the voting powers, preferences and relative participating, optional or other special rights, and the qualification, limitations or restrictions thereof and interest rate and maturity; (B) the price and other terms of the proposed sale of such securities; and (C) the amount of such securities proposed to be issued; provided that following the delivery of such notice, the Company shall deliver to the Purchasers any such information the Purchasers may reasonably request in order to evaluate the proposed issuance, except that the Company shall not be required to deliver any information that has not been or will not be provided or otherwise made available to the proposed purchasers of the Proposed Securities; and\n(ii) offer to issue and sell to the Purchaser Parties, on such terms as the Proposed Securities are issued and upon full payment by the Purchaser Parties, a portion of the Proposed Securities equal to a percentage determined by dividing (A) the number of shares of Common Stock the Purchaser Parties beneficially own (on an as converted basis) by (B) the total number of shares of Common Stock then outstanding (on an as-converted basis) (such percentage, a Purchaser Party’s “Participation Portion”); provided, however, that the Company shall not be required to offer to issue or sell to the Purchaser Parties (or to any of them) the portion of the Proposed Securities that would require the Company to obtain stockholder approval in respect of the issuance of any Proposed Securities under the listing rules of the NYSE or any other securities exchange or any other applicable Law.\n(c) The Purchasers will have the option, on behalf of the applicable Purchaser Parties, exercisable by written notice to the Company, to accept the Company’s offer and commit to purchase any or all of the equity securities offered to be sold by the Company to the Purchaser Parties, which notice must be given within seven (7) Business Days after receipt of such notice\nfrom the Company. If the Company offers two (2) or more securities in units to the other participants in the offering, the Purchaser Parties must purchase such units as a whole and will not be given the opportunity to purchase only one (1) of the securities making up such unit. The closing of the exercise of such subscription right shall take place simultaneously with the closing of the sale of the Proposed Securities giving rise to such subscription right; provided, however, that the closing of any purchase by any such Purchaser Party may be extended beyond the closing of the sale of the Proposed Securities giving rise to such preemptive right to the extent necessary to (i) obtain required approvals from any Governmental Authority or (ii) permit the Purchaser Parties to receive proceeds from calling capital pursuant to commitments made by its (or its affiliated investment funds’) limited partners. Upon the expiration of the offering period described above, the Company will be free to sell such Proposed Securities that the Purchaser Parties have not elected to purchase during the 90 days following such expiration on terms and conditions no more favorable to the purchasers thereof than those offered to the Purchaser Parties in the notice delivered in accordance with Section 5.14(b). Any Proposed Securities offered or sold by the Company after such 90-day period shall be reoffered to the Purchaser Parties pursuant to this Section 5.14.\n(d) The election by any Purchaser Party not to exercise its subscription rights under this Section 5.14 in any one instance shall not affect their right as to any subsequent proposed issuance.\n(e) Notwithstanding anything in this Section 5.14 to the contrary, the Company will not be deemed to have breached this Section 5.14 if not later than thirty (30) Business Days following the issuance of any Proposed Securities in contravention of this Section 5.14, the Company or the transferee of such Proposed Securities offers to sell a portion of such equity securities or additional equity securities of the type(s) in question to each Purchaser Party so that, taking into account such previously-issued Proposed Securities and any such additional Proposed Securities, each Purchaser Party will have had the right to purchase or subscribe for Proposed Securities in a manner consistent with the allocation and other terms and upon same economic and other terms provided for in Sections 5.14(b) and 5.14(c).\n(f) In the case of an issuance subject to this Section 5.14 for consideration in whole or in part other than cash, including securities acquired in exchange therefor (other than securities by their terms so exchangeable), the consideration other than cash shall be deemed to be the Fair Market Value thereof.\nSection 5.15 Certain Redemptions. If a Physical Settlement or Combination Settlement under Section 9 or Section 10 of the Certificate of Designations would result in the issuance to the Purchaser Parties and their Affiliates of five percent (5.0%) or more, but less than ten percent (10.0%), of the outstanding shares of Common Stock of the Company as of the relevant Redemption Date (after giving effect to such issuance), then in addition to the settlement of the Redemption Price for each redeemed Share of Series A Preferred Stock from the Purchaser Parties and their Affiliates, the Company shall pay to the Purchaser Parties an aggregate amount of cash (the “Additional Amount”) equal to the Applicable Percentage (as defined below) multiplied by the aggregate Redemption Price to be paid to the Purchaser Parties and their Affiliates (such payment to be made pro rata among the Purchaser Parties and their Affiliates based on the number of shares\nof Series A Preferred Stock being redeemed by each of them). The “Applicable Percentage” means the result of (i) the percentage of the outstanding shares of Common Stock of the Company as of the relevant Redemption Date issued to the Purchaser Parties and their Affiliates in the redemption (after giving effect to such issuance) minus (ii) five percent (5.0%).\nSection 5.16 Credit Agreement. If the Company proposes to enter into any new credit facility after the date hereof or to extend the maturity of the Credit Agreement, the Company shall use commercially reasonable efforts to obtain terms and conditions under such credit facility or extension that would permit the redemption of the Series A Preferred Stock pursuant to Sections 8, 8.1, 9 and 10 of the Certificate of Designations entirely for cash. For the avoidance of doubt, the Company should have no liability to the Purchasers if it is not able to obtain the foregoing terms and conditions.\nSection 5.17 Offers and Sales of Series A Preferred Stock by the Lead Purchasers. The Lead Purchasers shall not take any action or omit to take any action in connection with the offering for sale and/or sale by the Lead Investor of any shares of Series A Preferred Stock if such action or omission would result in a requirement under the Securities Act to register the offer and/or sale of shares of Series A Preferred Stock by the Company.\nSection 5.18 FCC. The Company and the Lead Purchasers shall use their commercially reasonable efforts to cooperate, including in the restructuring of the Transactions (provided that, for the avoidance of doubt, such restructuring shall not amend Section 5.10 of this Agreement), to avoid any requirement for approval of the Transactions by the Federal Communications Commission (“FCC”), including, without limitation, any approvals required pursuant to (x) the FCC Declaratory Ruling applicable to the Company and its Subsidiaries and (y) the FCC’s foreign ownership rules. Notwithstanding the foregoing, if, prior to June 1, 2017, the parties have not either (i) determined that approval of the Transactions by the FCC is not required or (ii) agreed upon a restructuring of the Transactions that the parties determine will not require approval by the FCC, then the Company hereby agrees to return the license of Radio Station KXMZ to the FCC for cancellation no later than June 2, 2017. In any event, the Company agrees to dispose of Radio Station KXMZ no later than September 30, 2017."}
-{"idx": 2, "level": 3, "span": "(a) Upon request of the applicable Purchaser Party, upon receipt by the Company of an opinion of counsel reasonably satisfactory to the Company to the effect that such legend is no longer required under the Securities Act and applicable state securities laws, the Company shall promptly cause the first paragraph of the legend to be removed from any certificate for any Series A Preferred Stock or Common Stock to be Transferred in accordance with the terms of this Agreement and the second paragraph of the legend shall be removed upon the expiration of such transfer and other restrictions set forth in this Agreement (and, for the avoidance of doubt, immediately prior to any termination of this Agreement)."}
-{"idx": 2, "level": 3, "span": "(a) Upon the occurrence of the Fall-Away of Purchaser Board Rights, at the written request of the Board, the Purchaser Director shall immediately resign, and the Purchasers shall cause the Purchaser Director immediately to resign, from the Board effective as of the date of the Fall-Away of Purchaser Board Rights, and the Purchasers shall no longer have any rights under this Section 5.10, including, for the avoidance of doubt, any designation and/or nomination rights under Section 5.10(c)"}
-{"idx": 2, "level": 3, "span": "(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, at each annual meeting of the Company’s stockholders, the Lead Purchasers shall have the right to designate a Purchaser Designee for election (in accordance with Section 15 of the Certificate of Designations) to the Board at such annual meeting; provided that if at any time the Lead Purchasers and their Permitted Transferees fail to satisfy clause (i) of the 50% Beneficial Ownership Requirement while all Purchasers collectively continue to satisfy clause (ii) of the 50% Beneficial Ownership Requirement, then the Purchasers, by vote or written consent of Purchasers having beneficial ownership of a majority of shares of Series Common Stock issued or issuable upon conversion of the Series A Preferred Stock, shall have the right to designate the Purchaser Designee\nSubject to Section 5.10(e), the Company shall include the Purchaser Designee designated by the Lead Purchasers or the Purchasers, as applicable, in accordance with this Section 5.10(c) in the Company’s slate of nominees as “Purchaser Designee” (in accordance with Section 15 of the Certificate of Designations) for each relevant annual meeting of the Company’s stockholders and shall recommend that the holders of the Series A Preferred Stock vote in favor of the Purchaser Designee and shall support the Purchaser Designee in a manner no less rigorous and favorable than the manner in which the Company supports its other nominees in the aggregate."}
-{"idx": 2, "level": 3, "span": "(c) Until the occurrence of the Fall-Away of Purchaser Board Rights, in the event of the death, disability, resignation or removal of any Purchaser Director as a member of the Board, the Lead Purchasers or the Purchasers, as applicable, may designate a Purchaser Designee to replace such Purchaser Director and, subject to Section 5.10(e) and any applicable provisions of the DGCL, the Company shall cause such Purchaser Designee to fill such resulting vacancy."}
-{"idx": 2, "level": 3, "span": "(d) The Company’s obligations to have any Purchaser Designee elected to the Board or nominate any Purchaser Designee for election as a director at any meeting of the Company’s stockholders pursuant to this Section 5.10, as applicable, shall in each case be subject to (A) such Purchaser Designee’s satisfaction of all requirements regarding service as a director of the Company under applicable Law and stock exchange rules regarding service as a director of the Company and all other criteria and qualifications for service as a director applicable to all directors of the Company, (B) such Purchaser Designee meeting all independence requirements under the listing rules of the NYSE and (C) in the event the Purchaser Designee is to be designated by the Purchasers pursuant to Section 5.10(c), then such Purchaser Designee shall be an Independent Director; provided that in no event shall such Purchaser Designee’s relationship with the Purchaser Parties or their Affiliates (or any other actual or potential lack of independence resulting therefrom), in and of itself, be considered to disqualify such Purchaser Designee from being a member of the Board pursuant to this Section 5.10\nThe Purchaser Parties will cause each Purchaser Designee to make himself or herself reasonably available for interviews and to consent to such reference and background checks or other investigations as the Board may reasonably request from any individual nominated as a director of the Company to determine the Purchaser’s Nominee’s eligibility and qualification to serve as a director of the Company. No Purchaser Designee shall be eligible to serve on the Board if he or she has been involved in any of the events enumerated under Item 2(d) or (2) of Schedule 13D under the Exchange Act or Item 401(f) of Regulation S-K under the Securities Act or is subject to any Judgment prohibiting service as a director of any public company. As a condition to any Purchaser Designee’s election to the Board or nomination for election as a director of the Company at any meeting of the Company’s stockholders, the Purchaser Parties and the Purchaser Designee must provide to the Company:"}
-{"idx": 2, "level": 4, "span": "(i) all information requested by the Company that is required to be or is customarily disclosed for directors, candidates for directors and their respective Affiliates and Representatives in a proxy statement or other filings in accordance with applicable Law, any stock exchange rules or listing standards or the Company Charter Documents or corporate governance guidelines, in each case, relating to the Purchaser Designee’s election as a director of the Company;"}
-{"idx": 2, "level": 4, "span": "(ii) all information requested by the Company in connection with assessing eligibility, independence and other criteria applicable to directors or satisfying compliance and legal or regulatory obligations, in each case, relating to the Purchaser Designee’s nomination or election, as applicable, as a director of the Company or the Company’s operations in the ordinary course of business;"}
-{"idx": 2, "level": 4, "span": "(iii) an undertaking in writing by the Purchaser Designee:"}
-{"idx": 2, "level": 3, "span": "(e) The Company shall indemnify the Purchaser Director and provide the Purchaser Director with director and officer insurance to the same extent as it indemnifies and provides such insurance to other members of the Board, pursuant to the Company Charter Documents, the DGCL or otherwise."}
-{"idx": 2, "level": 3, "span": "(a) At the first meeting of the stockholders of the Company for the election of directors following the execution of this Agreement and at every postponement or adjournment thereof, the Purchasers shall, and shall cause the Purchaser Parties to, take such action as may be required so that all of the shares of Series A Preferred Stock or Common Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of each director nominated or recommended by the Board for election, and until the Fall Away of Purchaser Board Rights, the Purchasers shall, and shall cause the Purchaser Parties to, at each applicable meeting of the stockholders of the Company, take such action as may be required so that all of the shares of the Series A Preferred Stock beneficially owned, directly or indirectly, by the Purchaser Parties and entitled to vote at such meeting of stockholders are voted in favor of the Purchaser Designee, who shall be nominated and recommended by the Board for election at any such meeting; provided that no Purchaser Party shall be under any obligation to vote in the same manner as recommended by the Board or in any other manner, other than in the Purchaser Parties’ sole discretion, with respect to any other matter, including the approval (or non-approval) or adoption (or non-adoption) of, or other proposal directly related to, any merger or other business combination transaction involving the Company, the sale of all or substantially all of the assets of the Company and its Subsidiaries or any other change of control transaction involving the Company; and"}
-{"idx": 2, "level": 3, "span": "(b) Until the Fall-Away of Purchaser Board Rights, the Purchasers shall, and shall (to the extent necessary to comply with this Section 5.11) cause the Purchaser Parties to, be present, in person or by proxy, at all meetings of the stockholders of the Company so that all shares of Series A Preferred Stock or Common Stock beneficially owned by the Purchasers or the Purchaser Parties may be counted for the purposes of determining the presence of a quorum and voted in accordance with Section 5.11(a) at such meetings (including at any adjournments or postponements thereof)."}
-{"idx": 2, "level": 3, "span": "(c) The provisions of this Section 5.11 shall not apply to the exclusive consent and voting rights of the holders of Series A Preferred Stock set forth in Section 15 of the Certificate of Designations and Section 5.10."}
-{"idx": 2, "level": 3, "span": "(a) Absent a change in law or IRS practice, issuance of contrary guidance or a contrary determination (as defined in Section 1313(a) of the Code), the Purchasers and the Company agree not to treat the Series A Preferred Stock (based on their terms as set forth in the Certificate of Designations) as indebtedness for United States federal income Tax and withholding Tax purposes, and shall not take any position inconsistent with such treatment."}
-{"idx": 2, "level": 3, "span": "(b) The Company shall pay any and all documentary, stamp and similar issue or transfer Tax due on (x) the issue of the Series A Preferred Stock and (y) the issue of shares of Common Stock upon conversion of the Series A Preferred Stock\nHowever, in the case of conversion of Series A Preferred Stock, the Company shall not be required to pay any Tax or duty that may be payable in respect of any transfer involved in the issue and delivery of shares of Common Stock or Series A Preferred Stock to a beneficial owner other than the beneficial owner of the Series A Preferred Stock immediately prior to such conversion, and no such issue or delivery shall be made unless and until the person requesting such issue has paid to the Company the amount of any such Tax or duty, or has established to the satisfaction of the Company that such Tax or duty has been paid."}
-{"idx": 2, "level": 3, "span": "(a) For the purposes of this Section 5.14, “Excluded Issuance” shall mean (i) the issuance of any shares of equity securities that is subject to Section 12 of the Certificate of Designations, but solely to the extent than an adjustment is made or the holders of Series A Preferred Stock participate in such issuance pursuant to Section 12 of the Certificate of Designations, (ii) the issuance of shares of any equity securities (including upon exercise of options) to directors, officers, employees, consultants or other agents of the Company as approved by the Board, (iii) the issuance of shares of any equity securities pursuant to an employee stock option plan, management incentive plan, restricted stock plan, stock purchase plan or stock, ownership plan or similar benefit plan, program or agreement as approved by the Board, (iv) the issuance of shares of equity securities in connection with any “business combination” (as defined in the rules and regulations promulgated by the SEC) or otherwise in connection with bona fide acquisitions of securities or substantially all of the assets of another Person, business unit, division or business, (v) securities issued pursuant to the conversion, exercise or exchange of Series A Preferred Stock issued to the Purchaser, (vi) shares of a Subsidiary of the Company issued to the Company or a Wholly-Owned Subsidiary of the"}
-{"idx": 2, "level": 3, "span": "(b) Until the occurrence of the Fall-Away of Purchaser Board Rights, if the Company proposes to issue equity securities of any kind (the term “equity securities” shall include for these purposes Common Stock and any warrants, options or other rights to acquire, or any securities that are exercisable for, exchangeable for or convertible into, Common Stock or any other class of capital stock of the Company), other than in an Excluded Issuance, then the Company shall:"}
-{"idx": 2, "level": 4, "span": "(i) give written notice to the Purchasers (no less than ten (10) Business Days prior to the closing of such issuance, setting forth in reasonable detail (A) the designation and all of the terms and provisions of the securities proposed to be issued (the “Proposed Securities”), including, to the extent applicable, the voting powers, preferences and relative participating, optional or other special rights, and the qualification, limitations or restrictions thereof and interest rate and maturity; (B) the price and other terms of the proposed sale of such securities; and (C) the amount of such securities proposed to be issued; provided that following the delivery of such notice, the Company shall deliver to the Purchasers any such information the Purchasers may reasonably request in order to evaluate the proposed issuance, except that the Company shall not be required to deliver any information that has not been or will not be provided or otherwise made available to the proposed purchasers of the Proposed Securities; and"}
-{"idx": 2, "level": 4, "span": "(ii) offer to issue and sell to the Purchaser Parties, on such terms as the Proposed Securities are issued and upon full payment by the Purchaser Parties, a portion of the Proposed Securities equal to a percentage determined by dividing (A) the number of shares of Common Stock the Purchaser Parties beneficially own (on an as converted basis) by (B) the total number of shares of Common Stock then outstanding (on an as-converted basis) (such percentage, a Purchaser Party’s “Participation Portion”); provided, however, that the Company shall not be required to offer to issue or sell to the Purchaser Parties (or to any of them) the portion of the Proposed Securities that would require the Company to obtain stockholder approval in respect of the issuance of any Proposed Securities under the listing rules of the NYSE or any other securities exchange or any other applicable Law."}
-{"idx": 2, "level": 3, "span": "(c) The Purchasers will have the option, on behalf of the applicable Purchaser Parties, exercisable by written notice to the Company, to accept the Company’s offer and commit to purchase any or all of the equity securities offered to be sold by the Company to the Purchaser Parties, which notice must be given within seven (7) Business Days after receipt of such notice"}
-{"idx": 2, "level": 3, "span": "(d) The election by any Purchaser Party not to exercise its subscription rights under this Section 5.14 in any one instance shall not affect their right as to any subsequent proposed issuance."}
-{"idx": 2, "level": 3, "span": "(e) Notwithstanding anything in this Section 5.14 to the contrary, the Company will not be deemed to have breached this Section 5.14 if not later than thirty (30) Business Days following the issuance of any Proposed Securities in contravention of this Section 5.14, the Company or the transferee of such Proposed Securities offers to sell a portion of such equity securities or additional equity securities of the type(s) in question to each Purchaser Party so that, taking into account such previously-issued Proposed Securities and any such additional Proposed Securities, each Purchaser Party will have had the right to purchase or subscribe for Proposed Securities in a manner consistent with the allocation and other terms and upon same economic and other terms provided for in Sections 5.14(b) and 5.14(c)."}
-{"idx": 2, "level": 3, "span": "(f) In the case of an issuance subject to this Section 5.14 for consideration in whole or in part other than cash, including securities acquired in exchange therefor (other than securities by their terms so exchangeable), the consideration other than cash shall be deemed to be the Fair Market Value thereof."}
-{"idx": 2, "level": 3, "span": "(a) Notwithstanding Section 5.08(a), the Purchaser Parties shall be permitted to Transfer any portion or all of their Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock at any time under the following circumstances:"}
-{"idx": 2, "level": 4, "span": "(i) Transfers to any Permitted Transferees of the Purchaser or a Purchaser Party, but only if the transferee agrees in writing prior to such Transfer for the express benefit of the Company (in form and substance reasonably satisfactory to the Company and with a copy thereof to be furnished to the Company) to be bound by the terms of this Agreement and if the transferee and the transferor agree for the express benefit of the Company that the transferee shall Transfer the Series A Preferred Stock or Common Stock so Transferred back to the transferor at or before such time as the transferee ceases to be a Permitted Transferee of the transferor;"}
-{"idx": 2, "level": 4, "span": "(ii) Transfers pursuant to a merger, consolidation or other business combination involving the Company;"}
-{"idx": 2, "level": 4, "span": "(iii) Transfers pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock; and"}
-{"idx": 2, "level": 4, "span": "(iv) Transfers that have been approved by the Board, subject to such conditions as the Board determines."}
-{"idx": 2, "level": 3, "span": "(b) Notwithstanding Sections 5.08(a) and (b), the Purchaser Parties will not at any time, directly or knowingly indirectly (without the prior written consent of the Board) Transfer any Series A Preferred Stock or Common Stock issued upon conversion of the Series A Preferred Stock to a Prohibited Transferee; provided, however, that this Section 5.08(c) shall not restrict (i) any Transfer into the public market pursuant to a bona-fide, broadly distributed underwritten public offering made pursuant to the Registration Rights Agreement, (ii) any Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business, (iii) any Transfer pursuant to a merger, consolidation or other business combination involving the Company or (iv) any Transfer pursuant to a tender offer or exchange offer for 100% of the equity securities of the Company made by a Person who is not an Affiliate of any holder of Series A Preferred Stock."}
-{"idx": 2, "level": 3, "span": "(c) Notwithstanding Sections 5.08(a), (b) or (c), until the earlier of (i) the three-year anniversary of the Initial Closing Date and (ii) a Fundamental Change, no Purchaser Party will directly or indirectly (without the prior written consent of the Board) Transfer, in one or more related transactions, shares of Series A Preferred Stock or shares of Common Stock issued upon conversion of the Series A Preferred Stock to any single Person or any “group” (as defined in Section 13(d)(3) of the Exchange Act) of Persons who such Purchaser Party knows or would know after reasonable inquiry at the time of such Transfer to beneficially own 5% or more of the Common Stock then outstanding on an as converted basis; provided, however, that this Section 5.08(d) shall not restrict (i) Transfers permitted in Section 5.08(b), (ii) Transfers to a mutual fund that, to the relevant Purchaser Party’s or broker-dealer’s, as applicable knowledge after reasonable inquiry, typically makes investments in Persons in the ordinary course of its business for investment purposes and not with the purpose or intent of changing or influencing the control of such Person, (iii) a bona fide underwritten public offering, in an open market transaction effected through a broker-dealer, (iv) a Transfer to a broker-dealer in a block sale so long as such broker-dealer is purchasing such securities for its own account and makes block trades in the ordinary course of its business or (v) a derivatives transaction entered into with a bank, broker-dealer or other derivatives dealer."}
-{"idx": 2, "level": 3, "span": "(d) Any attempted Transfer in violation of this Section 5.08 shall be null and void ab initio."}
-{"idx": 2, "level": 3, "span": "(a) other than the authorization and issuance of the Series A Preferred Stock to the Purchasers and the consummation of the other Transactions, issue, sell or grant any shares of its capital stock, or any securities or rights convertible into, exchangeable or exercisable for, or evidencing the right to subscribe for any shares of its capital stock, or any rights, warrants or options to purchase any shares of its capital stock; provided that the Company may issue or grant shares of Common Stock or other securities in the ordinary course of business pursuant to the terms of a Company Plan in effect on the date of this Agreement;"}
-{"idx": 2, "level": 3, "span": "(b) redeem, purchase or otherwise acquire any of its outstanding shares of capital stock or other equity or voting interests, or any rights, warrants or options to acquire any shares of its capital stock or other equity or voting interests (other than pursuant to the cashless exercise of Company Stock Options or the forfeiture or withholding of Taxes with respect to Company Stock Options, Company Restricted Shares, Company MSUs or Company PSUs);"}
-{"idx": 2, "level": 3, "span": "(c) establish a record date for, declare, set aside for payment or pay any dividend on, or make any other distribution in respect of, any shares of its capital stock or other equity or voting interests;"}
-{"idx": 2, "level": 3, "span": "(d) split, combine, subdivide or reclassify any shares of its capital stock or other equity or voting interests; or"}
-{"idx": 2, "level": 3, "span": "(e) amend or supplement the Company Charter Documents in a manner that would affect the Purchasers in an adverse manner either as a holder of Series A Preferred Stock or with respect to the rights of the Purchasers under this Agreement."}
-{"idx": 2, "level": 3, "span": "(a) The Company and the Purchasers agree to make an appropriate filing of a Notification and Report Form (“HSR Form”) pursuant to the HSR Act with respect to the Transactions (which shall request the early termination of any waiting period applicable to the Transactions under the HSR Act) as promptly as reasonably practicable following the date of this"}
-{"idx": 2, "level": 3, "span": "(b) Each of the Company and the Purchasers shall use their respective reasonable best efforts to (i) cooperate in all respects with the other party in connection with any filing or submission with a Governmental Authority in connection with the Transactions and in connection with any investigation or other inquiry by or before a Governmental Authority relating to the Transactions, including any proceeding initiated by a private person, (ii) keep the other party informed in all material respects and on a reasonably timely basis of any material communication received by the Company or the Purchaser, as the case may be, from or given by the Company or the Purchasers, as the case may be, to the Federal Trade Commission (“FTC”), the Department of Justice (“DOJ”) or any other Governmental Authority and of any material communication received or given in connection with any proceeding by a private Person, in each case regarding the Transactions, (iii) subject to applicable Laws relating to the exchange of information, and to the extent reasonably practicable, consult with the other party with respect to information relating to such party and its respective Subsidiaries, as the case may be, that appears in any filing made with, or written materials submitted to, any third Person or any Governmental Authority in connection with the Transactions, other than “4(c) and 4(d) documents” as that term is used in the rules and regulations under the HSR Act and other confidential information contained in the HSR Form, and (iv) to the extent permitted by the FTC, the DOJ or such other applicable Governmental Authority or other Person, give the other party the opportunity to attend and participate in such meetings and conferences."}
-{"idx": 2, "level": 3, "span": "(c) Notwithstanding anything to the contrary in this Agreement, nothing in this Section 5.02 shall require any Purchaser to take any action or to cause any of its Affiliates (other than the Purchaser Parties or any assignees of a Purchaser that become a party to this Agreement pursuant to Section 8.03 and their respective controlled Affiliates) to take any action, including selling, divesting, conveying, holding separate, or otherwise limiting its freedom of action, with respect to any assets, rights, products, licenses, businesses, operations, or interest therein, of any such Purchaser, Affiliates or any direct or indirect portfolio companies of investment funds advised or managed by one or more Affiliates of such Purchaser with respect to satisfying the condition set forth in Section 6.01(b)."}
-{"idx": 2, "level": 4, "span": "(i) from time to time take all lawful action within its control to cause the authorized capital stock of the Company to include a sufficient number of authorized but unissued shares of Common Stock to satisfy the conversion requirements of all shares of the Series A Preferred Stock then outstanding; and"}
-{"idx": 2, "level": 4, "span": "(ii) not effect any voluntary deregistration under the Exchange Act or any voluntary delisting with the NYSE in respect of the Common Stock other than in connection with a Change of Control (as defined in the Certificate of Designations)."}
-{"idx": 2, "level": 3, "span": "(b) Prior to the Initial Closing, the Company shall file with the DSS the Certificate of Designations in the form attached hereto as Annex I, with such changes thereto as the parties may reasonably agree."}
-{"idx": 2, "level": 3, "span": "(c) If any occurrence since the date of this Agreement until the Initial Closing would have resulted in an adjustment to the Conversion Rate pursuant to the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement, the Company shall adjust the Conversion Rate, effective as of the Initial Closing, in the same manner as would have been required by the Certificate of Designations if the Series A Preferred Stock had been issued and outstanding since the date of this Agreement."}
-{"idx": 2, "level": 3, "span": "(a) acquire, offer or seek to acquire, agree to acquire or make a proposal to acquire, by purchase or otherwise, any securities or direct or indirect rights to acquire any equity securities of the Company or any of its Affiliates, any securities convertible into or exchangeable for any such equity securities, any options or other derivative securities or contracts or instruments in any way related to the price of shares of Common Stock or substantially all of the assets or property of the Company and its Subsidiaries (but in any case excluding any issuance by the Company of shares of Company Common Stock or options, warrants or other rights to acquire Common Stock (or the exercise thereof) to any Purchaser Director (A) as compensation for their"}
-{"idx": 2, "level": 3, "span": "(b) make or in any way encourage or participate in any “solicitation” of “proxies” (whether or not relating to the election or removal of directors), as such terms are used in the rules of the SEC, to vote, or knowingly seek to advise or influence any Person with respect to voting of, any voting securities of the Company or any of its Subsidiaries (excluding any votes required for the approval of the Transactions), or call or seek to call a meeting of the Company’s stockholders or initiate any stockholder proposal for action by the Company’s stockholders, or other than with respect to the Purchaser Director, seek election to or to place a representative on the Board or seek the removal of any director from the Board;"}
-{"idx": 2, "level": 3, "span": "(c) [Reserved];"}
-{"idx": 2, "level": 3, "span": "(d) make any public announcement with respect to, or offer, seek, propose or indicate an interest in (in each case with or without conditions), any merger, consolidation, business combination, tender or exchange offer, recapitalization, reorganization or purchase of all or substantially all of the assets of the Company and its Subsidiaries, or any other extraordinary transaction involving the Company or any Subsidiary of the Company or any of their respective securities, or enter into any discussions, negotiations, arrangements, understandings or agreements (whether written or oral) with any other Person regarding any of the foregoing; provided that the Purchasers may make confidential proposals to the Board of Directors of the Company regarding mergers, consolidations or other business combinations with the Company or a purchase of all or substantially all of the Company’s assets so long as such proposals would not reasonably be expected to require any public disclosure by the Company;"}
-{"idx": 2, "level": 3, "span": "(e) otherwise act, alone or in concert with others, to seek to control or influence, in any manner, management or the board of directors of the Company or any of its Subsidiaries (other than in the capacity of the Purchaser Director);"}
-{"idx": 2, "level": 3, "span": "(f) make any proposal or statement of inquiry or disclose any intention, plan or arrangement inconsistent with any of the foregoing;"}
-{"idx": 2, "level": 3, "span": "(g) advise, assist, knowingly encourage or direct any Person to do, or to advise, assist, encourage or direct any other Person to do, any of the foregoing;"}
-{"idx": 2, "level": 3, "span": "(h) take any action that would, in effect, require the Company to make a public announcement regarding the possibility of a transaction or any of the events described in this Section 5.07;"}
-{"idx": 2, "level": 4, "span": "(i) enter into any discussions, negotiations, arrangements or understandings with any third party (including, without limitation, security holders of the Company, but excluding, for the avoidance of doubt, any Purchaser Parties) with respect to any of the foregoing, including, without limitation, forming, joining or in any way participating in a “group” (as defined in Section 13(d)(3) of the Exchange Act) with any third party with respect to any securities of the Company or otherwise in connection with any of the foregoing;"}
-{"idx": 2, "level": 3, "span": "(j) request the Company or any of its Representatives, directly or indirectly, to amend or waive any provision of this Section 5.07, provided that this clause shall not prohibit the Purchaser Parties from making a confidential request to the Company seeking an amendment or waiver of the provisions of this Section 5.07, which the Company may accept or reject in its sole discretion, so long as any such request is made in a manner that does not require public disclosure thereof by any Person; or"}
-{"idx": 2, "level": 3, "span": "(k) contest the validity of this Section 5.07 or make, initiate, take or participate in any demand, Action (legal or otherwise) or proposal to amend, waive or terminate any provision of this Section 5.07;"}
-{"idx": 2, "level": 2, "span": "ARTICLE VI"}
-{"idx": 2, "level": 2, "span": "Conditions to Closing\nSection 6.01 Conditions to the Obligations of the Company and the Purchasers. The respective obligations of each of the Company and the Purchasers to effect the Initial Closing shall be subject to the satisfaction (or waiver, if permissible under applicable Law) on or prior to the Closing Date of the following conditions:\n(a) no temporary or permanent Judgment shall have been enacted, promulgated, issued, entered, amended or enforced by any Governmental Authority nor shall any proceeding brought by a Governmental Authority seeking any of the foregoing be pending, or any applicable Law shall be in effect enjoining or otherwise prohibiting consummation of the Transactions (collectively, “Restraints”); and\n(b) the waiting period (and any extension thereof) applicable to the consummation of Transactions under the HSR Act shall have expired or early termination thereof shall have been granted.\nSection 6.02 Conditions to the Obligations of the Company. The obligations of the Company to effect the Initial Closing shall be further subject to the satisfaction (or waiver, if permissible under applicable Law) on or prior to the Initial Closing Date of the following conditions:\n(a) the representations and warranties of the Purchasers set forth in this Agreement shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect;\n(b) the Purchasers shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing; and\n(c) the Company shall have received a certificate, signed on behalf of each of the Purchasers by an executive officer thereof, certifying that the conditions set forth in Section 6.02(a) and Section 6.02(b) have been satisfied.\nSection 6.03 Conditions to the Obligations of the Purchasers. The obligations of the Purchasers to effect the Initial Closing shall be further subject to the satisfaction (or waiver, if permissible under applicable Law) on or prior to the Initial Closing Date of the following conditions:\n(a) the representations and warranties of the Company (i) set forth in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16 shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date) and (ii) set forth in this Agreement, other than in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16, shall be true and correct (disregarding all qualifications or limitations as to “materiality”, “Material Adverse Effect” and words of similar import set forth therein) as of the Initial Closing Date with the same effect as though made as of the date hereof and as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except, in the case of this clause (ii), where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect;\n(b) the Company shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing;\n(c) the Purchasers shall have received a certificate, signed on behalf of the Company by an executive officer thereof, certifying that the conditions set forth in Section 6.03(a) and Section 6.03(b) have been satisfied;\n(d) the Company shall have duly adopted and filed with the DSS the Certificate of Designations, and the Certificate of Designations shall have been accepted for record by the DSS and a certified copy thereof shall have been delivered to the Purchaser;\n(e) the Board shall have taken all actions necessary and appropriate to elect Richard Sarnoff to the Board, effective immediately upon the Initial Closing;\n(f) any shares of Common Stock issuable upon conversion of the Series A Preferred Stock (other than any additional shares of Series A Preferred Stock that may be issued as dividends in kind) at the Conversion Rate specified in the Certificate of Designations as in effect on the date hereof shall have been approved for listing on the NYSE, subject to official notice of issuance;\n(g) The Purchasers (or their counsel) shall have received a counterpart of this Agreement and each other Transaction Document signed by each of the requisite parties thereto (which may include delivery of a signed signature page of this Agreement and each other Transaction Document by facsimile or other means of electronic transmission (e.g., “pdf”));\n(h) The Purchasers shall have received a written opinion of Sidley Austin LLP (i) dated as of the Initial Closing Date, (ii) addressed to the Lead Purchasers and (iii) in form and substance reasonably satisfactory to the Lead Purchasers covering the following matters with respect to the Company: due incorporation, valid existence and good standing; due authorization, execution and delivery of the Investment Agreement and Registration Rights Agreement; no conflict with organizational documents, applicable law, the Credit Agreement and the Indenture; no governmental consent; the shares of Series A Preferred Stock are validly issued, fully paid and non-assessable; no registration; and 1940 Act compliance;\n(i) The Purchasers shall have received a certificate of the Secretary or Assistant Secretary or similar officer of the Company dated as of the Initial Closing Date and certifying and attaching:\n(i) a copy of the certificate of incorporation or other equivalent constituent and governing documents, including all amendments thereto (including, the Certificates of Designation), of the Company, certified as of a recent date by the Secretary of State of the State of Delaware;\n(ii) a certificate as to the good standing of the Company as of a recent date from the Secretary of State of the State of Delaware;\n(iii) that attached thereto is a true and complete copy of the by-laws (or other equivalent constituent and governing documents) of the Company as in effect on the\nInitial Closing Date and at all times since a date prior to the date of the resolutions described in Section 6.03(i)(iv);\n(iv) that attached thereto is a true and complete copy of resolutions duly adopted by the board of directors (or equivalent governing body) of the Company authorizing the execution, delivery and performance of this Agreement and each other Transaction Document dated as of the Initial Closing Date to which the Company is a party, the filing of the Certificates of Designation with the Secretary of State of the State of Delaware, the sale and purchase of the Series A Preferred Stock hereunder, the increase in the number of directors which constitute the Company’s board of directors and the election to the board of directors of the Initial Purchaser Director Designee, and that such resolutions have not been modified, rescinded or amended and are in full force and effect on the Initial Closing Date;\n(v) as to the incumbency and specimen signature of each officer executing this Agreement, any other Transaction Document or any other document delivered in connection herewith or therewith on behalf of the Company; and\n(vi) as to the absence of any pending proceeding for the dissolution or liquidation of the Company or, to the knowledge of the Company, threatening the existence of the Company; and\n(j) The Lead Purchasers shall have received reimbursement for all reasonable and documented out-of-pocket fees and expenses, including reasonable travel expenses, incurred in connection with the Transaction Documents (including reasonable and documented fees, charges and disbursements of Paul, Weiss, Rifkind, Wharton & Garrison LLP, Wiley Rein LLP, Ropes & Gray LLP, Deloitte & Touche) that have been invoiced to the Company not less than three Business Days prior to the Initial Closing Date, up to a maximum amount of $850,000 in the aggregate;\nSection 6.04 Alternative Acquisition. Notwithstanding this Agreement or any of the terms or conditions herein, if within 30 days of the date hereof (the “Alternative Acquisition Conditions Date”), the Alternative Acquisition Conditions (as defined below) have been satisfied and the Company has given written notice to this effect to the Purchasers, then the Company may terminate this Agreement; provided that the Company shall, within two business days after the date of such notice, pay KKR Classic Investors LLC or its designees a fee equal to $15,000,000. The “Alternative Acquisition Conditions” shall have been met if:\n(a) On or prior to the Alternative Acquisition Conditions Date, a bona fide Acquisition Proposal shall have been made to the Company or any of its Subsidiaries or shall have been made directly to the Company’s stockholders generally or any person shall have publicly announced an intention (whether or not conditional) to make a bona fide Acquisition Proposal with respect to the Company; and\n(b) The Company shall approve or recommend, or publicly declare advisable, publicly propose to enter into or enter into, any letter of intent, memorandum of understanding, agreement in principle, acquisition agreement, merger agreement, option agreement, joint venture\nagreement, partnership agreement, lease agreement or other agreement relating to any Acquisition Proposal."}
-{"idx": 2, "level": 3, "span": "(a) no temporary or permanent Judgment shall have been enacted, promulgated, issued, entered, amended or enforced by any Governmental Authority nor shall any proceeding brought by a Governmental Authority seeking any of the foregoing be pending, or any applicable Law shall be in effect enjoining or otherwise prohibiting consummation of the Transactions (collectively, “Restraints”); and"}
-{"idx": 2, "level": 3, "span": "(b) the waiting period (and any extension thereof) applicable to the consummation of Transactions under the HSR Act shall have expired or early termination thereof shall have been granted."}
-{"idx": 2, "level": 3, "span": "(a) the representations and warranties of the Purchasers set forth in this Agreement shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Purchaser Material Adverse Effect;"}
-{"idx": 2, "level": 3, "span": "(b) the Purchasers shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing; and"}
-{"idx": 2, "level": 3, "span": "(c) the Company shall have received a certificate, signed on behalf of each of the Purchasers by an executive officer thereof, certifying that the conditions set forth in Section 6.02(a) and Section 6.02(b) have been satisfied."}
-{"idx": 2, "level": 3, "span": "(a) the representations and warranties of the Company (i) set forth in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16 shall be true and correct in all material respects as of the date hereof and as of the Initial Closing Date with the same effect as though made as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date) and (ii) set forth in this Agreement, other than in Sections 3.01, 3.02(a), 3.03(a), 3.08, 3.09, 3.12, 3.13, 3.14, 3.15 and 3.16, shall be true and correct (disregarding all qualifications or limitations as to “materiality”, “Material Adverse Effect” and words of similar import set forth therein) as of the Initial Closing Date with the same effect as though made as of the date hereof and as of the Initial Closing Date (except to the extent expressly made as of an earlier date, in which case as of such earlier date), except, in the case of this clause (ii), where the failure to be true and correct would not, individually or in the aggregate, reasonably be expected to have a Material Adverse Effect;"}
-{"idx": 2, "level": 3, "span": "(b) the Company shall have complied with or performed in all material respects its obligations required to be complied with or performed by it pursuant to this Agreement at or prior to the Initial Closing;"}
-{"idx": 2, "level": 3, "span": "(c) the Purchasers shall have received a certificate, signed on behalf of the Company by an executive officer thereof, certifying that the conditions set forth in Section 6.03(a) and Section 6.03(b) have been satisfied;"}
-{"idx": 2, "level": 3, "span": "(d) the Company shall have duly adopted and filed with the DSS the Certificate of Designations, and the Certificate of Designations shall have been accepted for record by the DSS and a certified copy thereof shall have been delivered to the Purchaser;"}
-{"idx": 2, "level": 3, "span": "(e) the Board shall have taken all actions necessary and appropriate to elect Richard Sarnoff to the Board, effective immediately upon the Initial Closing;"}
-{"idx": 2, "level": 3, "span": "(f) any shares of Common Stock issuable upon conversion of the Series A Preferred Stock (other than any additional shares of Series A Preferred Stock that may be issued as dividends in kind) at the Conversion Rate specified in the Certificate of Designations as in effect on the date hereof shall have been approved for listing on the NYSE, subject to official notice of issuance;"}
-{"idx": 2, "level": 3, "span": "(g) The Purchasers (or their counsel) shall have received a counterpart of this Agreement and each other Transaction Document signed by each of the requisite parties thereto (which may include delivery of a signed signature page of this Agreement and each other Transaction Document by facsimile or other means of electronic transmission (e.g., “pdf”));"}
-{"idx": 2, "level": 3, "span": "(h) The Purchasers shall have received a written opinion of Sidley Austin LLP (i) dated as of the Initial Closing Date, (ii) addressed to the Lead Purchasers and (iii) in form and substance reasonably satisfactory to the Lead Purchasers covering the following matters with respect to the Company: due incorporation, valid existence and good standing; due authorization, execution and delivery of the Investment Agreement and Registration Rights Agreement; no conflict with organizational documents, applicable law, the Credit Agreement and the Indenture; no governmental consent; the shares of Series A Preferred Stock are validly issued, fully paid and non-assessable; no registration; and 1940 Act compliance;"}
-{"idx": 2, "level": 4, "span": "(i) The Purchasers shall have received a certificate of the Secretary or Assistant Secretary or similar officer of the Company dated as of the Initial Closing Date and certifying and attaching:"}
-{"idx": 2, "level": 4, "span": "(i) a copy of the certificate of incorporation or other equivalent constituent and governing documents, including all amendments thereto (including, the Certificates of Designation), of the Company, certified as of a recent date by the Secretary of State of the State of Delaware;"}
-{"idx": 2, "level": 4, "span": "(ii) a certificate as to the good standing of the Company as of a recent date from the Secretary of State of the State of Delaware;"}
-{"idx": 2, "level": 4, "span": "(iii) that attached thereto is a true and complete copy of the by-laws (or other equivalent constituent and governing documents) of the Company as in effect on the"}
-{"idx": 2, "level": 4, "span": "(iv) that attached thereto is a true and complete copy of resolutions duly adopted by the board of directors (or equivalent governing body) of the Company authorizing the execution, delivery and performance of this Agreement and each other Transaction Document dated as of the Initial Closing Date to which the Company is a party, the filing of the Certificates of Designation with the Secretary of State of the State of Delaware, the sale and purchase of the Series A Preferred Stock hereunder, the increase in the number of directors which constitute the Company’s board of directors and the election to the board of directors of the Initial Purchaser Director Designee, and that such resolutions have not been modified, rescinded or amended and are in full force and effect on the Initial Closing Date;"}
-{"idx": 2, "level": 4, "span": "(v) as to the incumbency and specimen signature of each officer executing this Agreement, any other Transaction Document or any other document delivered in connection herewith or therewith on behalf of the Company; and"}
-{"idx": 2, "level": 4, "span": "(vi) as to the absence of any pending proceeding for the dissolution or liquidation of the Company or, to the knowledge of the Company, threatening the existence of the Company; and"}
-{"idx": 2, "level": 3, "span": "(j) The Lead Purchasers shall have received reimbursement for all reasonable and documented out-of-pocket fees and expenses, including reasonable travel expenses, incurred in connection with the Transaction Documents (including reasonable and documented fees, charges and disbursements of Paul, Weiss, Rifkind, Wharton & Garrison LLP, Wiley Rein LLP, Ropes & Gray LLP, Deloitte & Touche) that have been invoiced to the Company not less than three Business Days prior to the Initial Closing Date, up to a maximum amount of $850,000 in the aggregate;"}
-{"idx": 2, "level": 3, "span": "(a) On or prior to the Alternative Acquisition Conditions Date, a bona fide Acquisition Proposal shall have been made to the Company or any of its Subsidiaries or shall have been made directly to the Company’s stockholders generally or any person shall have publicly announced an intention (whether or not conditional) to make a bona fide Acquisition Proposal with respect to the Company; and"}
-{"idx": 2, "level": 3, "span": "(b) The Company shall approve or recommend, or publicly declare advisable, publicly propose to enter into or enter into, any letter of intent, memorandum of understanding, agreement in principle, acquisition agreement, merger agreement, option agreement, joint venture"}
-{"idx": 2, "level": 2, "span": "ARTICLE VII"}
-{"idx": 2, "level": 2, "span": "Termination; Survival\nSection 7.01 Termination. This Agreement may be terminated and the Transactions abandoned at any time prior to the Initial Closing:\n(a) by the mutual written consent of the Company and the Purchasers;\n(b) by either the Company or the Purchasers upon written notice to the other, if the Initial Closing should not have occurred on or prior to August 8, 2017 (the “Termination Date”); provided that the right to terminate this Agreement under this Section 7.01(b) shall not be available to any party if the breach by such party of its representations and warranties set forth in this Agreement or the failure of such party to perform any of its obligations under this Agreement has been a principal cause of or primarily resulted in the events specified in this Section 7.01(b);\n(c) by either the Company or the Purchasers if any Restraint enjoining or otherwise prohibiting consummation of the Transactions shall be in effect and shall have become final and nonappealable prior to the Initial Closing Date; provided that the party seeking to terminate this Agreement pursuant to this Section 7.01(c) shall have used the required efforts to cause the conditions to Initial Closing to be satisfied in accordance with Section 6.02;\n(d) by the Purchasers if the Company shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.03(a) or Section 6.03(b) and (ii) has not been waived by the Purchasers or is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Company of written notice of such breach or failure to perform from the Purchasers stating the Purchasers’ intention to terminate this Agreement pursuant to this Section 7.01(d) and the basis for such termination; provided that the Purchasers shall not have the right to terminate this Agreement pursuant to this Section 7.01(d) if the Purchasers are then in material breach of any of their representations, warranties, covenants or agreements hereunder which breach would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b); or\n(e) by the Company if the Purchasers shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b) and (ii) is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Purchasers of written notice of such breach or failure to perform from the Company stating the Company’s intention to terminate this Agreement pursuant to this Section 7.01(e) and the basis for such termination;"}
-{"idx": 2, "level": 2, "span": "provided that the Company shall not have the right to terminate this Agreement pursuant to this Section 7.01(e) if the Company is then in material breach of any of its representations, warranties, covenants or agreements hereunder which breach would give rise to the failure of a condition set forth in Section 6.03(a) or Section 6.03(b)\n.\nSection 7.02 Effect of Termination. In the event of the termination of this Agreement as provided in Section 7.01, written notice thereof shall be given to the other party, specifying the provision hereof pursuant to which such termination is made, and this Agreement shall forthwith become null and void (other than Section 5.03, this Section 7.02 and Article VIII, all of which shall survive termination of this Agreement and the Confidentiality Agreement (which shall survive in accordance with its terms except as otherwise provided herein)), and there shall be no liability on the part of the Purchasers or the Company or their respective directors, officers and Affiliates in connection with this Agreement, except that no such termination shall relieve any party from liability for damages to another party resulting from a willful and material breach of this Agreement prior to the date of termination or from fraud; provided that, notwithstanding any other provision set forth in this Agreement, except in the case of fraud, the Company shall not have any such liability in excess of the Purchase Price for all of the Acquired Shares and each Purchaser (severally and not jointly) shall not have any liability in excess of the Purchase Price for the Acquired Shares to be purchased by such Purchaser.\nSection 7.03 Survival. All of the covenants or other agreements of the parties contained in this Agreement shall survive until fully performed or fulfilled, unless and to the extent that non‑compliance with such covenants or agreements is waived in writing by the party entitled to such performance. Except for the warranties and representations contained in Sections 3.01, 3.02(a), 3.03(a), 3.12, 3.13, 3.14 and 3.16 and the representations and warranties contained in Article IV, which shall survive until the sixth (6th) anniversary of the Initial Closing Date, the representations and warranties made herein shall survive for twelve (12) months following the Initial Closing Date and shall then expire; provided that nothing herein shall relieve any party of liability for any inaccuracy or breach of such representation or warranty to the extent that any good faith allegation of such inaccuracy or breach is made in writing prior to such expiration by a Person entitled to make such claim pursuant to the terms and conditions of this Agreement. For the avoidance of doubt, claims may be made with respect to the breach of any representation, warranty or covenant until the applicable survival period therefor as described above expires."}
-{"idx": 2, "level": 3, "span": "(a) by the mutual written consent of the Company and the Purchasers;"}
-{"idx": 2, "level": 3, "span": "(b) by either the Company or the Purchasers upon written notice to the other, if the Initial Closing should not have occurred on or prior to August 8, 2017 (the “Termination Date”); provided that the right to terminate this Agreement under this Section 7.01(b) shall not be available to any party if the breach by such party of its representations and warranties set forth in this Agreement or the failure of such party to perform any of its obligations under this Agreement has been a principal cause of or primarily resulted in the events specified in this Section 7.01(b);"}
-{"idx": 2, "level": 3, "span": "(c) by either the Company or the Purchasers if any Restraint enjoining or otherwise prohibiting consummation of the Transactions shall be in effect and shall have become final and nonappealable prior to the Initial Closing Date; provided that the party seeking to terminate this Agreement pursuant to this Section 7.01(c) shall have used the required efforts to cause the conditions to Initial Closing to be satisfied in accordance with Section 6.02;"}
-{"idx": 2, "level": 3, "span": "(d) by the Purchasers if the Company shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.03(a) or Section 6.03(b) and (ii) has not been waived by the Purchasers or is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Company of written notice of such breach or failure to perform from the Purchasers stating the Purchasers’ intention to terminate this Agreement pursuant to this Section 7.01(d) and the basis for such termination; provided that the Purchasers shall not have the right to terminate this Agreement pursuant to this Section 7.01(d) if the Purchasers are then in material breach of any of their representations, warranties, covenants or agreements hereunder which breach would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b); or"}
-{"idx": 2, "level": 3, "span": "(e) by the Company if the Purchasers shall have breached any of its representations or warranties or failed to perform any of its covenants or agreements set forth in this Agreement, which breach or failure to perform (i) would give rise to the failure of a condition set forth in Section 6.02(a) or Section 6.02(b) and (ii) is incapable of being cured prior to the Termination Date, or if capable of being cured, shall not have been cured within thirty (30) calendar days (but in no event later than the Termination Date) following receipt by the Purchasers of written notice of such breach or failure to perform from the Company stating the Company’s intention to terminate this Agreement pursuant to this Section 7.01(e) and the basis for such termination;"}
-{"idx": 2, "level": 2, "span": "ARTICLE VIII"}
-{"idx": 2, "level": 2, "span": "Miscellaneous\nSection 8.01 Amendments; Waivers. Subject to compliance with applicable Law, this Agreement may be amended or supplemented in any and all respects only by written agreement of the parties hereto.\nSection 8.02 Extension of Time, Waiver, Etc.. The Company and the Purchasers may, subject to applicable Law, (a) waive any inaccuracies in the representations and warranties of the other party contained herein or in any document delivered pursuant hereto, (b) extend the time for the performance of any of the obligations or acts of the other party or (c) waive compliance by the\nother party with any of the agreements contained herein applicable to such party or, except as otherwise provided herein, waive any of such party’s conditions. Notwithstanding the foregoing, no failure or delay by the Company or the Purchasers in exercising any right hereunder shall operate as a waiver thereof nor shall any single or partial exercise thereof preclude any other or further exercise thereof or the exercise of any other right hereunder. Any agreement on the part of a party hereto to any such extension or waiver shall be valid only if set forth in an instrument in writing signed on behalf of such party.\nSection 8.03 Assignment. Neither this Agreement nor any of the rights, interests or obligations hereunder shall be assigned, in whole or in part, by operation of Law or otherwise, by any of the parties hereto without the prior written consent of the other party hereto; provided, however, that (a) each Purchaser or any Purchaser Party may assign its rights, interests and obligations under this Agreement, in whole or in part, to one or more Permitted Transferees, as contemplated in Section 5.08 and (b) in the event of such assignment, the assignee shall agree in writing to be bound by the provisions of this Agreement, including the rights, interests and obligations so assigned; provided that no such assignment will relieve any Purchaser of its obligations hereunder prior to the Initial Closing; provided, further, that no party hereto shall assign any of its obligations hereunder with the primary intent of avoiding, circumventing or eliminating such party’s obligations hereunder. Subject to the immediately preceding sentence, this Agreement shall be binding upon, inure to the benefit of, and be enforceable by, the parties hereto and their respective successors and permitted assigns.\nSection 8.04 Counterparts. This Agreement may be executed in one or more counterparts (including by facsimile or electronic mail), each of which shall be deemed to be an original but all of which taken together shall constitute one and the same agreement, and shall become effective when one or more counterparts have been signed by each of the parties hereto and delivered to the other parties hereto.\nSection 8.05 Entire Agreement; No Third-Party Beneficiaries; No Recourse. (a) This Agreement, including the Company Disclosure Letter, together with the Confidentiality Agreement, the Registration Rights Agreement and the Certificate of Designations, constitutes the entire agreement, and supersedes all other prior agreements and understandings, both written and oral, among the parties and their Affiliates, or any of them, with respect to the subject matter hereof and thereof.\n(a) No provision of this Agreement shall confer upon any Person other than the parties hereto and their permitted assigns any rights or remedies hereunder. This Agreement may only be enforced against, and any claims or causes of action that may be based upon, arise out of or relate to this Agreement, or the negotiation, execution or performance of this Agreement may only be made against the entities that are expressly identified as parties hereto, including entities that become parties hereto after the date hereof or that agree in writing for the benefit of the Company to be bound by the terms of this Agreement applicable to the Purchaser Parties, and no former, current or future equityholders, controlling persons, directors, officers, employees, agents or Affiliates of any party hereto or any former, current or future equityholder, controlling person, director, officer, employee, general or limited partner, member, manager, advisor, agent or Affiliate\nof any of the foregoing (each, a “Non-Recourse Party”) shall have any liability for any obligations or liabilities of the parties to this Agreement or for any claim (whether in tort, contract or otherwise) based on, in respect of, or by reason of, the transactions contemplated hereby or in respect of any representations made or alleged to be made in connection herewith. Without limiting the rights of any party against the other parties hereto, in no event shall any party or any of its Affiliates seek to enforce this Agreement against, make any claims for breach of this Agreement against, or seek to recover monetary damages from, any Non-Recourse Party.\nSection 8.06 Governing Law; Jurisdiction. (a) This Agreement shall be governed by, and construed in accordance with, the laws of the State of Delaware applicable to contracts executed in and to be performed entirely within that State, regardless of the laws that might otherwise govern under any applicable conflict of Laws principles.\n(a) All Actions arising out of or relating to this Agreement shall be heard and determined in the Court of Chancery of the State of Delaware (or, if the Court of Chancery of the State of Delaware declines to accept jurisdiction over any Action, any state or federal court within the State of Delaware) and the parties hereto hereby irrevocably submit to the exclusive jurisdiction and venue of such courts in any such Action and irrevocably waive the defense of an inconvenient forum or lack of jurisdiction to the maintenance of any such Action. The consents to jurisdiction and venue set forth in this Section 8.06 shall not constitute general consents to service of process in the State of Delaware and shall have no effect for any purpose except as provided in this paragraph and shall not be deemed to confer rights on any Person other than the parties hereto. Each party hereto agrees that service of process upon such party in any Action arising out of or relating to this Agreement shall be effective if notice is given by overnight courier at the address set forth in Section 8.10 of this Agreement. The parties hereto agree that a final judgment in any such Action shall be conclusive and may be enforced in other jurisdictions by suit on the judgment or in any other manner provided by applicable Law; provided, however, that nothing in the foregoing shall restrict any party’s rights to seek any post-judgment relief regarding, or any appeal from, a final trial court judgment.\nSection 8.07 Specific Enforcement. The parties hereto agree that irreparable damage for which monetary relief, even if available, would not be an adequate remedy, would occur in the event that Sections 5.06 or Section 5.07 are not performed in accordance with their specific terms or are otherwise breached. The Purchasers acknowledge and agree that (a) the Company shall be entitled to seek an injunction or injunctions, specific performance or other equitable relief to prevent breaches of Sections 5.06 and Section 5.07 and to enforce specifically the terms and provisions thereof in the courts described in Section 8.06 without proof of damages or otherwise, this being in addition to any other remedy to which they are entitled under this Agreement and (b) this right of specific enforcement is an integral part of the Transactions and without that right, the Company would not have entered into this Agreement. The Purchasers agree not to assert that a remedy of specific enforcement is unenforceable, invalid, contrary to Law or inequitable for any reason, and agree not to assert that a remedy of monetary damages would provide an adequate remedy or that the parties otherwise have an adequate remedy at law. The Purchasers acknowledge and agree that the Company shall not be required to provide any bond or other security in connection with its pursuit of an\ninjunction or injunctions to prevent breaches of Sections 5.06 or Section 5.07 and to enforce specifically the terms and provisions thereof.\nSection 8.08 [Reserved].\nSection 8.09 WAIVER OF JURY TRIAL. EACH PARTY ACKNOWLEDGES AND AGREES THAT ANY CONTROVERSY WHICH MAY ARISE UNDER THIS AGREEMENT IS LIKELY TO INVOLVE COMPLICATED AND DIFFICULT ISSUES, AND THEREFORE IT HEREBY IRREVOCABLY AND UNCONDITIONALLY WAIVES, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, ANY RIGHT IT MAY HAVE TO A TRIAL BY JURY IN RESPECT OF ANY LITIGATION DIRECTLY OR INDIRECTLY ARISING OUT OF OR RELATING TO THIS AGREEMENT AND ANY OF THE AGREEMENTS DELIVERED IN CONNECTION HEREWITH OR THE TRANSACTIONS CONTEMPLATED HEREBY OR THEREBY. EACH PARTY CERTIFIES AND ACKNOWLEDGES THAT (A) NO REPRESENTATIVE, AGENT OR ATTORNEY OF ANY OTHER PARTY HAS REPRESENTED, EXPRESSLY OR OTHERWISE, THAT SUCH OTHER PARTY WOULD NOT, IN THE EVENT OF LITIGATION, SEEK TO ENFORCE THE FOREGOING WAIVER, (B) IT UNDERSTANDS AND HAS CONSIDERED THE IMPLICATIONS OF SUCH WAIVER, (C) IT MAKES SUCH WAIVER VOLUNTARILY AND (D) IT HAS BEEN INDUCED TO ENTER INTO THIS AGREEMENT BY, AMONG OTHER THINGS, THE MUTUAL WAIVER AND CERTIFICATIONS IN THIS SECTION 8.09.\nSection 8.10 Notices. All notices, requests and other communications to any party hereunder shall be in writing and shall be deemed given if delivered personally, by facsimile (which is confirmed), emailed (which is confirmed) or sent by overnight courier (providing proof of delivery) to the parties at the following addresses:\n(a) If to the Company, to it at:\nPandora Media, Inc.\n2101 Webster Street\nSuite 1650\nOakland, CA 94612\nAttention: General Counsel\nEmail: sbene@pandora.com\nwith a copy (which shall not constitute notice) to:\nSidley Austin LLP\n1001 Page Mill Road\nBuilding 1\nPalo Alto, CA 94304\nAttention: Martin Wellington, Esq.\nFacsimile: 650-565-7100\nEmail: mwellington@sidley.com"}
-{"idx": 2, "level": 2, "span": "Sidley Austin LLP\n1999 Avenue of the Stars\n17th Floor\nLos Angeles, CA 90067\nAttention: Stephen Blevit, Esq.\nFacsimile: 310-595-9501\nEmail: sblevit@sidley.com\n(b) If to the Purchasers at:"}
-{"idx": 2, "level": 3, "span": "(b) If to the Purchasers at:"}
-{"idx": 2, "level": 2, "span": "KKR Classic Investors LLC\nc/o KKR Credit Advisors (US) LLC\n555 California Street, 50th floor\nSan Francisco, CA 94104\nAttn: General Counsel\nPhone: (415) 315-3620\nFax: (415) 391-3077\nEmail: kkrcreditlegal@kkr.com\nwith a copy (which shall not constitute notice) to:\nPaul, Weiss, Rifkind, Wharton & Garrison LLP\n1285 Avenue of the Americas\nNew York, NY 06902\nAttention: Monica K. Thurmond, Esq.\nFacsimile: (212) 492-0055\nEmail: mthurmond@paulweiss.com\nor such other address, email address or facsimile number as such party may hereafter specify by like notice to the other parties hereto. All such notices, requests and other communications shall be deemed received on the date of actual receipt by the recipient thereof if received prior to 5:00 p.m. local time in the place of receipt and such day is a Business Day in the place of receipt. Otherwise, any such notice, request or communication shall be deemed not to have been received until the next succeeding Business Day in the place of receipt.\nSection 8.11 Severability. If any term, condition or other provision of this Agreement is determined by a court of competent jurisdiction to be invalid, illegal or incapable of being enforced by any rule of Law or public policy, all other terms, provisions and conditions of this Agreement shall nevertheless remain in full force and effect. Upon such determination that any term, condition or other provision is invalid, illegal or incapable of being enforced, the parties hereto shall negotiate in good faith to modify this Agreement so as to effect the original intent of the parties as closely as possible to the fullest extent permitted by applicable Law.\nSection 8.12 Expenses. Except as otherwise expressly provided herein, all costs and expenses, including fees and disbursements of counsel, financial advisors and accountants, incurred\nin connection with this Agreement and the Transactions shall be paid by the party incurring such costs and expenses, whether or not the Initial Closing shall have occurred.\nSection 8.13 Interpretation. (a) When a reference is made in this Agreement to an Article, a Section, Exhibit or Schedule, such reference shall be to an Article of, a Section of, or an Exhibit or Schedule to, this Agreement unless otherwise indicated. The table of contents and headings contained in this Agreement are for reference purposes only and shall not affect in any way the meaning or interpretation of this Agreement. Whenever the words “include”, “includes” or “including” are used in this Agreement, they shall be deemed to be followed by the words “without limitation”. The words “hereof”, “herein” and “hereunder” and words of similar import when used in this Agreement shall refer to this Agreement as a whole and not to any particular provision of this Agreement unless the context requires otherwise. The words “date hereof” when used in this Agreement shall refer to the date of this Agreement. The terms “or”, “any” and “either” are not exclusive. The word “extent” in the phrase “to the extent” shall mean the degree to which a subject or other thing extends, and such phrase shall not mean simply “if”. The word “will” shall be construed to have the same meaning and effect as the word “shall”. The words “made available to the Purchasers” and words of similar import refer to documents (A) posted to a diligence website by or on behalf of the Company and made available to the Purchasers or their respective Representatives or (B) delivered in Person or electronically to the Purchasers or their respective Representatives in each case no later than one Business Day prior to the date hereof. All accounting terms used and not defined herein shall have the respective meanings given to them under GAAP. All terms defined in this Agreement shall have the defined meanings when used in any document made or delivered pursuant hereto unless otherwise defined therein. The definitions contained in this Agreement are applicable to the singular as well as the plural forms of such terms and to the masculine as well as to the feminine and neuter genders of such term. Any agreement, instrument or statute defined or referred to herein or in any agreement or instrument that is referred to herein means such agreement, instrument or statute as from time to time amended, modified or supplemented, including (in the case of agreements or instruments) by waiver or consent and (in the case of statutes) by succession of comparable successor statutes and references to all attachments thereto and instruments incorporated therein. Unless otherwise specifically indicated, all references to “dollars” or “$” shall refer to the lawful money of the United States. References to a Person are also to its permitted assigns and successors. When calculating the period of time between which, within which or following which any act is to be done or step taken pursuant to this Agreement, the date that is the reference date in calculating such period shall be excluded (unless, otherwise required by Law, if the last day of such period is not a Business Day, the period in question shall end on the next succeeding Business Day).\n(a) The parties hereto have participated jointly in the negotiation and drafting of this Agreement and, in the event an ambiguity or question of intent or interpretation arises, this Agreement shall be construed as jointly drafted by the parties hereto and no presumption or burden of proof shall arise favoring or disfavoring any party hereto by virtue of the authorship of any provision of this Agreement."}
-{"idx": 2, "level": 3, "span": "[Remainder of page intentionally left blank]\nIN WITNESS WHEREOF, the parties hereto have caused this Agreement to be duly executed and delivered as of the date first above written."}
-{"idx": 2, "level": 4, "span": "PANDORA MEDIA, INC.\nBy: /s/ Naveen Chopra \nName: Naveen Chopra\nTitle: Chief Financial Officer"}
-{"idx": 2, "level": 3, "span": "[Signature Page to Investment Agreement]"}
-{"idx": 2, "level": 4, "span": "KKR CLASSIC INVESTORS LLC\nBy: /s/ Nicole Macarchuk \nName: Nicole Macarchuk\nTitle: Authorized Signatory"}
-{"idx": 3, "level": 0, "span": "LOAN AND SECURITY AGREEMENT"}
-{"idx": 3, "level": 1, "span": "THIS LOAN AND SECURITY AGREEMENT (as amended, restated, modified or otherwise supplemented from time to time, this “Agreement”) dated as of April 28, 2017 between SILICON VALLEY BANK, a California corporation (“Bank”), and, SAVARA INC. f/k/a MAST THERAPEUTICS, INC., a Delaware corporation (“Parent”) and ARAVAS INC. f/k/a SAVARA INC. a Delaware corporation (each a “Co-Borrower” and collectively “Co‑Borrowers”), provides the terms on which Bank shall lend to Co-Borrowers and Co-Borrowers shall repay Bank. The parties agree as follows:"}
-{"idx": 3, "level": 1, "span": "ACCOUNTING AND OTHER TERMS\nAccounting terms not defined in this Agreement shall be construed following GAAP. Calculations and determinations must be made following GAAP; provided, however, that any obligations of a Person under a lease (whether existing now or entered into in the future) that is not (or would not be) a capital lease obligation under GAAP as in effect on the Closing Date shall not be treated as a capital lease obligation solely as a result of the adoption of changes in GAAP. Capitalized terms not otherwise defined in this Agreement shall have the meanings set forth in Section 13. All other terms contained in this Agreement, unless otherwise indicated, shall have the meaning provided by the Code to the extent such terms are defined therein."}
-{"idx": 3, "level": 1, "span": "LOAN AND TERMS OF PAYMENT"}
-{"idx": 3, "level": 2, "span": "2.1Promise to Pay. Co-Borrowers hereby unconditionally promise to pay Bank the outstanding principal amount of all Credit Extensions and accrued and unpaid interest thereon as and when due in accordance with this Agreement."}
-{"idx": 3, "level": 2, "span": "2.1.1Term Loans.\n(a)Availability. On the Effective Date, subject to the terms and conditions of this Agreement, Bank shall make one (1) term loan available to Co-Borrowers in the amount of Seven Million Five Hundred Thousand Dollars ($7,500,000.00) (the “Term A Loan”). Thereafter, subject to the terms and conditions of this Agreement, during the Draw Period, Co-Borrowers may request and Bank shall make one (1) term loan available to Co-Borrowers in the amount of Seven Million Five Hundred Thousand Dollars ($7,500,000.00) (the “Term B Loan” and, together with the Term A Loan, the “Term Loans”).\n(b)Repayment. The Term Loans shall be “interest only” during the Interest-Only Period, with interest due and payable on the first day of each month. Beginning on the Amortization Start Date, and continuing on the first day of each month thereafter, Co-Borrowers shall repay the Term Loans in equal monthly installments of principal plus interest (each, a “Term Loan Payment”) with a repayment schedule equal to (i) thirty (30) months if the Amortization Start Date is October 1, 2018 or (ii) twenty-four (24) months if the Amortization Start Date is April 1, 2019. Co-Borrowers’s final Term Loan Payment, due on the Term Loan Maturity Date, shall include all outstanding principal and accrued and unpaid interest under the Term Loans and the Final Payment. Once repaid, the Term Loans may not be reborrowed.\n(c)Prepayment.\n(i)Voluntary. Co-Borrowers shall have the option to prepay in whole or in part, the Term Loans advanced by Bank under this Agreement, provided Co-Borrowers (a) delivers written notice to Bank of its election to prepay the Term Loans at least five (5) Business Days prior to such prepayment (which notice may be conditioned upon the consummation of another financing or other events) and (b) pays, on the date of such prepayment, (i) all outstanding principal of the Term Loans to be prepaid, plus accrued and unpaid interest thereon, (ii) the Final Payment in respect of the principal amount of the Term Loans being prepaid, (iii) the Prepayment Fee in respect of the principal amount of the Term Loans being prepaid and (iv) all other sums, if any, that shall have become due and payable hereunder in connection with the Term Loans.\n(ii)Involuntary. If the Term Loans are accelerated during the continuance of an Event of Default, Co-Borrowers shall immediately pay to Bank an amount equal to the sum of (a) all outstanding principal, plus accrued and unpaid interest with respect to the Term Loans, (b) the Final Payment, (c) the Prepayment Fee and (d) all other sums, if any, that shall have become due and payable hereunder in connection with the Term Loans."}
-{"idx": 3, "level": 2, "span": "2.2Intentionally Omitted."}
-{"idx": 3, "level": 2, "span": "2.3Payment of Interest on the Credit Extensions.\n(a)Interest Rate. Subject to Section 2.3(b), the principal amount outstanding under the Term Loans shall accrue interest at a floating per annum rate equal to four and one quarter percentage points (4.25%) above the Prime Rate, which interest shall be payable monthly.\n(b)Default Rate. Upon the occurrence and during the continuance of an Event of Default, at Bank’s election, Obligations shall bear interest at a rate per annum which is five percentage points (5.0%) above the rate that is otherwise applicable thereto (the “Default Rate”). Fees and expenses which are required to be paid by Co-Borrowers pursuant to the Loan Documents (including, without limitation, Bank Expenses) but are not paid when due shall bear interest until paid at a rate equal to the highest rate applicable to the Obligations. Payment or acceptance of the increased interest rate provided in this Section 2.3(b) is not a permitted alternative to timely payment and shall not constitute a waiver of any Event of Default or otherwise prejudice or limit any rights or remedies of Bank.\n(c)Adjustment to Interest Rate. Changes to the interest rate of any Credit Extension based on changes to the Prime Rate shall be effective on the effective date of any change to the Prime Rate and to the extent of any such change.\n(d)Payment; Interest Computation. Interest is payable monthly on the first calendar day of each month and shall be computed on the basis of a 360-day year for the actual number of days elapsed. In computing interest, (i) all payments received after 12:00 p.m. Pacific time on any day shall be deemed received at the opening of business on the next Business Day, and (ii) the date of the making of any Credit Extension shall be included and the date of payment shall be excluded; provided, however, that if any Credit Extension is repaid on the same day on which it is made, such day shall be included in computing interest on such Credit Extension."}
-{"idx": 3, "level": 2, "span": "2.4Fees. Co-Borrowers shall pay to Bank:\n(a)Prepayment Fee. The Prepayment Fee, when due hereunder pursuant to the terms of Section 2.1.1(c);\n(b)Final Payment. The Final Payment, when due hereunder; and\n(c)Bank Expenses. All Bank Expenses (including reasonable attorneys’ fees and expenses for documentation and negotiation of this Agreement) incurred through and after the Effective Date, when due (or, if no stated due date, upon demand by Bank).\n(d)Fees Fully Earned. Unless otherwise provided in this Agreement or in a separate writing by Bank, Co-Borrowers shall not be entitled to any credit, rebate, or repayment of any fees earned by Bank pursuant to this Agreement notwithstanding any termination of this Agreement or the suspension or termination of Bank’s obligation to make loans and advances hereunder. Bank may deduct amounts owing by Co-Borrowers under the clauses of this Section 2.4 pursuant to the terms of Section 2.5(c). Bank shall provide Co-Borrowers written notice of deductions made from the Designated Deposit Account pursuant to the terms of the clauses of this Section 2.4."}
-{"idx": 3, "level": 2, "span": "2.5Payments; Application of Payments; Debit of Accounts.\n(a)All payments (including prepayments) to be made by Co-Borrowers under any Loan Document shall be made in immediately available funds in Dollars, without setoff or counterclaim, before 12:00 p.m. Pacific time on the date when due. Payments of principal and/or interest received after 12:00 p.m. Pacific time are considered received at the opening of business on the next Business Day. When a payment is due on a day that is not a Business Day, the payment shall be due the next Business Day, and additional fees or interest, as applicable, shall continue to accrue until paid.\n(b)Bank has the exclusive right to determine the order and manner in which all payments with respect to the Obligations may be applied while an Event of Default exists. If no Event of Default exists, Co-Borrowers shall have the right to specify the order or the accounts to which Bank shall allocate or apply any payments required to be made by Co-Borrowers to Bank or otherwise received by Bank under this Agreement when any such allocation or application is not specified elsewhere in this Agreement.\n(c)Bank may debit any of Co-Borrowers’ deposit accounts, including the Designated Deposit Account, for principal and interest payments or any other amounts Co-Borrowers owe Bank when due. These debits shall not constitute a set-off."}
-{"idx": 3, "level": 2, "span": "2.6Withholding.Payments received by Bank from Co-Borrowers under this Agreement will be made free and clear of and without deduction for any and all present or future taxes, levies, imposts, duties, deductions, withholdings, assessments, fees or other charges imposed by any Governmental Authority (including any interest, additions to tax or penalties applicable thereto) other than branch profits taxes or any taxes imposed on or measured by Lender’s net income or franchise taxes (in lieu of net income taxes). Specifically, however, if at any time any Governmental Authority, applicable law, regulation or international agreement requires Co-Borrowers to make any withholding or deduction from any such payment or other sum payable hereunder to Bank, Co-Borrowers hereby covenant and agree that the amount due from Co-Borrowers with respect to such payment or other sum payable hereunder will be increased to the extent necessary to ensure that, after the making of such required withholding or deduction, Bank receives a net sum equal to the sum which it would have received had no withholding or deduction been required, and Co-Borrowers shall pay the full amount withheld or deducted to the relevant Governmental Authority. Co-Borrowers will, upon request, furnish Bank with proof reasonably satisfactory to Bank indicating that Co-Borrowers have made such withholding payment; provided, however, that Co-Borrowers need not make any withholding payment if the amount or validity of such withholding payment is contested in good faith by appropriate and timely proceedings and as to which payment in full is bonded or reserved against by Co-Borrowers. The agreements and obligations of Co-Borrowers contained in this Section 2.6 shall survive the termination of this Agreement."}
-{"idx": 3, "level": 1, "span": "CONDITIONS OF LOANS"}
-{"idx": 3, "level": 2, "span": "3.1Conditions Precedent to the Effectiveness of This Agreement and the Initial Credit Extension. The effectiveness of this Agreement as well as the Bank’s obligation to make the initial Credit Extension are subject to the condition precedent that Bank shall have received, in form and substance satisfactory to Bank, such documents, and completion of such other matters, as Bank may reasonably deem necessary or appropriate, including, without limitation:\n(a)duly executed signatures to the Loan Documents;\n(b)duly executed signatures to the Warrants;\n(c)each Co-Borrower’s Operating Documents and long-form good standing certificates of each Co-Borrower certified by the Secretary of State (or equivalent agency) of such Co-Borrower’s jurisdiction of organization or formation and each jurisdiction in which such Co-Borrower and each Subsidiary is qualified to conduct business, each as of a date no earlier than thirty (30) days prior to the Effective Date;\n(d)duly executed signatures to the completed Borrowing Resolutions for each Co-Borrower;\n(e)the Denmark Share Pledge Documents;\n(f)duly executed signature to a payoff letter from Hercules Capital, Inc. in respect of the Existing Indebtedness, together with all documents and agreements executed in connection therewith, shall have been terminated and all amounts thereunder shall have been paid in full;\n(g)evidence that (i) the Liens securing the Existing Indebtedness will be terminated and (ii) the documents and/or filings evidencing the perfection of such Liens, including without limitation any financing statements and/or control agreements, have or will in connection with the initial Credit Extension, be terminated;\n(h)certified copies, dated as of a recent date, of financing statement searches, as Bank may request, accompanied by written evidence (including any UCC termination statements) that the Liens indicated in any such financing statements either constitute Permitted Liens or have been or, in connection with the initial Credit Extension, will be terminated or released;\n(i)the Perfection Certificates of Co-Borrowers, together with the duly executed signatures thereto;\n(j)evidence satisfactory to Bank that the insurance policies and endorsements required by Section 6.5 hereof are in full force and effect, together with appropriate evidence showing lender loss payable and/or additional insured clauses or endorsements in favor of Bank; and\n(k)payment of the fees and Bank Expenses then due as specified in Section 2.4 hereof."}
-{"idx": 3, "level": 2, "span": "3.2Post-Closing Items. The Co-Borrowers agree to the deliver the following items to Bank, on a best efforts basis, within forty-five (45) days after the date hereof:\n(a)a landlord’s consent in favor of Bank for 900 S. Capital of Texas Hwy, Suite 150, Austin, TX 78746 by the respective landlord thereof, together with the duly executed original signatures thereto."}
-{"idx": 3, "level": 2, "span": "3.3Conditions Precedent to all Credit Extensions. Bank’s obligations to make each Credit Extension, including the initial Credit Extension, is subject to the following conditions precedent:\n(a)timely receipt of an executed Payment/Advance Form;\n(b)duly executed original signatures to a Warrant to Purchase Stock (in form and substance substantially consistent with the Warrants delivered from Parent to Bank and Life Science Loans, LLC on the Effective Date) issued by Parent to each of Bank and Life Science Loans, LLC;\n(c)the representations and warranties of Co-Borrowers in this Agreement shall be true and correct in all material respects on the date of the Payment/Advance Form and on the Funding Date of each Credit Extension; provided, however, that such materiality qualifier shall not be applicable to any representations and warranties that already are qualified or modified by materiality in the text thereof; and provided, further that those representations and warranties expressly referring to a specific date shall be true and correct in all material respects as of such date, and no Event of Default shall have occurred and be continuing or result from the Credit Extension. Each Credit Extension is Co-Borrowers’ representation and warranty on that date that the representations and warranties in this Agreement remain true and correct in all material respects; provided, however, that such materiality qualifier shall not be applicable to any representations and warranties that already are qualified or modified by materiality in the text thereof; and provided, further that those representations and warranties expressly referring to a specific date shall be true and correct in all material respects as of such date; and\n(d)Bank determines to its satisfaction that there has not been a Material Adverse Change."}
-{"idx": 3, "level": 2, "span": "3.4Covenant to Deliver. Co-Borrowers agree to deliver to Bank each item required to be delivered to Bank under this Agreement as a condition precedent to any Credit Extension. Co-Borrowers expressly agree that a Credit Extension made prior to the receipt by Bank of any such item shall not constitute a waiver by Bank of Co-Borrowers’ obligation to deliver such item, and the making of any Credit Extension in the absence of a required item shall be in Bank’s sole discretion."}
-{"idx": 3, "level": 1, "span": "CREATION OF SECURITY INTEREST "}
-{"idx": 3, "level": 2, "span": "4.1Grant of Security Interest. Co-Borrowers hereby grant Bank, to secure the payment and performance in full of all of the Obligations, a continuing security interest in, and pledges to Bank, the Collateral, wherever located, whether now owned or hereafter acquired or arising, and all proceeds and products thereof.\nEach Co-Borrower acknowledges that it previously has entered, and/or may in the future enter, into Bank Services Agreements with Bank. Regardless of the terms of any Bank Services Agreement, Co-Borrowers agree that any amounts Co-Borrowers owe Bank thereunder shall be deemed to be Obligations hereunder and that it is the intent of Co-Borrowers and Bank to have all such Obligations secured by the first priority perfected security interest in the Collateral granted herein (subject only to Permitted Liens that are permitted pursuant to the terms of this Agreement to have superior priority to Bank’s Lien in this Agreement).\nIf this Agreement is terminated, Bank’s Lien in the Collateral shall continue until the Obligations (other than inchoate indemnity and reimbursement obligations) are repaid in full in cash. Upon payment in full in cash of the Obligations (other than inchoate indemnity or reimbursement obligations) and at such time as Bank’s obligation to make Credit Extensions has terminated, Bank shall, at the sole cost and expense of Co-Borrowers, release its Liens in the Collateral and all rights therein shall revert to Co-Borrowers. In the event (x) all Obligations (other than inchoate indemnity and reimbursement obligations), except for Bank Services, are satisfied in full, and (y) this Agreement is terminated, Bank shall terminate the security interest granted herein upon Co-Borrowers providing cash collateral reasonably acceptable to Bank in its good faith business judgment for Bank Services, if any. In the event such Bank Services consist of outstanding Letters of Credit, Co-Borrowers shall provide to Bank cash collateral in an amount equal to (x) if such Letters of Credit are denominated in Dollars, then at least one hundred five percent (105.0%); and (y) if such Letters of Credit are denominated in a Foreign Currency, then at least one hundred ten percent (110.0%), of the Dollar Equivalent of the face amount of all such Letters of Credit plus all interest, fees, and costs due or to become due in connection therewith (as estimated by Bank in its business judgment), to secure all of the Obligations relating to such Letters of Credit."}
-{"idx": 3, "level": 2, "span": "4.2Priority of Security Interest. Subject in each case below to Permitted Liens that may have seniority over Bank’s Lien, Co-Borrowers represent, warrant, and covenant that the security interest granted herein is and shall at all times (subject to any periods for perfection expressly provided for in this Agreement) continue to be a first priority perfected security interest in the Collateral to the extent such security interest may be perfected by the filing of financing statements under the Uniform Commercial Code or control over deposit accounts. If any Co-Borrower acquires a commercial tort claim, such Co-Borrower shall promptly notify Bank in a writing signed by Co-Borrower of the general details thereof and grant to Bank in such writing a security interest therein and in the proceeds thereof, all upon the terms of this Agreement, with such writing to be in form and substance reasonably satisfactory to Bank."}
-{"idx": 3, "level": 2, "span": "4.3Authorization to File Financing Statements. Co-Borrowers hereby authorize Bank to file financing statements, without notice to Co-Borrowers, with all appropriate jurisdictions to perfect or protect Bank’s interest or rights hereunder. Such financing statements may indicate the Collateral as “all assets of the Debtor” or words of similar effect, or as being of an equal or lesser scope, or with greater detail, all in Bank’s discretion."}
-{"idx": 3, "level": 1, "span": "REPRESENTATIONS AND WARRANTIES\nEach Co-Borrower represents and warrants as follows:"}
-{"idx": 3, "level": 2, "span": "5.1Due Organization, Authorization; Power and Authority. Co-Borrowers is duly existing and in good standing as a Registered Organization in its jurisdiction of formation and is qualified and licensed to do business and is in good standing in any jurisdiction in which the conduct of its business or its ownership of property requires that it be qualified except where the failure to be in good standing or qualified and licensed to do business could not reasonably be expected to have a material adverse effect on Co-Borrower’s business. In connection with this Agreement, Co-Borrower has delivered to Bank completed certificate signed by Co-Borrower entitled “Perfection Certificate”. Co-Borrower represents and warrants to Bank that (a) Co-Borrower’s exact legal name is that indicated on the Perfection Certificate and on the signature page hereof; (b) Co-Borrower is an organization of the type and is organized in the jurisdiction set forth in the Perfection Certificate; (c) the Perfection Certificate accurately sets forth Co-Borrower’s organizational identification number or accurately states that Co-Borrower has none; (d) the Perfection Certificate accurately sets forth Co-Borrower’s place of business, or, if more than one, its chief executive office as well as Co-Borrower’s mailing addresses (if different than its chief executive office); (e) except as disclosed in the Perfection Certificate, Co-Borrower (and each of its predecessors) has not, in the past five (5) years, changed its jurisdiction of formation, organizational structure or type, or any organizational number assigned by its jurisdiction; and (f) all other information set forth on the Perfection Certificate pertaining to Co-Borrower and each of its Subsidiaries is accurate and complete in all material respects (it being understood and agreed that Co-Borrower may from time to time update certain information in the Perfection Certificate after the Effective Date to the extent permitted by one or more specific provisions in this Agreement).\nThe execution, delivery and performance by Co-Borrower of the Loan Documents to which it is a party have been duly authorized by Co-Borrower, and do not (i) conflict with any of Co-Borrower’s organizational documents, (ii) contravene, conflict with, constitute a default under or violate any material Requirement of Law applicable to Co-Borrower, (iii) contravene, conflict or violate any applicable order, writ, judgment, injunction, decree, determination or award of any Governmental Authority by which Co-Borrower or any of its Subsidiaries or any of their property or assets is bound, (iv) require on the part of Co-Borrower any action by, filing, registration, or qualification with, or Governmental Approval from, any Governmental Authority (except such Governmental Approvals which have already been obtained and are in full force and effect, filings in connection with perfecting the security interest in the Collateral and filings under applicable securities laws in connection with the Warrants) or (v) conflict with, contravene, constitute a default or breach under, or result in or permit the termination or acceleration of, any material agreement by which Co-Borrower is bound. Co-Borrower is not in default under any agreement to which it is a party or by which it is bound in which the default could reasonably be expected to have a material adverse effect on Co-Borrower’s business."}
-{"idx": 3, "level": 2, "span": "5.2Collateral. Co-Borrower has good title to, rights in, and the power to transfer each item of the Collateral upon which it purports to grant a Lien hereunder, free and clear of any and all Liens except Permitted Liens. Co-Borrower has no Collateral Accounts at or with any bank or financial institution other than Bank or Bank’s Affiliates except for the Collateral Accounts described in the Perfection Certificate delivered to Bank in connection herewith and which Co-Borrower has taken such actions as are necessary to give Bank a perfected security interest therein, pursuant to the terms of Section 6.6(b). The Accounts are bona fide, existing obligations of the Account Debtors.\nThe Collateral is not in the possession of any third party bailee (such as a warehouse) except as otherwise provided in the Perfection Certificate or as updated in the Quarterly Compliance Certificate delivered pursuant to Section 6.2(b). None of the components of the Collateral shall be maintained at locations other than as provided in the Perfection Certificate or as permitted pursuant to Section 7.2.\nCo-Borrower is the sole owner of the Intellectual Property which it owns or purports to own except for (a) non-exclusive licenses granted to its customers in the ordinary course of business, (b) over-the-counter software that is commercially available to the public and other non-material Intellectual Property licensed to Co-Borrower, and (c) material Intellectual Property licensed to Co-Borrower and noted on the Perfection Certificate. Each Patent which it owns or purports to own and which is material to Co-Borrower’s business is valid and enforceable, and no part of the Intellectual Property which Co-Borrowers own or purport to own and which is material to Co-Borrower’s\nbusiness has been judged invalid or unenforceable, in whole or in part. To the best of Co-Borrower’s knowledge, no claim has been in made in writing that any part of the Intellectual Property violates the rights of any third party except to the extent such claim would not reasonably be expected to have a material adverse effect on Co-Borrower’s business."}
-{"idx": 3, "level": 2, "span": "5.3Intentionally Omitted."}
-{"idx": 3, "level": 2, "span": "5.4Litigation. There are no actions or proceedings pending or, to the knowledge of any Responsible Officer, threatened in writing by or against Co-Borrower or any of its Subsidiaries that could reasonably be expected to result in a Material Adverse Change."}
-{"idx": 3, "level": 2, "span": "5.5Financial Statements; Financial Condition. All consolidated financial statements for Co-Borrower and any of its Subsidiaries delivered to Bank fairly present in all material respects Co-Borrower’s consolidated financial condition and Co-Borrower’s consolidated results of operations as at their date or for the periods covered thereby. There has not been any material deterioration in Co-Borrower’s consolidated financial condition since the date of the most recent financial statements submitted to Bank."}
-{"idx": 3, "level": 2, "span": "5.6Solvency. The fair salable value of Co-Borrower’s consolidated assets (including goodwill minus disposition costs) exceeds the fair value of Co-Borrower’s liabilities; Co-Borrower is not left with unreasonably small capital after the transactions in this Agreement; and Co-Borrower is able to pay its debts (including trade debts) as they mature."}
-{"idx": 3, "level": 2, "span": "5.7Regulatory Compliance. Co-Borrower is not an “investment company” or a company “controlled” by an “investment company” under the Investment Company Act of 1940, as amended. Co-Borrower is not engaged as one of its important activities in extending credit for margin stock (under Regulations X, T and U of the Federal Reserve Board of Governors). Co-Borrower (a) has complied in all material respects with all Requirements of Law, and (b) has not violated any Requirements of Law the violation of which could reasonably be expected to have a material adverse effect on its business. None of Co-Borrower’s or any of its Subsidiaries’ properties or assets has been used by Co-Borrower or any Subsidiary or, to the best of Co-Borrower’s knowledge, by previous Persons, in disposing, producing, storing, treating, or transporting any hazardous substance other than legally. Co-Borrower and each of its Subsidiaries have obtained all consents, approvals and authorizations of, made all declarations or filings with, and given all notices to, all Government Authorities that are necessary to continue their respective businesses as currently conducted."}
-{"idx": 3, "level": 2, "span": "5.8Subsidiaries; Investments. Co-Borrower does not own any stock, partnership, or other ownership interest or other equity securities except for Permitted Investments."}
-{"idx": 3, "level": 2, "span": "5.9Tax Returns and Payments; Pension Contributions. Co-Borrower has timely filed all required tax returns and reports, and Co-Borrower has timely paid all foreign, federal, state and local taxes, assessments, deposits and contributions owed by Co-Borrower except to the extent (i) the aggregate amount of such taxes, assessments, deposits and contributions does not exceed One Hundred Thousand Dollars ($100,000) or (ii) such taxes are being contested in good faith by appropriate proceedings promptly instituted and diligently conducted, so long as such reserve or other appropriate provision, if any, as shall be required in conformity with GAAP shall have been made therefor.\nTo the extent Co-Borrower defers payment of any contested taxes, Co-Borrower shall (i) notify Bank in writing of the commencement of, and any material development in, the proceedings, and (ii) post bonds or take any other steps required to prevent the governmental authority levying such contested taxes from obtaining a Lien upon any of the Collateral that is other than a “Permitted Lien.” Co-Borrower is unaware of any claims or adjustments proposed for any of Co-Borrower's prior tax years which could result in additional taxes becoming due and payable by Co-Borrower. Co-Borrower has paid all amounts necessary to fund all present pension, profit sharing and deferred compensation plans in accordance with their terms, and Co-Borrower has not withdrawn from participation in, and has not permitted partial or complete termination of, or permitted the occurrence of any other event with respect to, any such plan which could reasonably be expected to result in any liability of Co-Borrower, including any liability to the Pension Benefit Guaranty Corporation or its successors or any other Governmental Authority."}
-{"idx": 3, "level": 2, "span": "5.10Use of Proceeds. Co-Borrower shall use the proceeds of the Credit Extensions solely as working capital, to pay off the Existing Indebtedness and to fund its general business requirements and not for personal, family, household or agricultural purposes."}
-{"idx": 3, "level": 2, "span": "5.11Full Disclosure. No written representation, warranty or other statement of Co-Borrower in any certificate or written statement given to Bank, as of the date such representation, warranty, or other statement was made, taken together with all such written certificates and written statements given to Bank and Co-Borrower’s filings with the SEC, contains any untrue statement of a material fact or omits to state a material fact necessary to make the statements contained in the certificates or statements not misleading (it being recognized by Bank that the projections and forecasts provided by Co-Borrower in good faith and based upon reasonable assumptions are not viewed as facts and that actual results during the period or periods covered by such projections and forecasts may differ from the projected or forecasted results)."}
-{"idx": 3, "level": 2, "span": "5.12Definition of “Knowledge.” For purposes of the Loan Documents, whenever a representation or warranty is made to Co-Borrower’s knowledge or awareness, to the “best of” Co-Borrower’s knowledge, or with a similar qualification, knowledge or awareness means the actual knowledge, after reasonable investigation, of any Responsible Officer."}
-{"idx": 3, "level": 1, "span": "AFFIRMATIVE COVENANTS\nCo-Borrowers shall do all of the following:"}
-{"idx": 3, "level": 2, "span": "6.1Government Compliance.\n(a)Except as permitted by Section 7.1 or Section 7.3, maintain their and all their Subsidiaries’ legal existence and good standing (to the extent such concept is applicable) in their respective jurisdictions of formation and maintain their respective qualification in each jurisdiction (to the extent such concept is applicable) in which the failure to so qualify would reasonably be expected to have a material adverse effect on a Co-Borrower’s business or operations. Each Co-Borrower shall comply, and have each Subsidiary comply, in all material respects, with all laws, ordinances and regulations to which it is subject.\n(b)Obtain all of the Governmental Approvals necessary for the performance by a Co-Borrower of its obligations under the Loan Documents to which it is a party and the grant of a security interest to Bank in all of its property. Upon Bank’s request, Co-Borrowers shall promptly provide copies of any such obtained Governmental Approvals to Bank."}
-{"idx": 3, "level": 2, "span": "6.2Financial Statements, Reports, Certificates. Provide Bank with the following:\n(a)Quarterly Financial Statements. As soon as available, but no later than forty-five (45) days after the last day of each of the first three (3) quarters of Parent’s fiscal year, a company prepared consolidated balance sheet and income statement covering Parent’s consolidated operations for such quarter certified by a Responsible Officer and in a form reasonably acceptable to Bank (it being agreed that the form of such financial statements included in Parent’s Quarterly Report on Form 10-Q filed with the SEC is acceptable to Bank) (the “Quarterly Financial Statements”);\n(b)Quarterly Compliance Certificate. Within forty-five (45) days after the last day of each fiscal quarter, a duly completed Compliance Certificate signed by a Responsible Officer, certifying that as of the end of such quarter or year, as applicable, Co-Borrowers were in full compliance with all of the terms and conditions of this Agreement;\n(c)Annual Operating Budget and Financial Projections. Within thirty (30) of being approved by Parent’s board of directors, (i) annual operating budgets (including income statements, balance sheets and cash flow statements, by month) for the upcoming fiscal year of Parent, and (ii) annual financial projections for the following fiscal year (on a quarterly basis) as approved by Parent’s board of directors, together with any related business forecasts used in the preparation of such annual financial projections;\n(d)Annual Audited Financial Statements. As soon as available, but no later than one hundred eighty (180) days after the last day of Parent’s fiscal year, audited consolidated financial statements prepared under GAAP, consistently applied, together with an unqualified opinion on the financial statements from an independent certified public accounting firm reasonably acceptable to Bank (the “Annual Financial Statements”);\n(e)Other Statements. Within five (5) days of delivery, copies of all statements, reports and notices made available to all of each Co-Borrower’s security holders or to any holders of Subordinated Debt, in each case in their capacities as such;\n(f)SEC Filings. Within five (5) days of filing, copies of all periodic and other reports, proxy statements and other materials filed by such Co-Borrower with the SEC, any Governmental Authority succeeding to any or all of the functions of the SEC. Documents required to be delivered pursuant to the terms of this Section 6.2 (to the extent any such documents are included in materials otherwise filed with the SEC) may be delivered electronically and if so delivered, shall be deemed to have been delivered on the date on which such Co-Borrower posts such documents, or provides a link thereto, on such Co-Borrower’s website on the Internet at such Co-Borrower’s website address; provided, however, Co-Borrower shall promptly notify Bank in writing (which may be by electronic mail) of the posting of any such documents;\n(g)Legal Action Notice. A prompt report of any legal actions pending or threatened in writing against a Co-Borrower or any of its Subsidiaries that could reasonably be expected to result in damages to a Co-Borrower or any of its Subsidiaries of, individually or in the aggregate, One Hundred Thousand Dollars ($100,000) or more; and\n(h)Other Financial Information. Other financial information reasonably requested by Bank."}
-{"idx": 3, "level": 2, "span": "6.3Inventory; Returns. Keep all Inventory in good and marketable condition, free from material defects. Returns and allowances between a Co-Borrower and its Account Debtors shall follow such Co-Borrower’s customary practices as they exist at the Effective Date or as they may be changed in such Co-Borrower’s business judgment."}
-{"idx": 3, "level": 2, "span": "6.4Taxes; Pensions. Timely file and require each of their Subsidiaries to timely file, all required tax returns and reports and timely pay, and require each of their Subsidiaries to timely pay, all foreign, federal, state and local taxes, assessments, deposits and contributions owed by a Co-Borrower and each of its Subsidiaries, except for deferred payment of any taxes contested pursuant to the terms of Section 5.9 hereof and taxes with respect to which the amount does not exceed the amount set forth in Section 5.9 hereof, and shall deliver to Bank, on demand, appropriate certificates attesting to such tax payments. Pay all amounts necessary to fund all present pension, profit sharing and deferred compensation plans in accordance with their terms."}
-{"idx": 3, "level": 2, "span": "6.5Insurance.\n(a)Keep their business and the Collateral insured for risks and in amounts standard for companies in Co-Borrowers’ industry and location and as Bank may reasonably request. Insurance policies shall be in a form, with financially sound and reputable insurance companies that are not Affiliates of Co-Borrowers, and in amounts that are customary for companies in Co-Borrowers’ industry and location. All property policies shall have a lender’s loss payable endorsement showing Bank as lender loss payee. All liability policies shall show, or have endorsements showing, Bank as an additional insured. Bank shall be named as lender loss payee and/or additional insured with respect to any such insurance providing coverage in respect of any Collateral.\n(b)Ensure that proceeds payable under any property policy are, at Bank’s option, payable to Bank on account of the Obligations. Notwithstanding the foregoing, (a) so long as no Event of Default has occurred and is continuing, Borrower shall have the option of applying the proceeds of any casualty policy up to One Hundred Thousand Dollars ($100,000.00) with respect to any loss, but not exceeding Two Hundred Fifty Thousand Dollars ($250,000.00) in the aggregate for all losses under all casualty policies in any one (1) year, toward the replacement or repair of destroyed or damaged property; provided that any such replaced or repaired property (i)\nshall be of equal or like value as the replaced or repaired Collateral and (ii) shall be deemed Collateral in which Bank has been granted a first priority security interest, and (b) after the occurrence and during the continuance of an Event of Default, all proceeds payable under such casualty policy shall, at the option of Bank, be payable to Bank on account of the Obligations."}
-{"idx": 3, "level": 2, "span": "6.6Operating Accounts.\n(a)Maintain their primary and their Domestic Subsidiaries’ primary operating and other deposit accounts and securities accounts with Bank and Bank’s Affiliates which accounts shall represent at least eighty percent (80%) of the dollar value of Co-Borrowers’ and such Domestic Subsidiaries accounts at all financial institutions. Savara Denmark may maintain accounts in Denmark outside of Bank and Bank’s affiliates so long as the aggregate balances in such accounts does not exceed One Million Dollars ($1,000,000) other than for any three (3) day period where the balances in such accounts may be in an amount not to exceed Five Million Dollars ($5,000,000), provided further that such amounts are within three (3) days used to fund clinical development.\n(b)Provide Bank five (5) days prior written notice before Co-Borrowers establish any Collateral Account at or with any bank or financial institution other than Bank or Bank’s Affiliates. For each Collateral Account that a Co-Borrower at any time maintains, such Co-Borrower shall cause the applicable bank or financial institution (other than Bank) at or with which any Collateral Account is maintained to execute and deliver a Control Agreement or other appropriate instrument with respect to such Collateral Account to perfect Bank’s Lien in such Collateral Account in accordance with the terms hereunder which Control Agreement may not be terminated without the prior written consent of Bank. The provisions of the previous sentence shall not apply to deposit accounts exclusively used for payroll, payroll taxes and other employee wage and benefit payments to or for the benefit of a Co-Borrower’s employees and identified to Bank by such Co-Borrower as such."}
-{"idx": 3, "level": 2, "span": "6.7Intentionally Omitted."}
-{"idx": 3, "level": 2, "span": "6.8Protection of Intellectual Property Rights.\n(a)(i) Protect, defend and maintain the validity and enforceability of its Intellectual Property that has any material value; (ii) promptly advise Bank in writing of material infringements or any other event that could reasonably be expected to materially and adversely affect the value of its Intellectual Property that has any material value; and (iii) not allow any Intellectual Property material to a Co-Borrower’s business to be abandoned, forfeited or dedicated to the public without Bank’s written consent.\n(b)Provide written notice to Bank concurrently with the required delivery of a Compliance Certificate pursuant to Section 6.2, of entering or becoming bound by any Restricted License (other than commercial off-the-shelf technology license agreements or other similar agreements that are commercially available to the public). Co-Borrowers shall take such commercially reasonable steps as Bank reasonably requests to obtain the consent of, or waiver by, any person whose consent or waiver is necessary for (i) any Restricted License to be deemed “Collateral” and for Bank to have a security interest in it that might otherwise be restricted or prohibited by law or by the terms of any such Restricted License, whether now existing or entered into in the future, and (ii) Bank to have the ability in the event of a liquidation of any Collateral to dispose of such Collateral in accordance with Bank’s rights and remedies under this Agreement and the other Loan Documents."}
-{"idx": 3, "level": 2, "span": "6.9Litigation Cooperation. From the date hereof and continuing through the termination of this Agreement, make available to Bank, without expense to Bank, Co-Borrowers and their officers, employees and agents and Co-Borrowers' books and records, to the extent that Bank may deem them reasonably necessary to prosecute or defend any third-party suit or proceeding instituted by or against Bank with respect to any Collateral or relating to a Co-Borrower."}
-{"idx": 3, "level": 2, "span": "6.10Access to Collateral; Books and Records. Allow Bank, or its agents, to inspect the Collateral and audit and copy any Co-Borrower’s Books. Such inspections or audits shall be conducted no more often than once every twelve (12) months unless an Event of Default has occurred and is continuing in which case such inspections and audits shall occur as often as Bank shall determine is necessary. The foregoing inspections and"}
-{"idx": 3, "level": 1, "span": "audits shall be at Co-Borrowers’ expense, and the charge therefor shall be One Thousand Dollars ($1,000) per person per day (or such higher amount as shall represent Bank’s then-current standard charge for the same), plus reasonable out-of-pocket expenses. In the event a Co-Borrower and Bank schedule an audit more than ten (10) days in advance, and such Co-Borrower cancels or seeks to reschedule the audit with less than ten (10) days written notice to Bank, then (without limiting any of Bank’s rights or remedies), such Co-Borrower shall pay Bank a fee of One Thousand Dollars ($1,000) plus any out-of-pocket expenses incurred by Bank to compensate Bank for the anticipated costs and expenses of the cancellation or rescheduling."}
-{"idx": 3, "level": 2, "span": "6.11Formation or Acquisition of Subsidiaries. Notwithstanding and without limiting the negative covenants contained in Sections 7.3 and 7.7 hereof, at the time that a Co-Borrower forms any direct or indirect Subsidiary or acquires any direct or indirect Subsidiary after the Effective Date, such Co-Borrower shall (a) cause such new Domestic Subsidiary to provide to Bank a joinder to the Loan Agreement to cause such Domestic Subsidiary to become a Co-Borrower hereunder, together with such appropriate financing statements and/or Control Agreements, all in form and substance reasonably satisfactory to Bank (including being sufficient to grant Bank a first priority Lien (subject to Permitted Liens) in and to the Collateral of such newly formed or acquired Subsidiary), (b) provide to Bank appropriate certificates and powers and financing statements, pledging all of the direct or beneficial ownership interest in such new Subsidiary (or sixty five percent (65%) thereof for any Subsidiary that is a Foreign Subsidiary or FSHCO), in form and substance reasonably satisfactory to Bank, and (c) provide to Bank all other documentation reasonably requested by Bank in form and substance reasonably satisfactory to Bank, including one or more opinions of counsel satisfactory to Bank, which in its opinion is appropriate with respect to the execution and delivery of the applicable documentation referred to above. Any document, agreement, or instrument executed or issued pursuant to this Section 6.11 shall be a Loan Document. For the avoidance of doubt, the foregoing provisions of this Section shall not apply to any of the Co-Borrowers’ existing Subsidiaries in existence as of the date hereof."}
-{"idx": 3, "level": 2, "span": "6.12Further Assurances. Execute any further instruments and take further action as Bank reasonably requests to perfect or continue Bank’s Lien in the Collateral or to effect the purposes of this Agreement. Upon Bank’s request, deliver to Bank, within five (5) days after such request, copies of all correspondence, reports, documents and other filings with any Governmental Authority regarding compliance with or maintenance of Governmental Approvals or Requirements of Law or that could reasonably be expected to have a material effect on the operations of Co-Borrowers or any of their Subsidiaries."}
-{"idx": 3, "level": 1, "span": "NEGATIVE COVENANTS\nNo Co-Borrower shall not do any of the following without Bank’s prior written consent:"}
-{"idx": 3, "level": 2, "span": "7.1Dispositions. Convey, sell, lease, transfer, assign, or otherwise dispose of (collectively, “Transfer”), or permit any of its Subsidiaries to Transfer, all or any part of its business or property, except for Transfers (a) of Inventory in the ordinary course of business; (b) of worn‑out, surplus or obsolete Equipment that is, in the reasonable judgment of Co-Borrower, no longer economically practicable to maintain or useful in the ordinary course of business of Co-Borrower; (c) consisting of Permitted Liens and Permitted Investments; (d) Transfers not to exceed One Hundred Thousand ($100,000) in the aggregate in any fiscal year; (e) consisting of Co-Borrower’s use or transfer of money or Cash Equivalents in a manner that is not prohibited by the terms of this Agreement or the other Loan Documents; (f) of non-exclusive licenses for the use of the property of Co-Borrower or its Subsidiaries in the ordinary course of business and licenses that could not result in a legal transfer of title of the licensed property but that may be exclusive in respects other than territory and that may be exclusive as to territory only as to discreet geographical areas outside of the United States; (g) the surrender or waiver of contractual rights or the settlement, release or surrender of contractual rights, obligations of customers or suppliers or other litigation claims in the ordinary course of business; (h) the abandonment of Intellectual Property that is, in the reasonable judgment of the Co-Borrower, no longer economically practicable or commercially desirable to maintain or that is not material to the conduct of the business of Co-Borrower and its Subsidiaries; and (i) Transfers permitted by Section 7.3, Section 7.7 or Section 7.11."}
-{"idx": 3, "level": 2, "span": "7.2Changes in Business, Control, or Business Locations. (a) Engage in or permit any of its Subsidiaries to engage in any business other than the businesses currently engaged in by each Co-Borrower and such Subsidiary, as applicable, or reasonably related thereto or constituting a reasonable extension thereof; (b) liquidate or dissolve; or (c) permit or suffer any Change in Control.\nCo-Borrower shall not, without at least ten (10) days prior written notice to Bank (or such shorter period as may be agreed by Bank): (1) add any new offices or business locations, including warehouses (unless such new offices or business locations contain less than Fifty Thousand Dollars ($50,000) in Co-Borrower’s assets or property) or deliver any portion of the Collateral (other than movable items of personal property such as laptop computers) valued, individually or in the aggregate, in excess of Fifty Thousand Dollars ($50,000) to a bailee at a location other than to a bailee and at a location already disclosed in the Perfection Certificate, (2) change its jurisdiction of organization, (3) change its organizational type, (4) change its legal name, or (5) change any organizational number (if any) assigned by its jurisdiction of organization. If Co-Borrower intends to deliver any portion of the Collateral (other than movable items of personal property such as laptop computers) valued, individually or in the aggregate, in excess of Fifty Thousand Dollars ($50,000) to a bailee, and Bank and such bailee are not already parties to a bailee agreement governing both the Collateral and the location to which Co-Borrower intends to deliver the Collateral, then Co-Borrower will first receive the written consent of Bank, and such bailee shall execute and deliver a bailee agreement in form and substance reasonably satisfactory to Bank."}
-{"idx": 3, "level": 2, "span": "7.3Mergers or Acquisitions. Merge or consolidate, or permit any of its Subsidiaries to merge or consolidate, with any other Person, or acquire, or permit any of its Subsidiaries to acquire, all or substantially all of the capital stock or property of another Person (including, without limitation, by the formation of any Subsidiary) other than a Permitted Investment. Notwithstanding the foregoing, a Subsidiary may merge or consolidate into another Subsidiary or into Co-Borrower."}
-{"idx": 3, "level": 2, "span": "7.4Indebtedness. Create, incur, assume, or be liable for any Indebtedness, or permit any Subsidiary to do so, other than Permitted Indebtedness."}
-{"idx": 3, "level": 2, "span": "7.5Encumbrance. (a) Create, incur, allow, or suffer any Lien on any of its property, or assign or convey any right to receive income, including the sale of any Accounts, or permit any of its Subsidiaries to do so, in each case except for Permitted Liens and Transfers permitted by Section 7.01, (b) permit any Collateral not to be subject to the first priority security interest granted herein (to the extent the perfection of such security interests is required by this Agreement), or (c) enter into any agreement, document, instrument or other arrangement (except with or in favor of Bank) with any Person which directly or indirectly prohibits or has the effect of prohibiting Co-Borrower or any Subsidiary from assigning, mortgaging, pledging, granting a security interest in or upon, or encumbering any of Co-Borrower’s or any Subsidiary’s Intellectual Property, except (i) as is otherwise permitted in Section 7.1 hereof, (ii) as permitted by the definition of Permitted Liens”, (iii) restrictions in merger or acquisition agreements, provided that such covenants do not prohibit Borrower from granting a security interest in such Borrower’s property in favor of Bank and provided further that the counter-parties to such covenants are not permitted to receive a security interest in Borrower’s property and (iv) customary provisions in contracts and licenses prohibiting the assignment thereof."}
-{"idx": 3, "level": 2, "span": "7.6Maintenance of Collateral Accounts. Maintain any Collateral Account except pursuant to the terms of Section 6.6(b) hereof."}
-{"idx": 3, "level": 2, "span": "7.7Distributions; Investments. (a) Pay any dividends or make any distribution or payment or redeem, retire or purchase any capital stock of a Co-Borrower other than Permitted Distributions; or (b) directly or indirectly make any Investment (including, without limitation, by the formation of any Subsidiary) other than Permitted Investments, or permit any of its Subsidiaries to do so other than Permitted Investments."}
-{"idx": 3, "level": 2, "span": "7.8Transactions with Affiliates. Directly or indirectly enter into or permit to exist any material transaction with any Affiliate of Co-Borrower, except for (a) transactions that are in the ordinary course of Co-Borrower’s business, upon fair and reasonable terms that are no less favorable to Co-Borrower than would be obtained in an arm’s length transaction with a non-affiliated Person, (b) Permitted Distributions and (c) Permitted Investments."}
-{"idx": 3, "level": 2, "span": "7.9Subordinated Debt. (a) Make or permit any payment on any Subordinated Debt, except under the terms of the subordination, intercreditor, or other similar agreement to which such Subordinated Debt is subject, or upon the conversion of any such Subordinated Debt into equity securities of any Co-Borrower (and cash in lieu of fractional shares), or (b) amend any provision in any document relating to the Subordinated Debt which would increase the amount thereof, provide for earlier or greater principal, interest, or other payments thereon, or adversely affect the subordination thereof to Obligations owed to Bank."}
-{"idx": 3, "level": 2, "span": "7.10Compliance. Become an “investment company” or a company controlled by an “investment company”, under the Investment Company Act of 1940, as amended, or undertake as one of its important activities extending credit to purchase or carry margin stock (as defined in Regulation U of the Board of Governors of the Federal Reserve System), or use the proceeds of any Credit Extension for that purpose; fail to (a) meet the minimum funding requirements of ERISA, (b) prevent a Reportable Event or Prohibited Transaction as defined in ERISA, or (c) comply with the Federal Labor Standards Act, the failure of any of the conditions in clauses (a) through (c) which could reasonably be expected to have a material adverse effect on Co-Borrower’s business, or violate any other law or regulation, if the violation could reasonably be expected to have a materials adverse effect on Co-Borrower’s business or permit any Subsidiaries to do so; withdraw or permit any Subsidiary to withdraw from participation in, permit partial or complete termination of, or permit the occurrence of any other event with respect to, any present pension, profit sharing and deferred compensation plan which could reasonably be expected to result in any liability of Co-Borrower, including any liability to the Pension Benefit Guaranty Corporation or its successors or any other Governmental Authority."}
-{"idx": 3, "level": 2, "span": "7.11Assets in Foreign Subsidiaries. (i) Transfer to, or permit Savara Denmark to hold or maintain, at any time tangible assets of an aggregate value in excess of Five Million Dollars ($5,000,000). (ii) Transfer to, or permit Foreign Subsidiaries that are not Savara Denmark to hold or maintain, at any time tangible assets of an aggregate value in excess of One Hundred Thousand Dollars ($100,000). (iii) Transfer to, or permit Domestic Subsidiaries, that are not Co-Borrowers, to hold or maintain, at any time tangible assets of an aggregate value in excess of One Hundred Thousand Dollars ($100,000)."}
-{"idx": 3, "level": 1, "span": "EVENTS OF DEFAULT\nAny one of the following shall constitute an event of default (an “Event of Default”) under this Agreement:"}
-{"idx": 3, "level": 2, "span": "8.1Payment Default. Co-Borrowers fail to (a) make any payment of principal or interest on any Credit Extension when due, or (b) pay any other Obligations within three (3) Business Days after such Obligations are due and payable (which three (3) Business Day cure period shall not apply to payments due on the Term Loan Maturity Date). During the cure period, the failure to make or pay any payment specified under clause (b) hereunder is not an Event of Default (but no Credit Extension will be made during the cure period);"}
-{"idx": 3, "level": 2, "span": "8.2Covenant Default.\n(a)Co-Borrowers fail or neglect to perform any obligation in Sections 6.2, 6.4, 6.5, 6.6, 6.8(b), 6.10, 6.11, 6.12 or violate any covenant in Section 7; or\n(b)Co-Borrowers fail or neglect to perform, keep, or observe any other term, provision, condition, covenant or agreement contained in this Agreement or any Loan Documents, and as to any default (other than those specified in this Section 8) under such other term, provision, condition, covenant or agreement that can be cured, have failed to cure the default within ten (10) Business Days after the occurrence thereof; provided, however, that if the default cannot by its nature be cured within the ten (10) Business Day period or cannot after diligent attempts by Co-Borrowers be cured within such ten (10) Business Day period, and such default is likely to be cured within a reasonable time, then Co-Borrowers shall have an additional period (which shall not in any case exceed thirty (30) days) to attempt to cure such default, and within such reasonable time period the failure to cure the default shall not be deemed an Event of Default (but no Credit Extensions shall be made during such cure period). Cure periods provided under this section shall not apply, among other things, any covenants set forth in clause (a) above;"}
-{"idx": 3, "level": 2, "span": "8.3Material Adverse Change. A Material Adverse Change occurs;"}
-{"idx": 3, "level": 2, "span": "8.4Attachment; Levy; Restraint on Business.\n(a)(i) The service of process seeking to attach, by trustee or similar process, any funds of a Co-Borrower or of any entity under the control of a Co-Borrower (including a Subsidiary), or (ii) a notice of lien or levy is filed against any of a Co-Borrower’s assets by any Governmental Authority, and the same under subclauses (i) and (ii) hereof are not, within ten (10) days after the occurrence thereof, discharged or stayed (whether through the posting of a bond or otherwise); provided, however, no Credit Extensions shall be made during any ten (10) day cure period; or\n(b)(i) any material portion of a Co-Borrower’s assets is attached, seized, levied on, or comes into possession of a trustee or receiver, or (ii) any court order enjoins, restrains, or prevents a Co-Borrower from conducting all or any material part of its business;"}
-{"idx": 3, "level": 2, "span": "8.5Insolvency. (a) A Co-Borrower or any of its Subsidiaries is unable to pay its debts (including trade debts) as they become due or otherwise becomes insolvent; a Co-Borrower or any of its Subsidiaries fails to be solvent as described under Section 5.6 hereof; (b) a Co-Borrower or any of its Subsidiaries begins an Insolvency Proceeding; or (c) an Insolvency Proceeding is begun against a Co-Borrower or any of its Subsidiaries and is not dismissed or stayed within forty five (45) days (but no Credit Extensions shall be made while any of the conditions described in clause (a) exist and/or until any Insolvency Proceeding is dismissed);"}
-{"idx": 3, "level": 2, "span": "8.6Other Agreements. There is, under any agreement to which a Co-Borrower or any Guarantor is a party with a third party or parties, (a) any default resulting in a right by such third party or parties, whether or not exercised, to accelerate the maturity of any Indebtedness in an amount individually or in the aggregate in excess of One Hundred Thousand Dollars ($100,000); or (b) any breach or default by a Co-Borrower or Guarantor, the result of which could have a material adverse effect on a Co-Borrower’s or any Guarantor’s business;"}
-{"idx": 3, "level": 2, "span": "8.7Judgments; Penalties. One or more fines, penalties or final judgments, orders or decrees for the payment of money in an amount, individually or in the aggregate, of at least Two Hundred Fifty Thousand Dollars ($250,000) (not covered by independent third-party insurance as to which liability has been accepted by such insurance carrier) shall be rendered against a Co-Borrower by any Governmental Authority, and the same are not, within fifteen (15) days after the entry, assessment or issuance thereof, discharged, satisfied, or paid, or after execution thereof, stayed or bonded pending appeal, or such judgments are not discharged prior to the expiration of any such stay (provided that no Credit Extensions will be made prior to the satisfaction, payment, discharge, stay, or bonding of such fine, penalty, judgment, order or decree);"}
-{"idx": 3, "level": 2, "span": "8.8Misrepresentations. A Co-Borrower or any Person acting for a Co-Borrower makes any representation, warranty, or other statement now or later in this Agreement, any Loan Document or in any writing delivered to Bank or to induce Bank to enter this Agreement or any Loan Document, and such representation, warranty, or other statement is incorrect in any material respect when made;"}
-{"idx": 3, "level": 2, "span": "8.9Subordinated Debt. Any document, instrument, or agreement evidencing any Subordinated Debt shall for any reason be revoked or invalidated or otherwise cease to be in full force and effect (other than pursuant to its terms), any Person shall be in breach thereof or contest in any manner the validity or enforceability thereof or deny that it has any further liability or obligation thereunder, or the Obligations shall for any reason be subordinated or shall not have the priority contemplated by this Agreement;"}
-{"idx": 3, "level": 2, "span": "8.10Guaranty. (a) Any guaranty of any Obligations terminates or ceases for any reason to be in full force and effect; (b) any Guarantor does not perform any obligation or covenant under any guaranty of the Obligations; (c) any circumstance described in Sections 8.3, 8.4, 8.5, 8.7, or 8.8 occurs with respect to any Guarantor, or (d) the liquidation, winding up, or termination of existence of any Guarantor; or (e) a material adverse change in the general affairs, management, results of operation, condition (financial or otherwise) or the prospect of repayment of the Obligations occurs with respect to any Guarantor."}
-{"idx": 3, "level": 1, "span": "BANK’S RIGHTS AND REMEDIES"}
-{"idx": 3, "level": 2, "span": "9.1Rights and Remedies. Upon the occurrence and during the continuance of an Event of Default, Bank may, without notice or demand, do any or all of the following:\n(a)declare all Obligations immediately due and payable (but if an Event of Default described in Section 8.5 occurs all Obligations are immediately due and payable without any action by Bank);\n(b)stop advancing money or extending credit for Co-Borrowers’ benefit under this Agreement or under any other agreement between Co-Borrowers and Bank;\n(c)for any letters of credit demand that any Co-Borrower (i) deposit cash with Bank in an amount equal to at least one hundred ten percent (110%) of the Dollar Equivalent of the aggregate face amount of all Letters of Credit remaining undrawn (plus all interest, fees, and costs due or to become due in connection therewith (as estimated by Bank in its good faith business judgment)), to secure all of the Obligations relating to such Letters of Credit, as collateral security for the repayment of any future drawings under such Letters of Credit, and such Co-Borrower shall forthwith deposit and pay such amounts, and (ii) pay in advance all letter of credit fees scheduled to be paid or payable over the remaining term of any Letters of Credit;\n(d)terminate any FX Contracts;\n(e)verify the amount of, demand payment of and performance under, and collect any Accounts and General Intangibles, settle or adjust disputes and claims directly with Account Debtors for amounts on terms and in any order that Bank considers advisable, and notify any Person owing a Co-Borrower money of Bank’s security interest in such funds;\n(f)make any payments and do any acts it considers necessary or reasonable to protect the Collateral and/or its security interest in the Collateral. Co-Borrowers shall assemble the Collateral if Bank requests and make it available as Bank designates. Bank may enter premises where the Collateral is located, take and maintain possession of any part of the Collateral, and pay, purchase, contest, or compromise any Lien which appears to be prior or superior to its security interest and pay all expenses incurred. Each Co-Borrower grants Bank a license to enter and occupy any of its premises, without charge, to exercise any of Bank’s rights or remedies;\n(g)apply to the Obligations any (i) balances and deposits of a Co-Borrower it holds, or (ii) any amount held by Bank owing to or for the credit or the account of a Co-Borrower;\n(h)ship, reclaim, recover, store, finish, maintain, repair, prepare for sale, advertise for sale, and sell the Collateral. Bank is hereby granted a non-exclusive, royalty-free license or other right to use, without charge, a Co-Borrower’s labels, Patents, Copyrights, mask works, rights of use of any name, trade secrets, trade names, Trademarks, and advertising matter, or any similar property as it pertains to the Collateral, in completing production of, advertising for sale, and selling any Collateral and, in connection with Bank’s exercise of its rights under this Section, Co-Borrowers’ rights under all licenses and all franchise agreements inure to Bank’s benefit;\n(i)place a “hold” on any account maintained with Bank and/or deliver a notice of exclusive control, any entitlement order, or other directions or instructions pursuant to any Control Agreement or similar agreements providing control of any Collateral;\n(j)demand and receive possession of a Co-Borrower’s Books; and\n(k)exercise all rights and remedies available to Bank under the Loan Documents or at law or equity, including all remedies provided under the Code (including disposal of the Collateral pursuant to the terms thereof)."}
-{"idx": 3, "level": 2, "span": "9.2Power of Attorney. Each Co-Borrower hereby irrevocably appoints Bank as its lawful attorney-in-fact, exercisable only upon the occurrence and during the continuance of an Event of Default, to: (a) endorse Co-Borrower’s name on any checks or other forms of payment or security; (b) sign Co-Borrower’s name on any invoice or bill of lading for any Account or drafts against Account Debtors; (c) settle and adjust disputes and claims about the Accounts directly with Account Debtors, for amounts and on terms Bank determines reasonable; (d) make, settle, and adjust all claims under Co-Borrower’s insurance policies; (e) pay, contest or settle any Lien, charge, encumbrance, security interest, and adverse claim in or to the Collateral, or any judgment based thereon, or otherwise take any action to terminate or discharge the same; and (f) transfer the Collateral into the name of Bank or a third party as the Code permits. Each Co-Borrower hereby appoints Bank as its lawful attorney-in-fact to sign Co-Borrower’s name on any documents necessary to perfect or continue the perfection of Bank’s security interest in the Collateral regardless of whether an Event of Default has occurred until all Obligations (other than contingent indemnity or reimbursement obligations for which no claim has been made) have been satisfied in full and Bank is under no further obligation to make Credit Extensions hereunder. Bank’s foregoing appointment as each Co-Borrower’s attorney in fact, and all of Bank’s rights and powers, coupled with an interest, are irrevocable until all Obligations (other than contingent indemnity or reimbursement obligations for which no claim has been made) have been fully repaid and performed and Bank’s obligation to provide Credit Extensions terminates."}
-{"idx": 3, "level": 2, "span": "9.3Protective Payments. If a Co-Borrower fails to obtain the insurance called for by Section 6.5 or fails to pay any premium thereon or fails to pay any other amount which such Co-Borrower is obligated to pay under this Agreement or any other Loan Document or which may be required to preserve the Collateral, Bank may obtain such insurance or make such payment, and all amounts so paid by Bank are Bank Expenses and immediately due and payable, bearing interest at the then highest rate applicable to the Obligations, and secured by the Collateral. Bank will make reasonable efforts to provide Co-Borrowers with notice of Bank obtaining such insurance at the time it is obtained or within a reasonable time thereafter. No payments by Bank are deemed an agreement to make similar payments in the future or Bank’s waiver of any Event of Default."}
-{"idx": 3, "level": 2, "span": "9.4Application of Payments and Proceeds Upon Default. If an Event of Default has occurred and is continuing, Bank shall have the right to apply in any order any funds in its possession, whether from Co-Borrowers account balances, payments, proceeds realized as the result of any collection of Accounts or other disposition of the Collateral, or otherwise, to the Obligations. Bank shall pay any surplus to Co-Borrowers by credit to the Designated Deposit Account or to other Persons legally entitled thereto; Co-Borrowers shall remain liable to Bank for any deficiency. If Bank, directly or indirectly, enters into a deferred payment or other credit transaction with any purchaser at any sale of Collateral, Bank shall have the option, exercisable at any time, of either reducing the Obligations by the principal amount of the purchase price or deferring the reduction of the Obligations until the actual receipt by Bank of cash therefor."}
-{"idx": 3, "level": 2, "span": "9.5Bank’s Liability for Collateral. So long as Bank complies with reasonable banking practices regarding the safekeeping of the Collateral in the possession or under the control of Bank, Bank shall not be liable or responsible for: (a) the safekeeping of the Collateral; (b) any loss or damage to the Collateral; (c) any diminution in the value of the Collateral; or (d) any act or default of any carrier, warehouseman, bailee, or other Person. Co-Borrowers bear all risk of loss, damage or destruction of the Collateral."}
-{"idx": 3, "level": 2, "span": "9.6No Waiver; Remedies Cumulative. Bank’s failure, at any time or times, to require strict performance by Co-Borrowers of any provision of this Agreement or any other Loan Document shall not waive, affect, or diminish any right of Bank thereafter to demand strict performance and compliance herewith or therewith. No waiver hereunder shall be effective unless signed by the party granting the waiver and then is only effective for the specific instance and purpose for which it is given. Bank’s rights and remedies under this Agreement and the other Loan Documents are cumulative. Bank has all rights and remedies provided under the Code, by law, or in equity. Bank’s exercise of one right or remedy is not an election and shall not preclude Bank from exercising any other remedy under this Agreement or other remedy available at law or in equity, and Bank’s waiver of any Event of Default is not a continuing waiver. Bank’s delay in exercising any remedy is not a waiver, election, or acquiescence."}
-{"idx": 3, "level": 2, "span": "9.7Demand Waiver. To the extent permitted by applicable law, each Co-Borrower waives demand, notice of default or dishonor, notice of payment and nonpayment, notice of any default, nonpayment at maturity, release, compromise, settlement, extension, or renewal of accounts, documents, instruments, chattel paper, and guarantees held by Bank on which such Co-Borrower is liable."}
-{"idx": 3, "level": 2, "span": "9.8Co‑Borrower Liability. Either Co Borrower may, acting singly, request Advances hereunder. Each Co Borrower hereby appoints the other as agent for the other for all purposes hereunder, including with respect to requesting Advances hereunder. Each Co Borrower hereunder shall be jointly and severally obligated to repay all Advances made hereunder, regardless of which Co Borrower actually receives said Advance, as if each Co Borrower hereunder directly received all Advances. Each Co Borrower waives, to the extent permitted by applicable law, (a) any suretyship defenses available to it under the Code or any other applicable law, including, without limitation, the benefit of California Civil Code Section 2815 permitting revocation as to future transactions and the benefit of California Civil Code Sections 1432, 2809, 2810, 2819, 2839, 2845, 2847, 2848, 2849, 2850, and 2899 and 3433, and (b) any right to require Bank to: (i) proceed against any Co Borrower or any other person; (ii) proceed against or exhaust any security; or (iii) pursue any other remedy. Bank may exercise or not exercise any right or remedy it has against any Co Borrower or any security it holds (including the right to foreclose by judicial or non-judicial sale) without affecting any Co Borrower’s liability. Notwithstanding any other provision of this Agreement or other related document, each Co Borrower irrevocably waives, to the extent permitted by applicable law, all rights that it may have at law or in equity to seek contribution, indemnification or any other form of reimbursement from any other Co Borrower, or any other Person now or hereafter primarily or secondarily liable for any of the Obligations, for any payment made by Co Borrower with respect to the Obligations in connection with this Agreement or otherwise and all rights that it might have to benefit from, or to participate in, any security for the Obligations as a result of any payment made by Co Borrower with respect to the Obligations in connection with this Agreement or otherwise. Any agreement providing for indemnification, reimbursement or any other arrangement prohibited under this Section shall be null and void. If any payment is made to a Co Borrower in contravention of this Section, such Co Borrower shall hold such payment in trust for Bank and such payment shall be promptly delivered to Bank for application to the Obligations, whether matured or unmatured."}
-{"idx": 3, "level": 1, "span": "NOTICES\nAll notices, consents, requests, approvals, demands, or other communication by any party to this Agreement or any other Loan Document must be in writing and shall be deemed to have been validly served, given, or delivered: (a) upon the earlier of actual receipt and three (3) Business Days after deposit in the U.S. mail, first class, registered or certified mail return receipt requested, with proper postage prepaid; (b) upon transmission, when sent by electronic mail or facsimile transmission; (c) one (1) Business Day after deposit with a reputable overnight courier with all charges prepaid; or (d) when delivered, if hand-delivered by messenger, all of which shall be addressed to the party to be notified and sent to the address, facsimile number, or email address indicated below. Bank or Co-Borrowers may change their mailing or electronic mail address or facsimile number by giving the other party written notice thereof in accordance with the terms of this Section 10.\nIf to Co-Borrowers:SAVARA INC., on behalf of all Co-Borrowers\n900 S. Capital of Texas Hwy; Suite 150 \nAustin, TX 78746\nAttn: David Lowrance, CFO\n \nEmail: dave.lowrance@savarapharma.com\nIf to Bank:Silicon Valley Bank\n4370 La Jolla Village Drive, Suite 1050\nSan Diego, CA 92122\nAttn: Igor DaCruz, Vice President\nEmail: IDaCruz@svb.com"}
-{"idx": 3, "level": 1, "span": "CHOICE OF LAW, VENUE, JURY TRIAL WAIVER, AND JUDICIAL REFERENCE\nExcept as otherwise expressly provided in any of the Loan Documents, California law governs the Loan Documents without regard to principles of conflicts of law. Co-Borrowers and Bank each submit to the exclusive jurisdiction of the State and Federal courts in Santa Clara County, California; provided, however, that nothing in this Agreement shall be deemed to operate to preclude Bank from bringing suit or taking other legal action in any other jurisdiction to realize on the Collateral or any other security for the Obligations, or to enforce a judgment or other court order in favor of Bank. Each Co-Borrower expressly submits and consents in advance to such jurisdiction in any action or suit commenced in any such court, and each Co-Borrower hereby waives any objection that it may have based upon lack of personal jurisdiction, improper venue, or forum non conveniens and hereby consents to the granting of such legal or equitable relief as is deemed appropriate by such court. Each Co-Borrower hereby waives personal service of the summons, complaints, and other process issued in such action or suit and agrees that service of such summons, complaints, and other process may be made by registered or certified mail addressed to such Co-Borrower at the address set forth in, or subsequently provided by such Co-Borrower in accordance with, Section 10 of this Agreement and that service so made shall be deemed completed upon the earlier to occur of such Co-Borrower’s actual receipt thereof or three (3) days after deposit in the U.S. mails, proper postage prepaid."}
-{"idx": 3, "level": 1, "span": "TO THE EXTENT PERMITTED BY LAW, EACH CO-BORROWER AND BANK WAIVE THEIR RIGHT TO A JURY TRIAL OF ANY CLAIM OR CAUSE OF ACTION ARISING OUT OF OR BASED UPON THIS AGREEMENT, THE LOAN DOCUMENTS OR ANY CONTEMPLATED TRANSACTION, INCLUDING CONTRACT, TORT, BREACH OF DUTY AND ALL OTHER CLAIMS. THIS WAIVER IS A MATERIAL INDUCEMENT FOR BOTH PARTIES TO ENTER INTO THIS AGREEMENT. EACH PARTY HAS REVIEWED THIS WAIVER WITH ITS COUNSEL.\nWITHOUT INTENDING IN ANY WAY TO LIMIT THE PARTIES’ AGREEMENT TO WAIVE THEIR RESPECTIVE RIGHT TO A TRIAL BY JURY, if the above waiver of the right to a trial by jury is not enforceable, the parties hereto agree that any and all disputes or controversies of any nature between them arising at any time shall be decided by a reference to a private judge, mutually selected by the parties (or, if they cannot agree, by the Presiding Judge of the Santa Clara County, California Superior Court) appointed in accordance with California Code of Civil Procedure Section 638 (or pursuant to comparable provisions of federal law if the dispute falls within the exclusive jurisdiction of the federal courts), sitting without a jury, in Santa Clara County, California; and the parties hereby submit to the jurisdiction of such court. The reference proceedings shall be conducted pursuant to and in accordance with the provisions of California Code of Civil Procedure §§ 638 through 645.1, inclusive. The private judge shall have the power, among others, to grant provisional relief, including without limitation, entering temporary restraining orders, issuing preliminary and permanent injunctions and appointing receivers. All such proceedings shall be closed to the public and confidential and all records relating thereto shall be permanently sealed. If during the course of any dispute, a party desires to seek provisional relief, but a judge has not been appointed at that point pursuant to the judicial reference procedures, then such party may apply to the Santa Clara County, California Superior Court for such relief. The proceeding before the private judge shall be conducted in the same manner as it would be before a court under the rules of evidence applicable to judicial proceedings. The parties shall be entitled to discovery which shall be conducted in the same manner as it would be before a court under the rules of discovery applicable to judicial proceedings. The private judge shall oversee discovery and may enforce all discovery rules and orders applicable to judicial proceedings in the same manner as a trial court judge. The parties agree that the selected or appointed private judge shall have the power to decide all issues in the action or proceeding, whether of fact or of law, and shall report a statement of decision thereon pursuant to California Code of Civil Procedure § 644(a). Nothing in this paragraph shall limit the right of any party at any time to exercise self-help remedies, foreclose against collateral, or obtain provisional remedies. The private judge shall also determine all issues relating to the applicability, interpretation, and enforceability of this paragraph.\nThis Section 11 shall survive the termination of this Agreement."}
-{"idx": 3, "level": 1, "span": "GENERAL PROVISIONS"}
-{"idx": 3, "level": 2, "span": "12.1Termination Prior to Term Loan Maturity Date; Survival. All covenants, representations and warranties made in this Agreement continue in full force until this Agreement has terminated pursuant to its terms and all Obligations (other than contingent indemnity or reimbursement obligations for which no claim has been made) have been satisfied. So long as Co-Borrowers have satisfied their Obligations (other than inchoate indemnity and reimbursement obligations, and any other obligations which, by their terms, are to survive the termination of this Agreement, and any Obligations under Bank Services Agreements that are cash collateralized in accordance with Section 4.1 of this Agreement), this Agreement may be terminated prior to the Term Loan Maturity Date by Co-Borrowers, effective three (3) Business Days after written notice of termination is given to Bank. Those obligations that are expressly specified in this Agreement as surviving this Agreement’s termination shall continue to survive notwithstanding this Agreement’s termination."}
-{"idx": 3, "level": 2, "span": "12.2Successors and Assigns. This Agreement binds and is for the benefit of the successors and permitted assigns of each party. No Co-Borrower may assign this Agreement or any rights or obligations under it without Bank’s prior written consent (which may be granted or withheld in Bank’s discretion). Bank has the right, without the consent of or notice to Co-Borrowers, to sell, transfer, assign, negotiate, or grant participation in all or any part of, or any interest in, Bank’s obligations, rights, and benefits under this Agreement and the other Loan Documents (other than the Warrants, as to which assignment, transfer and other such actions are governed by the terms thereof)."}
-{"idx": 3, "level": 2, "span": "12.3Indemnification. Co-Borrowers agree to indemnify, defend and hold Bank and its directors, officers, employees, agents, attorneys, or any other Person affiliated with or representing Bank (each, an “Indemnified Person”) harmless against: (i) all obligations, demands, claims, and liabilities (collectively, “Claims”) claimed or asserted by any other party in connection with the transactions contemplated by the Loan Documents; and (ii) all losses or expenses (including Bank Expenses) in any way suffered, incurred, or paid by such Indemnified Person as a result of, following from, consequential to, or arising from transactions between Bank and Co-Borrowers (including reasonable attorneys’ fees and expenses), except for Claims and/or losses directly caused by such Indemnified Person’s gross negligence or willful misconduct.\nThis Section 12.3 shall survive until all statutes of limitation with respect to the Claims, losses, and expenses for which indemnity is given shall have run."}
-{"idx": 3, "level": 2, "span": "12.4Time of Essence. Time is of the essence for the performance of all Obligations in this Agreement."}
-{"idx": 3, "level": 2, "span": "12.5Severability of Provisions. Each provision of this Agreement is severable from every other provision in determining the enforceability of any provision."}
-{"idx": 3, "level": 2, "span": "12.6Correction of Loan Documents. Bank may correct patent errors and fill in any blanks in the Loan Documents consistent with the agreement of the parties."}
-{"idx": 3, "level": 2, "span": "12.7Amendments in Writing; Waiver; Integration. No purported amendment or modification of any Loan Document, or waiver, discharge or termination of any obligation under any Loan Document, shall be enforceable or admissible unless, and only to the extent, expressly set forth in a writing signed by the party against which enforcement or admission is sought. Without limiting the generality of the foregoing, no oral promise or statement, nor any action, inaction, delay, failure to require performance or course of conduct shall operate as, or evidence, an amendment, supplement or waiver or have any other effect on any Loan Document. Any waiver granted shall be limited to the specific circumstance expressly described in it, and shall not apply to any subsequent or other circumstance, whether similar or dissimilar, or give rise to, or evidence, any obligation or commitment to grant any further waiver. The Loan Documents represent the entire agreement about this subject matter and supersede prior negotiations or agreements. All prior agreements, understandings, representations, warranties, and negotiations between the parties about the subject matter of the Loan Documents merge into the Loan Documents."}
-{"idx": 3, "level": 2, "span": "12.8Counterparts. This Agreement may be executed in any number of counterparts and by different parties on separate counterparts, each of which, when executed and delivered, is an original, and all taken together, constitute one Agreement."}
-{"idx": 3, "level": 2, "span": "12.9Confidentiality. In handling any confidential information, Bank shall exercise the same degree of care that it exercises for its own proprietary information, but disclosure of information may be made: (a) to Bank’s Subsidiaries or Affiliates (such Subsidiaries and Affiliates, together with Bank, collectively, “Bank Entities”); (b) to prospective transferees or purchasers of any interest in the Credit Extensions (provided, however, that any prospective transferee or purchaser shall have entered into an agreement containing provisions substantially the same as those in this Section); (c) as required by law, regulation, subpoena, or other order; (d) to Bank’s regulators or as otherwise required in connection with Bank’s examination or audit; (e) as Bank considers appropriate in exercising remedies under the Loan Documents; and (f) to third-party service providers of Bank so long as such service providers have executed a confidentiality agreement with Bank with terms no less restrictive than those contained herein. Confidential information does not include information that is either: (i) in the public domain or in Bank’s possession when disclosed to Bank, or becomes part of the public domain (other than as a result of its disclosure by Bank in violation of this Agreement) after disclosure to Bank; or (ii) disclosed to Bank by a third party, if Bank does not know that the third party is prohibited from disclosing the information.\nBank Entities may use anonymous forms of confidential information for aggregate datasets, for analyses or reporting, and for any other uses not expressly prohibited in writing by Co-Borrowers. The provisions of the immediately preceding sentence shall survive termination of this Agreement."}
-{"idx": 3, "level": 2, "span": "12.10Attorneys’ Fees, Costs and Expenses. In any action or proceeding between Co-Borrowers and Bank arising out of or relating to the Loan Documents, the prevailing party shall be entitled to recover its reasonable attorneys’ fees and other costs and expenses incurred, in addition to any other relief to which it may be entitled."}
-{"idx": 3, "level": 2, "span": "12.11Electronic Execution of Documents. The words “execution,” “signed,” “signature” and words of like import in any Loan Document shall be deemed to include electronic signatures or the keeping of records in electronic form, each of which shall be of the same legal effect, validity and enforceability as a manually executed signature or the use of a paper-based recordkeeping systems, as the case may be, to the extent and as provided for in any applicable law, including, without limitation, any state law based on the Uniform Electronic Transactions Act."}
-{"idx": 3, "level": 2, "span": "12.12Captions. The headings used in this Agreement are for convenience only and shall not affect the interpretation of this Agreement."}
-{"idx": 3, "level": 2, "span": "12.13Construction of Agreement. The parties mutually acknowledge that they and their attorneys have participated in the preparation and negotiation of this Agreement. In cases of uncertainty this Agreement shall be construed without regard to which of the parties caused the uncertainty to exist."}
-{"idx": 3, "level": 2, "span": "12.14Relationship. The relationship of the parties to this Agreement is determined solely by the provisions of this Agreement. The parties do not intend to create any agency, partnership, joint venture, trust, fiduciary or other relationship with duties or incidents different from those of parties to an arm’s-length contract."}
-{"idx": 3, "level": 2, "span": "12.15Third Parties. Nothing in this Agreement, whether express or implied, is intended to: (a) confer any benefits, rights or remedies under or by reason of this Agreement on any persons other than the express parties to it and their respective permitted successors and assigns; (b) relieve or discharge the obligation or liability of any person not an express party to this Agreement; or (c) give any person not an express party to this Agreement any right of subrogation or action against any party to this Agreement."}
-{"idx": 3, "level": 1, "span": "DEFINITIONS"}
-{"idx": 3, "level": 2, "span": "13.1Definitions. As used in the Loan Documents, the word “shall” is mandatory, the word “may” is permissive, the word “or” is not exclusive, the words “includes” and “including” are not limiting, the singular includes the plural, and numbers denoting amounts that are set off in brackets are negative. As used in this Agreement, the following capitalized terms have the following meanings:\n“Account” is any “account” as defined in the Code with such additions to such term as may hereafter be made, and includes, without limitation, all accounts receivable and other sums owing to Co-Borrowers.\n“Account Debtor” is any “account debtor” as defined in the Code with such additions to such term as may hereafter be made.\n“Affiliate” is, with respect to any Person, each other Person that owns or controls directly or indirectly the Person, any Person that controls or is controlled by or is under common control with the Person, and each of that Person’s senior executive officers, directors, partners and, for any Person that is a limited liability company, that Person’s managers and members.\n“Agreement” is defined in the preamble hereof.\n“Amortization Start Date” is the first day of the month immediately following the end of the Interest-Only Period.\n“Authorized Signer” is any individual listed in a Co-Borrower’s Borrowing Resolution who is authorized to execute the Loan Documents, including any Advance request, on behalf of Co-Borrowers.\n“Bank” is defined in the preamble hereof.\n“Bank Entities” is defined in Section 12.9.\n“Bank Expenses” are all audit fees and expenses, costs, and expenses (including reasonable attorneys’ fees and expenses) for preparing, amending, negotiating, administering, defending and enforcing the Loan Documents (including, without limitation, those incurred in connection with appeals or Insolvency Proceedings) or otherwise incurred with respect to Co-Borrowers or any Guarantor.\n“Bank Services” are any products, credit services, and/or financial accommodations previously, now, or hereafter provided to Co-Borrowers or any of their Subsidiaries by Bank or any Bank Affiliate, including, without limitation, any letters of credit, cash management services (including, without limitation, merchant services, direct deposit of payroll, business credit cards, and check cashing services), interest rate swap arrangements, and foreign exchange services as any such products or services may be identified in Bank’s various agreements related thereto (each, a “Bank Services Agreement”).\n“Co-Borrower(s)” is defined in the preamble hereof.\n“Co-Borrower’s Books” are all of a Co-Borrower’s books and records including ledgers, federal and state tax returns, records regarding such Co-Borrower’s assets or liabilities, the Collateral, business operations or financial condition, and all computer programs or storage or any equipment containing such information.\n“Borrowing Resolutions” are, with respect to any Person, those resolutions substantially in the form attached hereto as Exhibit D.\n“Business Day” is any day that is not a Saturday, Sunday or a day on which Bank is closed.\n“Cash Equivalents” means (a) marketable direct obligations issued or unconditionally guaranteed by the United States or any agency or any State thereof having maturities of not more than one (1) year from the date of acquisition; (b) commercial paper maturing no more than one (1) year after its creation and having the highest rating from either Standard & Poor’s Ratings Group or Moody’s Investors Service, Inc.; (c) Bank’s certificates of deposit issued maturing no more than one (1) year after issue; (d) savings accounts and demand deposit accounts; (e) money market funds at least ninety-five percent (95.0%) of the assets of which constitute Cash Equivalents of the kinds described in clauses (a) through (c) of this definition; and (f) U.S. dollars, British pounds, euros or the national currency of any member state in the European Union, or any other currencies held from time to time in the ordinary course of business\n“Change in Control” means (a) at any time, any “person” or “group” (as such terms are used in Sections 13(d) and 14(d) of the Exchange Act), shall become, or obtain rights (whether by means or warrants, options or otherwise) to become, the “beneficial owner” (as defined in Rules 13(d)-3 and 13(d)‑5 under the Exchange Act), directly or indirectly, of thirty-five percent (35%) or more of the ordinary voting power for the election of directors of a Co-Borrower (determined on a fully diluted basis) other than by the sale of a Co-Borrower’s equity securities in a public offering or to venture capital or private equity investors so long as such Co-Borrower identifies to Bank the venture capital or private equity investors at least seven (7) Business Days prior to the closing of the transaction and provides to Bank a description of the material terms of the transaction; or (b) during any period of twelve (12) consecutive months, a majority of the members of the board of directors or other equivalent governing body of a Co-Borrower cease to be composed of individuals (i) who were members of that board or equivalent governing body on the first day of such period, (ii) whose election or nomination to that board or equivalent governing body was approved by individuals referred to in clause (i) above constituting at the time of such election or nomination at least a majority of that board or equivalent governing body or (iii) whose election or nomination to that board or other equivalent governing body was approved by individuals referred to in clauses (i) and (ii) above constituting at the time of such election or nomination at least a majority of that board or equivalent governing body; (c) at any time, a Co-Borrower shall cease to own and control, of record and beneficially, directly or indirectly, one hundred percent (100%) (except for director’s qualifying shares as required by the laws of such foreign jurisdiction) of each class of outstanding capital stock of each subsidiary of such Co-Borrower free and clear of all Liens (except Liens created by this Agreement).\n“Claims” is defined in Section 12.3.\n“Code” is the Uniform Commercial Code, as the same may, from time to time, be enacted and in effect in the State of California; provided, that, to the extent that the Code is used to define any term herein or in any Loan Document and such term is defined differently in different Articles or Divisions of the Code, the definition of such term contained in Article or Division 9 shall govern; provided further, that in the event that, by reason of mandatory provisions of law, any or all of the attachment, perfection, or priority of, or remedies with respect to, Bank’s Lien on any Collateral is governed by the Uniform Commercial Code in effect in a jurisdiction other than the State of California, the term “Code” shall mean the Uniform Commercial Code as enacted and in effect in such other jurisdiction solely for purposes of the provisions thereof relating to such attachment, perfection, priority, or remedies and for purposes of definitions relating to such provisions.\n“Collateral” is any and all properties, rights and assets of Co-Borrowers described on Exhibit A.\n“Collateral Account” is any Deposit Account, Securities Account, or Commodity Account.\n“Commodity Account” is any “commodity account” as defined in the Code with such additions to such term as may hereafter be made.\n“Compliance Certificate” is that certain certificate in the form attached hereto as Exhibit B.\n“Contingent Obligation” is, for any Person, any direct or indirect liability, contingent or not, of that Person for (a) any Indebtedness, capital lease, dividend or letter of credit of another Person such as an obligation, in each case, directly or indirectly guaranteed, endorsed, co‑made, discounted or sold with recourse by that Person, or for which that Person is directly or indirectly liable; (b) any obligations for undrawn letters of credit for the account of that Person; and (c) all obligations from any interest rate, currency or commodity swap agreement, interest rate cap or collar agreement, or other agreement or arrangement designated to protect a Person against fluctuation in interest rates, currency exchange rates or commodity prices (each a “Swap Agreement”); but “Contingent Obligation” does not include endorsements, warranties or indemnities in the ordinary course of business. The amount of a Contingent Obligation is the stated or determined amount of the primary obligation for which the Contingent Obligation is made or, if not determinable, the maximum reasonably anticipated liability for it determined by the Person in good faith; but the amount may not exceed the maximum of the obligations under any guarantee or other support arrangement.\n“Control Agreement” is any control agreement entered into among the depository institution at which a Co-Borrower maintains a Deposit Account or the securities intermediary or commodity intermediary at which a Co-Borrower maintains a Securities Account or a Commodity Account, such Co-Borrower, and Bank pursuant to which Bank obtains control (within the meaning of the Code) over such Deposit Account, Securities Account, or Commodity Account.\n“Copyrights” are any and all copyright rights, copyright applications, copyright registrations and like protections in each work of authorship and derivative work thereof, whether published or unpublished and whether or not the same also constitutes a trade secret.\n“Credit Extension” is any Term Loan by Bank for Co-Borrowers’ benefit.\n“Currency” is coined money and such other banknotes or other paper money as are authorized by law and circulate as a medium of exchange.\n“Default Rate” is defined in Section 2.3(b).\n“Denmark Share Pledge Documents” means the following documents all duly executed on or prior to the Effective Date: a share pledge agreement regarding the shares in Savara Denmark along with a letter of notification (in the form set out in the share pledge agreement), a letter of confirmation (in the form set out in the share pledge agreement), a copy of the shareholders’ register of Savara Denmark showing the recording of the pledge in a form satisfactory to the Bank, and a legal opinion by LETT Law Firm P/S as to the enforceability of these documents.\n“Deposit Account” is any “deposit account” as defined in the Code with such additions to such term as may hereafter be made.\n“Designated Deposit Account” is the multicurrency account denominated in Dollars, account number ending in xxxxx9702, maintained by a Co-Borrower with Bank.\n“Dollars,” “dollars” or use of the sign “$” means only lawful money of the United States and not any other currency, regardless of whether that currency uses the “$” sign to denote its currency or may be readily converted into lawful money of the United States.\n“Dollar Equivalent” is, at any time, (a) with respect to any amount denominated in Dollars, such amount, and (b) with respect to any amount denominated in a Foreign Currency, the equivalent amount therefor in Dollars as determined by Bank at such time on the basis of the then-prevailing rate of exchange in San Francisco, California, for sales of the Foreign Currency for transfer to the country issuing such Foreign Currency.\n“Domestic Subsidiary” means a Subsidiary organized under the laws of the United States or any state or territory thereof or the District of Columbia, but excluding any FSHCO and any subsidiary of a Foreign Subsidiary.\n“Draw Period” is the period of time commencing on the date Co-Borrowers achieve the Draw Period Milestone and ending on the earlier of (x) June 30, 2017 or (y) the occurrence of an Event of Default; provided, however, that the Draw Period shall not commence if on the date of the occurrence of the Draw Period Milestone an Event of Default has occurred and is continuing.\n“Draw Period Milestone” is the receipt (or in the case of a grant, the expected receipt) by Co-Borrowers of net cash proceeds of not less than Forty Million Dollars ($40,000,000), in the aggregate, from a secondary offering, PIPE or ATM partnerships, and/or a grant which shall be received no later than twelve (12) months after the awarding of such grant.\n“Effective Date” is the date on which all of the conditions precedent, as outlined in Section 3.1, have been satsified.\n“Equipment” is all “equipment” as defined in the Code with such additions to such term as may hereafter be made, and includes without limitation all machinery, fixtures, goods, vehicles (including motor vehicles and trailers), and any interest in any of the foregoing.\n“ERISA” is the Employee Retirement Income Security Act of 1974, and its regulations.\n“Event of Default” is defined in Section 8.\n“Exchange Act” is the Securities Exchange Act of 1934, as amended.\n“Existing Indebtedness” is the indebtedness of Co-Borrowers to Hercules Capital, Inc. in the aggregate outstanding amount as of the Effective Date of approximately Three Million Six Hundred Sixty-Three Thousand Five Hundred Sixty and 15/100 Dollars ($3,663,560.15) pursuant to that certain Loan and Security Agreement, dated as of August 11, 2015, entered into by and among Co-Borrowers (f/k/a Mast Therapeutics, Inc.), the lenders party thereto and Hercules Capital, Inc., as administrative agent, as amended.\n“Final Payment” is a payment (in addition to and not a substitution for the regularly monthly payments of principal plus accrued interest) due on the earliest to occur of (a) the Term Loan Maturity Date, (b) the acceleration of any Term Loan, or (c) the prepayment of a Term Loan, equal to the original principal amount of such Term Loan multiplied by the Final Payment Percentage.\n“Final Payment Percentage” is six percent (6.00%).\n“Foreign Currency” means lawful money of a country other than the United States.\n“Foreign Subsidiary” means any Subsidiary organized under the laws of any jurisdiction other than the laws of the United States or any state or territory thereof or the District of Columbia.\n“FSHCO” means any Domestic Subsidiary if substantially all of its assets (whether held directly or through other Subsidiaries) consist of the Equity Interests or Indebtedness of one or more Foreign Subsidiaries.\n“Funding Date” is any date on which a Credit Extension is made to or for the account of Co-Borrowers which shall be a Business Day.\n“FX Contract” is any foreign exchange contract by and between a Co-Borrower and Bank under which Co-Borrower commits to purchase from or sell to Bank a specific amount of Foreign Currency on a specified date.\n“GAAP” is generally accepted accounting principles set forth in the opinions and pronouncements of the Accounting Principles Board of the American Institute of Certified Public Accountants and statements and pronouncements of the Financial Accounting Standards Board or in such other statements by such other Person as may be approved by a significant segment of the accounting profession, which are applicable to the circumstances as of the date of determination.\n“General Intangibles” is all “general intangibles” as defined in the Code in effect on the date hereof with such additions to such term as may hereafter be made, and includes without limitation, all Intellectual Property, claims, income and other tax refunds, security and other deposits, payment intangibles, contract rights, options to purchase or sell real or personal property, rights in all litigation presently or hereafter pending (whether in contract, tort or otherwise), insurance policies (including without limitation key man, property damage, and business interruption insurance), payments of insurance and rights to payment of any kind.\n“Governmental Approval” is any consent, authorization, approval, order, license, franchise, permit, certificate, accreditation, registration, filing or notice, of, issued by, from or to, or other act by or in respect of, any Governmental Authority.\n“Governmental Authority” is any nation or government, any state or other political subdivision thereof, any agency, authority, instrumentality, regulatory body, court, central bank or other entity exercising executive, legislative, judicial, taxing, regulatory or administrative functions of or pertaining to government, any securities exchange and any self-regulatory organization.\n“Guarantor” is any Person providing a Guaranty in favor of Bank.\n“Guaranty” is any guarantee of all or any part of the Obligations, as the same may from time to time be amended, restated, modified or otherwise supplemented.\n“Indebtedness” is (a) indebtedness for borrowed money or the deferred price of property or services, such as reimbursement and other obligations for surety bonds and letters of credit, (b) obligations evidenced by notes, bonds, debentures or similar instruments, (c) capital lease obligations, and (d) Contingent Obligations. Notwithstanding the foregoing, the capital lease reflected on a Co-Borrower’s balance sheet as of December 31, 2016 that is part of a research and development contract (and any similar arrangement entered into by a Co-Borrower or any of its Subsidiaries in the future) shall not constitute Indebtedness.\n“Indemnified Person” is defined in Section 12.3.\n“Insolvency Proceeding” is any proceeding by or against any Person under the United States Bankruptcy Code, or any other bankruptcy or insolvency law, including assignments for the benefit of creditors, compositions, extensions generally with its creditors, or proceedings seeking reorganization, arrangement, or other relief.\n“Intellectual Property” means, with respect to any Person, means all of such Person’s right, title, and interest in and to the following owned by such Person:\n(a)its Copyrights, Trademarks and Patents;\n(b)any and all trade secrets and trade secret rights, including, without limitation, any rights to unpatented inventions, know-how, operating manuals;\n(c)any and all source code;\n(d)any and all design rights which may be available to such Person;\n(e)any and all claims for damages by way of past, present and future infringement of any of the foregoing, with the right, but not the obligation, to sue for and collect such damages for said use or infringement of the Intellectual Property rights identified above; and\n(f)all amendments, renewals and extensions of any of the Copyrights, Trademarks or Patents.\n“Interest-Only Period” means the period commencing on the Effective Date and continuing through September 30, 2018; provided that, if Co-Borrowers request and Bank funds the Term B Loan, the Interest-Only Period shall automatically be extended through March 31, 2019.\n“Inventory” is all “inventory” as defined in the Code in effect on the date hereof with such additions to such term as may hereafter be made, and includes without limitation all merchandise, raw materials, parts, supplies, packing and shipping materials, work in process and finished products, including without limitation such inventory as is temporarily out of a Co-Borrower’s custody or possession or in transit and including any returned goods and any documents of title representing any of the above.\n“Investment” is any beneficial ownership interest in any Person (including stock, partnership interest or other securities), and any loan, advance or capital contribution to any Person.\n“Letter of Credit” is a standby or commercial letter of credit issued by Bank upon request of a Co-Borrower based upon an application, guarantee, indemnity, or similar agreement.\n“Lien” is a claim, mortgage, deed of trust, levy, charge, pledge, security interest or other encumbrance of any kind, whether voluntarily incurred or arising by operation of law or otherwise against any property.\n“Loan Documents” are, collectively, this Agreement and any schedules, exhibits, certificates, notices, and any other documents related to this Agreement, the Warrants, the Denmark Share Pledge Documents, any subordination agreement, any note, or notes or guaranties executed by a Co-Borrower or any Guarantor, and any other present or future agreement by a Co-Borrower and/or any Guarantor with or for the benefit of Bank in connection with this Agreement, all as amended, restated, or otherwise modified.\n“Material Adverse Change” is (a) a material impairment in the perfection or priority of Bank’s Lien in the Collateral or in the value of such Collateral; (b) a material adverse change in the business, operations, or condition (financial or otherwise) of a Co-Borrower; or (c) a material impairment of the prospect of repayment of any portion of the Obligations.\n“Obligations” are Co-Borrowers’ obligations to pay when due any debts, principal, interest, fees, Bank Expenses, the Prepayment Fee, the Final Payment and other amounts Co-Borrowers owe Bank now or later, whether under this Agreement, the other Loan Documents (other than the Warrants), or otherwise (other than the Warrants), including, without limitation, all obligations relating to letters of credit (including reimbursement obligations for drawn and undrawn letters of credit), cash management services, and foreign exchange contracts, if any, and including interest accruing after Insolvency Proceedings begin and debts, liabilities, or obligations of Co-Borrowers assigned to Bank, and to perform Co-Borrowers’ duties under the Loan Documents (other than the Warrants).\n“Operating Documents” are, for any Person, such Person’s formation documents, as certified by the Secretary of State (or equivalent agency) of such Person’s jurisdiction of organization on a date that is no earlier than thirty (30) days prior to the Effective Date, and, (a) if such Person is a corporation, its bylaws in current form, (b) if such Person is a limited liability company, its limited liability company agreement (or similar agreement), and (c) if such Person is a partnership, its partnership agreement (or similar agreement), each of the foregoing with all current amendments or modifications thereto.\n“Patents” means all patents, patent applications and like protections including without limitation improvements, divisions, continuations, renewals, reissues, extensions and continuations-in-part of the same.\n“Payment/Advance Form” is that certain form attached hereto as Exhibit C.\n“Perfection Certificate” is defined in Section 5.1.\n“Permitted Distributions” means:\n(a)purchases of capital stock from former employees, consultants and directors pursuant to repurchase agreements or other similar agreements, so long as an Event of Default does not exist and would not exist after the purchase;\n(b)distributions or dividends consisting solely of Borrower's capital stock or rights under any stockholder rights plan;\n(c)purchases for value of any rights distributed in connection with any stockholder rights plan adopted by Borrower;\n(d)purchases of capital stock or options to acquire such capital stock with the proceeds received from a substantially concurrent issuance of capital stock or convertible securities in an aggregate amount not to exceed Two Hundred Fifty Thousand Dollars ($250,000) per fiscal year;\n(e)repurchases or acquisitions of capital stock or options to acquire capital stock of Borrower in connection with the exercise of stock options or warrants or stock appreciation rights by way of cashless exercise or the vesting of restricted stock or restricted units, or in connection with the satisfaction of withholding tax obligations;\n(f)conversions of convertible securities (including options, warrants and convertible notes) into other securities pursuant to their terms or otherwise in exchange therefor;\n(g)the issuance of cash in lieu of fractional shares;\n(h)other payments, distributions, redemptions, retirements or purchases;\nprovided that the total amount of distributions comprised of (a), (c) and (h) above do not exceed One Hundred Thousand Dollars ($100,000) in an aggregate amount in a fiscal year.\n“Permitted Indebtedness” is:\n(a)Co-Borrowers’ Indebtedness to Bank under this Agreement and the other Loan Documents or in respect of Bank Services;\n(b)Indebtedness existing on the Effective Date and shown on the Perfection Certificate;\n(c)Subordinated Debt;\n(d)(i) unsecured Indebtedness to trade creditors incurred in the ordinary course of business and (ii) unsecured intercompany payables incurred in the ordinary course of business that constitute Permitted Investments;\n(e)Indebtedness incurred as a result of endorsing negotiable instruments received in the ordinary course of business;\n(f)Indebtedness secured by Liens permitted under clauses (a) and (c) of the definition of “Permitted Liens” hereunder;\n(g)Unsecured Indebtedness arising from customary cash management and treasury services, employee credit card programs and the honoring of a check, draft or similar instrument against insufficient funds or from the endorsement of instruments for collection, in each case, in the ordinary course of business;\n(h)Indebtedness in respect of performance bonds, bid bonds, appeal bonds, surety bonds and similar obligations, in each case provided in the ordinary course of business, not to exceed an aggregate amount outstanding at any time of Fifty Thousand Dollars ($50,000.00);\n(i)unsecured Indebtedness in an aggregate amount at any time outstanding not to exceed Two Hundred Fifty Thousand Dollars ($250,000.00);\n(j)Indebtedness owed to any Person providing property, casualty, liability, or other insurance to Company or any of its Subsidiaries, so long as the amount of such Indebtedness is not in excess of the amount of the unpaid cost of, and shall be incurred only to defer the cost of, such insurance for the year in which such Indebtedness is incurred and such Indebtedness is outstanding only during such year;\n(k)Indebtedness of a Subsidiary constituting a Permitted Investment under clause (g) or clause (h) of the definition of Permitted Investments; and\n(l)extensions, refinancings, modifications, amendments and restatements of any items of Permitted Indebtedness (a) through (i) above, provided that the principal amount thereof is not increased or the terms thereof are not modified to impose more burdensome terms upon a Co-Borrower or its Subsidiary, as the case may be.\n“Permitted Investments” are:\n(a)Investments (including, without limitation, Subsidiaries) existing on the Effective Date and shown on the Perfection Certificate;\n(b)Investments consisting of Cash Equivalents and (ii) any Investments permitted by a Co-Borrower’s investment policy, as amended from time to time, provided that, solely for purposes of this Agreement, such investment policy (and any such amendment thereto) has been approved in writing by Bank (which investment policy existing on the Effective Date and provided to Bank is hereby approved);\n(c)Investments consisting of the endorsement of negotiable instruments for deposit or collection or similar transactions in the ordinary course of a Co-Borrower;\n(d)Investments consisting of deposit accounts or securities accounts; provided that in the case of a deposit or securities account held by a Co-Borrower’s Bank has a perfected security interest in such account to the extent required by Section 6.6;\n(e)Investments accepted in connection with Transfers permitted by Section 7.1;\n(f)Investments consisting of the creation of a Subsidiary for the purpose of consummating a merger transaction permitted by Section 7.3 of this Agreement, which is otherwise a Permitted Investment;\n(g)Investments by (i) a Co-Borrower in Savara Denmark not to exceed Thirteen Million Dollars ($13,000,000) in the aggregate in any fiscal year and (ii) by Savara Denmark in its own Subsidiaries; provided that all such Investments are related to clinical development and associated G&A expense;\n(h)Investments consisting of (i) travel advances and employee relocation loans and other employee loans and advances in the ordinary course of business, and (ii) loans to employees, officers or directors relating to the purchase of equity securities of a Co-Borrower or its Subsidiaries pursuant to employee stock purchase plans or agreements approved by such Co-Borrower’s Board of Directors;\n(i)Investments (including debt obligations) received in connection with the bankruptcy or reorganization of customers or suppliers and in settlement of delinquent obligations of, and other disputes with, customers or suppliers arising in the ordinary course of business;\n(j)Investments consisting of notes receivable of, or prepaid royalties and other credit extensions, to customers and suppliers who are not Affiliates, in the ordinary course of business; provided that this paragraph (k) shall not apply to Investments of a Co-Borrower in any Subsidiary; and\n(k)Investments not exceeding Two Hundred Fifty Thousand Dollars ($250,000.00) in the aggregate outstanding at any time;\n“Permitted Liens” are:\n(a)Liens existing on the Effective Date and shown on the Perfection Certificate or arising under this Agreement and the other Loan Documents;\n(b)Liens for taxes, fees, assessments or other government charges or levies, either (i) not due and payable or (ii) being contested in good faith and for which a Co-Borrower maintains adequate reserves on its Books, provided that no notice of any such Lien has been filed or recorded under the Internal Revenue Code of 1986, as amended, and the Treasury Regulations adopted thereunder;\n(c)purchase money Liens or capital leases (i) on Equipment and related software (together with any improvements, additions and accessions to such Equipment and the proceeds of the Equipment) acquired or held by a Co-Borrower incurred for financing the acquisition of the Equipment (and related software) securing no more than One Hundred Thousand Dollars ($100,000.00) in the aggregate amount outstanding, or (ii) existing on Equipment (including any related software) when acquired, if the Lien is confined to the property and improvements, additions and accessions to such Equipment and the proceeds of the Equipment;\n(d)(i) Liens of carriers, warehousemen, suppliers, landlords or similar Liens arising in the ordinary course of business and (ii) Liens of other Persons that are possessory in nature arising in the ordinary course of business so long as such Liens attach only to Inventory, securing liabilities in the aggregate amount not to exceed One Hundred Thousand Dollars ($100,000), and in the case of clauses (i) and (ii) secure liabilities which are not delinquent or remain payable without penalty or which are being contested in good faith and by appropriate proceedings which proceedings have the effect of preventing the forfeiture or sale of the property subject thereto;\n(e)Liens to secure payment of workers’ compensation, employment insurance, old-age pensions, social security and other like obligations incurred in the ordinary course of business (other than Liens imposed by ERISA);\n(f)Liens incurred in the extension, renewal or refinancing of the indebtedness secured by Liens described in (a) through (c), but any extension, renewal or replacement Lien must be limited to the property encumbered by the existing Lien and the principal amount of the indebtedness may not increase;\n(g)leases or subleases of real property granted in the ordinary course of a Co-Borrower’s business (or, if referring to another Person, in the ordinary course of such Person’s business), and leases, subleases, non-exclusive licenses or sublicenses of personal property (other than Intellectual Property) granted in the ordinary course of a Co-Borrower’s business (or, if referring to another Person, in the ordinary course of such Person’s business), if the leases, subleases, licenses and sublicenses do not prohibit granting Bank a security interest therein;\n(h)(i) non-exclusive licenses of Intellectual Property granted to third parties in the ordinary course of business, and licenses of Intellectual Property that could not result in a legal transfer of title of the licensed property that may be exclusive in respects other than territory and that may be exclusive as to territory only as to discreet geographical areas outside of the United States; and (ii) intracompany non-exclusive licenses of Intellectual Property in the ordinary course of business;\n(i)Liens arising from attachments or judgments, orders, or decrees in circumstances not constituting an Event of Default under Sections 8.4 and 8.7;\n(j)Liens securing any overdraft and related liabilities arising from treasury, depository or cash management services or automated clearing house transfer of funds;\n(k)deposits to secure the performance of bids, trade contracts, leases, statutory obligations, surety and appeal bonds, performance bonds and other obligations of a like nature, in each case in the ordinary course of business;\n(l)easements, zoning restrictions, rights-of-way and similar encumbrances on real property imposed by law or arising in the ordinary course of business that do not secure any monetary obligations and do not materially detract from the value of the affected property or interfere with the ordinary conduct of business of a Co-Borrower or any Subsidiary;\n(m)Liens representing the interest or title of a lessor, licensor, sublicensor or sublessor, provided such lease, sublease, license or sublicense is permitted hereunder;\n(n)Liens in favor of customs and revenue authorities arising as a matter of law to secure payment of customs duties in connection with the importation of goods; and\n(o)Liens in favor of other financial institutions arising in connection with a Co-Borrower’s deposit and/or securities accounts held at such institutions, provided that Bank has a perfected security interest in the amounts held in such deposit and/or securities accounts held by a Co-Borrower to the extent required by Section 6.6.\n“Person” is any individual, sole proprietorship, partnership, limited liability company, joint venture, company, trust, unincorporated organization, association, corporation, institution, public benefit corporation, firm, joint stock company, estate, entity or government agency.\n“Prepayment Fee” is, with respect to any Term Loan subject to prepayment prior to the Term Loan Maturity Date, whether by mandatory or voluntary prepayment, acceleration or otherwise, an additional fee payable to Bank in an amount equal to: (i) for a prepayment made on or after the Effective Date through and including the first anniversary of the Effective Date, three percent (3.00%) of the principal amount of the Term Loans prepaid; (ii) for a prepayment made after the date which is the first anniversary of the Effective Date through and including the second anniversary of the Effective Date, two percent (2.00%) of the principal amount of the Term Loans prepaid and (iii) for a prepayment made after the date which is the second anniversary of the Effective Date and before the Term Loan Maturity Date, one percent (1.00%) of the principal amount of the Term Loans prepaid.\n“Prime Rate” is the rate of interest per annum from time to time published in the money rates section of The Wall Street Journal or any successor publication thereto as the “prime rate” then in effect; provided that, in the event such rate of interest is less than zero, such rate shall be deemed to be zero for purposes of this Agreement; and provided further that if such rate of interest, as set forth from time to time in the money rates section of The Wall Street Journal, becomes unavailable for any reason as determined by Bank, the “Prime Rate” shall mean the rate of interest per annum announced by Bank as its prime rate in effect at its principal office in the State of California (such Bank announced Prime Rate not being intended to be the lowest rate of interest charged by Bank in connection with extensions of credit to debtors); provided that, in the event such rate of interest is less than zero, such rate shall be deemed to be zero for purposes of this Agreement.\n“Quarterly Financial Statements” is defined in Section 6.2(a).\n“Registered Organization” is any “registered organization” as defined in the Code with such additions to such term as may hereafter be made.\n“Regulatory Change” means, with respect to Bank, any change on or after the date of this Agreement in United States federal, state, or foreign laws or regulations, including Regulation D, or the adoption or making on or after such date of any interpretations, directives, or requests applying to a class of lenders including Bank, of or under any United States federal or state, or any foreign laws or regulations (whether or not having the force of law) by any court or governmental or monetary authority charged with the interpretation or administration thereof.\n“Requirement of Law” is as to any Person, the organizational or governing documents of such Person, and any law (statutory or common), treaty, rule or regulation or determination of an arbitrator or a court or other Governmental Authority, in each case applicable to or binding upon such Person or any of its property or to which such Person or any of its property is subject.\n“Responsible Officer” is any of the Chief Executive Officer, Chief Financial Officer and Chief Operating Officer of a Co-Borrower.\n“Restricted License” is any material license or other material agreement with respect to which a Co-Borrower is the licensee other than any commercial off-the-shelf licenses or similar agreements that are commercially available to the public) (a) that validly prohibits or otherwise restricts a Co-Borrower from granting a security interest in such Co-Borrower’s interest in such license or agreement or any property subject to such license or agreement, or (b) for which a default under or termination of could interfere with the Bank’s right to sell any Collateral.\n“Savara Denmark” is Savara ApS, an entity organized under the laws of Denmark.\n“SEC” shall mean the Securities and Exchange Commission and any successor thereto.\n“Securities Account” is any “securities account” as defined in the Code with such additions to such term as may hereafter be made.\n“Subordinated Debt” is indebtedness incurred by a Co-Borrower subordinated to all of such Co-Borrower’s now or hereafter indebtedness to Bank (pursuant to a subordination, intercreditor, or other similar agreement in form and substance reasonably satisfactory to Bank entered into between Bank and the other creditor), on terms reasonably acceptable to Bank.\n“Subsidiary” is, as to any Person, a corporation, partnership, limited liability company or other entity of which shares of stock or other ownership interests having ordinary voting power (other than stock or such other ownership interests having such power only by reason of the happening of a contingency) to elect a majority of the board of directors or other managers of such corporation, partnership or other entity are at the time owned, or the management of which is otherwise controlled, directly or indirectly through one or more intermediaries, or both, by such Person. Unless the context otherwise requires, each reference to a Subsidiary herein shall be a reference to a Subsidiary of a Co-Borrower.\n“Term Loan” is a loan made by Bank pursuant to the terms of Section 2.1.1(a) hereof.\n“Term A Loan” is a loan made by Bank pursuant to the terms of Section 2.1.1(a) hereof.\n“Term B Loan” is a loan made by Bank pursuant to the terms of Section 2.1.1(a) hereof.\n“Term Loan Maturity Date” is March 1, 2021.\n“Term Loan Payment” is defined in Section 2.1.1(b).\n“Trademarks” means any trademark and servicemark rights, whether registered or not, applications to register and registrations of the same and like protections, and the entire goodwill of the business of a Co-Borrower connected with and symbolized by such trademarks.\n“Transfer” is defined in Section 7.1.\n“Warrants” are those certain Warrants to Purchase Stock dated as of the Effective Date, or any date theretofore or thereafter, issued by Parent in favor of Bank and Life Science Loans, LLC."}
-{"idx": 3, "level": 4, "span": "[Signature page follows.]"}
-{"idx": 3, "level": 1, "span": "IN WITNESS WHEREOF, the parties hereto have caused this Agreement to be executed as of the Effective Date."}
-{"idx": 3, "level": 1, "span": "[Signature Page to Loan and Security Agreement]"}
-{"idx": 4, "level": 1, "span": "ULURU Inc."}
-{"idx": 4, "level": 0, "span": "INDEMNIFICATION AGREEMENT\nTHIS INDEMNIFICATION AGREEMENT (the “Agreement”) is made and entered into as of March 31, 2017 between ULURU Inc., a Nevada corporation (the “Company”), and Arindam Bose (“Indemnitee”)."}
-{"idx": 4, "level": 1, "span": "WITNESSETH THAT:\nWHEREAS, highly competent persons have become more reluctant to serve corporations as directors and officers or in other capacities unless they are provided with adequate protection through insurance or adequate indemnification against inordinate risks of claims and actions against them arising out of their service to and activities on behalf of the corporation;\nWHEREAS, the Board of Directors of the Company (the “Board”) has determined that, in order to attract and retain qualified individuals, the Company will attempt to maintain on an ongoing basis, at its sole expense, liability insurance to protect persons serving the Company and its subsidiaries from certain liabilities. Although the furnishing of such insurance has been a customary and widespread practice among United States-based corporations and other business enterprises, the Company believes that, given current market conditions and trends, such insurance may be available to it in the future only at higher premiums and with more exclusions. At the same time, directors, officers, and other persons in service to corporations or business enterprises are being increasingly subjected to expensive and time-consuming litigation relating to, among other things, matters that traditionally would have been brought only against the Company or business enterprise itself. The By-laws of the Company require indemnification of the directors, officers, employees, fiduciaries and agents of the Company. Indemnitee may also be entitled to indemnification pursuant to Chapter 78 - Private Corporations, of the Nevada Revised Statutes (the “NRS”). The NRS expressly provides that the indemnification provisions set forth therein are not exclusive, and thereby contemplate that contracts may be entered into between the Company and members of the Board with respect to indemnification;\nWHEREAS, the uncertainties relating to such insurance and to indemnification have increased the difficulty of attracting and retaining such persons;\nWHEREAS, the Board has determined that the increased difficulty in attracting and retaining such persons is detrimental to the best interests of the Company's stockholders and that the Company should act to assure such persons that there will be increased certainty of such protection in the future;\nWHEREAS, it is reasonable, prudent and necessary for the Company contractually to obligate itself to indemnify, and to advance expenses on behalf of, such persons to the fullest extent permitted by applicable law so that they will serve or continue to serve the Company free from undue concern that they will not be so indemnified;\nWHEREAS, this Agreement is a supplement to and in furtherance of any indemnification provisions in the Articles of Incorporation and/or the By-laws of the Company and any resolutions adopted pursuant thereto, and shall not be deemed a substitute therefore, nor to diminish or abrogate any rights of Indemnitee thereunder;\nWHEREAS, Indemnitee does not regard the protection available under the NRS, the Company's By-laws and insurance as adequate in the present circumstances, and may not be willing to serve as an officer or a director without adequate protection, and the Company desires Indemnitee to serve in such capacity. Indemnitee is willing to serve, continue to serve and to take on additional services for or on behalf of the Company on the condition that he be so indemnified; and\nNOW, THEREFORE, in consideration of Indemnitee’s agreement to serve as a director from and after the date hereof, the parties hereto agree as follows:\n1. Indemnity of Indemnitee. The Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:\n(a) Proceedings Other Than Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful.\n(b) Proceedings by or in the Right of the Company. Indemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made.\n(c) Indemnification under NRS 78.138. Indemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138.\n(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter.\n2. Additional Indemnity. In addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful.\n3. Contribution.\n(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee. The Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee.\n(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered. The relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 4, "level": 2, "span": "1. Indemnity of Indemnitee\nThe Company hereby agrees to hold harmless and indemnify Indemnitee to the fullest extent permitted by law, as such may be amended from time to time. In furtherance of the foregoing indemnification, and without limiting the generality thereof:"}
-{"idx": 4, "level": 3, "span": "(a) Proceedings Other Than Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section l(a) if, by reason of his Corporate Status (as hereinafter defined), Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding (as hereinafter defined) other than a Proceeding by or in the right of the Company. Pursuant to this Section 1(a), the Company shall indemnify Indemnitee against all Expenses (as hereinafter defined), judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him, or on his behalf, in connection with such Proceeding or any claim, issue or matter therein, if the Indemnitee acted in good faith and in a manner the Indemnitee reasonably believed to be in or not opposed to the best interests of the Company, and with respect to any criminal Proceeding, had no reasonable cause to believe Indemnitee’s conduct was unlawful."}
-{"idx": 4, "level": 3, "span": "(b) Proceedings by or in the Right of the Company\nIndemnitee shall be entitled to the rights of indemnification provided in this Section 1(b) if, by reason of his Corporate Status, the Indemnitee is, or is threatened to be made, a party to or participant in any Proceeding brought by or in the right of the Company. Pursuant to this Section 1(b), the Company shall indemnify Indemnitee against all Expenses and amounts paid in settlement actually and reasonably incurred by Indemnitee, or on Indemnitee’s behalf, in connection with such Proceeding or any claim, issue or matters therein, if Indemnitee acted in good faith and in a manner Indemnitee reasonably believed to be in or not opposed to the best interests of the Company; provided, however, if applicable law so provides, no indemnification against such Expenses shall be made in respect of any claim, issue or matter in such Proceeding as to which Indemnitee shall have been adjudged by a court of competent jurisdiction, after exhaustion of all appeals therefrom, to be liable to the Company unless and to the extent that a court of competent jurisdiction shall determine that such indemnification may be made."}
-{"idx": 4, "level": 3, "span": "(c) Indemnification under NRS 78.138\nIndemnitee shall be entitled to the rights of indemnification provided under Section 1(a) and Section 1(b) if Indemnitee is not liable pursuant to NRS 78.138."}
-{"idx": 4, "level": 3, "span": "(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a party to and is successful, on the merits or otherwise, in any Proceeding, the Company shall indemnify Indemnitee to the maximum extent permitted by law, as such may be amended from time to time, against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith. If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with each successfully resolved claim, issue or matter. For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter."}
-{"idx": 4, "level": 2, "span": "2. Additional Indemnity\nIn addition to, and without regard to any limitations on, the indemnification provided for in Section 1 of this Agreement, the Company shall and hereby does indemnify and hold harmless Indemnitee, to the fullest extent permitted by law, as may be amended from time to time, against all Expenses, judgments, penalties, fines and amounts paid in settlement actually and reasonably incurred by him or on his behalf if, by reason of his Corporate Status, he is, or is threatened to be made, a party to or participant in any Proceeding (including a Proceeding by or in the right of the Company), including, without limitation, all liability arising out of the negligence or active or passive wrongdoing of Indemnitee. The only limitation that shall exist upon the Company’s obligations pursuant to this Agreement shall be that the Company shall not be obligated to make any payment to Indemnitee that is finally determined (under the procedures, and subject to the presumptions, set forth in Sections 6 and 7 hereof) to be unlawful."}
-{"idx": 4, "level": 2, "span": "3. Contribution."}
-{"idx": 4, "level": 3, "span": "(a) Whether or not the indemnification provided in Sections 1 and 2 hereof is available, in respect of any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall pay the entire amount of any judgment or settlement of such action, suit or proceeding without requiring Indemnitee to contribute to such payment and the Company hereby waives and relinquishes any right of contribution it may have against Indemnitee\nThe Company shall not enter into any settlement of any action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding) unless such settlement provides for a full and final release of all claims asserted against Indemnitee."}
-{"idx": 4, "level": 3, "span": "(b) Without diminishing or impairing the obligations of the Company set forth in the preceding subparagraph, if, for any reason, Indemnitee shall elect or be required to pay all or any portion of any judgment or settlement in any threatened, pending or completed action, suit or proceeding in which the Company is jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), the Company shall contribute to the amount of Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred and paid or payable by Indemnitee in proportion to the relative benefits received by the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, from the transaction from which such action, suit or proceeding arose; provided, however, that the proportion determined on the basis of relative benefit may, to the extent necessary to conform to law, be further adjusted by reference to the relative fault of the Company and all officers, directors or employees of the Company other than Indemnitee who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, in connection with the events that resulted in such expenses, judgments, fines or settlement amounts, as well as any other equitable considerations which applicable law may require to be considered\nThe relative fault of the Company and all officers, directors or employees of the Company, other than Indemnitee, who are jointly liable with Indemnitee (or would be if joined in such action, suit or proceeding), on the one hand, and Indemnitee, on the other hand, shall be determined by reference to, among other things, the degree to which their actions were motivated by intent to gain personal profit or advantage, the degree to which their liability is primary or secondary and the degree to which their conduct is active or passive."}
-{"idx": 4, "level": 3, "span": "(c) The Company hereby agrees to fully indemnify and hold Indemnitee harmless from any claims of contribution which may be brought by officers, directors or employees of the Company, other than Indemnitee, who may be jointly liable with Indemnitee.\n(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s).\n4. Indemnification for Expenses of a Witness. Notwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith.\n5. Advancement of Expenses. Notwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement.\n6. Procedures and Presumptions for Determination of Entitlement to Indemnification. It is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:\n(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification. The Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure.\n(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 4, "level": 3, "span": "(d) To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s)."}
-{"idx": 4, "level": 2, "span": "4. Indemnification for Expenses of a Witness\nNotwithstanding any other provision of this Agreement, to the extent that Indemnitee is, by reason of his Corporate Status, a witness, or is made (or asked) to respond to discovery requests, in any Proceeding to which Indemnitee is not a party, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith."}
-{"idx": 4, "level": 2, "span": "5. Advancement of Expenses\nNotwithstanding any other provision of this Agreement, the Company shall advance all Expenses incurred by or on behalf of Indemnitee in connection with any Proceeding by reason of Indemnitee’s Corporate Status within thirty (30) days after the receipt by the Company of a statement or statements from Indemnitee requesting such advance or advances from time to time, whether prior to or after final disposition of such Proceeding. Such statement or statements shall reasonably evidence the Expenses incurred by Indemnitee and, if required by law at the time of such advance, shall include or be preceded or accompanied by a written undertaking by or on behalf of Indemnitee to repay any Expenses advanced if it shall ultimately be determined by a court of competent jurisdiction that Indemnitee is not entitled to be indemnified against such Expenses. Any advances and undertakings to repay pursuant to this Section 5 shall be unsecured and interest free. In furtherance of the foregoing the Indemnitee hereby undertakes to repay such amounts advanced only if, and to the extent that, it shall ultimately be determined by a court of competent jurisdiction that the Indemnitee is not entitled to be indemnified by the Company as authorized by this Agreement."}
-{"idx": 4, "level": 2, "span": "6. Procedures and Presumptions for Determination of Entitlement to Indemnification\nIt is the intent of this Agreement to secure for Indemnitee rights of indemnity that are as favorable as may be permitted under the NRS and public policy of the State of Nevada. Accordingly, the parties agree that the following procedures and presumptions shall apply in the event of any question as to whether Indemnitee is entitled to indemnification under this Agreement:"}
-{"idx": 4, "level": 3, "span": "(a) To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification\nThe Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification. Notwithstanding the foregoing, any failure of Indemnitee to provide such a request to the Company, or to provide such a request in a timely fashion, shall not relieve the Company of any liability that it may have to Indemnitee unless, and to the extent that, the Company is actually and materially prejudiced as a direct result of such failure."}
-{"idx": 4, "level": 3, "span": "(b) Upon written request by Indemnitee for indemnification pursuant to the first sentence of Section 6(a) hereof, a determination with respect to Indemnitee’s entitlement thereto shall be made in the specific case by one of the following three methods, which shall be at the election of the Board: (i) by a majority vote of a quorum consisting of Disinterested Directors (as hereinafter defined), (ii) if a majority vote of a quorum consisting of Disinterested Directors so orders, or if a quorum of Disinterested Directors cannot be obtained, by Independent Counsel (as hereinafter defined) in a written opinion to the Board, a copy of which shall be delivered to Indemnitee, or (iii) by the stockholders of the Company."}
-{"idx": 4, "level": 3, "span": "(c) \nNotwithstanding anything to the contrary set forth in this Agreement, if a request for indemnification is made after a Change in Control, at the election of Indemnitee made in writing to the Company, any determination required to be made pursuant to Section 6(b) above as to whether Indemnitee is entitled to indemnification shall be made by Independent Counsel selected as provided in this Section 6(c). The Independent Counsel shall be selected by Indemnitee, unless Indemnitee shall request that such selection be made by the Board. The party making the selection shall give written notice to the other party advising it of the identity of the Independent Counsel so selected. The party receiving such notice may, within seven (7) days after such written notice of selection shall have been given, deliver to the other party a written objection to such selection. Such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 hereof, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made, the Independent Counsel so selected may not serve as Independent Counsel unless and until a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by the Company or Indemnitee to the other’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(c) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof. The Company shall pay any and all reasonable and necessary fees and expenses incident to the procedures of this Section 6(c), regardless of the manner in which such Independent Counsel was selected or appointed.\n(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d). The Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 4, "level": 3, "span": "(e) \nIn making a determination with respect to entitlement to indemnification hereunder, the person or persons or entity making such determination shall presume that Indemnitee is entitled to indemnification under this Agreement. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence. Neither the failure of the Company (including by its directors or independent legal counsel) to have made a determination prior to the commencement of any action pursuant to this Agreement that indemnification is proper in the circumstances because Indemnitee has met the applicable standard of conduct, nor an actual determination by the Company (including by its directors or independent legal counsel) that Indemnitee has not met such applicable standard of conduct, shall be a defense to the action or create a presumption that Indemnitee has not met the applicable standard of conduct."}
-{"idx": 4, "level": 3, "span": "(f) \nIndemnitee shall be deemed to have acted in good faith if Indemnitee’s action is based on the records or books of account of the Enterprise (as hereinafter defined), including financial statements, or on information supplied to Indemnitee by the officers of the Enterprise in the course of their duties, or on the advice of legal counsel for the Enterprise or on information or records given or reports made to the Enterprise by an independent certified public accountant or by an appraiser or other expert selected with reasonable care by the Enterprise. In addition, the knowledge and/or actions, or failure to act, of any director, officer, agent or employee of the Enterprise shall not be imputed to Indemnitee for purposes of determining the right to indemnification under this Agreement. Whether or not the foregoing provisions of this Section 6(f) are satisfied, it shall in any event be presumed that Indemnitee has at all times acted in good faith and in a manner he reasonably believed to be in or not opposed to the best interests of the Company. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence."}
-{"idx": 4, "level": 3, "span": "(g) \nNotwithstanding anything to the contrary set forth in this Agreement, if the person, persons or entity empowered or selected under Section 6 to determine whether Indemnitee is entitled to indemnification shall not have been appointed or shall not have made a determination within sixty (60) days after receipt by the Company of the request therefore, the requisite determination of entitlement to indemnification shall be deemed to have been made and Indemnitee shall be entitled to such indemnification, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s statement not materially misleading, in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law; provided, however, that such 60-day period may be extended for a reasonable time, not to exceed an additional thirty (30) days, if the person, persons or entity making such determination with respect to entitlement to indemnification in good faith requires such additional time to obtain or evaluate documentation and/or information relating thereto; and provided, further, that the foregoing provisions of this Section 6(g) shall not apply if the determination of entitlement to indemnification is to be made by the stockholders pursuant to Section 6(b) of this Agreement and if (A) within fifteen (15) days after receipt by the Company of the request for such determination, the Disinterested Directors resolve as required by Section 6(b)(iii) of this Agreement to submit such determination to the stockholders for their consideration at an annual meeting thereof to be held within seventy-five (75) days after such receipt and such determination is made thereat, or (B) a special meeting of stockholders is called within fifteen (15) days after such receipt for the purpose of making such determination, such meeting is held for such purpose within sixty (60) days after having been so called and such determination is made thereat."}
-{"idx": 4, "level": 3, "span": "(h) \nIndemnitee shall cooperate with the person, persons or entity making such determination with respect to Indemnitee’s entitlement to indemnification, including providing to such person, persons or entity upon reasonable advance request any documentation or information which is not privileged or otherwise protected from disclosure and which is reasonably available to Indemnitee and reasonably necessary to such determination. Any Independent Counsel or member of the Board or stockholder of the Company shall act reasonably and in good faith in making a determination regarding Indemnitee’s entitlement to indemnification under this Agreement. Any costs or expenses (including attorneys’ fees and disbursements) incurred by Indemnitee in so cooperating with the person, persons or entity making such determination shall be borne by the Company (irrespective of the determination as to Indemnitee’s entitlement to indemnification) and the Company hereby indemnifies and agrees to hold Indemnitee harmless therefrom."}
-{"idx": 4, "level": 4, "span": "(i) \nThe Company acknowledges that a settlement or other disposition, including a conviction or a plea of nolo contendere, short of final judgment may be successful if it permits a party to avoid expense, delay, distraction, disruption and uncertainty. In the event that any action, claim or proceeding to which Indemnitee is a party is resolved in any manner other than by adverse judgment against Indemnitee (including, without limitation, settlement of such action, claim or proceeding with or without payment of money or other consideration) it shall be presumed that Indemnitee has been successful on the merits or otherwise in such action, suit or proceeding, and it shall not create a presumption that the Indemnitee did not act in good faith and in a manner reasonably believed to be in or not opposed to the best interest of the Company or that, with respect to any criminal Proceeding, the Indemnitee had reasonable cause to believe that his conduct unlawful. Anyone seeking to overcome this presumption shall have the burden of proof and the burden of persuasion by clear and convincing evidence.\n(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful.\n7. Remedies of Indemnitee.\n(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association. The Company shall not oppose Indemnitee’s right to seek any such adjudication.\n(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement.\n(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law.\n(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery.\n(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement. The Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be.\n8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation.\n(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing. No amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise.\n(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies. If, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies.\n(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 4, "level": 3, "span": "(j) The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful."}
-{"idx": 4, "level": 2, "span": "7. Remedies of Indemnitee."}
-{"idx": 4, "level": 3, "span": "(a) In the event that (i) a determination is made pursuant to Section 6 of this Agreement that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 5 of this Agreement, (iii) no determination of entitlement to indemnification is made pursuant to Section 6(b) or Section 6(c) of this Agreement within sixty (60) days after receipt by the Company of the request for indemnification, (iv) payment of indemnification is not made pursuant to this Agreement within ten (10) days after receipt by the Company of a written request therefor or (v) payment of indemnification is not made within ten (10) days after a determination has been made that Indemnitee is entitled to indemnification or such determination is deemed to have been made pursuant to Section 6 of this Agreement, Indemnitee shall be entitled to an adjudication of Indemnitee’s entitlement to such indemnification or advancement of expenses either, at the Indemnitee’s sole option, in (1) an appropriate court of the State of Nevada, or any other court of competent jurisdiction, or (2) an arbitration to be conducted by a single arbitrator, selected by mutual agreement of the Company and Indemnitee, pursuant to the rules of the American Arbitration Association\nThe Company shall not oppose Indemnitee’s right to seek any such adjudication."}
-{"idx": 4, "level": 3, "span": "(b) In the event that a determination shall have been made pursuant to Section 6(b) or Section 6(c) of this Agreement that Indemnitee is not entitled to indemnification, (i) any judicial proceeding or arbitration commenced pursuant to this Section 7 shall be conducted in all respects de novo on the merits, and Indemnitee shall not be prejudiced by reason of the adverse determination under Section 6(b) or Section 6(c); and (ii) in any such judicial proceeding or arbitration, the Company shall have the burden of proving that Indemnitee is not entitled to indemnification under this Agreement."}
-{"idx": 4, "level": 3, "span": "(c) If a determination shall have been made pursuant to Section 6(b) or Section 6(c), or shall have been deemed to have been made pursuant to Section 6(g), of this Agreement that Indemnitee is entitled to indemnification, the Company shall be obligated to pay the amounts constituting such indemnification within five (5) days after such determination has been made or has been deemed to have been made and shall be conclusively bound by such determination in any judicial proceeding commenced pursuant to this Section 7, unless the Company establishes by written opinion of Independent Counsel that (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s misstatement not materially misleading in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law."}
-{"idx": 4, "level": 3, "span": "(d) In the event that Indemnitee, pursuant to this Section 7, seeks a judicial adjudication of, or an award in arbitration to enforce, his rights under, or to recover damages for breach of, this Agreement, or to recover under any directors’ and officers’ liability insurance policies maintained by the Company, the Company shall pay to him or on his behalf, in advance, and shall indemnify him against, any and all expenses (of the types described in the definition of Expenses in Section 13 of this Agreement) actually and reasonably incurred by him in such judicial adjudication or arbitration, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of expenses or insurance recovery."}
-{"idx": 4, "level": 3, "span": "(e) The Company shall be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 7 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement\nThe Company shall indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefore) advance, to the extent not prohibited by law, such expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors' and officers' liability insurance policies maintained by the Company, regardless of whether Indemnitee ultimately is determined to be entitled to such indemnification, advancement of Expenses or insurance recovery, as the case may be."}
-{"idx": 4, "level": 2, "span": "8. Non-Exclusivity; Survival of Rights; Insurance; Subrogation."}
-{"idx": 4, "level": 3, "span": "(a) The rights of indemnification and advancement of expenses as provided by this Agreement shall not be deemed exclusive of, and shall be in addition to, any other rights to which Indemnitee may at any time be entitled under applicable law, the Articles of Incorporation or By-laws of the Company, any agreement, a vote of stockholders, a resolution of directors or otherwise, and nothing in this Agreement shall diminish or otherwise restrict Indemnitee’s rights to indemnification or advancement of expenses under the foregoing\nNo amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal. To the extent that a change in the NRS, whether by statute or judicial decision, permits greater indemnification than would be afforded currently under the Company’s Articles of Incorporation, By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change and Indemnitee shall be deemed to have such greater benefits hereunder. No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise. The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy. The Company shall not adopt any amendments to its Articles of Incorporation or By-laws, the effect of which would be to deny, diminish or encumber Indemnitee’s right to indemnification or advancement of expenses under this Agreement, any other agreement or otherwise."}
-{"idx": 4, "level": 3, "span": "(b) To the extent that the Company maintains an insurance policy or policies providing liability insurance for directors, officers, employees, or agents or fiduciaries of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person serves at the request of the Company, Indemnitee shall be covered by such policy or policies in accordance with its or their terms to the maximum extent of the coverage available for any director, officer, employee, agent or fiduciary under such policy or policies\nIf, at the time of the receipt of a notice of a claim pursuant to the terms hereof, the Company has director and officer liability insurance in effect, the Company shall give prompt notice of the commencement of such proceeding to the insurers in accordance with the procedures set forth in the respective policies. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such proceeding in accordance with the terms of such policies."}
-{"idx": 4, "level": 3, "span": "(c) In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights (with all of Indemnitee’s reasonable expenses, including, without limitation, attorneys’ fees and charges, related thereto to be reimbursed by or, at the option of Indemnitee, advanced by the Company)."}
-{"idx": 4, "level": 3, "span": "(d) If the determination of entitlement to indemnification is to be made by Independent Counsel pursuant to Section 6(b) hereof, the Independent Counsel shall be selected as provided in this Section 6(d)\nThe Independent Counsel shall be selected by the Board. Indemnitee may, within ten (10) days after such written notice of selection shall have been given, deliver to the Company a written objection to such selection; provided, however, that such objection may be asserted only on the ground that the Independent Counsel so selected does not meet the requirements of “Independent Counsel” as defined in Section 13 of this Agreement, and the objection shall set forth with particularity the factual basis of such assertion. Absent a proper and timely objection, the person so selected shall act as Independent Counsel. If a written objection is made and substantiated, the Independent Counsel selected may not serve as Independent Counsel unless and until such objection is withdrawn or a court has determined that such objection is without merit. If, within twenty (20) days after submission by Indemnitee of a written request for indemnification pursuant to Section 6(a) hereof, no Independent Counsel shall have been selected (or, if selected, such selection shall have been objected to) in accordance with this paragraph, then either the Company or Indemnitee may petition the appropriate courts of the State of Nevada or other court of competent jurisdiction for resolution of any objection which shall have been made by Indemnitee to the Company’s selection of Independent Counsel and/or for the appointment as Independent Counsel of a person selected by the court or by such other person as the court shall designate, and the person with respect to whom an objection is favorably resolved or the person so appointed shall act as Independent Counsel under Section 6(b) hereof. The Company shall pay any and all reasonable fees and expenses of Independent Counsel incurred by such Independent Counsel in connection with acting pursuant to Section 6(b) hereof, and the Company shall pay any and all reasonable fees and expenses incident to the procedures of this Section 6(d), regardless of the manner in which such Independent Counsel was selected or appointed."}
-{"idx": 4, "level": 3, "span": "(d) \nThe Company shall not be liable under this Agreement to make any payment of amounts otherwise indemnifiable hereunder if and to the extent that Indemnitee has otherwise actually received such payment under any insurance policy, contract, agreement or otherwise.\n(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise.\n9. Exception to Right of Indemnification. Notwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:\n(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or\n(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or\n(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 4, "level": 2, "span": "10. "}
-{"idx": 4, "level": 4, "span": "Retroactive Effect; Duration of Agreement; Successors and Binding Agreement. All agreements and obligations of the Company contained herein shall be deemed to have become effective upon the date Indemnitee first became an officer or director of the Company; shall continue during the period Indemnitee is an officer or a director of the Company (or is or was serving at the request of the Company as a director, officer, employee or agent of another corporation, partnership, joint venture, trust or other enterprise); and shall continue thereafter so long as Indemnitee may be subject to any Proceeding (or any proceeding commenced under Section 7 hereof) by reason of his Corporate Status, whether or not he is acting or serving in any such capacity at the time any liability or expense is incurred for which indemnification can be provided under this Agreement. This Agreement shall be binding upon and inure to the benefit of and be enforceable by the parties hereto and their respective successors (including any direct or indirect successor by purchase, merger, consolidation, reorganization or otherwise to all or substantially all of the business or assets of the Company), assigns, spouses, heirs, executors and personal and legal representatives. The Company shall require any such successor to all or substantially all of the business or assets of the Company, by agreement in form and substance satisfactory to Indemnitee and his counsel, expressly to assume and agree to perform this Agreement in the same manner and to the same extent the Company would be required to perform if no such succession had taken place. Except as otherwise set forth in this Section 10, this Agreement shall not be assignable or delegable by the Company.\n11. Security. To the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee.\n12. Enforcement.\n(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company.\n(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof.\n13. Definitions. For purposes of this Agreement:\n(a) “Change in Control” means the occurrence of any one of the following events:\n(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);\n(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;\n(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);\n(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or\n(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company.\nNotwithstanding the foregoing, a Change in Control shall not be deemed to occur solely because any person acquires beneficial ownership of 35% or more of the Company Voting Securities as a result of the acquisition of Company Voting Securities by the Company which reduces the number of Company Voting Securities outstanding; provided, that, if after such acquisition by the Company such person becomes the beneficial owner of additional Company Voting Securities that increases the percentage of outstanding Company Voting Securities beneficially owned by such person, a Change in Control shall then occur.\n(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company.\n(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee.\n(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary.\n(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding. Expenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee.\n(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder. Notwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 4, "level": 1, "span": "SIGNATURE PAGE TO FOLLOW\nIN WITNESS WHEREOF, the parties hereto have executed this Indemnification Agreement on and as of the day and year first above written."}
-{"idx": 4, "level": 2, "span": "11. Security\nTo the extent requested by Indemnitee and approved by the Board of the Company, the Company may at any time and from time to time provide security to Indemnitee for the Company’s obligations hereunder through an irrevocable bank line of credit, funded trust or other collateral. Any such security, once provided to Indemnitee, may not be revoked or released without the prior written consent of the Indemnitee."}
-{"idx": 4, "level": 2, "span": "12. Enforcement."}
-{"idx": 4, "level": 3, "span": "(a) The Company expressly confirms and agrees that it has entered into this Agreement and assumes the obligations imposed on it hereby in order to induce Indemnitee to serve, or continue to serve, as an officer or a director of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as an officer or a director of the Company."}
-{"idx": 4, "level": 3, "span": "(b) This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof."}
-{"idx": 4, "level": 2, "span": "13. Definitions\nFor purposes of this Agreement:"}
-{"idx": 4, "level": 3, "span": "(a) “Change in Control” means the occurrence of any one of the following events:"}
-{"idx": 4, "level": 4, "span": "(i) any “person” (as such term is defined in Section 3(a)(9) of the Exchange Act and as used in Sections 13(d)(3) and 14(d)(2) of the Exchange Act) is or becomes a “beneficial owner” (as defined in Rule 13d-3 under the Exchange Act), directly or indirectly, of securities of the Company representing 35% or more of the combined voting power of the Company’s then outstanding securities eligible to vote for the election of the Board (the “Company Voting Securities”); provided, however, that the event described in this paragraph (i) shall not be deemed to be a Change in Control by virtue of any of the following acquisitions: (A) by the Company or any subsidiary; (B) by any employee benefit plan (or related trust) sponsored or maintained by the Company or any subsidiary; (C) by any underwriter temporarily holding securities pursuant to an offering of such securities; (D) pursuant to a Non-Control Transaction (as defined in paragraph (iii) below); or (E) a transaction (other than one described in paragraph (iii) below) in which Company Voting Securities are acquired from the Company, if a majority of the Incumbent Board (as defined in paragraph (ii) below) approves a resolution providing expressly that the acquisition pursuant to this clause (E) does not constitute a Change in Control under this paragraph (i);"}
-{"idx": 4, "level": 4, "span": "(ii) individuals who, on June 17, 2009, constitute the Board (the “Incumbent Board”) cease for any reason to constitute at least a majority thereof, provided that any person becoming a director subsequent to June 17, 2009, whose election or nomination for election was approved by a vote of at least two-thirds of the directors comprising the Incumbent Board (either by a specific vote or by approval of the proxy statement of the Company in which such person is named as a nominee for director, without objection to such nomination) shall be considered a member of the Incumbent Board; provided, however, that no individual initially elected or nominated as a director of the Company as a result of an actual or threatened election contest with respect to directors or any other actual or threatened solicitation of proxies or consents by or on behalf of any person other than the Board shall be deemed to be a member of the Incumbent Board;"}
-{"idx": 4, "level": 4, "span": "(iii) the consummation of a merger, consolidation, share exchange or similar form of corporate transaction involving the Company or any of its subsidiaries that requires the approval of the Company’s stockholders (whether for such transaction or the issuance of securities in the transaction or otherwise) (a “Reorganization”), unless immediately following such Reorganization: (A) more than 60% of the total voting power of (x) the corporation resulting from such Reorganization (the “Surviving Company”), or (y) if applicable, the ultimate parent corporation that directly or indirectly has beneficial ownership of 95% of the voting securities eligible to elect directors of the Surviving Company (the “Parent Company”), is represented by Company Voting Securities that were outstanding immediately prior to such Reorganization (or, if applicable, is represented by shares into which such Company Voting Securities were converted pursuant to such Reorganization), and such voting power among the holders thereof is in substantially the same proportion as the voting power of such Company Voting Securities among holders thereof immediately prior to the Reorganization; (B) no person (other than any employee benefit plan (or related trust) sponsored or maintained by the Surviving Company or the Parent Company) is or becomes the beneficial owner, directly or indirectly, of 20% or more of the total voting power of the outstanding voting securities eligible to elect directors of the Parent Company (or, if there is no Parent Company, the Surviving Company); and (C) at least a majority of the members of the board of directors of the Parent Company (or, if there is no Parent Company, the Surviving Company) following the consummation of the Reorganization were members of the Incumbent Board at the time of the Board’s approval of the execution of the initial agreement providing for such Reorganization (any Reorganization which satisfies all of the criteria specified in (A), (B) and (C) above shall be deemed to be a “Non-Control Transaction”);"}
-{"idx": 4, "level": 4, "span": "(iv) the stockholders of the Company approve a plan of complete liquidation or dissolution; or"}
-{"idx": 4, "level": 4, "span": "(v) the consummation of a sale (or series of sales) of all or substantially all of the assets of the Company and its subsidiaries to an entity that is not an affiliate of the Company."}
-{"idx": 4, "level": 3, "span": "(b) “Corporate Status” describes the status of a person who is or was a director, officer, employee, agent or fiduciary of the Company or of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that such person is or was serving at the request of the Company."}
-{"idx": 4, "level": 3, "span": "(c) “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee."}
-{"idx": 4, "level": 3, "span": "(d) “Enterprise” shall mean the Company and any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise that Indemnitee is or was serving at the express written request of the Company as a director, officer, employee, agent or fiduciary."}
-{"idx": 4, "level": 3, "span": "(e) “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees and all other disbursements or expenses of the types customarily incurred or actually incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, participating, or being or preparing to be a witness in a Proceeding, or responding to, or objecting to, a request to provide discovery in a Proceeding\nExpenses also shall include Expenses incurred in connection with any appeal resulting from any Proceeding, and any federal, state, local or foreign taxes imposed on the Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, including, without limitation, the premium, security for, and other costs relating to any cost bond, supersede as bond, or other appeal bond or its equivalent. Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee."}
-{"idx": 4, "level": 3, "span": "(f) “Independent Counsel” means a law firm, or a member of a law firm, that is experienced in matters of corporation law and neither presently is, nor in the past five (5) years has been, retained to represent: (i) the Company or Indemnitee in any matter material to either such party (other than with respect to matters concerning Indemnitee under this Agreement, or of other indemnitees under similar indemnification agreements), or (ii) any other party to the Proceeding giving rise to a claim for indemnification hereunder\nNotwithstanding the foregoing, the term “Independent Counsel” shall not include any person who, under the applicable standards of professional conduct then prevailing, would have a conflict of interest in representing either the Company or Indemnitee in an action to determine Indemnitee’s rights under this Agreement. The Company agrees to pay the reasonable fees of the Independent Counsel referred to above and to fully indemnify such counsel against any and all Expenses, claims, liabilities and damages arising out of or relating to this Agreement or its engagement pursuant hereto."}
-{"idx": 4, "level": 3, "span": "(e) The Company's obligation to indemnify or advance Expenses hereunder to Indemnitee who is or was serving at the request of the Company as a director, officer, employee or agent of any other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of expenses from such other corporation, partnership, joint venture, trust, employee benefit plan or other enterprise."}
-{"idx": 4, "level": 2, "span": "9. Exception to Right of Indemnification\nNotwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:"}
-{"idx": 4, "level": 3, "span": "(a) for which payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision, except with respect to any excess beyond the amount paid under any insurance policy or other indemnity provision; or"}
-{"idx": 4, "level": 3, "span": "(b) for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), or similar provisions of state statutory law or common law; or"}
-{"idx": 4, "level": 3, "span": "(c) in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board of the Company authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law."}
-{"idx": 4, "level": 1, "span": "ULURU Inc."}
-{"idx": 4, "level": 1, "span": "By"}
-{"idx": 4, "level": 1, "span": ":/s/ Terrance K. Wallberg \nName: Terrance K. Wallberg \nTitle: Vice President & Chief Financial Officer "}
-{"idx": 4, "level": 1, "span": "INDEMNITEE"}
-{"idx": 4, "level": 1, "span": "/s/ Arindam Bose_________________________"}
-{"idx": 4, "level": 1, "span": "Arindam Bose\nAddress:"}
-{"idx": 5, "level": 0, "span": "THIRD AMENDMENT TO MASTER LEASE\nTHIS THIRD AMENDMENT TO MASTER LEASE (this “Amendment”) is made and effective as of March 24, 2017 (the\n“Effective Date”), by and between GOLD MERGER SUB, LLC, a Delaware limited liability company, having an office at c/o Gaming and Leisure Properties, Inc., 845 Berkshire Blvd., Suite 200, Wyomissing, Pennsylvania 19610, as landlord\n(together with its permitted successors and assigns, “Landlord”), and PINNACLE MLS, LLC, a Delaware limited liability company, having an office at 3980 Howard Hughes Parkway, Las Vegas, Nevada 89169, as tenant (together with its\npermitted successors and assigns, “Tenant”)."}
-{"idx": 5, "level": 1, "span": "W I T N E S S E T H:\nWHEREAS, Pinnacle Entertainment, Inc. (as predecessor by merger to Landlord) (“Pinnacle”), as landlord, and\nTenant, as tenant, entered into that certain Master Lease, dated as of April 28, 2016, as amended by that certain First Amendment to Master Lease, dated as of August 29, 2016, by and between Landlord and Tenant, as further amended by that\ncertain Second Amendment to Master Lease, dated as of October 25, 2016, by and between Landlord and Tenant (as amended, the “Master Lease”; capitalized terms used and not otherwise defined herein shall have the respective\nmeanings ascribed to them in the Master Lease);\nWHEREAS, pursuant to that certain Merger Agreement, dated as of\nJuly 20, 2015, by and among Pinnacle, Landlord, and Gaming and Leisure Properties, Inc. (“GLPI”), as amended by that certain Amendment No. 1 to Agreement and Plan of Merger, dated as of March 25, 2016, by and among\nPinnacle, Landlord, and GLPI, Pinnacle merged with and into Landlord on April 28, 2016, and Pinnacle’s interest in the Master Lease was transferred to Landlord by operation of law;\nWHEREAS, Pinnacle, PNK Entertainment, Inc. (“PNK”), and GLPI entered into that certain Separation and\nDistribution Agreement, dated as of April 28, 2016 (the “SDA”), to effect the Reorganization and the Distribution (each as defined in the SDA);\nWHEREAS, pursuant to Section 2.5(b) of the SDA, PNK caused its subsidiary, PNK Vicksburg, LLC, to execute and deliver a\nquitclaim deed, dated as of April 28, 2016 (the “Original Vicksburg Deed”), in favor of Pinnacle Entertainment, Inc. (predecessor-in-interest to Landlord) for certain Pinnacle Real Property (as defined in the SDA) located in\nthe City of Vicksburg, Mississippi;\nWHEREAS, a portion of the Pinnacle Real Property located in the City of Vicksburg,\nMississippi (the “Additional Vicksburg Property”) was not included in the Original Vicksburg Deed and, pursuant to Section 6.1 of the SDA, PNK caused PNK Vicksburg, LLC to execute and deliver an additional quitclaim deed, dated\nas of the date hereof, in favor of Landlord for the Additional Vicksburg Property; and\nWHEREAS, Landlord and Tenant each\ndesire to amend the Master Lease to amend “Exhibit B” attached thereto to add the legal description of the Additional Vicksburg Property, as more fully described herein.\nNOW, THEREFORE, in consideration of the provisions set forth in the Master Lease\nas amended by this Amendment, including, but not limited to, the mutual representations, warranties, covenants and agreements contained therein and herein, and for other good and valuable consideration, the receipt and sufficiency of which are\nhereby respectively acknowledged, and subject to the terms and conditions thereof and hereof, the parties, intending to be legally bound, hereby agree that the Master Lease shall be amended as follows:"}
-{"idx": 5, "level": 2, "span": "ARTICLE I"}
-{"idx": 5, "level": 2, "span": "AMENDMENT OF\nEXHIBIT B TO THE MASTER LEASE\n1.1 The parties hereby agree that\n“Exhibit B” of the Master Lease shall be amended as follows:\n(a) On page B-76 of “Exhibit B” and with respect to\nAmeristar Vicksburg, the following text shall be inserted as a new paragraph after the end of the last paragraph of the legal description on page B-76, and such Land described below shall be Leased Property under the Master Lease:"}
-{"idx": 5, "level": 2, "span": "TRACT FIFTEEN\nThat certain\nparcel conveyed to Riverview Development Company, LLC by Delta Land Company, Inc. as recorded in Deed Book 1208 at Page 553 of the Land Records of Warren County, being part of Section 31, Township 16 North, Range 3 East, Vicksburg, Warren\nCounty, Mississippi, containing in the aggregate 0.22 acres, and being more particularly described as follows:\nCommencing at that certain\nVicksburg National Military Park Monument #379, run thence South 10 degrees 37 minutes 48 seconds East, 393.30 feet, more or less, to a found iron marking the northwest corner of the herein described tract and the point of beginning; from said point\nrun thence South 73 degrees 00 minutes 00 seconds East, 51.13 feet to the apparent westerly right of way of Washington Street, as it presently exists; thence along said apparent right of way, South 21 degrees 28 minutes 23 seconds West, 200.01 feet\nto a point; thence leaving said right of way and run North 54 degrees 00 minutes 00 seconds West, 52.00 feet to a point; thence run North 21 degrees 16 minutes 25 seconds East, 182.98 feet to the point of beginning, a plat whereof prepared by CTSI\nbeing attached hereto as Schedule 1.1 and incorporated herein in aid of description of the property herein described and conveyed and for all other purposes in the construction of this instrument.\n(b) “Exhibit B” to the Master Lease is hereby amended by inserting\nSchedule 1.1 attached hereto after the last page of “Exhibit B” to the Master Lease.\n1.2 For the avoidance of any doubt, the parties hereby agree that the attached Exhibit\nB incorporates and reflects the amendments set forth in Section 1.1 above and may be attached and affixed to the Master Lease as an amended and restated “Exhibit B”."}
-{"idx": 5, "level": 3, "span": "(b) “Exhibit B” to the Master Lease is hereby amended by inserting\nSchedule 1.1 attached hereto after the last page of “Exhibit B” to the Master Lease."}
-{"idx": 5, "level": 3, "span": "(a) On page B-76 of “Exhibit B” and with respect to\nAmeristar Vicksburg, the following text shall be inserted as a new paragraph after the end of the last paragraph of the legal description on page B-76, and such Land described below shall be Leased Property under the Master Lease:"}
-{"idx": 5, "level": 2, "span": "ARTICLE II"}
-{"idx": 5, "level": 2, "span": "AMENDMENT TO MEMORANDUM OF LEASE\nLandlord and Tenant shall enter into one or more amendments to any memorandum of lease which may be been recorded in accordance with Article\nXXXIII of the Master Lease, in form suitable for recording in each county in which a Leased Property is located which amendment is pursuant to this Amendment. Tenant shall pay all costs and expenses of recording any such amendment to memorandum of\nlease and shall fully cooperate with Landlord in removing from record any such memorandum of lease upon the expiration or earlier termination of the Term with respect to the applicable Facility."}
-{"idx": 5, "level": 2, "span": "ARTICLE III"}
-{"idx": 5, "level": 2, "span": "AUTHORITY\nTO ENTER INTO AMENDMENT\nEach party represents and warrants to the other that: (i) this Amendment and all other documents\nexecuted or to be executed by it in connection herewith have been duly authorized and shall be binding upon it; (ii) it is duly organized, validly existing and in good standing under the laws of the state of its formation and is duly authorized\nand qualified to perform this Amendment and the Master Lease, as amended hereby, within the State(s) where any portion of the Leased Property is located, and (iii) neither this Amendment or the Master Lease, as amended hereby, nor any other\ndocument executed or to be executed in connection herewith, violates the terms of any other agreement of such party."}
-{"idx": 5, "level": 2, "span": "ARTICLE IV"}
-{"idx": 5, "level": 2, "span": "MISCELLANEOUS\n4.1 Costs and Expenses; Fees. Each party shall be responsible for and\nbear all of its own expenses incurred in connection with pursuing or consummating this Amendment and the transactions contemplated by this Amendment, including, but not limited to, fees and expenses, legal counsel, accountants, and other\nfacilitators and advisors.\n4.2 Choice of Law and Forum Selection\nClause. This Amendment shall be construed and interpreted, and the rights of the parties shall be determined, in accordance with the substantive Laws of the State of New York without regard to the conflict of law principles thereof or of any\nother jurisdiction\n4.3 Counterparts; Facsimile Signatures This\nAmendment may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one and the same instrument. In proving this Amendment, it shall not be necessary to produce or account for\nmore than one such counterpart signed by the party against whom enforcement is sought. Any counterpart may be executed by facsimile or pdf signature and such facsimile or pdf signature shall be deemed an original.\n4.4. No Further Modification. Except as modified hereby, the Master\nLease remains in full force and effect.\n[SIGNATURE PAGE TO\nFOLLOW]"}
-{"idx": 5, "level": 1, "span": "IN WITNESS WHEREOF"}
-{"idx": 5, "level": 2, "span": "SECTION 12: NORTH HALF (N 1/2) OF THE NORTHEAST QUARTER (NE 1/4) OF THE NORTHWEST QUARTER (NW 1/4) OF THE\nNORTHWEST QUARTER (NW 1/4); AND THE NORTHWEST QUARTER (NW 1/4) OF THE NORTHWEST QUARTER (NW 1/4) OF THE NORTHEAST QUARTER (NE 1/4) OF THE NORTHWEST QUARTER (NW 1/4);"}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THAT PORTION OF SECTION 12 LYING ADJACENT AND CONTIGUOUS TO THE ABOVE DESCRIBED PARCELS OF LAND AS ABANDONED BY RESOLUTION OF\nABANDONMENT DATED OCTOBER 19, 1981, EXECUTED BY THE STATE OF NEVADA, DEPARTMENT OF TRANSPORTATION AND RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 636, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "EXCEPTING THEREFROM THAT CERTAIN PARCEL OF LAND CONVEYED TO THE UNINCORPORATED TOWN OF JACKPOT BY DEED RECORDED JUNE 24, 1982, IN BOOK 394,\nPAGE 107, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "PARCEL 8:"}
-{"idx": 5, "level": 2, "span": "LOT 1 OF THE REVISED FIRST ADDITION, TOWN OF JACKPOT, AS SHOWN ON THE OFFICIAL MAP THEREOF FILED IN THE OFFICE OF THE COUNTY RECORDER OF ELKO\nCOUNTY, STATE OF NEVADA, ON MARCH 29, 1976, AS FILE NO. 97220."}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THAT PORTION OF SECTION 1, TOWNSHIP 47 NORTH, RANGE 64 EAST,\nMDB&M., WHICH LIES ADJACENT AND CONTIGUOUS TO THE ABOVE DESCRIBED PARCEL, AS ABANDONED BY RESOLUTION OF ABANDONMENT\nEx. B-14"}
-{"idx": 5, "level": 2, "span": "DATED OCTOBER 19, 1981, EXECUTED BY THE STATE OF NEVADA, DEPARTMENT OF TRANSPORTATION AND RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 636, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "PARCEL 9:"}
-{"idx": 5, "level": 2, "span": "LOT 17-A OF THE\nREVISED FIRST ADDITION, TOWN OF JACKPOT, AS SHOWN ON THE OFFICIAL MAP THEREOF FILED IN THE OFFICE OF THE COUNTY RECORDER OF ELKO COUNTY, STATE OF NEVADA, ON MARCH 29, 1976, AS FILE NO. 97220."}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THAT PORTION OF SECTION 1, TOWNSHIP 47 NORTH, RANGE 64 EAST, MDB&M., WHICH LIES ADJACENT AND CONTIGUOUS TO THE ABOVE\nDESCRIBED PARCEL, AS ABANDONED BY RESOLUTION OF ABANDONMENT EXECUTED BY THE STATE OF NEVADA, DEPARTMENT OF TRANSPORTATION AND RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 636, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "FURTHER EXCEPTING THEREFROM THAT PORTION OF LOT 17-A WHICH IS SITUATE WITHIN THE 60.00 FOOT RIGHT OF WAY, ALONG AND CONTIGUOUS TO THE EASTERLY\nBOUNDARY OF U.S. HIGHWAY 93, AS CONVEYED TO THE STATE OF NEVADA BY DEED RECORDED FEBRUARY 08, 1982, IN BOOK 381, PAGE 642, OFFICIAL RECORDS, ELKO COUNTY, NEVADA."}
-{"idx": 5, "level": 2, "span": "NOTE: ALL THE ABOVE METES AND BOUNDS DESCRIPTIONS PREVIOUSLY APPEARED IN THAT CERTAIN DOCUMENT RECORDED APRIL 18, 2011 AS INSTRUMENT 639017\nELKO COUNTY OFFICIAL RECORDS."}
-{"idx": 5, "level": 2, "span": "PARCEL 10:"}
-{"idx": 5, "level": 2, "span": "LOT 16 OF THE REVISED FIRST ADDITION, TOWN OF JACKPOT, AS SHOWN ON THE OFFICIAL MAP THEREOF FILED IN THE OFFICE OF THE COUNTY RECORDER OF ELKO\nCOUNTY, STATE OF NEVADA, ON MARCH 29, 1976, AS FILE NO. 97220.\nEx. B-15"}
-{"idx": 5, "level": 3, "span": "Belterra Resort\nTract 1:\nA part of Section 1, Township 1 North, Range 2 West, located in York Township of Switzerland County, Indiana, described\nas follows: Commencing at the Northwest corner, fractional Section 1, Township 1 North, Range 2 West; thence South 88 degrees 41 minutes 00 seconds East 2801.00 feet (deed); thence South 02 degrees 55 minutes 00 West 1265.00 feet (deed) to an\niron bar found being the actual Point of Beginning; thence continuing South 02 degrees 55 minutes 00 seconds West 270.00 feet to a P.K. Nail found in the centerline of State Road 156; thence along said centerline North 88 degrees 41 minutes 00\nseconds West, 175.00 feet to a P.K. Nail set; thence North 02 degrees 55 minutes 00 seconds East, 270.00 feet to a T-Bar set; thence South 88 degrees 41 minutes 00 seconds East 175.00 feet to the Point of Beginning.\nTract 2:\nBeing a part of fractional Section 1, Township 1 North, Range 2 West in Switzerland County, Indiana; beginning on the\nNorth-South Quarter Section line at a United States Army Corps of Engineers Marker that is 1,266.73 feet South of its intersection with the center line of State Highway No. 156, running thence South 77 degrees West 198 feet along the U.S.\nGovernment property and marked by an iron stake; thence North 8 degrees West 143 feet to an iron stake in a garden fence; thence South 90 degrees East, 214 feet to the Quarter Section line; thence South 90 feet to the Place of Beginning.\nTogether with right of ingress and egress over the present existing highway leading to and from the above-described tract of\nland to Indiana State Highway No. 156.\nTract 3:\nBeing a part of fractional Section 1, Township 1 North, Range 2 West and part of Section 36, Township 2 North, Range\n2 West of the First Principal Meridian located in York Township of Switzerland County, Indiana, and being part of Tract 3 of the Daniel Vincent Dufour Real Estate Partition as recorded in the complete record of the Probate Court of Switzerland\nCounty, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and further described as follows: Commencing at an iron pin at the Northwest corner of Section 1, Township 1 North, Range 2 West, thence North\n89 degrees 49 minutes 48 seconds East with the North line of said Section 1, 398.91 feet to a rebar in the line dividing Tract 3 and Tract 4 of the Daniel Vincent Dufour real estate partition and the true Point of Beginning; thence North 00\ndegrees 26 minutes 26 seconds West with the prolongation of the line dividing Tract 3 and Tract 4 of said Dufour’s partition, and along the West boundary of the parent tract of land (Hunt\nEx. B-16\nD.R. 88, P. 50), 14.94 feet to a rebar; thence severing said parent tract of land the following eight courses and distances: North 52 degrees 09 minutes 19 seconds East, 204.19 feet to a rebar;\nthence South 86 degrees 28 minutes 37 seconds East, 69.95 feet to a rebar; thence South 86 degrees 18 minutes 27 seconds East, 49.04 feet to a rebar; thence South 24 degrees 23 minutes 06 seconds East, 38.12 feet to a rebar; thence South 00 degrees\n06 minutes 26 seconds West, 129.95 feet to a rebar; thence South 43 degrees 29 minutes 26 seconds East, 212.31 feet to a rebar; thence South 85 degrees 14 minutes 06 seconds East, 360.23 feet to a rebar; thence North 83 degrees 22 minutes 31 seconds\nEast, 151.68 feet to a rebar in the line dividing Tract 2 and 3 of said Dufour’s partition, said point along being in the boundary of said Hunt parent Tract of land; thence with the boundary of said parent Tract of land the following three\ncourses: South 00 degrees 03 minutes 18 seconds East, 428.78 feet to rebar; thence South 89 degrees 49 minutes 57 seconds West, 942.57 feet to a rebar in the line dividing Tract 3 and Tract 4 of said Dufour’s partition; thence North 00 degrees\n26 minutes 28 seconds West with said line, 646.46 feet to the Point of Beginning.\nTract 4:\nBeing a part of fractional Section 1 and fractional Section 2, Township 1 North, Range 2 West and part of\nSection 35, Township 2 North, Range 2 West of the first principal meridian and located in York Township of Switzerland County, Indiana, and being part of Tract 4 of the Daniel Vincent Dufour’s real estate partition as recorded in the\ncomplete record of the Probate Court of Switzerland County, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and further described as follows:\nBeginning at an iron pin at the Northwest corner of Section 1, Township 1 North, Range 2 West, thence with the boundary\nof the Thomas J. and Christine R. McClain property (D.R. 88, P. 175) the following six courses and distances: North 89 degrees 49 minutes 48 seconds East with the North line of said Section 1 and the North line of said Tract 4, 398.91 feet to a\nrebar; thence South 00 degrees 26 minutes 28 seconds East with the East line of said Tract 4 and the East line of said McClain property, 327.11 feet to a rebar; thence South 89 degrees 46 minutes 06 seconds West, 957.20 feet to a rebar; thence North\n00 degrees 26 minutes 28 seconds West, 324.55 feet to a rebar; thence South 84 (89 degrees per survey) degrees 27 minutes 40 seconds West, 189.39 feet to a rebar; thence North 00 degrees 12 minutes 39 seconds East, 783.23 feet to the center of a\ncreek; thence with the center of said creek the following four courses: South 74 degrees 45 minutes 05 seconds East, 339.67 feet; thence South 74 degrees 10 minutes 51 seconds East 165.15 feet; thence North 47 degrees 44 minutes 59 seconds East\n328.51 feet; thence North 75 degrees 25 minutes 39 seconds East, 19.27 feet, thence South 00 degrees 14 minutes 28 seconds West with the East line of said Section 35 and continuing along the boundary of said McClain Tract, 867.58 feet to the\nPoint of Beginning.\nEx. B-17\nTract 5:\nBeing a part of fractional Section 1, Township 1 North, Range 2 West of the First Principal Meridian, and located in York\nTownship of Switzerland County, Indiana and being part of Tract 4 of the Daniel Vincent Dufour real estate partition as recorded in the complete record of the Probate Court of Switzerland County, Indiana, in Order Book from September term 1850 to\nJuly term 1853 in pages 51, 52, 53 and 54 and further described as follows:\nCommencing at an iron pin at the Northwest\ncorner of Section 1, Township 1 North,\nRange 2 West, thence North 89 degrees 49 minutes 48 seconds East with the\nNorth line of said Section 1 and the North line of said Tract 4, 398.91 feet to a rebar at the Northeast corner of said Tract 4; thence South 00 degrees 26 minutes 28 seconds East with the East line of said Tract 4, 327.11 feet to the Point of\nBeginning; thence continuing South 00 degrees 26 minutes 28 seconds East with the East line of said Tract 4 and the East line of the Tom McClain property (D.R. 91, P. 146), 282.00 feet to a rebar; thence with the Southerly and Westerly boundary of\nsaid McClain property the following three courses and distances: North 75 degrees 07 minutes 18 seconds West, 156.62 feet to a rebar; thence North 35 degrees 26 minutes 28 seconds West, 103.81 feet to a rebar; thence North 00 degrees 26 minutes 28\nseconds West, 156.35 feet to a rebar; thence North 89 degrees 46 minutes 06 seconds East with the Northerly line of said McClain property, 210.60 feet to the Point of Beginning.\nTract 6:\nBeing a part of the Northeast Quarter of fractional Section 1, Township 1 North, Range 2 West, York Township, Switzerland\nCounty, Indiana, described as follows: Commencing at a corner post at the Northwest corner of fractional Section 1; thence South 88 degrees 41 minutes 00 seconds East (assumed bearing), 2801.00 feet to a point in the center of Log Lick Creek;\nthence South 02 degrees 55 minutes 00 seconds West, 1168.00 feet to a corner post and the actual Point of Beginning; thence South 88 degrees 41 minutes 00 seconds East, 237.00 feet to a stake; thence South 02 degrees 55 minutes 00 seconds West,\n367.00 feet to a steel nail in the centerline of State Highway No. 156; thence with the highway centerline, North 88 degrees 41 minutes 00 seconds West 237.00 feet to a steel nail; thence leaving the road, North 02 degrees 55 minutes 00 seconds\nEast, 367.00 feet to the Point of Beginning.\nTract 7:\nEx. B-18\nBeing a part of fractional Section 1 and fractional Section 2, Township\n1 North, Range 2 West of the First Principal Meridian located in York Township of Switzerland County, Indiana, and a part of Tract No. 3 and Tract No. 4 of the partition of the real estate of Daniel Vincent Dufour among his children as\nrecorded in the complete record of the Probate Court of Switzerland County, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and further described as follows:\nCommencing at a concrete monument found in place at the Northeast corner of said Section 1, Township 1 North, Range 2\nWest; thence South 89 degrees 49 minutes 48 seconds West a distance of 3996.57 feet, passing through an iron pin with cap in line at 2165.72 feet, with the North line of said Section 1 to an iron pin and cap at the Northwest corner of Tract 2\nof said Daniel Vincent Dufour partition; thence South 00 degrees 03 minutes 18 seconds East a distance of 646.50 feet along a common line dividing Tract 2 and Tract 3 in said Daniel Vincent Dufour partition to an iron pin with cap and the true Point\nof Beginning; thence continuing South 00 degrees 03 minutes 18 seconds East a distance of 929.20 feet along a common line dividing Tract 2 and Tract 3 in said Daniel Vincent Dufour partition to a railroad spike in the centerline of Indiana State\nRoad 156; thence continuing South 00 degrees 03 minutes 18 seconds East a distance of 1412.39 feet with said common line dividing Tract 2 and Tract 3 to an existing Corps of Engineers concrete monument in the Northern line of the lands of the United\nStates of America, Deed Book 54, page 144; thence South 88 degrees 39 minutes 24 seconds West a distance of 726.36 feet with the Northern line of the Land of the United States of America to an iron pin with cap; thence North 81 degrees 12 minutes 36\nseconds West a distance of 203.14 feet with said Northern line to an existing Corps of engineers concrete monument; thence North 00 degrees 26 minutes 28 seconds West a distance of 1399.32 feet along a common line with the Webster Family Limited\nPartnership, Deed Book 104, page 79, and the Diuguid Family Limited Partnership, Deed Book 104, page 80, and passing through a steel T-Bar found in place 963.58 feet at the Southeast corner of a 2.0000 acre Tract, to a Steel Nail (P.K.) found in\nplace in the center of Indiana State Road 156; thence North 88 degrees 44 minutes 40 seconds West a distance of 957.62 feet to a Steel Nail set in the center of Indiana State Road 156; thence North 00 degrees 26 minutes 28 seconds West a distance of\n1220.07 feet passing through an iron pin with cap set in line at 30.00 feet, and continuing along a common line with the Webster Family Limited Partnership, Deed Book 104, page 79 and the Diuguid Family Limited Partnership, Deed Book 104, page 80,\nand the line dividing Tract 4 and Tract 5 in said Daniel Vincent Dufour Partition, to an iron pin with cap set by a stone (broken) found in place; thence North 89 degrees 46 minutes 06 seconds East a distance of 746.60 feet along a common line with\nThomas J. McClain and Christine R. McClain Deed Book 86, page 175 to an iron pin with cap set in the center of a gravel township road; thence along a common line with other lands of said McClain, Deed Book 91, page 146, the following\n(3) courses and distances; South 00 degrees 26 minutes 28 seconds East a distance of 156.35 feet to an iron pin with cap; South 35 degrees 26 minutes 28 seconds East a distance of 103.81 feet to an iron pin with cap; South 75 degrees 07 minutes\n18\nEx. B-19\nseconds East a distance of 156.62 feet to an iron pin with cap on the East side of said township road; thence South 00 degrees 26 minutes 28 seconds East a distance of 37.39 feet along a common\nline with David and Cassandra Hunt, Deed Book 88, page 50 and the common line dividing Tract 3 and Tract 4 in said Daniel Vincent Dufour partition to an iron pin with cap; thence North 89 degrees 49 minutes 48 seconds East a distance of 942.57 feet\nalong a line common with said David and Cassandra Hunt to an iron pin with cap and the Point of Beginning.\nExcepting\ntherefrom that portion thereof conveyed to “Hoosier Energy Rural Electric Cooperative, Inc., an Indiana Corporation”, by Warranty Deed recorded April 7, 2000 in Deed Book 110, page 171, being a part of Fractional Section 2,\nTownship 1 North Range 2 West, First Principal Meridian, York Township, Switzerland County, Indiana, more particularly described as follows:\nCommencing at an iron pin found at the Northeast corner of Section 2, Township 1 North, Range 2 West, Switzerland County,\nIndiana; thence South 00 degrees 26 minutes 28 seconds East 327.55 feet to the North line of a 76.268 acre Tract as described in Deed Record 109, page 132 in the Office of the Recorder; thence with the North line of said 76.268 acre tract, South 89\ndegrees 46 minutes 06 seconds West 558.30 feet to an iron pin found next to a stone; thence with the West line of said 76.268 acre Tract; South 00 degrees 26 minutes 28 seconds East, 1220.07 feet (passing an iron pin found at 1190.07 feet) to a nail\nfound in the centerline of State Road 156; thence with the centerline of said road South 88 degrees 44 minutes 40 seconds East 15.00 feet to the Place of Beginning; thence North 00 degrees 26 minutes 28 seconds West 330.00 feet (passing a 5/8”\nrebar with cap set at 30.01 feet) to a 5/8” rebar with cap set; thence South 88 degrees 44 minutes 40 seconds East 140.00 feet to a 5/8” rebar with cap set; thence South 00 degrees 26 minutes 28 seconds East 180.00 feet to a 5/8”\nrebar with cap set; thence North 88 degrees 44 minutes 40 seconds West 90.00 feet to a 5/8” rebar with cap set; thence South 00 degrees 26 minutes 28 seconds East 150.00 feet (passing a 5/8” rebar with cap set at 119.99 feet) to the\ncenterline of State Road 156; thence with said centerline, North 88 degrees 44 minutes 40 seconds West 50.00 feet to the Place of Beginning.\nTract 8:\nA part of Section 1, Township 1 North, Range 2 West, York Township, Switzerland County, Indiana, described as follows:\nBeginning in the centerline of State Road 156 at the Northeast corner of the Southwest Quarter, Section 1, Township\n1 North, Range 2 West; hence South 01 degree 33 minutes 32 seconds West 1064.75 feet to a railroad spike found; thence North 89 degrees 00 minutes 00 seconds West 214.00 feet to a rebar set; thence\nEx. B-20\nSouth 08 degrees 00 minutes 00 seconds East 143.00 feet to a rebar set; thence South 75 degrees 57 minutes 47 seconds West 210.10 feet; thence South 81 degrees 32 minutes 12 seconds West 550.62\nfeet to a concrete monument; thence South 86 degrees 25 minutes 25 seconds West 568.58 to a concrete monument; thence North 01 degree 24 minutes 35 seconds East 1412.95 feet to a nail set in the centerline of State Road 156; thence along said\ncenterline South 88 degrees 22 minutes 08 seconds East 1504.80 feet to the Point of Beginning.\nTract 9:\nBeing part of the Northwest Quarter of fractional Section 1, Township North, Range 2 West, York Township, Switzerland\nCounty, Indiana, described as follows: Commencing at a corner post at the Northwest corner of said fractional Section 1, thence South 88 degrees 41 minutes East, (assumed bearing), 2801.00 feet to a point in the center of Log Lick Creek; thence\nSouth 02 degrees 55 minutes West, 1265.00 feet to a stake in a fence line and the actual Place of Beginning; thence continuing South 02 degrees 55 minutes West, 270.00 feet to a steel nail in the centerline of State Highway No. 156; thence with\nthe center of said Highway North 88 degrees 41 minutes West, 350.00 feet to a steel nail; thence leaving the highway North 02 degrees 55 minutes East, 270.00 feet to a stake; thence South 88 degrees 41 minutes East, 350.00 feet to the Place of\nBeginning.\nExcepting therefrom, a part of Section 1, Township 1 North, Range 2 West, located in York Township of\nSwitzerland County, Indiana, described as follows: Commencing at the Northwest corner, fractional Section 1, Township 1 North, Range 2 West; thence South 88 degrees 41 minutes 00 seconds East 2801.00 feet (deed); thence South 02 degrees 55\nminutes 00 seconds West 1265.00 feet (deed), to an iron bar found being the actual Point of Beginning; thence continuing South 02 degrees 55 minutes 00 seconds West 270.00 feet to a P.K. Nail found in the centerline of State Road 156; thence along\nsaid centerline North 88 degrees 41 minutes 00 seconds West 175.00 feet to a P.K. Nail set; thence North 02 degrees 55 minutes 00 seconds East 270.00 feet to a T-Bar set; thence South 88 degrees 41 minutes 00 seconds East 175.00 feet to the Point of\nBeginning.\nTract 10:\nLeasehold estate pursuant to a certain lease dated December 11, 1998 by and between the Webster Family Limited\nPartnership and The Diuguid Family Limited Partnership as landlord and Pinnacle Gaming Development Corp. as tenant as set out in a memorandum of lease recorded December 30, 1998 in Miscellaneous Record AA, page 148, as assigned to Belterra\nResort Indiana, LLC by assignment recorded December 15, 2000 in Miscellaneous Record CC, page 182 with respect to the following real estate:\nEx. B-21\nBeing part of fractional Section 1, Township 1, North, Range 2 West of the\nfirst principal meridian located in York Township of Switzerland County, Indiana and a part of Tract No. 1 of the partition of the real estate of Daniel Vincent Dufour among his children as recorded in the complete record of the Probate Court\nof Switzerland County, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and is further described as follows:\nCommencing at a concrete monument found in place at the Northeast corner of said Section 1, Township 1 North, Range 2\nWest; thence South 89 degrees 49 minutes 48 seconds West a distance of 1140.71 feet with the North line of said Section 1 to a point; thence South 00 degrees 00 minutes 27 seconds East a distance of 350.47 feet to a point in the center of Log\nLick Creek and the true Point of Beginning; thence continuing South 00 degrees 00 minutes 27 seconds East a distance of 3093.92 feet, passing through concrete monuments found in line at 33.25 feet, 708.25 feet, 1202.08 feet, 1773.20 feet, 2393.28\nfeet respectively and through an iron pin with cap found in line at 1262.08 feet and a stone found in line at 2747.80 feet, along a common line in part with the lands now or formerly owned by William L. Martin and Vernon Martin, Deed Book 89, page\n154 in the Records of Switzerland County, Indiana, and along a common line in part with the lands now or formerly owned by James O. Chaskel Deed Book 90, page 292 in said records, to a point in the Ohio River and in the Indiana-Kentucky Stateline as\nestablished by the Supreme Court of the United States, October term 1985, No. 81, (see Kentucky’s V. Indiana, Orig. No. 81 joint Exhibit No. 50); thence downstream with said Indiana-Kentucky stateline the following three courses\nand distances; South 75 degrees 07 minutes 19 seconds West a distance of 211.68 feet to a point; South 72 degrees 59 minutes 38 seconds West a distance of 708.68 feet to a point; South 72 degrees 37 minutes 29 seconds West a distance of 159.59 feet\nto a point; thence North 00 degrees 00 minutes 27 seconds West a distance of 1125.10 feet, passing through a concrete monument found in line at 974.79 feet along a common line with the lands of the United States of America, Deed Book 55, page 7 in\nsaid records, to a Corps of Engineers concrete monument; thence South 70 degrees 43 minutes 28 seconds West a distance of 336.38 feet along a common line with said lands of the United States of America to a Corps of Engineers concrete monument;\nthence North 00 degrees 00 minutes 27 seconds West a distance of 1155.39 feet along a common line in part with the lands of Walter and Thelma Earls, Deed Book 95, page 111 in said records and then in line with the lands of John and Dorothy Keaton,\nDeed Book 96, page 353 in said records, passing through a railroad spike found in line at 90.00 feet and an iron pin with cap found in line at 1125.39 feet to a point in the center of Indiana State Road 156; thence along common lines with the lands\nof Raymond and and Evelyn Hatton, Deed Book 82, page 320 in said records the following three (3) courses and distances: North 89 degrees 55 minutes 36 seconds East a distance of 237.00 feet, passing through a steel nail found at 1.08 feet to a\npoint in the center of said highway North 00 degrees 00 minutes 27 seconds West a distance of 367.00 feet, passing through a monument found in line\nEx. B-22\nat 30.00 feet, to a found iron pin; South 89 degrees 55 minutes 36 seconds West a distance of 237.00 feet to a found concrete monument; thence North 00 degrees 00 minutes 27 seconds West a\ndistance of 1169.05 feet along a common line with the lands of Webster, Dirguid and Showers, Deed Book 99, page 150, Deed Book 101, Page 162 and Deed Book 107 page 112 in said records, passing through a concrete monument found in line at 433.40\nfeet, an iron pin and cap found in line at 870.84 feet, a concrete monument found in line at 1134.34 feet, to a point in the center of Log Lick Creek; thence upstream with the center of Log Lick Creek and its meanders and along a common line in part\nwith said Webster, Dirguid and Showers and along a common line in part with Brichto and Stewart, Deed Book 106, page 276, the following twelve (12) courses and distances; North 88 degrees 44 minutes 27 seconds East a distance of 103.41 feet to\na point; South 36 degrees 27 minutes 11 seconds East a distance of 183.51 feet to a point; North 87 degrees 03 minutes 47 seconds East a distance of 83.49 feet to a point; North 49 degrees 37 minutes 18 seconds East a distance of 138.52 feet to a\npoint; South 73 degrees 53 minutes 44 seconds East a distance of 205.55 feet to a point; South 68 degrees 56 minutes 45 seconds East a distance of 254.82 feet to a point; South 22 degrees 22 minutes 14 seconds East a distance of 247.58 feet to a\npoint; South 46 degrees 36 minutes 50 seconds East a distance of 69.18 feet to a point; South 88 degrees 32 minutes 11 seconds East a distance of 51.50 feet to a point; North 36 degrees 59 minutes 31 seconds East a distance of 150.14 feet to a\npoint; North 63 degrees 41 minutes 37 seconds East a distance of 74.63 feet to a point; North 82 degrees 08 minutes 29 seconds East a distance of 164.08 feet to the point of beginning.\nTract 11:\nLeasehold estate pursuant to a certain lease dated December 11, 1998 by and between Daniel Webster, Marsha S. Webster and\nWilliam G. Diuguid, Sarah T. Diuguid, J.R. Showers III and Carol A. Showers as landlord and Pinnacle Gaming Development Corp. as tenant as set out in a memorandum of lease recorded December 30, 1998 in Miscellaneous Record AA, page 149, as\nassigned to Belterra Resort Indiana, LLC by assignment recorded December 15, 2000 in Miscellaneous Record CC, page 181 with respect to the following real estate:\nBeing part of fractional Section 1 Township 1 North, Range 2 West of the first principal meridian located in York\nTownship of Switzerland County, Indiana, and a part of Tract No. 1 and Tract No. 2 of the partition of the real estate of Daniel Vincent Dufour among his children as recorded in the complete record of the Probate Court of Switzerland\nCounty, Indiana, in Order Book from September term 1850 to July term 1853 in pages 51, 52, 53 and 54 and is further described as follows:\nCommencing at a concrete monument found in place at the Northeast corner of said Section 1, Township 1 North, Range 2\nWest; thence South 89 degrees 49 minutes 48 seconds West a distance of 2165.72 feet with the North line of said\nEx. B-23\nSection 1 to an iron pin and cap at the true Point of Beginning; thence South 00 degrees 12 minutes 24 seconds West a distance of 159.92 feet along a line common with Brichto and Stewart,\nDeed Book 106, page 276 in the records of Switzerland County, Indiana, and passing through an iron pin and cap set in line at 110.00 feet, to a point in the center of Log Lick Creek; thence downstream with the meanders of said creek and along a line\nin common with the Webster Family Limited Partnership, Deed Book 104, page 79 (Parcel One) and the Diuguid Family Limited Partnership, Deed Book 104, page 80 (Parcel One) the following four (4) courses and distances; South 49 degrees 37 minutes\n18 seconds West a distance of 40.64 feet to a point; South 87 degrees 03 minutes 47 seconds West a distance of 83.49 feet to a point; North 36 degrees 27 minutes 11 seconds West a distance of 183.51 feet to a point; South 88 degrees 44 minutes 27\nseconds West a distance of 103.47 feet to a point; thence leaving said creek and in part along a line common with the lands of said Webster Family and Diugiud Family Partnerships and in part along a line common with the lands of Raymond and Evelyn\nHatton, Deed Book 82, page 320 in said records, South 00 degrees 00 minutes 27 seconds East a distance of 1266.05 feet, passing through concrete monuments found in line on the South bank of the creek at 34.66 feet, an iron pin with cap at 298.06\nfeet, a concrete monument at 735.65 and a concrete monument at 1169.05 feet at the Northwest corner of the lands of said Raymond and Evelyn Hatton, to an iron pin with cap set in line with said Hatton and at the Northeast corner of the lands of\nTheresa and Mitchell Barnes, Deed Book 107, page 31 in said records; thence North 89 degrees 59 minutes 45 seconds West a distance of 350.00 feet in part along a common line with the lands of said Barnes and in part along a common line with the\nlands of John and Carolyn Hendrickson, Deed Book 99, page 48 in said records to an iron pin with cap at the Northwest corner of said lands of Hendrickson; thence South 00 degrees 00 minutes 27 seconds East a distance of 270.00 feet along a line\ncommon with the lands of said Hendrickson to a steel nail set in the center of Indiana State Road 156 in the North line of the lands of John and Dorothy Keeton, Deed Book 96, page 353 in said records; thence North 89 degrees 59 minutes 45 seconds\nWest a distance of 1152.19 feet along a line common with the lands of said Keeton to a railroad spike set in the center of said Indiana State Road 156 at the Northwest corner of the lands of said Keeton and in the Eastern line of the lands of Harold\nand Delores Fletcher, Deed Book 96, page 115 in said records and also in the line common to Tract No. 2 and Tract No. 3 of aforesaid Daniel Vincent Dufour partition; thence North 00 degrees 03 minutes 18 seconds West a distance of 1575.70\nfeet along a line common with said Tract No. 2 and Tract No. 3 and in part along a common line with the lands of said Fletcher and in part along a line common with the lands of David and Cassandra Hunt, Deed Book 88, page 50, to an iron\npin with cap in the North line of aforesaid Section 1; thence North 89 degrees 49 minutes 48 seconds East a distance of 1830.85 feet with the North line of said Section 1 and in part along a common line with the lands of said David and\nCassandra Hunt and in part along a common line with the lands of Miles and Betty Hunt, Deed Book 106, page 236, to the Point of Beginning.\nEx. B-24\nEx. B-25"}
-{"idx": 5, "level": 3, "span": "Ogle Haus"}
-{"idx": 5, "level": 2, "span": "TRACT I:\nA part of Fractional\nSection 23, Township 2 North, Range 3 West of the First Principal Meridian, located in Jefferson Township of Switzerland County, Indiana described as follows:\nCommencing at the Northwest corner of Section 23, Township 2 North, Range 3 West; thence South 910.80 feet (See Deed Record 71, page 154)\nto a reference point; thence South 33 degrees 07 minutes 02 seconds East 706.20 feet to a railroad spike, found this survey, marking the Northwest corner of the McCae Corporation property (Deed Record 84, page 4); thence North 58 degrees 05 minutes\n00 seconds East along the centerline of State Road Number 56 and the Northern line of the McCae tract 363.00 feet to a railroad spike, found this survey, marking the Northeast corner of the McCae tract and being the true point of beginning of this\nsurvey; thence North 58 degrees 05 minutes 00 seconds East, continuing along said centerline, 349.20 feet to a p.k. nail set this survey; thence South 31 degrees 52 minutes 19 seconds East, coincident with the West line of the David Hankins property\n(Deed Record 74, page 107) 791.77 feet to the low water mark (elevation 421.00 feet) of the Ohio River; thence South 54 degrees 49 minutes 22 seconds West with the low water line of said river (being the 421.00 feet in elevation contour line) 331.95\nfeet; thence North 33 degrees 07 minutes 47 seconds West with the East line of the McCae tract 810.80 feet to the point of beginning, containing 6.261 acres, more or less."}
-{"idx": 5, "level": 2, "span": "TRACT II:\nA part of the\nFractional Section 23, Township 2 North, Range 3 West of the First Principal Meridian located in Jefferson Township of Switzerland County, Indiana, described as follows:\nCommencing at the Northwest corner of Section 23, Township 2 North, Range 3 West; thence South 910.00 feet; thence South 33 degrees 07\nminutes 02 seconds East 706.20 feet; thence North 58 degrees 05 minutes 00 seconds East with the centerline of State Road 56, 712.20 feet to a p.k. nail, the point of beginning; thence continuing with said centerline North 58 degrees 05 minutes 00\nseconds East 182.10 feet to a nail; thence South 31 degrees 49 minutes 20 seconds East 781.45 feet; thence South 54 degrees 49 minutes 42 seconds West with the low water line of the Ohio River 181.72 feet; thence North 31 degrees 52 minutes 19\nseconds West 791.77 feet to the point of beginning, containing 3.2822 acres, more or less.\nEx. B-26"}
-{"idx": 5, "level": 3, "span": "Ameristar Council Bluffs\nParcel 1:\nA parcel of land being part of Government Lots 2 and\n3 and the adjacent abandoned River Road right of way, all located in Section 4, Township 74N, Range 44W of the 5th P.M., Pottawattamie County, Iowa, in the City of Council Bluffs, Iowa, which is more particularly described as follows:\nCommencing at the center of said Section 4, thence N 88°08’15” W 597.51 feet to the point of beginning; thence along a meander of the\nordinary high water of the Missouri River on the following four courses: (1) N 13°15’15” W 14.59 feet; (2) N 16°42’15” W 500.00 feet; (3) N 20°17’15” W 51.41 feet; and (4) N\n19°50’45” W 159.07 feet; thence N 51°01’40” E 875.20 feet to a point on the Westerly right of way line of the Council Bluffs Levee; thence S 38°58’20” E 581.47 feet to a point on the Westerly right of way\nline of Interstate Highway 29; thence S 2°34’15” W 30.10 feet, along said highway right of way line; thence Southeasterly, along said highway right of way line, 303.57 feet along a 421.40 foot radius curve to the left; thence S\n38°42’15” E 3.30 feet, thence S 36°47’45” E 334.04 feet, along said highway right of way line to a point on the Northerly right of way line of Nebraska Avenue, thence S 53°12’15” W 229.99 feet, along said\nright of way line of Nebraska Avenue; thence S 36°47’45” E 97.52 feet, along the Westerly right of way line of River Road; thence Southeasterly along said right of way line of River Road, 49.52 feet along a 246.48 foot radius curve to\nthe right; thence S 53°12’15” W 96.07 feet; thence N 88°08’15” W 924.85 feet; thence N 13°15’15” W 81.06 feet to the point of beginning.\nParcel 2:\nA parcel of land being part of Government Lots 1 and\n2 and the adjacent abandoned River Road right of way, all located in Section 4, Township 74N, Range 44W of the 5th P.M., Pottawattamie County, Iowa, in the City of Council Bluffs, which is more particularly described as follows:\nCommencing at the center of said Section 4; thence N 88°08’15” W 597.51 feet; thence N 13°15’15” W 14.59 feet; thence N\n16°42’15” W 500.00 feet; thence N 20°17’15” W 51.41 feet and N 19°50’45” W 159.07 feet to the point of beginning; thence along a meander of the ordinary high water of the Missouri River on the following four\ncourses: (1) N 19°50’45” W 38.38 feet; (2) N 19°46’50” W 313.67 feet; (3) N 19°03’05” W 160.28 feet; and (4) N 16°25’40” W 92.18 feet; thence N 51°01’40” E\n669.57 feet to a point on the Westerly right of way line of the Council Bluffs Levee; thence S 38°58’20” E 568.32 feet along said right of way line of the Council Bluffs Levee; thence S 51°01’40” W 875.20 feet to the\npoint of beginning.\nParcel 3*:\nEx. B-27\nA parcel of land being part of Government Lots 1 and 2 of Section 4, Township 74N, Range 44W and part of\nGovernment Lot 4 of Section 33, Township 75N, Range 44W of the 5th P.M., together with the adjacent abandoned River Road right of way in Pottawattamie County, Iowa, in the City of Council Bluffs, which is more particularly described as follows:\nCommencing at the center of said Section 4; thence N 88°08’15” W 597.51 feet; thence N 13°15’15” W 14.59 feet; thence N\n16°42’15” W 500.00 feet; thence N 20°17’15” W 51.41 feet and N 19°50’45” W 197.45 feet; thence N 19°46’50” W 313.67 feet; thence N 19°03’05” W 160.28 feet; thence N\n16°25’40” W 92.18 feet to the point of beginning; thence along a meander of the ordinary high water of the Missouri River on the following twelve courses: (1) N 16°25’40” W 93.61 feet; (2) N\n38°23’45” W 224.70 feet; (3) N 31°52’55” W 268.46 feet; (4) N 22°52’20” W 243.24 feet; (5) N 26°00’40” W 202.96 feet; (6) N 29°52’05” W 151.72 feet; (7) N\n20°36’25” W 194.23 feet; (8) N 36°06’50” W 115.45 feet; (9) N 26°38’05” W 361.38 feet; (10) N 32°21’55” W 101.05 feet; (11) N 33°55’20” W 116.33 feet and\n(12) N 28°38’30” W 102.35 feet; thence along the Southerly right of way of the Union Pacific Railroad N 89°10’35” E 383.85 feet to a point on the Westerly right of way line of the Council Bluffs Levee; thence\nSoutheasterly, along said levee right of way line, 168.33 feet along a 562.47 feet radius curve to the left; thence S 38°58’20” E 1725.54 feet along said levee right of way line; thence S 51°01’40” W 669.57 feet to the\npoint of beginning.\nEXCEPTING from the above described Parcels 1, 2 and 3, that portion of River Road described in that certain Vacation and\nRe-Dedication filed in Book 78 at Page 24442 in the records of Pottawattamie County, Iowa.\n* Grantor’s interest in Parcel 3 is derived as successor\nin interest to the Settlement, Use, and Management Agreement and DNR Permit by and between Koch Fuels, Inc., a Delaware corporation, and the State of Iowa, acting by and through the Iowa Department of Natural Resources, recorded August 1, 1995\nin Book 96 at Page 2942.\nParcel 4:\nA part of Government\nLot 3, Section 4, Township 74 North, Range 44, West of the Fifth P.M., Pottawattamie County, Iowa, in the City of Council Bluffs, which is more particularly described as follows: Commencing at the East Quarter corner of said Section 4,\nwhich is the Northeast corner of said Government Lot 3; thence along the North line of said Government Lot 3, North 88 degrees 8 minutes 15 seconds West, 2663.40 feet to the center of said Section 4; thence South 00 degrees 41 minutes 45\nseconds West, 78.27 feet to a point of beginning; thence North 88 degrees 8 minutes 15 seconds West, 579.30 feet to the ordinary high water line of the Missouri River as established by the toe of a river control paving structure; thence along said\nordinary high water line South 13 degrees 27 minutes 10 seconds East, 405.25 feet to U.S. Corps of\nEx. B-28\nEngineers Control Structure Station 15+00; thence continuing along said ordinary high water line South 10 degrees 53 minutes 45 seconds East, 60.43 feet to the northerly line of land owned by the\nPeavey Elevator Company; thence along said line South 88 degrees 8 minutes 15 seconds East, 868.08 feet; thence North 00 degrees 41 minutes 45 seconds East, 450.00 feet; thence North 88 degrees 8 minutes 15 seconds West, 400.00 feet to the point of\nbeginning. The East line of said Government Lot 3 is assumed to bear North-South.\nEx. B-29"}
-{"idx": 5, "level": 3, "span": "L’Auberge Baton Rouge"}
-{"idx": 5, "level": 4, "span": "TRACT “A-2-A”\nA parcel of land\ncontaining 99 acres, more or less, known as Tract A-2-A, lying within Sections 40, 41, 77 & 78, Township 8 South, Range 1 East, Greensburg Land District, East Baton Rouge Parish, Louisiana, as per the record map showing “PNK (Baton\nRouge) Partnership Subdivision, Exchange of Property between Tract ‘A-2’ and Lot ‘F ‘ into Tracts ‘A-2-A’ and ‘A-2-B’ located in Sections 40, 41, 43, 44, 77 & 78, T-8-S, R-1-E, Greensburg Land\nDistrict, East Baton Rouge Parish, Louisiana, for PNK (Baton Rouge) Partnership”, by Stantec Consulting Services, Inc., signed by Sam M. Holladay, III, PLS No. 4760 on November 30, 2015 and recorded in Original 567, Bundle 12709 of\nthe Office of the Clerk and Recorder on February 1, 2016 of said Parish, being more particularly described as follows:"}
-{"idx": 5, "level": 4, "span": "BEGIN\n at the most\nNorthwesterly corner of Tract “A-2-A” of the aforesaid record map, said point lying on the northerly right of way line of River Road (La Hwy 327, 80’ R/W); thence go South 66 degrees 55 minutes 15 seconds East a distance of 671.79\nfeet; thence go South 66 degrees 58 minutes 10 seconds East a distance of 206.38 feet; thence go along the arc of a non-tangent curve to the left, having a radius of 727.00 feet, (Delta Angle = 04 degrees 26 minutes 48 seconds , Chord Bearing =\nNorth 85 degrees 34 minutes 12 seconds East, Chord Distance = 56.41 feet) for an arc length of 56.42 feet to a point of compound curvature; thence go along the arc of a compound curve to the left, having a radius of 440.00 feet, (Delta Angle = 16\ndegrees 50 minutes 51 seconds, Chord Bearing = North 74 degrees 55 minutes 23 seconds East, Chord Distance = 128.91 feet) for an arc length of 129.38 feet to the point of tangency; thence go North 66 degrees 29 minutes 57 seconds East a distance of\n85.86 feet to a point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 68.64 feet, (Delta Angle = 84 degrees 46 minutes 29 seconds , Chord Bearing = South 71 degrees 06 minutes 48 seconds East, Chord Distance\n= 92.55 feet) for an arc length of 101.56 feet to a point of compound curvature; thence go along the arc of a compound curve to the right, having a radius of 375.00 feet, (Delta Angle = 14 degrees 25 minutes 09 seconds , Chord Bearing = South 21\ndegrees 30 minutes 59 seconds East, Chord Distance = 94.12 feet), for an arc length of 94.37 feet; thence go South 14 degrees 18 minutes 24 seconds East a distance of 36.69 feet to a point of curvature; thence go along the arc of a curve to the left\nhaving a radius of 837.00 feet (Delta Angle = 00 degrees 24 minutes 43 seconds, Chord Bearing = South 14 degrees 30 minutes 46 seconds east, Chord Distance = 6.02 feet) for an arc length of 6.02 feet; thence go North 75 degrees 16 minutes 53 seconds\nEast a distance of 74.00 feet; thence go along the arc of a curve to the right having a radius of 763.00 feet (Delta Angle = 00 degrees 24 minutes 43 seconds, Chord Bearing = North 14 degrees 30 minutes 46 seconds West, Chord Distance = 5.49 feet)\nfor an arc length of 5.49 feet to a point of tangency; thence go North 14 degrees 18 minutes 24 seconds West a distance of 24.84 feet to a point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 125.00 feet,\n(Delta Angle = 36 degrees 10 minutes 28 seconds, Chord Bearing = North 03 degrees 46 minutes 50 seconds East, Chord Distance = 77.62 feet, for an arc length \nEx. B-30\nof 78.92 feet; thence go North 49 degrees 46 minutes 33 seconds East a distance of 193.21 feet; thence go North 73 degrees 08 minutes 13 seconds East a distance of 131.60 feet to a point of\ncurvature; thence go along the arc of a tangent curve to the right, having a radius of 1130.00 feet, (Delta Angle = 49 degrees 28 minutes 40 seconds , Chord Bearing = South 82 degrees 07 minutes 26 seconds East, Chord Distance = 945.77 feet) for an\narc length of 975.81 feet to the point of tangency; thence go South 57 degrees 23 minutes 06 seconds East a distance of 207.16 feet; thence go along the arc of a non-tangent curve to the right, having a radius of 380.00 feet, (Delta Angle = 32\ndegrees 40 minutes 54 seconds, Chord Bearing = South 05 degrees 04 minutes 41 seconds West, Chord Distance = 213.83 feet) for an arc length of 216.75 feet; thence go South 68 degrees 34 minutes 52 seconds East a distance of 100.00 feet; thence go\nalong the arc of a non-tangent curve to the left, having a radius of 550.50 feet, (Delta Angle = 06 degrees 33 minutes 50 seconds, Chord Bearing = North 18 degrees 08 minutes 14 seconds East, Chord Distance = 63.03 feet) for an arc length of 63.06\nfeet to a point of reverse curvature; thence go along the arc of a reverse curve to the right, having a radius of 67.50 feet, (Delta Angle = 81 degrees 47 minutes 08 seconds, Chord Bearing = North 55 degrees 44 minutes 53 seconds East, Chord\nDistance = 88.38 feet) for an arc length of 96.35 feet to the point of tangency; thence go South 83 degrees 21 minutes 33 seconds East a distance of 86.69 feet; thence go South 60 degrees 48 minutes 03 seconds East a distance of 193.02 feet to a\npoint of curvature; thence go along the arc of a tangent curve to the right, having a radius of 1130.00 feet, (Delta Angle = 27 degrees 46 minutes 00 seconds , Chord Bearing = South 46 degrees 55 minutes 03 seconds East, Chord Distance = 542.28\nfeet) for an arc length of 547.62 feet to the point of tangency; thence go South 33 degrees 02 minutes 03 seconds East a distance of 116.11 feet to a point of curvature; thence go along the arc of a tangent curve to the left, having a radius of\n2070.00 feet, (Delta Angle = 11 degrees 27 minutes 33 seconds, Chord Bearing = South 38 degrees 45 minutes 50 seconds East, Chord Distance = 413.31 feet) for an arc length of 414.00 feet to the point of tangency; thence go South 44 degrees 29\nminutes 36 seconds East a distance of 145.61 feet to point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 50.00 feet, (Delta Angle = 63 degrees 31 minutes 25 seconds, Chord Bearing = South 12 degrees 43\nminutes 55 seconds East, Chord Distance = 52.64 feet) for an arc length of 55.43 feet to a point of reverse curvature; thence go along the arc of a reverse curve to the left, having a radius of 145.00 feet, (Delta Angle = 23 degrees 57 minutes 43\nseconds, Chord Bearing = South 07 degrees 02 minutes 56 seconds West, Chord Distance = 60.20 feet) for an arc length of 60.64 feet to a point of reverse curvature; thence go along the arc of a reverse curve to the right, having a radius of 75.00\nfeet, (Delta Angle = 44 degrees 48 minutes 02 seconds , Chord Bearing = South 17 degrees 28 minutes 05 seconds West, Chord Distance = 57.16 feet) for an arc length of 58.64 feet to the point of tangency; thence go South 39 degrees 52 minutes 07\nseconds West a distance of 57.76 feet to a point of curvature; thence go along the arc of a tangent curve to the right, having a radius of 275.00 feet, (Delta Angle = 07 degrees 58 minutes 09 seconds , Chord Bearing = South 43 degrees 51 minutes 11\nseconds West, Chord Distance = 38.22 feet) for an arc length of 38.25 feet; thence go South 42 degrees 09 minutes 44 seconds East a distance of 20.16 feet to the Southeasterly line of Section 41, Township 8 South, Range 1 East, Greensburg\nEx. B-31\nLand District, East Baton Rouge Parish, Louisiana ; thence go South 52 degrees 52 minutes 00 seconds West along\nthe aforesaid Southeasterly section line a distance of 1108 feet, more or less to the mean-low water line of the Mississippi River; thence meander northwesterly along the aforesaid mean-low water line a distance of 3565 feet, more or less to the\nintersection of the aforesaid mean-low water line and a line, passed through the Point of Beginning, having a bearing of South 14 degrees 03 minutes 51 seconds West; thence, departing the aforesaid mean-low water line go North 14 degrees 03 minutes\n51 seconds East a distance of 863 feet, more or less to the POINT OF BEGINNING."}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT"}
-{"idx": 5, "level": 4, "span": "TRACT “A-3”\nA 0.145 acre parcel of\nland designated as Tract “A-3” the record map showing “PNK (Baton Rouge) Partnership Subdivision, Exchange of Property between Tract ‘A-2’ and Lot ‘F ‘ into Tracts ‘A-2-A’ and ‘A-2-B’ located in\nSections 40, 41, 43, 44, 77 & 78, T-8-S, R-1-E, Greensburg Land District, East Baton Rouge Parish, Louisiana, for PNK (Baton Rouge) Partnership”, by Stantec Consulting Services, Inc., signed by Sam M. Holladay, III, PLS No. 4760\non November 30, 2015 and recorded in Original 567, Bundle 12709 of the Office of the Clerk and Recorder on February 1, 2016 of said Parish, being more particularly described as follows:"}
-{"idx": 5, "level": 4, "span": "COMMENCE\n at an iron rod on the south side of the intersection of L’Auberge Crossing Drive and River Road (La Hwy 327) where the line common to\nSections 41 & 43, Township 8 South, Range 1 East, Greensburg Land District, East Baton Rouge Parish, Louisiana, intersects the southern- most existing right of way of L’Auberge Crossing Drive; thence go North 42 degrees 09 minutes 44\nseconds West along the aforesaid southern- most existing right of way of L’Auberge Crossing Drive a distance of 10.16 feet to the westerly right of way line of L’Auberge Crossing Drive (now 30’ private R/W); thence, for the following\nsix courses along the aforesaid private right of way line, go along the arc of a curve to the right having a radius of 285.00 feet (Delta Angle = 04 degrees 51 minutes 11 seconds, Chord Bearing = South 50 degrees 15 minutes 52 seconds West, Chord\ndistance = 24.13 feet) for an arc length of 24.14 feet to the point of tangency; thence go South 52 degrees 41 minutes 27 seconds West a distance of 47.37 feet to a point of curvature; thence go along the arc of a curve to the right having a radius\nof 70.00 feet (Delta Angle = 76 degrees 33 minutes 41 seconds, Chord Bearing = North 89 degrees 01 minutes 42 seconds West, Chord Distance = 86.73 feet) for an arc length of 93.54 feet to the point of tangency; thence go North 50 degrees 44 minutes\n51 seconds West a distance of 58.25 feet to a point of curvature; thence go along the arc of a curve to the left having a radius of 1515.00 feet (Delta Angle = 11 degrees 12 minutes 35 seconds, Chord Bearing = North 56 degrees 21 minutes 09 seconds\nWest, Chord Distance = 295.93 feet ) for an arc length of 296.40 feet to the point of tangency; thence go North 61 degrees 57 minutes 26 seconds West a distance \nEx. B-32\nof 48.83 feet to the POINT OF BEGINNING; thence continue North 61 degrees 57 minutes 26 seconds west along the aforesaid private right of way line a distance of 63.00 feet; thence,\ndeparting the aforesaid private right of way line, go North 28 degrees 02 minutes 34 seconds East a distance of 100.00 feet; thence go South 61 degrees 57 minutes 26 seconds East a distance of 63.00 feet; thence go South 28 degrees 02 minutes 34\nseconds West a distance of 100.00 feet to the POINT OF BEGINNING. "}
-{"idx": 5, "level": 4, "span": "TRACT “A-3”\nA 0.145 acre parcel of land designated as Tract “A-3” the record map showing “PNK (Baton Rouge) Partnership Subdivision, Exchange of Property\nbetween Tract ‘A-2’ and Lot ‘F ‘ into Tracts ‘A-2-A’ and ‘A-2-B’ located in Sections 40, 41, 43, 44, 77 & 78, T-8-S, R-1-E, Greensburg Land District, East Baton Rouge Parish, Louisiana, for PNK (Baton\nRouge) Partnership”, by Stantec Consulting Services, Inc., signed by Sam M. Holladay, III, PLS No. 4760 on November 30, 2015 and recorded in Original 567, Bundle 12709 of the Office of the Clerk and Recorder on February 1, 2016\nof said Parish, being more particularly described as follows:"}
-{"idx": 5, "level": 4, "span": "COMMENCE at an iron rod on the south side of the intersection of L’Auberge\nCrossing Drive and River Road (La Hwy 327) where the line common to Sections 41 & 43, Township 8 South, Range 1 East, Greensburg Land District, East Baton Rouge Parish, Louisiana, intersects the southern- most existing right of way of\nL’Auberge Crossing Drive; thence go North 42 degrees 09 minutes 44 seconds West along the aforesaid southern- most existing right of way of L’Auberge Crossing Drive a distance of 10.16 feet to the westerly right of way line of\nL’Auberge Crossing Drive (now 30’ private R/W); thence, for the following six courses along the aforesaid private right of way line, go along the arc of a curve to the right having a radius of 285.00 feet (Delta Angle = 04 degrees 51\nminutes 11 seconds, Chord Bearing = South 50 degrees 15 minutes 52 seconds West, Chord distance = 24.13 feet) for an arc length of 24.14 feet to the point of tangency; thence go South 52 degrees 41 minutes 27 seconds West a distance of 47.37 feet to\na point of curvature; thence go along the arc of a curve to the right having a radius of 70.00 feet (Delta Angle = 76 degrees 33 minutes 41 seconds, Chord Bearing = North 89 degrees 01 minutes 42 seconds West, Chord Distance = 86.73 feet) for an arc\nlength of 93.54 feet to the point of tangency; thence go North 50 degrees 44 minutes 51 seconds West a distance of 58.25 feet to a point of curvature; thence go along the arc of a curve to the left having a radius of 1515.00 feet (Delta Angle = 11\ndegrees 12 minutes 35 seconds, Chord Bearing = North 56 degrees 21 minutes 09 seconds West, Chord Distance = 295.93 feet ) for an arc length of 296.40 feet to the point of tangency; thence go North 61 degrees 57 minutes 26 seconds West a distance of\n48.83 feet to the POINT OF BEGINNING\n; thence continue North 61 degrees 57 minutes 26 seconds west along the aforesaid private right of way line a distance of 63.00 feet; thence, departing the aforesaid private right of way line, go North 28\ndegrees 02 minutes 34 seconds East a distance of 100.00 feet; thence go South 61 degrees 57 minutes 26 seconds East a distance \nEx. B-33\nof 63.00 feet; thence go South 28 degrees 02 minutes 34 seconds West a distance of 100.00 feet to the POINT OF BEGINNING. \nEx. B-34"}
-{"idx": 5, "level": 3, "span": "L’Auberge Lake Charles"}
-{"idx": 5, "level": 4, "span": "TRACT 1 – LEASEHOLD ESTATE"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR PARCEL OF LAND LYING IN SECTION ELEVEN (11), AND BEING ALL OF LOT TEN (10) AND A PORTION OF LOTS SIX (6), SEVEN\n(7), EIGHT (8), NINE (9), ELEVEN (11), FOURTEEN (14), FIFTEEN (15), AND SIXTEEN (16) OF SAID SECTION ELEVEN (11), AND ALSO IN THE WEST HALF (W/2) OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), ALL IN TOWNSHIP TEN\n(10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH, LOUISIANA, BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS TO-WIT:"}
-{"idx": 5, "level": 2, "span": "COMMENCING\nAT THE SOUTHWEST CORNER OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), TOWNSHIP TEN (10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH, LOUISIANA;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 88° 15’ 23” WEST, FOR A DISTANCE OF 170.20 FEET TO THE EAST LINE OF THE NORTHWEST QUARTER OF THE NORTHEAST QUARTER\n(NW/4-NE/4) OF SECTION 14;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 54’ 47” EAST, ALONG SAID EAST LINE OF THE NORTHWEST QUARTER OF THE NORTHEAST\nQUARTER (NW/4-NE/4) OF SECTION 14, FOR A DISTANCE OF 30.00 FEET, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE CONTINUING\nNORTH 00° 54’ 47” EAST, ALONG SAID EAST LINE OF THE NORTHWEST QUARTER OF THE NORTHEAST QUARTER (NW/4-NE/4) OF SECTION 14, FOR A DISTANCE OF 203.97 FEET TO AN EXISTING 1” ROD MARKING THE CORNER COMMON TO THE NORTHEAST CORNER OF THE\nNORTHWEST QUARTER OF THE NORTHEAST QUARTER (NW/4-NE/4) OF SECTION 14 AND THE SOUTHWEST CORNER OF THE SOUTHEAST QUARTER OF THE SOUTHEAST QUARTER (SE/4-SE/4) OF THE AFORESAID SECTION 11;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 46’ 32” EAST, ALONG THE WEST LINE OF SAID SOUTHEAST QUARTER OF THE SOUTHEAST QUARTER (SE/4-SE/4) OF SECTION 11,\nFOR A DISTANCE OF 120.00 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH AND 120.0 FEET NORTH OF THE SOUTH LINE OF SAID\nSECTION ELEVEN (11), FOR A DISTANCE OF 1735.47 FEET TO A POINT 396.82 FEET WEST OF THE EAST LINE OF LOT FOURTEEN (14) OF SAID\nEx. B-35"}
-{"idx": 5, "level": 2, "span": "SECTION ELEVEN (11), THE SOUTHWEST CORNER OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH\n00° 53’ 19” EAST, PARALLEL WITH AND 396.82 FEET WEST OF SAID EAST LINE OF LOT FOURTEEN (14) AND THE WEST LINE OF LOT TEN (10), FOR A DISTANCE OF 1671.72 FEET TO A POINT LYING 463.74 FEET NORTH OF THE SOUTH LINE OF LOT ELEVEN\n(11) OF SAID SECTION ELEVEN (11);"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH THE SOUTH LINE OF THE AFORESAID SECTION\nELEVEN (11), FOR A DISTANCE OF 200.00 FEET TO A POINT LYING 596.82 FEET WEST OF THE EAST LINE OF LOT ELEVEN (11) OF SAID SECTION ELEVEN (11);"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’ 19” EAST, PARALLEL WITH AND 596.82 FEET WESTERLY OF THE EAST LINE OF SAID LOT ELEVEN (11), FOR A DISTANCE\nOF 553.77 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 06’ 42” WEST, FOR A DISTANCE OF 163.48 FEET TO A POINT LYING 105.00 FEET WESTERLY OF AND\nPERPENDICULAR TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 49° 09’ 02” WEST,\nPARALLEL WITH AND 105.00 FEET WESTERLY OF SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 867.43 FEET, TO A POINT ON THE LEFT DESCENDING BANK OF THE CALCASIEU RIVER, THE NORTHWEST CORNER OF HEREIN\nDESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 63°\n49’ 10” EAST, FOR A DISTANCE OF 114.04 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A\nGENERAL DIRECTION OF NORTH 57° 18’ 13” EAST, FOR A DISTANCE OF 325.84 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING\nBANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 51° 38’ 18” EAST, FOR A DISTANCE OF 330.17 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE\nMEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 56° 19’ 43” EAST, FOR A DISTANCE OF 441.64 FEET;\nEx. B-36"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE CALCASIEU RIVER, IN A GENERAL DIRECTION\nOF NORTH 43° 18’ 27” EAST, FOR A DISTANCE OF 350.17 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE MEANDERING ALONG SAID LEFT DESCENDING BANK OF THE\nCALCASIEU RIVER, IN A GENERAL DIRECTION OF NORTH 41° 45’ 57” EAST, FOR A DISTANCE OF 271.08 FEET TO A POINT LYING 600.0 FEET SOUTH OF AND PARALLEL WITH THE FACE OF THE EXISTING FENDER SYSTEM AT BERTH NINE OF THE PORT OF LAKE CHARLES\nFACILITY;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 70° 45’ 08” EAST, 600.0 FEET SOUTH OF AND PARALLEL WITH THE FACE OF SAID FENDER SYSTEM, FOR A\nDISTANCE OF 2703.03 FEET TO A POINT LYING 20.07 FEET EASTERLY OF THE ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY, THE NORTHEAST CORNER OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 14° 17’ 53” WEST, 20.00 FEET EASTERLY OF AND PARALLEL WITH SAID ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE\nPROPERTY, FOR A DISTANCE OF 629.22 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 75° 42’ 07” EAST, FOR A DISTANCE OF 40.00 FEET TO A POINT LYING\n100.00 FEET EAST OF SAID ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 14° 17’ 53” WEST, 100.00\nFEET EAST OF AND PARALLEL WITH SAID ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY, FOR A DISTANCE OF 389.36 FEET TO THE POINT OF CURVATURE OF A TANGENT CURVE TO THE LEFT HAVING A RADIUS OF 954.93 FEET AND A CENTRAL ANGLE OF 35°\n29’ 11”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID TANGENT CURVE TO THE LEFT AND 100.00 FEET EAST OF AND PARALLEL WITH SAID ORIGINAL EAST\nLINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY, THROUGH AN ANGLE OF 17° 43’ 41”, FOR AN ARC LENGTH DISTANCE OF 295.47 FEET, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 05° 26’ 03” WEST, FOR A DISTANCE OF 294.29 FEET TO THE\nNORTH RIGHT-OF-WAY LINE OF SAID NELSON ROAD EXTENSION;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 85° 04’ 12” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF\nNELSON ROAD EXTENSION, FOR A DISTANCE OF 100.03 FEET TO THE NORTHWEST CORNER OF NELSON ROAD EXTENSION RIGHT-OF-WAY, SAID POINT ALSO LYING ON THE ORIGINAL EAST LINE OF THE PINNACLE PARCEL 1 LEASE PROPERTY AND\nEx. B-37"}
-{"idx": 5, "level": 2, "span": "LYING IN A TANGENT CURVE TO THE LEFT HAVING A RADIUS OF 1054.93 FEET AND A CENTRAL ANGLE OF 35° 29’ 11”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID TANGENT CURVE TO THE LEFT, ALONG THE WEST RIGHT-OF-WAY LINE OF NELSON ROAD EXTENSION, THROUGH AN ANGLE OF 17°\n36’ 57”, FOR AN ARC LENGTH DISTANCE OF 324.34 FEET TO THE POINT OF TANGENT OF SAID CURVE, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 12° 22’ 49” EAST A DISTANCE OF 323.07 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 21° 11’ 18” EAST, ALONG SAID WEST RIGHT-OF-WAY LINE OF NELSON ROAD EXTENSION, FOR A DISTANCE OF 398.53 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 65° 51’ 57” WEST, FOR A DISTANCE OF 71.11 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 69° 27’ 24” WEST, FOR A DISTANCE OF 134.18 FEET TO THE POINT OF CURVATURE OF A TANGENT CURVE TO THE RIGHT, HAVING A\nRADIUS OF 400.00 FEET AND A CENTRAL ANGLE OF 50° 25’ 21”;"}
-{"idx": 5, "level": 2, "span": "THENCE EASTERLY, ALONG SAID TANGENT CURVE TO THE RIGHT, THROUGH\nAN ANGLE OF 41° 26’ 10” FOR AN ARC LENGTH DISTANCE OF 289.28 FEET, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 89° 38’ 24” EAST A DISTANCE OF 285.43 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 22° 21’ 49” WEST, 90.00 FEET WEST OF AND PARALLEL WITH THE WEST LINE OF BARTHELEMEW LEBLEU CLAIM OF IRREGULAR\nSECTION 38, AND THE EAST LINE OF EXHIBIT “AM-1” AND “AM-2” TO AMENDMENT NUMBER (2) TO PNK, LLC GROUND RELEASE, FOR A DISTANCE OF 364.79 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 67° 38’ 10” EAST, FOR A DISTANCE OF 58.81 FEET TO THE POINT OF CURVATURE OF A TANGENT CURVE TO THE LEFT HAVING A\nRADIUS OF 690.00 FEET AND A CENTRAL ANGLE OF 42° 54’ 26”"}
-{"idx": 5, "level": 2, "span": "THENCE EASTERLY, ALONG SAID TANGENT CURVE TO THE LEFT, THROUGH AN\nANGLE OF 02° 35’ 26”, FOR AN ARC LENGTH DISTANCE OF 31.20 FEET TO THE WEST LINE OF THE AFORESAID BARTHELEMEW LEBLEU CLAIM IRREGULAR SECTION 38 AND THE EAST LINE OF THE AFORESAID EXHIBIT “AM-1” AND “AM-2” TO\nAMENDMENT NUMBER (2) TO PNK, LLC GROUND RELEASE;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 22° 21’ 49” WEST, ALONG THE WEST LINE OF SAID\nBARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, AND THE EAST LINE OF THE SAID EXHIBIT “AM-1” AND “AM-2” TO AMENDMENT NUMBER (2) TO PNK, LLC GROUND\nEx. B-38"}
-{"idx": 5, "level": 2, "span": "RELEASE, FOR A DISTANCE OF 1071.95 FEET TO THE NORTH RIGHT-OF-WAY LINE OF CAGLE LANE, SAID POINT BEING THE SOUTHEAST CORNER OF THE PINNACLE PARCEL 2 LEASE PROPERTY;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 88° 15’ 23” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF CAGLE LANE AND THE SOUTH LINE OF SAID PINNACLE PARCEL 2\nLEASE PROPERTY, FOR A DISTANCE OF 58.83 FEET TO A POINT LYING IN A TANGENT CURVE TO THE LEFT HAVING A RADIUS OF 280.00 FEET AND A CENTRAL ANGLE OF 112° 25’ 55”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID TANGENT CURVE TO THE LEFT, THROUGH AN ANGLE OF 06° 11’ 05” FOR AN ARC LENGTH DISTANCE OF 30.22\nFEET, SAID CURVE HAVING A CHORD WHICH BEARS SOUTH 08° 29’ 30” WEST A DISTANCE OF 30.21 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 88° 15’ 23” WEST,\nFOR A DISTANCE OF 130.84 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 2, "span": "LESS AND EXCEPT: THAT PORTION OF TRACT 1 LYING WITHIN THE FOLLOWING DESCRIBED\nI-210 ENTRY ROAD DEDICATION AS RECORDED IN CONVEYANCE BOOK 3779, PAGE 268, RECORDS OF CALCASIEU PARISH, LOUISIANA:"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR\nPARCEL OF LAND LYING IN BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, THE NORTHEAST QUARTER (NE/4) OF SECTION 14 AND THE SOUTHEAST QUARTER (SE/4) OF SECTION 11, ALL IN TOWNSHIP TEN (10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH,\nLOUISIANA, BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS TO-WIT:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE SOUTHWEST CORNER OF THE BARTHELEMEW LEBLEU CLAIM OF\nIRREGULAR SECTION THIRTY-EIGHT (38), TOWNSHIP TEN (10) SOUTH, RANGE NINE (9) WEST, CALCASIEU PARISH, LOUISIANA, SAID POINT ALSO BEING ON THE SOUTH RIGHT-OF-WAY LINE OF CAGLE LANE;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 88° 15’ 23” EAST, ALONG SAID SOUTH RIGHT OF WAY LINE OF CAGLE LANE AND THE SOUTH LINE OF THE BARTHELEMEW LEBLEU\nCLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), FOR A DISTANCE OF 347.41 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 01° 44’ 37” WEST, PERPENDICULAR\nTO SAID SOUTH RIGHT-OF-WAY LINE OF CAGLE LANE AND THE SOUTH LINE OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION THIRTY-EIGHT (38), FOR A DISTANCE OF 264.58 FEET TO THE NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE\nEx. B-39"}
-{"idx": 5, "level": 2, "span": "210 LOOP, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 00°\n55’ 49” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A DISTANCE OF 11.66 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE\nNORTH 89° 53’ 45” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A DISTANCE OF 240.43 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 80° 53’ 11” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A DISTANCE OF 50.78\nFEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 87° 22’ 07” WEST, ALONG SAID NORTH RIGHT-OF-WAY LINE OF THE LOUISIANA INTERSTATE 210 LOOP, FOR A\nDISTANCE OF 28.08 FEET TO THE INTERSECTION WITH THE WEST RIGHT-OF-WAY LINE OF THE SOUTH ACCESS ROAD, SAID POINT BEING IN A CURVE TO THE RIGHT HAVING A RADIUS OF 370.00 FEET AND A CENTRAL ANGLE OF 112° 25’ 55”;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTHERLY, ALONG SAID CURVE TO THE RIGHT AND SAID WEST RIGHT-OF-WAY LINE OF THE SOUTH ACCESS ROAD, THROUGH AN ANGLE OF 75° 58’\n34”, FOR AN ARC LENGTH DISTANCE OF 490.63 FEET TO THE POINT OF TANGENT OF SAID CURVE;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 22° 21’ 49” EAST,\n150.00 FEET WESTERLY OF AND PARALLEL WITH THE WEST LINE OF THE BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, FOR A DISTANCE OF 1039.60 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 67° 38’ 10” EAST, FOR A DISTANCE OF 90.00 FEET TO A POINT LYING 60.00 FEET WESTERLY OF THE WEST LINE OF SAID\nBARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 22° 21’ 49” WEST, 60.0 FEET WESTERLY OF AND PARALLEL WITH\nTHE WEST LINE OF SAID BARTHELEMEW LEBLEU CLAIM OF IRREGULAR SECTION 38, FOR A DISTANCE OF 1039.60 FEET TO THE POINT OF CURVATURE OF A CURVE TO THE LEFT HAVING A RADIUS OF 280.00 FEET AND A CENTRAL ANGLE OF 112° 25’ 55”;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTHERLY, ALONG SAID CURVE TO THE LEFT AND EAST RIGHT-OF-WAY LINE OF THE AFORESAID SOUTH ACCESS ROAD, FOR AN ARC LENGTH DISTANCE OF\n549.45 FEET TO THE POINT OF TANGENT OF SAID CURVE;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 55’ 55” EAST, ALONG SAID RIGHT-OF-WAY LINE OF THE\nEx. B-40"}
-{"idx": 5, "level": 2, "span": "SOUTH ACCESS ROAD, FOR A DISTANCE OF 98.97 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "TRACT 2 –\nLEASEHOLD ESTATE"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR PARCEL OF LAND LYING IN THE NORTHEAST QUARTER OF THE SOUTHWEST QUARTER (NE/4-SW/4) OF\nSECTION 11, TOWNSHIP 10 SOUTH, RANGE 9 WEST, CALCASIEU PARISH, LOUISIANA:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN EXISTING 1” ROD MARKING THE SOUTHEAST\nCORNER OF THE SOUTHWEST QUARTER OF THE SOUTHEAST QUARTER (SW/4-SE/4) OF SECTION 11, TOWNSHIP 10 SOUTH, RANGE 9 WEST, CALCASIEU PARISH, LOUISIANA;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, ALONG THE SOUTH LINE OF THE SOUTHWEST QUARTER OF THE SOUTHEAST QUARTER (SW/4-SE/4) OF SAID\nSECTION 11, FOR A DISTANCE OF 1735.52 FEET TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH\n00° 53’ 19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 1791.72 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH THE SOUTH LINE OF THE AFORESAID SECTION 11 AND ALONG SAID ORIGINAL WEST BOUNDARY\nLINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 200.00 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’ 19” EAST, ALONG SAID\nORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 125.97 FEET, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 49° 09’ 02” WEST, ALONG PROPERTY LINE CONTIGUOUS WITH GOLDEN NUGGET EXCLUSIVE, FOR A DISTANCE OF 448.00 FEET TO\nPROPERTY LINE CONTIGUOUS WITH GOLDEN NUGGET COMMON;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 64° 45’ 00” EAST, ALONG PROPERTY LINES CONTIGUOUS WITH\nSAID GOLDEN NUGGET COMMON AND PNK COMMON, FOR A DISTANCE OF 317.95 FEET TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 89° 06’ 42” EAST, ALONG THE SAID ORIGINAL WEST BOUNDARY\nEx. B-41"}
-{"idx": 5, "level": 2, "span": "LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 57.95 FEET TO AN EXISTING 5/8” REBAR;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 00° 53’ 19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE\nOF 427.80 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "TRACT 3 – LEASEHOLD ESTATE"}
-{"idx": 5, "level": 2, "span": "THAT CERTAIN TRACT OR PARCEL OF LAND LYING IN THE NORTHEAST QUARTER OF THE SOUTHWEST QUARTER (NE/4-SW/4) OF SECTION 11, TOWNSHIP 10 SOUTH,\nRANGE 9 WEST, CALCASIEU PARISH, LOUISIANA:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN EXISTING 1” ROD MARKING THE SOUTHEAST CORNER OF THE SOUTHWEST QUARTER OF\nTHE SOUTHEAST QUARTER (SW/4-SE/4) OF SECTION 11, TOWNSHIP 10 SOUTH, RANGE 9 WEST, CALCASIEU PARISH, LOUISIANA;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89°\n11’ 50” WEST, ALONG THE SOUTH LINE OF THE SOUTHWEST QUARTER OF THE SOUTHEAST QUARTER (SW/4-SE/4) OF SAID SECTION 11, FOR A DISTANCE OF 1735.52 FEET TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’ 19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE\nOF 1791.72 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89° 11’ 50” WEST, PARALLEL WITH THE SOUTH LINE OF THE AFORESAID SECTION 11 AND ALONG SAID\nORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 200.00 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 00° 53’\n19” EAST, ALONG SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 553.77 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 89°\n06’ 42” WEST, FOR A DISTANCE OF 57.95 FEET, THE POINT OF BEGINNING OF HEREIN DESCRIBED TRACT;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 64° 45’\n00” WEST, ALONG PROPERTY LINE CONTIGUOUS WITH PNK EXCLUSIVE, FOR A DISTANCE OF 268.54 FEET TO PROPERTY LINE CONTIGUOUS WITH GOLDEN NUGGET COMMON;\nEx. B-42"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 22° 00’ 02” WEST, ALONG PROPERTY LINE CONTIGUOUS WITH SAID GOLDEN\nNUGGET COMMON, FOR A DISTANCE OF 165.52 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE NORTH 58° 02’ 34” EAST, FOR A DISTANCE OF 106.98 FEET TO A POINT LYING\n105.00 FEET PERPENDICULAR TO THE ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 49° 09’\n02” EAST, 105.00 FEET WESTERLY OF AND PARALLEL WITH SAID ORIGINAL WEST BOUNDARY LINE OF L’AUBERGE DU LAC HOTEL AND CASINO, FOR A DISTANCE OF 143.56 FEET;"}
-{"idx": 5, "level": 2, "span": "THENCE SOUTH 89° 06’ 42” EAST, FOR A DISTANCE OF 105.54 FEET TO THE POINT OF BEGINNING.\nEx. B-43"}
-{"idx": 5, "level": 3, "span": "Boomtown Bossier City"}
-{"idx": 5, "level": 2, "span": "THE LAND REFERRED TO HEREIN BELOW IS SITUATED IN THE PARISHES OF BOSSIER AND CADDO, STATE OF LOUISIANA, AND IS DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 3, "span": "TRACT 1:\nA tract of land located\nin Section 32, Township 18 North, Range 13 West, Bossier City, Bossier Parish, and/or Section 31, 32 or 33, Township 18 North, Range 13 West, Caddo Parish, Louisiana, being more fully described as follows: Beginning at a found one-half\ninch (1/2”) diameter iron rod being the southwest corner of Lot 34, Cook Subdivision as recorded in Book 141, Page 11 of the records of Bossier Parish, Louisiana; Run thence along the west line of said Lot 34 North 29°36’53”\nEast a distance of 165.24 feet to a point on the south right of way line of Interstate 20; Run thence along said south right of way line South 82°30’55” East a distance of 58.03 feet; Continue thence along said right of way line South\n77°46’57” East a distance of 48.93 feet; Continue thence along said right of way line South 83°56’33” East a distance of 91.17 feet to the point of intersection with the southerly right of way line of Riverside Drive; Run\nthence along said right of way line South 60°59’55” East a distance of 15.0 feet to the common front corner of Lots 36 and 37 of said Cook Subdivision; Run thence along said common line South 28°35’07” West a distance of\n228.77 feet to the common rear corner of said Lots 36 and 37; Run thence along the rear property line of Lots 37 through 44 of said Cook Subdivision South 64° 50’ 08” East a distance of 285.30 feet and South 66°27’14”\nEast a distance of 112.92 feet to the common rear corner of Lots 44 and 45 of said Cook Subdivision, run thence along the common line of said Lots 44 and 45 North 29°39’20” East a distance of 198.95 feet to the front common corner of\nsaid Lots 44 and 45 said point also being on the southerly right of way of Riverside Drive; Run thence along said right of way and front property line of Lot 45 South 60°49’57” East a distance of 50.14 feet to the front common corner\nof Lots 45 and 46 of said Cook Subdivision; Run thence along the common line of said Lots 45 and 46 South 29°42’00” West a distance of 194.03 feet to the rear common corner of said Lots 45 and 46; Run thence along the rear property\nline of Lot 46 of said Cook Subdivision South 66°27’14” East a distance of 53.40 feet; Run thence South 31°17’22” West a distance of 18.33 feet to the southwest corner of Lot 114 Riverside Subdivision as recorded in Book\n60, Page 157 of the records of Bossier Parish, Louisiana; Run thence along the rear property line of said Lot 114, South 70°11’51” East a distance of 66.84 feet to the common rear corner of Lots 114 and 113 of said Riverside\nSubdivision; Run thence along the common line of Lots 114 and 113 of said Riverside Subdivision North 29°03’49” East a distance of 197.08 feet to the common front corner of said Lots 114 and 113, Riverside Subdivision, said point lying\non the southerly right of way of Riverside Drive; Run thence along said right of way line and the front property line of Lots 113, 112, 111 and a portion of Lot 110 of said Riverside Subdivision South, 60°51’53” East a distance of\n192.75 feet; Thence leaving said southerly right of way line of Riverside Drive, run South 29°07’29” West a distance of 165.43 feet, Run thence North 70°11’51” West a distance of\nEx. B-44\n13.30 feet; Run thence South 28°57’00” West a distance of 1,021.25 feet; Run thence North 62°23’39” West a distance of 127.28 feet; Run thence North\n64°12’33” West a distance of 101.11 feet; Run thence North 55°10’08” West a distance of 614.30 feet; Run thence North 24°48’49” East a distance of 897.25 feet to a point on the rear property line of Lot 34\nof said Cook Subdivision; Run thence along said rear property line North 55°33’16” West a distance of 44.49 feet to the point of beginning of tract containing 21.263 acres more or less, TOGETHER WITH all batture, alluvion or riparian\nrights inuring to the above described property."}
-{"idx": 5, "level": 3, "span": "TRACT 2:\nA tract located in Section 32, Township 18 North, Range 13 West, Bossier Parish and/or Sections 31, 32 and 33, Township 18 North, Range\n13 West, Caddo Parish, Louisiana, said tract being more fully described as follows: Beginning at the common front corner of Lots 114 and 113, Riverside Subdivision, as recorded in Book 60, page 157 of the Records of Bossier Parish, Louisiana, said\npoint lying on the Southerly right of way line of Riverside Drive; Run thence along said right of way line and the front property line of Lots 113, 112, 111 and a portion of Lot 110 of said Riverside Subdivision South 60°51’53” East a\ndistance of 192.75 feet; Thence leaving said Southerly right of way line of Riverside Drive, run South 29°07’29” West a distance of 165.43 feet; Run thence North 70°11’51” West a distance of 13.30 feet; Run thence South\n28°57’00” West a distance of 1,021.25 feet to a point being the most Southeasterly corner of a tract of land owned by Casino Magic of Louisiana Corp., said point also being the point of beginning of the tract herein described; Run\nthence South 28°57’00” West a distance of 58.09 feet to a point on the high bank of the Red River; Run thence along said high bank the following courses and distances: North 58°06’50” West a distance of 99.46 feet; North\n68°39’18” West a distance of 107.65 feet; North 64°46’01” West a distance of 59.95 feet; North 54°59’20” West a distance of 55.60 feet; North 71°05’21” West a distance of 44.44 feet; North\n58°35’49” West a distance of 59.16 feet; North 58°34’22” West a distance of 63.52 feet; North 48°22’26” West a distance of 43.01 feet; North 55°16’36” West a distance of 71.06 feet; North\n51°27’28” West a distance of 83.50 feet; North 53°26’45” West a distance of 48.28 feet; North 54°43’33” West a distance of 45.27 feet; North 29°51’48” West a distance of 13.25 feet; North\n61°25’01” West a distance of 21.70 feet and North 41°39’41” West a distance of 27.81 feet; Thence leaving said high bank run North 24°48’49” East a distance of 64.52 feet; Run thence South\n55°10’08” East a distance of 614.30 feet; Run thence South 64°12’33” East a distance of 101.11 feet; Run thence South 62°23’39” East a distance of 127.28 feet to the point of beginning of tract, containing\n1.348 acres, more or less.\nThe following described property described in that certain Act of Exchange recorded in Conveyance Book 1445,\nPage 337 as Instrument No. 931523 of the Records of Bossier Parish, Louisiana:"}
-{"idx": 5, "level": 3, "span": "TRACT 1\nEx. B-45\nA tract of land located on Lot 37 and the west 45.4 feet of Lot 38, Cook Subdivision, a\nsubdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of Lot 37 and the west\n45.4 feet of Lot 38, Cook Subdivision, less Parcel 1-5, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 19,992.568 square feet, more or less, as more fully shown on plat of survey by Aillett, Fenner, Jolly &\nMcClelland, Inc., dated September 2007, last revised October 25, 2007, a copy of which is attached to the Deed recorded in Conveyance Book 1445, Page 337 as Instrument No. 931523 of the Records of Bossier Parish, Louisiana (the\n“Survey”)."}
-{"idx": 5, "level": 3, "span": "TRACT 2:\nA tract of land located on the east 4.6 feet of Lot 38 and the west 40 feet of Lot 39, Cook Subdivision, a subdivision of Bossier City,\nBossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of the east 4.6 feet of Lot 38 and the west 40 feet\nof Lot 39, Cook Subdivision, less Parcel 1-8, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 9,114.047 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 3:\nA tract\nof land located on the east 10 feet of Lot 39 and Lot 40, Cook Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly\ndescribed as follows: all that portion of the remainder of the east 10 feet of Lot 39 and Lot 40, Cook Subdivision, less Parcel 1-9, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 12,047.080 square feet, more or less,\nas more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 4:\nA tract of land located on Lot 41 and the west one-half of Lot 42, Cook Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana,\nas recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of Lot 41 and the West one-half of Lot 42, Cook Subdivision, less Parcel 1-11,\nas dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 14,667.508 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 5:\nEx. B-46\nA tract of land located on the east one-half of Lot 42 and Lot 43, Cook Subdivision, a\nsubdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all that portion of the remainder of the east one-half of\nLot 42 and Lot 43, Cook Subdivision, less Parcel 1-13, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 14,239.267 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "TRACT 6:\nA tract\nof land located on Lot 44, Cook Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana, as recorded in Book 141, Page 11 of the Conveyance ‘Records of Bossier Parish, Louisiana, being more particularly described as fellows: all\nthat portion of the remainder of Lot 44, Cook Subdivision, less Parcel 1-15, as dedicated to the right-of-way of the Arthur Ray Teague Parkway; containing 9,249.384 square feet, more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT FROM ALL OF THE ABOVE DESCRIBED PROPERTY:\nThe following described parcels described in that certain Act of Conveyance and Servitude Grant recorded in Conveyance Book 1445, Page 319 as\nInstrument No. 931522 of the Records of Bossier Parish, Louisiana:"}
-{"idx": 5, "level": 3, "span": "PARCEL 1-3:\nBeing located on Lots 35 and 36, Cook Subdivision, as recorded in Book 141, Page 11 in the Conveyance Records of Bossier Parish, Louisiana,\nbeing more particularly described as follows:\nFrom the Northeast Comer of Lot 36 at intersection of existing right of way known as\nRiverside Drive, run south 27 degrees 39 minutes 23 seconds West, a distance of 16.30 feet; run thence North 61 degrees 46 minutes 26 seconds West, a distance of 0.67 feet; run thence along a right curve having a radius of 341.97 feet, whose length\nis 77.54 feet and whose chord length is 77.37 feet and bears North 68 degrees 16 minutes 10 seconds West; run thence south 83 degrees 39 minutes 02 seconds East, a distance of 67.23 feet, run thence South 61 degrees 46 minutes 41 seconds East, a\ndistance of 15.00 feet back to the Northeast Corner of Lot 36. All of which comprises Parcel 1 -3, Bossier City Project No. 8-00, containing 0.022 acres or 976.88 square feet, more or less, as more-fully shown on plat of Survey by Aillett,\nFenner, Jolly & McClelland, Inc., dated September, 2007, last revised October 25, 2007, a copy of which is attached to Act of Conveyance and Servitude Grant recorded in Conveyance Book 1445, Page 319 as Instrument No. 931522,\nRecords of Bossier Parish, Louisiana (the “Survey”)."}
-{"idx": 5, "level": 3, "span": "PARCEL 1-17:\nEx. B-47\nBeing located on Lot 45, Cook Subdivision, as recorded in Book 141, Page 11 in the Conveyance\nRecords of Bossier Parish, Louisiana, being more particularly described as follows:\nFrom the Northwest Corner of Lot 45 at intersection\nof Northeast Corner of Lot 44 and existing right of way known as Riverside Drive, run South 61 degrees 46 minutes 41 seconds East, a distance of 50.17 feet; run thence South 28 degrees 46 minutes 38 seconds West, a distance of 16.33 feet; run thence\nNorth 61 degrees 46 minutes 26 seconds West a distance of 50.14 feet; run thence North 28 degrees 39 minutes 32 seconds East, a distance of 16.33 feet, back to the Northwest Corner of Lot 45. All of which comprises Parcel 1-17, Bossier City Project\nNo 8-00 containing 0.0188 acres or 818.974 square feet; more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "PARCEL 1-22:\nBeing a portion of Lot 34, Cook Subdivision, as recorded in Book 141, Page 11 in the Conveyance Records of Bossier Parish, Louisiana, being\nmore particularly described as follows:\nFrom the point of intersection of the South right of way line of Riverside Drive and the West\nright of way line of Kaywood Court, said point and comer being the point of beginning of the tract herein described, run South 27 degrees 39 minutes 23 seconds West, along said West right of way line of Kaywood Court, a distance of 20.44 feet; run\nthence North 82 degrees 24 minutes 22 seconds West, a distance of 45.80 feet, to the point of curvature of a curve to the right, having the following data: radius=439.78 feet, chord=North 81 degrees 54 minutes 05 seconds West, a distance of 7.75\nfeet; run thence in a Northwesterly direction, along said curve, a distance of 7.75 feet, to the point of intersection with the West line of said Lot 34; run thence North 28 degrees 49 minutes 59 seconds East, along said Lot line, a distance of\n19.28 feet, to the point of intersection with the South right of way line of said Riverside Drive; run thence South 83 degrees 39 minutes 02 seconds East, a distance of 53.59 feet, to the point of beginning. Containing 0.0228 acres (993.177 square\nfeet), more or less, as more fully shown on the Survey."}
-{"idx": 5, "level": 3, "span": "PARCEL 2-4:\nBeing located on Lots 113, 112, 111, and a portion of Lot 110, Riverside Subdivision, as recorded in Book 60, Page 157 of the Conveyance\nRecords of Bossier Parish, Louisiana, being more particularly described as follows:\nFrom the Northwest Comer of Lot 113 at intersection\nof Northeast Comer of Lot 114 and existing right of way known as Riverside Drive, run South 61 degrees 46 minutes 41 seconds East, a distance of 192.73 feet; run thence South 28 degrees 13 minutes 19 seconds West, a distance of 16.35 feet; run\nthence North 61 degrees 46 minutes 26 seconds West a distance of 192.70 feet; run thence North 28 degrees 06 minutes 11 seconds East, a distance of 16.34 feet,\nEx. B-48\nback to the Northwest Corner of Lot 113. All of which comprises Parcel 2-4, Bossier City Project No. 8-00, containing 0.0723 acres or 3150.14 square feet, more or less, as more fully shown\non the Survey."}
-{"idx": 5, "level": 2, "span": "AND ALSO LESS AND EXCEPT:\nThe following described Tract described in that certain Act of Exchange recorded in Conveyance Book 1445, Page 337 as Instrument\nNo. 931523 of the Records of Bossier Parish, Louisiana:"}
-{"idx": 5, "level": 3, "span": "TRACT 7:\nA tract of land located on Lots 110, 111, 112 and 113, Riverside Subdivision, a subdivision of Bossier City, Bossier Parish, Louisiana, as\nrecorded in Book 60, Page 157 of the Conveyance Records of Bossier Parish, Louisiana, being more particularly described as follows: all mat portion of the remainder of Lots 110, 111, 112 and 113, Riverside Subdivision, less Parcel 2-4, as dedicated\nto the right-of-way of the Arthur Ray Teague Parkway (and subject to the permanent utility servitude over Parcel 2-4A); containing 31,771.125 square feet, more or less, as more fully shown on the Survey described in that certain Act of Exchange\nrecorded in Conveyance Book 1445, Page 337 as Instrument No. 931523 of the Records of Bossier Parish, Louisiana.\nEx. B-49"}
-{"idx": 5, "level": 3, "span": "Boomtown New Orleans"}
-{"idx": 5, "level": 4, "span": "Tract I\nA certain piece or portion of\nground, together with the buildings and improvements thereon, which is a part of Lot 16, Destrehan Division, Section 56, T14S, R24E, and is identified as Lot 11-A on a plan of resubdivision of Dufrene Surveying & Engineering, dated\nJanuary 24, 1994, approved by the Parish of Jefferson under Ordinance No. 19026 and recorded April 20, 1994 in COB 2892, Page 609, records of Jefferson Parish, and in accordance with a survey of BFM Corporation, last dated\nMay 24, 2001, Drawing No. M-201-001A, Lot 11-A is more fully described as follows:\nBegin at the intersection of the southerly line\nof Lot 11-A, the northerly line of Lot 18 and a 30-foot railroad right of way; thence S 72° 20’ 45” W a distance of 1,294.22 feet to a point on the easterly right of way line of the Gulf Intracoastal Waterway; thence N 17° 39’\n15” W a distance of 1,652.33 feet to a point; thence N 72° 20’ 45” E a distance of 1,433.59 feet to a point on the westerly railroad right of way; thence S 16° 12’ 26” E a distance of 650.21 feet to a point; thence S\n16° 20’ 32” E a distance of 1,259.00 feet to a point.\nSaid Lot 11-A is composed of a portion of Lot 9 and all of Lots 10,\n11 and 12 and those portions of Lots 13, 14, 15, 16 and 17, formerly known as Lots X and Y."}
-{"idx": 5, "level": 4, "span": "Tract II:\nThe following servitudes and agreements as established as follows:\nA. Servitudes granted by Numa C. Hero to Howard T. Tellepsen for ingress and egress to Peters\nRoad, dated January 05, 1965 recorded January 12, 1965 as COB 606, Page 514, official records of the Parish of Jefferson, State of Louisiana.\nB. Private Roadway Agreement granted by Southern Pacific Company to Howard T. Tellepsen, dated\nDecember 31, 1964, recorded January 12, 1965 as COB 606, Page 516, official records of the Parish of Jefferson, State of Louisiana.\n(The\n“Insured Access Agreements”).\nEx. B-50"}
-{"idx": 5, "level": 3, "span": "Ameristar Vicksburg"}
-{"idx": 5, "level": 4, "span": "TRACT ONE"}
-{"idx": 5, "level": 4, "span": ": Magnolia (Casino) Parcel Fee Simple \nThat tract or parcel of land lying and being situate in the City of Vicksburg, County of Warren, State of Mississippi, and being part of\nSection 32, Township 16 North, Range 3 East, more particularly described as follows, to-wit:\nBeginning at an iron pipe located on\nthe Western right-of-way line of Washington Street (being the same public road known as U.S. Highways 61 and 80 or Warrenton Road) as same existed on November 7, 1992, same lying South 87° 35’ East, 25.4 feet from Vicksburg National\nMilitary Park Concrete Marker No. 389, and from said point of beginning run thence North 87° 35’ West, a distance of 25.4 feet to said Vicksburg National Military Park Marker No. 389, which point marks the Southeast corner of the\nlands presently occupied by said Vicksburg National Military Park and known as South Fort, same having been conveyed to the United States of America by instrument recorded in Deed Book 93 at Page 268 of the aforesaid land records, and from said\nmarker run thence along the South boundary line of said South Fort, having a published course and distance within deed heretofore executed by Rose Supply, Inc. in favor of Magnolia Hotel Company, recorded in Deed Book 684 at Page 47, of North\n74° 55’ West, a distance of 421 feet, but having an actual course and distance, as measured between Vicksburg National Military Park Monument Nos. 389 and 388, of North 74° 53’ West 417.58 feet, but, nevertheless, to Vicksburg\nNational Military Park Monument No. 388, found at the Southwest Corner of said South Fort parcel, which point further marks the Southeast Corner of lands conveyed to Miss Priscilla Brady by deed dated December 20, 1923, recorded in\nDeed Book 156 at Page 48 of said land records; run thence along the South line of said Brady parcel and the North line of the lands described herein, North 74° 55’ West, 240 feet, more or less, to the water’s edge of the Mississippi\nRiver as same existed on November 7, 1992; thence continue in a westerly direction to a point where said line intersects the thalweg of the Mississippi River marking the boundary between the States of Mississippi and Louisiana; run thence in\nSoutherly direction following the thalweg of the said Mississippi River and the meanderings thereof marking the boundary line between the States of Mississippi and Louisiana, having a published distance in the aforedescribed deed recorded in Deed\nBook 684 at Page 47 of 555 feet, but having an actual distance believed to approximate 460 feet, more or less, but, nevertheless, to a point where the Westerly projection of the North line of that certain tract or parcel of land conveyed to\nVicksburg Bridge Company by Deed dated June 24, 1944, recorded in Deed Book 242 at Page 443, (being the same parcel subsequently conveyed by Warren County, Mississippi to R. R. Morrison & Son, Inc. by correction deed recorded in Deed\nBook 968 at Page 707 of the aforesaid Land Records) intersects the thalweg of said Mississippi River; thence leaving the thalweg of said Mississippi River and run South 64° 25’ East, a distance sufficient to intersect the water’s edge\nof the Mississippi River at its Easterly bank as same existed on November 7, 1992, which point marks the Northwest Corner of the aforedescribed parcel heretofore conveyed unto Vicksburg Bridge Company by instrument\nEx. B-51\nrecorded in Deed Book 242 at Page 443 and further described within Correction Deed in favor of R. R. Morrison & Son, Inc., recorded in Deed Book 968 at Page 707, each within the\naforesaid Land Records of Warren County; run thence along the North line of said Morrison parcel described in said Deed Book 968 at Page 707, South 64° 25’ East, a distance of 435.0 feet, more or less, to a point marking the Northeast\nCorner of said Morrison parcel described in said Deed Book 968 at Page 707 and the Northwest Corner of another parcel conveyed to R. R. Morrison & Son, Inc. by deed recorded in Deed Book 592 at Page 113 of said land records; continue thence\nalong the North line of said Morrison parcel described in said Deed Book 592 at Page 113 and along the South line of the tract herein described South 64° 17’ East a distance of 175.0 feet, more or less, to a point on the West right-of-way\nline of Washington Street (being the same public roadway sometimes known as Warrenton Road and U.S. Highway Nos. 61 and 80), as same existed on November 7, 1992; thence leaving the North line of said Morrison parcel described in said Deed Book\n592 at Page 113 and run along the West right-of-way line of said Washington Street, North 20° 46’ East, 580.21 feet, more or less, to a point, which point marks the point of beginning of the parcel herein described, all lying and being\nsituate within Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi."}
-{"idx": 5, "level": 4, "span": "TRACT TWO: "}
-{"idx": 5, "level": 4, "span": "Lum-Brady (Casino) Fee\nSimple "}
-{"idx": 5, "level": 3, "span": "Parcel One:\nThose portions of Sections 31 and 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, more particularly described as\nfollows, to-wit:\nBeginning at a park stone identified as “Vicksburg National Military Park Monument No. 379”, which point\nfurther marks the Southeast corner of that certain or parcel of land conveyed unto the Mayor and Aldermen of the City of Vicksburg, Mississippi, and Warren County, Mississippi, by Campbell Development Corporation, et al, within Deed dated\nDecember 1, 1989, recorded in Deed Book 882 at Page 233 of the Land Records of Warren County, Mississippi, wherein said point is said to lie North 17° 22’ 30” West, 671.54 feet from the Southeast corner of Section 31,\nTownship 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, which point is further described as the Southwest corner of a parcel heretofore described as an old government fort described in Deed Book 92 at Page 248 of the aforesaid Warren\nCounty Land Records, same presently occupied by the said Vicksburg National Military Park and known as Louisiana Circle and from said point of beginning run thence along the South line of said Vicksburg National Military Park parcel and the North\nline of the lands herein described having a published course within instrument recorded in Deed Book 950 at Page 518 of the aforesaid Land Records of South 68° 23’ East, but having an actual course of South 69° 40’ 37” East,\nbut, nevertheless, a distance of 195.13 feet, more or less, to a point on the West right-of-way line of Washington Street (being the same public roadway sometimes known as Warrenton Road and U.S. Highway Nos. 61 and 80) as same existed on\nNovember 7, 1992, which point lies North 69° 40’ 37” West, 17.93 feet from Vicksburg National Military Park Monument No. 380; run thence along the\nEx. B-52\nWest right-of-way line of said Washington Street as located on November 7, 1992, with the following courses and distances, viz: South 07° 16’ 28” West, 80.55 feet, South\n09° 24’ 24” West, 160.94 feet, South 14° 39’ 57” West, 98.08 feet, more or less, to an iron pipe found in the North line of that certain parcel described as Tract Two within Deed recorded in Deed Book 260 at Page 199 of\nthe aforesaid Land Records and being further depicted upon plat attached thereto and further described as Tract Two within Deed in favor Globe Industries, Inc., recorded in Deed Book 484 at Page 35 of said Land Records; thence leaving the West line\nof Washington Street and run along the North line of lands described as Tract Two within said Deed Book 484 at Page 35, North 73° 00’ West, 51.3 feet, more or less, to an iron pipe found at the Northwest corner of said Tract Two described\nwithin said Deed Book 484 at Page 35; run thence along the West line of said Tract Two described within said Deed Book 484 at Page 35, having a published course therein of South 20° 45’ West, but having an actual course of South 21°\n16’ 25” West, but, nevertheless, a distance of 182.97 feet, more or less, to an iron pipe found at the Southwest corner thereof; run thence along the South line of said Tract Two described in said Deed Book 484 at Page 35, South 54°\n00’ East, 52.0 feet, more or less, to the West right-of-way line of said Washington Street as same is located on November 7, 1992; run thence along the West right-of-way line of said Washington Street, South 23° 40’ 41” West,\na distance of 186.95 feet, more or less, to an iron pipe found at the Northeast corner of that certain tract of land heretofore conveyed unto Mississippi Power and Light Company by Deed dated May 13, 1925, recorded in Deed Book 158 at Page 424\nof the aforesaid Land Records and further described within Quitclaim Deed dated July 14, 1978, recorded in Deed Book 596 at Page 375; thence leaving the West right-of-way line of said Washington Street and run along the North line of said\nMississippi Power and Light Company tract North 74° 30’ West, 800 feet, more or less, to a point on the bank of the Mississippi River; run thence along the bank of said Mississippi River and the meanderings thereof having an average bearing\nof North 41° 04’ 56” East a distance of 424.86 feet, more or less, to an iron found on the top bank of said river marking the westernmost corner of lands described as Tract One in Deed recorded in Deed Book 260 at Page 199 of the\naforesaid Land Records and depicted upon plat attached thereto, being the same lands further described as Tract One within Deed in favor of Globe Industries, Inc., recorded in Deed Book 484 at Page 35 of said Land Records; thence leaving the bank of\nsaid river and run along the South line of lands described as Tract One within said Deeds recorded in Book 260 at Page 199 and Deed Book 484 at Page 35, marked in part by a possession line fence, South 59° 10’ East a distance of 447.38\nfeet, more or less, to the Southeast corner of said lands described as Tract One within said Deeds recorded in Book 260 at Page 199 and Deed Book 484 at Page 35, same being the center line of an ingress-egress easement, 22 feet in width, described\nwithin each of said instruments recorded in Deed Book 260 at Page 199 and Deed Book 484 at Page 35; run thence along the East line of the lands described as Tract One within said instruments recorded in Deed Book 260 at Page 199 and Deed Book 484 at\nPage 35, same being the center line of said ingress-egress easement, 22 feet in width, North 48° 00’ East, having a record distance of 250.0 feet, but having an actual distance of 229.48 feet, but, nevertheless, to a point on the South edge\nof an existing road marking the North line of lands described as Tract One within said instruments\nEx. B-53\nrecorded in Deed Book 260 at Page 199 and Deed Book 484 at Page 35, which point is further\nidentified as a point on the South line of that certain parcel dedicated for use as a perpetual non-exclusive easement within instrument executed by Martha Ker Brady Lum, et al, in favor of The Merchants Realty Company, its successors and assigns in\ntitle, recorded in Deed Book 350 at Page 382 of the aforesaid Land Records; run thence along the Southerly edge of said existing roadway and along the arcs of the curves therein having the following approximate chord bearings and distances, (but,\nnevertheless, following the edge of pavement as same existed on November 7, 1992) which approximate chord bearings and distances are as follows: North 59° 24’ 11” West, 34.59 feet; North 28° 05’ 02” West, 62.19 feet;\nNorth 06° 11’ 50” West, 127.04 feet; North 08° 59’ 53” West, 28.84 feet; North 22° 10’ 40” West, 34.54 feet; North 44° 06’ 20” West, 28.41 feet; North 48° 37’ 33” West, 19.80 feet\nto the Northernmost corner of lands described as Tract One within said instrument recorded in said Deed Book 260 at Page 199 and Deed Book 484 at Page 35, same further identified as the Northeast corner of lands described as Tract Four within said\nDeed recorded in Deed Book 484 at Page 35, same further being the Northeast corner of lands conveyed unto C. L. Andrews by Deed dated June 14, 1932, recorded in Deed Book 188 at Page 10, and depicted upon plat attached thereto; run thence along\nthe North line of lands described as Tract Four and thereafter along lands described as Tract Three, each within said instrument recorded in Deed Book 484 at Page 35, and along the North line of lands described within said Deed recorded in Deed Book\n188 at Page 10, being along the line marked by a board fence identified upon said plat attached to Deed recorded in Deed Book 260 at Page 199, North 67° 00’ West a distance of 339.19 feet, more or less, to a point on the bank of the\nMississippi River; thence leaving the North line of lands described within Deed Book 484 at Page 35 and Deed Book 188 at Page 10 and run along the bank of said Mississippi River having an average bearing of North 23° 03’ 09” East a\ndistance of 32.20 feet, more or less, to a point on the South line of lands conveyed unto the Mayor and Aldermen of the City of Vicksburg and Warren County, Mississippi, by Deed recorded in Deed Book 882 at Page 233 of the aforesaid Land Records;\nthence leaving the bank of said Mississippi River and run along the South line of said lands conveyed by said Deed Book 882 at Page 233 South 68° 19’ East a distance of 412.36 feet, more or less, to the aforedescribed Vicksburg National\nMilitary Park Marker No. 379 and the point of beginning of the lands herein described.\nTOGETHER WITH all those certain tracts or\nparcels lying West of the West line of the lands hereinabove described which serves to extend the Northerly and Southerly lines thereof in a Westerly direction to the thalweg of the Mississippi River and the boundary line between the states of\nMississippi and Louisiana."}
-{"idx": 5, "level": 3, "span": "Parcel Two:\nThat part of Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, more particularly described as follows,\nto-wit:\nEx. B-54\nBeginning at a park stone identified as “Vicksburg National Military Park\nMonument No. 388”, which point is further described as the southwest corner of a parcel heretofore described as an old government fort described in Deed Book 93 at Page 268 of the Land Records of Warren County, Mississippi, same presently\noccupied by the said Vicksburg National Military Park and known as South Fort and which point is further described as a point on the North line of that certain tract conveyed unto Magnolia Hotel Company by Deed recorded in Deed Book 684 at Page 47\nof the aforesaid Land Records and which point is further described as a point on the South line of lands conveyed to Miss Priscilla Brady, et al, by Deed dated December 20, 1923, recorded in Deed Book 156 at Page 48 of the aforesaid Land\nRecords and from said point of beginning run thence along the South line of said Brady parcel and the North line of said Magnolia Hotel Company parcel, North 74° 55’ West, 240 feet, more or less, to the water’s edge of the Mississippi\nRiver as same existed on November 7, 1992; thence continue in a westerly direction to a point where said line intersects the thalweg of the Mississippi River marking the boundary between the States of Mississippi and Louisiana; run thence in\nnortherly direction following the thalweg of the said Mississippi River and the meanderings thereof marking the boundary line between the States of Mississippi and Louisiana a distance of 540 feet, more or less, to a point where the westerly\nprojection of the South line of that certain tract or parcel of land conveyed to Mississippi Power and Light Company by Deed recorded in Deed Book 158 at Page 424 of the aforesaid Land Records intersects the thalweg of said Mississippi River; thence\nleaving the thalweg of said Mississippi River and run South 74° 30’ East, a distance sufficient to intersect the water’s edge of the Mississippi River at its easterly bank as same existed on November 7, 1992, which point marks the\nSouthwest corner of the aforedescribed parcel heretofore conveyed unto Mississippi Power and Light Company by instrument recorded in Deed Book 158 at Page 424 and further described within Quitclaim Deed recorded in Deed Book 596 at Page 375, each\nwithin the aforesaid Land Records of Warren County; run thence along the South line of said Mississippi Power and Light Company parcel South 74° 30’ East, a distance of 800 feet, more or less, to a point on the West right-of-way line of\nWashington Street (being the same public roadway sometimes known as Warrenton Road and U.S. Highway Nos. 61 and 80), as same existed on November 7, 1992; thence leaving the South line of said Mississippi Power and Light Company parcel and run\nalong the West right-of-way line of said Washington Street, South 22° 18’ 41” West, 54.64 feet, more or less, to a point on the North line of lands conveyed to the United States of America by instrument recorded in Deed Book 93 at Page\n268, which parcel is presently occupied by the said Vicksburg National Military Park and is known as South Fort; run thence along the North line of said Vicksburg National Military Park parcel with the following courses and distances, each converted\nfrom the astronomical azimuths previously published within said Deed recorded in said Deed Book 93 at Page 268 of said Land Records, viz: North 81° 17’ West, 283.66 feet, more or less, to a park stone identified as Vicksburg National\nMilitary Park Monument No. 386; South 50° 08’ West, 268.31 feet, more or less, to a park stone identified as Vicksburg National Military Park Monument No. 387; South 27° 48’ West, 226.34 feet, more or less, to a park\nstone identified as Vicksburg National Military Park Monument No. 388, which point marks the point of beginning of the parcel hereindescribed, all\nEx. B-55\nlying and being situate within Section 32, Township 16 North, Range 3 East, Vicksburg,\nWarren County, Mississippi."}
-{"idx": 5, "level": 3, "span": "Parcel Three:"}
-{"idx": 5, "level": 4, "span": " Lum-Brady Access Easement \nTogether with a non-exclusive easement and right of way thirty-two feet (32’) in width for the purpose of ingress and egress and for\nthe further purpose of installation, location, relocation and maintenance of utility lines or cables of all types, including water, electricity, gas, sewer and the like, whether buried below ground or located overhead, which non-exclusive easement\nis 14.5 feet to the Northwest and 17.5 feet to the Southeast of the following described line, to-wit:\nTo reach the point of beginning,\ncommence at an iron pipe on the West right of way line of Washington Street (being the same public roadway sometimes known as Warrenton Road and U. S. Highway Nos. 61 and 80) marking the Northeast Corner of the Mississippi Power & Light\nCompany parcel recorded in Deed Book 158 at Page 424 and within Quitclaim Deed recorded in Deed Book 596 at Page 375, each within the land records of Warren County, Mississippi, and run thence along the North line of said Mississippi\nPower & Light Company parcel North 74° 30’ West 423.00 feet to the POINT OF BEGINNING of the line herein described; from said POINT OF BEGINNING run thence South 33° 00’ West 208.68 feet, more or less, on the South line of\nsaid Mississippi Power & Light Company parcel as described within said Deed Book 158 at Page 424 and Deed Book 596 at Page 375 of said land records and the Southerly terminus of the line herein described, said easement all lying and being\nsituate in Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi."}
-{"idx": 5, "level": 3, "span": "TRACT THREE: Parcel One: "}
-{"idx": 5, "level": 4, "span": "Morrison (Casino)\nFee Simple \nThat part of Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, more particularly\ndescribed as follows, to-wit:\nBeginning at Vicksburg National Military Park Boundary Marker No. 394 found at the Northeast Corner of\nthat certain tract of land described as Parcel 2 within that certain deed in favor of the Vicksburg Bridge and Terminal Company, recorded in Deed Book 180 at Page 561 of the land records of Warren County, Mississippi, which point is further\ndescribed as the Northeast Corner of lands described as Parcel D within deed executed by Vicksburg Bridge Company, dated April 30, 1947, recorded in Deed Book 262 at Page 462 of said land records, into which Parcel D the said Warren County,\nMississippi went into possession notwithstanding a scrivener’s error therein contained incorrectly setting forth such point of beginning as the Northeast Corner of lands described in Deed Book 172 at Page 346 and which point of beginning is\nfurther described as a point on the South line of Parcel K within said deed in favor of said Warren County, Mississippi, recorded in Deed Book 262 at Page 462, notwithstanding the propagation of the same scrivener’s error incorrectly\nidentifying same as the Northeast Corner of Parcel 2 of the lands conveyed by\nEx. B-56\nsaid Deed Book 172 at Page 346 rather than the Northeast Corner of lands conveyed by said Deed Book 180 at Page 561 of said land records and from said POINT OF BEGINNING run thence along the\nSouth line of said lands described as Parcel K into which the said Warren County, Mississippi went into possession by virtue of said deed recorded in said Deed Book 262 at Page 462 and along the North line of that part of the Vicksburg National\nMilitary Park known as Navy Circle, South 79° 24’ East a distance of 30.26 feet, more or less, to a point marking the Southwest corner of that certain parcel conveyed to D. P. Waring and W. F. Hallberg by deed recorded in Deed Book 218 at\nPage 47 of said land records, same thereafter having been described as the Southwest Corner of Parcel I within deed executed by D. P. Waring in favor of W. F. Hallberg recorded in Deed Book 296 at Page 208 of said land records and same further being\nthe Southwest Corner of lands thereafter conveyed to R. R. Morrison & Son, Inc. by deed recorded in Deed Book 592 at Page 113 of said land records; thence leaving the North line of said Vicksburg National Military Park (Navy Circle) and run\nalong the West line of said Parcel One described in said Waring-Hallberg deed recorded in said Deed Book 296 at Page 208 and, thereafter, along the West line of Parcel Two within said Deed Book 296 at Page 208, same further being the West line of\nlands described in Deed Book 264 at Page 219, (previously described in the descriptions of the property herein conveyed as “another parcel owned by D. P. Waring, et al, not recorded”) North 26° 00’ East, a distance of 334.5 feet,\nmore or less, to a point marking the Northwest Corner of Parcel II of the Waring-Hallberg parcels described in said Deed Book 296 at Page 208 of said land records, which point also marks the Northwest Corner of said Morrison parcel described in Deed\nBook 592 at Page 113 and which point is further described as a point on the South line of that certain parcel conveyed to the Magnolia Hotel Company by deed recorded in Deed Book 684 at Page 47 of said land records; run thence along the South line\nof said Magnolia Hotel Company parcel and the North line of the lands herein described and conveyed, North 64° 25’ West, a distance sufficient to intersect the thalweg of the Mississippi River marking the boundary between the states of\nMississippi and Louisiana; run thence along the thalweg of said Mississippi River and the meanderings thereof marking the boundary between the States of Mississippi and Louisiana in a Southerly or Southwesterly direction a distance of 330 feet, more\nor less, to a point where same intersects the North line of Parcel 2 extended Westerly described within said Deed Book 180 at Page 561 and the North line of Parcel D extended Westerly described within said Deed Book 262 at Page 462; thence leaving\nthe thalweg of said River and run South 62° 11’ East to a point described in said Parcel 2 within said Deed Book 180 at Page 561 and within Parcel D in said Deed Book 262 at Page 462 as the bank of the Mississippi River at zero contour as\nof August 1, 1929; thence continue South 62° 11’ East along a line marking the North line of lands described as Parcel 2 within said Deed Book 180 at Page 561 along the North line of lands described as Parcel D into which Warren\nCounty, Mississippi went into possession by virtue of the aforedescribed deed recorded in said Deed Book 262 at Page 462 and along the South line of Parcel K within that same deed, a distance of 600 feet, more or less, to a point where same\nintersects the said Vicksburg National Military Park Monument No. 394, and the POINT OF BEGINNING of the parcel herein described, all lying and being situate in Section 32, Township 16 North, Range 3 East,\nEx. B-57\nVicksburg, Warren County, Mississippi, together with all alluvions, accretions, batture and all\nriparian rights appurtenant thereto, it being the intention herein to correct certain deficiencies in description contained in that certain deed recorded in Deed Book 812 at Page 255 of the land records of Warren County, Mississippi, and to describe\nand convey all of these lands heretofore conveyed to Vicksburg Bridge Company by deed recorded in Deed Book 242 at Page 443 and the lands conveyed to Warren County, Mississippi as Parcel K within deed recorded in Deed Book 262 at Page 462, each\nwithin the aforedescribed land records."}
-{"idx": 5, "level": 3, "span": "Parcel Two:"}
-{"idx": 5, "level": 4, "span": " Slope Easement Morrison Support (Casino) "}
-{"idx": 5, "level": 2, "span": "TOGETHER WITH THOSE CERTAIN RIGHTS INURING TO THE BENEFIT OF AMERISTAR CASINO VICKSBURG, INC. AND TO R. R. MORRISON &\nSON, INC. BY VIRTUE OF THAT CERTAIN INSTRUMENT STYLED “SLOPE EASEMENT AGREEMENT” DATED JUNE 9, 1994, RECORDED IN DEED BOOK 1014 AT PAGE 233 OF THE LAND RECORDS OF WARREN COUNTY, MISSISSIPPI, WHEREIN CERTAIN RIGHTS TO CONSTRUCT AND MAINTAIN\nA SLOPE PROVIDING LATERAL SUPPORT OF A STRUCTURAL EMBANKMENT CONSTRUCTED ON LANDS OF WARREN COUNTY, MISSISSIPPI WHICH ARE ADJACENT TO TRACT THREE DESCRIBED HEREINABOVE ARE GRANTED AND BEING FURTHER DESCRIBED AS:\nCommencing at the Southeast corner of Section 31, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi,\nand run thence South 33° 27’ 20” West, 1862.86 feet to the Vicksburg National Military Park (“VNMP”) Monument #394, being the Point of Beginning of the parcel herein described; from said Point of Beginning run thence South\n29° 04’ West, 50.00 feet; thence North 61° 11’ West, 60.00 feet; thence North 82° 45’ West, 94.63 feet; thence North 43° 31’ West, 260.23 feet; thence South 62° 11’ East, 396.26 feet to the Point of\nBeginning, all lying in Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi, containing 0.44 acres, more or less."}
-{"idx": 5, "level": 3, "span": "TRACT FOUR"}
-{"idx": 5, "level": 4, "span": ": Cofferdam (Casino) Site (Fee Simple) \nThat tract or parcel of land upon which is constructed a certain cofferdam enclosure extending into the Mississippi River and being partially\nwithin Tract One of the lands hereinabove described and partially within Tract Two of the lands hereinabove described, same all lying and being situate in the City of Vicksburg, County of Warren, State of Mississippi, and being part of\nSection 32, Township 16 North, Range 3 East, more particularly described as follows, to-wit:\nTo reach the point of beginning,\ncommence at Vicksburg National Military Park Concrete Marker No. 388, which point marks the Southwest corner of the lands presently occupied by said Vicksburg National Military Park and known as South Fort, same having been conveyed to the\nUnited States of America by instrument recorded in Deed Book 93 at Page 268 of the aforesaid land records, which point further marks the Southeast Corner of lands conveyed to Miss Priscilla\nEx. B-58\nBrady by deed dated December 20, 1923, recorded in Deed Book 156 at Page 48 of said land records; run thence along the South line of said Brady parcel North 74° 55’ West, 77.53\nfeet, more or less, to a point on the easterly exterior face of a cell structure of a cofferdam enclosure located near the east bank of the Mississippi River, which point marks the POINT OF BEGINNING of the tract herein described; from said POINT OF\nBEGINNING run thence along the easterly exterior face of said cofferdam enclosure South 15° 00” West, 416.91 feet, more or less, to an iron pin set at a point where said course intersects a line projected easterly from the southerly\nexterior face of said cofferdam enclosure; run thence along a line projected in a Westerly direction extending along the southerly exterior face of said cofferdam enclosure having a course said to be North 75° 00’ West, a distance of 255.0\nfeet, more or less, to a point in the Mississippi River where said course intersects a line projected Southerly from the westerly exterior face of said cofferdam enclosure; run thence in a northerly direction in the Mississippi River along a line\nprojected in a northerly direction which will run along the westerly exterior face of said existing cofferdam enclosure North 15° 00’ East, a distance of 490.0 feet, more or less, to a point in the Mississippi River where said course\nintersects a line projected Westerly from the Northerly exterior face of said existing cofferdam enclosure; run thence in an easterly direction in the Mississippi River and thereafter on the land comprising the East bank thereof, but, nevertheless,\nalong a line projected in an easterly direction which will run along the northerly exterior face of said existing cofferdam enclosure South 75° 00’ East, a distance of 255.0 feet, more or less, to an iron pin set at a point where said\ncourse intersects a line projected northerly from the easterly exterior face of said existing cofferdam enclosure; run thence along a line projected in a southerly direction extending along the easterly exterior face of said cofferdam enclosure\nhaving a course said to be South 74° 55’ West, a distance of 73.09 feet, more or less, to a point on the easterly exterior face of said existing cofferdam enclosure, which point marks the POINT OF BEGINNING of the tract herein described all\nlying and being situate in Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi.\nTOGETHER WITH all\ntracts, parcels or properties, whether submerged or not, lying West of the West line of the lands hereinabove described which serves to extend the Northerly and Southerly lines thereof in a Westerly direction to the thalweg of the Mississippi River\nand the boundary line between the states of Mississippi and Louisiana."}
-{"idx": 5, "level": 3, "span": "TRACT FIVE: "}
-{"idx": 5, "level": 4, "span": "Southerly Portion of Northwest (Casino) Parking Lot (Pt.\nMP&L Fee Simple) \nTo reach the point of beginning, commence at an iron pipe on the West right of way line of Washington Street\n(being the same public roadway sometimes known as Warrenton Road and U. S. Highway Nos. 61 and 80) marking the Northeast Corner of the Mississippi Power & Light Company parcel recorded in Deed Book 158 at Page 424 and within Quitclaim Deed\nrecorded in Deed Book 596 at Page 375 and the South line of lands into which Ameristar Casino Vicksburg, Inc. went into fee simple possession by virtue of deed dated February 28, 1994, recorded in Deed\nEx. B-59\nBook 1004 at Page 103, each within the land records of Warren County, Mississippi (the “Ameristar Fee Simple Parcel”) and run thence along the North line of said Ameristar Fee Simple\nParcel North 74° 30’ West 397.56 feet, more or less, to the Easterly edge of a paved roadway, 32 feet in width (the “Northerly Access Road”) which point marks the POINT OF BEGINNING of the parcel herein described; from said POINT\nOF BEGINNING run thence along the Easterly edge of the Northerly Access Road, South 41° 52’ 14” West 221.65 feet, more or less, on the South line of the Ameristar Fee Simple Parcel as described within said Deed Book 158 at Page 424 and\nDeed Book 596 at Page 375, each within the aforesaid land records and the Southeasterly corner of the parcel herein described; thence leaving the Easterly edge of the Northerly Access Road and run along the Southerly line of the Ameristar Fee Simple\nParcel, North 74° 30’ West 35.71 feet, more or less, to a point on the Westerly edge of the Northerly Access Road; thence leaving the Westerly edge of the Northerly Access Road and continue along the Southerly line of the Ameristar Fee\nSimple Parcel, North 74° 30’ West 215.08 feet, more or less, to a point on the Westerly edge of an existing paved parking lot; thence leaving the Westerly edge of said existing paved parking lot and continue along the Southerly line of the\nAmeristar Fee Simple Parcel, North 74° 30’ West 77.14 feet, more or less, to a point on the top bank of the Mississippi River as same existed on November 7, 1992 (the “Top Bank”); thence leaving the Top Bank and continue\nNorth 74° 30’ a distance sufficient to intersect the thalweg of the Mississippi River marking the boundary between the states of Mississippi and Louisiana; run thence along the thalweg of said Mississippi River and the meanderings thereof\nmarking the boundary between the States of Mississippi and Louisiana in a Northerly or Northeasterly direction a distance sufficient to reach a point where same intersects the North line of the Ameristar Fee Simple Parcel extended Westerly from the\nTop Bank; thence leaving the thalweg of said River and run in an Easterly direction along the Northerly line of the Ameristar Fee Simple Parcel a distance sufficient to reach the Top Bank; thence continue along the Northerly line of the Ameristar\nFee Simple Parcel, South 74° 30’ East, a distance of 110.38 feet, more or less, to a point on the Westerly edge of said existing paved parking lot; thence continue along the Southerly line of the Ameristar Fee Simple Parcel, North 74°\n30’ West 291.72 feet, more or less, to a point on the Easterly edge of the Northerly Access Road, which point marks the POINT OF BEGINNING, said parcel all lying and being situate in Section 32, Township 16 North, Range 3 East, Vicksburg,\nWarren County, Mississippi, being the westernmost portion of lands described as Tract II within lands into which Ameristar Casino Vicksburg, Inc. went into fee simple possession by virtue of deed dated February 28, 1994, recorded in Deed Book\n1004 at Page 103, each within the land records of Warren County, Mississippi."}
-{"idx": 5, "level": 3, "span": "TRACT SIX:"}
-{"idx": 5, "level": 4, "span": " Northerly Portion of Northwest (Casino) Parking Lot\n(Delta Land Fee Simple) \nThat part of the Delta Land Company, Inc. parcels of land as recorded in Deed Book 1018 at Page 492 of the\nLand Records of Warren County being part of Section 31, Township 16 North, Range\nEx. B-60\n3 East, Vicksburg, County of Warren, Mississippi, containing, in aggregate, 4.29 acres, more or less, and being more particularly described as follows:\nCommencing at that certain Vicksburg National Military Park Monument # 379 run thence S 16° 38’ 14” W, a distance of 473.98 ft.\nto a point being the Southeast comer of Parcel I of the Delta Land Company, Inc. property as well as the Point of Beginning of the herein described parcel; thence run N 59° 10’ 00” W, a distance of 447 ft., more or less, along the\nSouth line of said property to a point at the thalweg of Mississippi River being the apparent Southwest comer of the Delta Land Company, Inc. property; thence along said thalweg as well as the apparent West line of said property, run N 18°\n47’ 39” E, a distance of 369 ft., more or less, to a point being the apparent Northwest comer of said property; thence, along the North line, run S 67° 00’ 00” E, a distance of 339 ft., more or less, to a point in the South\nright-of-way of that certain City of Vicksburg maintained access to Riverfront Park; thence along said right-of-way the following courses: S 48° 37’ 33” E, for a distance of 19.80 ft.; S 44° 06’ 20” E, for a distance of\n28.41 ft.; S 22° 10’ 40” E, for a distance of 34.54 ft.; S 08° 59’ 53” E, for a distance of 28.84 ft.; S 06° 11’ 50” E, for a distance of 127.04 ft.; S 28° 05’ 02” E, for a distance of 62.19\nft.; S 59° 24’ 11” E, for a distance of 34.59 ft.; thence, leaving said right-of-way, run S 48° 00’ 00” W, a distance of 229.48 ft. to the Southeast comer of said Parcel I as well as being the Point of Beginning and\ncontaining, in aggregate, 4.29 acres, more or less, being part of Section 31, Township 16 North, Range 3 East, Vicksburg, County of Warren, Mississippi."}
-{"idx": 5, "level": 3, "span": "Tract Seven:"}
-{"idx": 5, "level": 4, "span": " Hotel Site (Fee Simple) \nBeginning at a point in the East line of Washington Street, same being the Northwest corner of that certain tract or parcel of land conveyed\nto Magnolia Hotel Company by Julius M. Buchanan, et ux, as recorded in the Land Deed Records of Warren County, Mississippi in Deed Book 247 at Page 498 (the “Magnolia Deed”) and the point of beginning thereafter conveyed by Commonwealth\nHotels of Mississippi to Ameristar Casino Vicksburg, Inc. by deed dated June 7, 1994, recorded in Deed Book 1014 at Page 77 (the “Commonwealth Deed”) said Northwest corner being marked by an iron pipe driven flush with the ground a\ndistance of 1 foot; more or less, northerly from a power pole and a distance of thirty (30) feet, more or less, as measured Easterly, from the center line of the pavement of U. S. Highway 61-80; from said point of beginning running with the\nline as described in the Magnolia Deed and in the Commonwealth Deed as South 86 degrees 45 Minutes East, but having an actual course made more definite by survey circa 1997 (the “1997 Survey”) made in connection with a conveyance by\nAmeristar Casino Vicksburg, Inc. dated July 21, 1997, recorded in Deed Book 1114 at Page 301 (the “AC Deed”) of South 86 Degrees 34 Minutes 00 Seconds East, but, nevertheless, a distance of 106.00 feet to a point; run thence along a\nline as described in the Magnolia Deed and the Commonwealth Deed as South 72 degrees 45 Minutes East a distance of 178 feet, but having an actual course and distance as established by the 1997 Survey of South 72 degrees 34 Minutes 00 Seconds East a\ndistance of 175.00 feet, but, nevertheless, to an iron pipe which marks a point in\nEx. B-61\nthat certain old dilapidated fence line as same existed on the date of delivery of the said Magnolia Deed, which old fence was thereafter covered by fill and improvements to the surrounding\nproperty and is no longer in evidence but was re-established by the 1997 Survey; run thence with the course of said old fence, having a course described in the Magnolia Deed of South 77 degrees 50 Minutes East, but having an actual course\nestablished by the 1997 Survey and in the AC Deed of a distance of South 77 degrees 39 Minutes 00 Seconds East, and, in each instance, a distance of 307.00 feet to an iron pipe; run thence with the course of said old fence, having a course described\nin the Magnolia Deed of South 83 degrees 45 Minutes East, but having an actual course established by the 1997 Survey and in the AC Deed of South 83 degrees 34 Minutes 00 Seconds East, and, in each instance, a distance of 200.00 feet to an iron pipe\nwhich marks the apparent northeast corner of said old fence; thence continuing with the course of said old fence and a Southerly projection thereof, having a course described in the Magnolia Deed and in the Commonwealth Deed of South 14 degrees 40\nMinutes East a distance of 416 feet, but having an actual course and distance established by the 1997 Survey and in the AC Deed of South 14 degrees 29 Minutes 00 Seconds East a distance of 419.50 feet, but, nevertheless, along a course and distance\nsufficient to reach the North right-of-way line of the Illinois Central Railroad; run thence along the north right-of-way line of said railroad, having a course described in the Magnolia Deed and in the Commonwealth Deed of South 55 degrees 52\nMinutes 28 Seconds West, but having an actual course established by the 1997 Survey and in the AC Deed of South 56 degrees 02 Minutes 30 Seconds West, but, in each instance a distance of 795.22 feet, more or less, to the intersection of said\nRailroad right-of-way line with the east right-of-way line of Federal Aid Project No. I-IG-20-1 (24) 0 (the “I-20 ROW”); thence run with the I-20 ROW as conveyed to the State Highway Commission of Mississippi by Magnolia Hotel Company\nby deed recorded in the Land Deed Records of Warren County in Deed Book 414 at Page 545, having a course published in the Commonwealth Deed of North 55 degrees 17 Minutes West, but having an actual course established by the 1997 Survey and in the AC\nDeed of North 55 degrees 06 Minutes 00 Seconds West, and, in each instance a distance of 195.00 feet, but, nevertheless along said I-20 ROW with a distance sufficient to reach a point that is 160 feet northwesterly of and measured radially to\nStation 25+00 on the northerly edge of the proposed pavement of the North ramp of the I-20 ROW, as shown on plans for said project; thence continue along the I-20 ROW, having a course published in the Commonwealth Deed of North 45 degrees 05 Minutes\n04 Seconds West but having an actual distance as established by the 1997 Survey and in the AC Deed of North 44 degrees 58 Minutes 04 Seconds West, and, in each instance, a distance of 419.50 feet, but, nevertheless along a course with distance\nsufficient to reach a point that is forty (40) feet Southeasterly of and measured radially to Station 3+40 on the centerline of the East lane of the relocation of U. S. Highway 61 (Washington Street) as shown on plans for said project (the\n“East Lane”); thence run along the East Lane of U. S. Highway 61/Washington Street, having a course published in the Commonwealth Deed of North 02 degrees 37 Minutes 02 Seconds East, but having a actual course established by the 1997\nSurvey and in the AC Deed of North 02 degrees 47 Minutes 25 Seconds East, and, in each instance a distance of 41.38 feet, but, nevertheless, with a distance sufficient to reach a point that\nEx. B-62\nis 25 feet Southeasterly of and measured radially to Station 3+00 on the centerline of said East\nlane, run thence along the East Lane of U. S. Highway 61/Washington Street, having a course published in the Commonwealth Deed of North 17 Degrees 14 Minutes 00 Seconds East but having a actual course established by the 1997 Survey and in the AC\nDeed of North 17 Degrees 25 Minutes 00 Seconds East, and, in each instance, a distance of 101.00 feet, but, nevertheless along the East Lane with a distance sufficient to reach a point that is Southeasterly of and measured radially to Station 2+00\non the centerline of the East lane of the relocation of former U. S. Highway 61 as shown on plans for Federal Aid Project No. I-IG-20-1 (24) 0 (the last described point being also a point in the West line of the tract conveyed by Magnolia\nDeed); run thence with said West line of land conveyed in the Magnolia Deed, being also the East right-of-way line of said former U. S. Highway No. 61-80/Washington Street, having a course published in the Commonwealth Deed of North 25 degrees\n40 Minutes East but having a actual course established by the 1997 Survey and in the AC Deed of North 25 degrees 51 Minutes 00 Seconds East, and, in each instance, a distance of 247.00 feet; thence continuing with said West line of land conveyed by\nthe Magnolia Deed and along the East Lane, having a course published in the Commonwealth Deed of North 23 degrees 10 Minutes East, but having an actual course established by the 1997 Survey and in the AC Deed, and, in each instance a distance of\n246.00 feet, more or less, to the point of beginning, all of the above described lot, tract or parcel of land lying being situated in Section 32, Township 16 North, Range East, Vicksburg, Warren County, Mississippi and contains 16.45 acres,\nmore or less, it being the intention herein to described and convey, and there is hereby described and conveyed, the same lands heretofore conveyed to Ameristar Casino Vicksburg, Inc. by deed recorded in Deed Book 1014 at Page 77 and the lands\nthereafter conveyed to AC Hotel Corp. by deed recorded in Deed Book 1114 at Page 301, each within the aforesaid Warren County Land Records."}
-{"idx": 5, "level": 4, "span": "TRACT EIGHT\nPart of Section 32, Township 16 North, Range 3 East, Warren County, Mississippi, more particularly described as follows,\nto-wit:"}
-{"idx": 5, "level": 4, "span": "PARCEL ONE\n: Beginning at an iron pipe which lies south 13 degrees 15 minutes west 202.02 feet from an axle\nmarking the Northeast corner of that certain lot conveyed by Lucy B. Dabney to W. A. Byrd as recorded in the office of the Chancery Clerk of Warren County, Mississippi, in Book 280 at Page 523 being a point in the South line of Lucy Bryson Street,\nwhich said point of beginning marks a corner of that certain tract or parcel of land conveyed to W. A. Byrd by J. B. Dabney on March 25, 1952; \nEx. B-64\nthence south 26 degrees 55 minutes east 352.51 feet to an iron pipe; thence south 89 degrees 26 minutes west, 77.45 feet to an iron pipe; thence north 30 degrees 53 minutes west 431.57 feet to an\niron axle at the Southwest corner of the aforementioned Byrd property as recorded in Book 280 at Page 523; thence along the South line of said Byrd property, south 68 degrees 24 minutes east 125 feet; thence south 68 degrees 09 minutes east 24.94\nfeet to the point of beginning, and containing 0.7 acre, more or less."}
-{"idx": 5, "level": 4, "span": "TOGETHER \nwith a right-of-way and easement\nfor the purpose of providing ingress and egress for the above described land in, on and over a strip of land 24 feet wide off of the East side of that certain lot, tract or parcel of land which was conveyed to W. A. Byrd by Lucy B. Dabney by deed\ndated April 6, 1950, and recorded in Deed Book 280 at Page 523 of the aforesaid Land Records, which said strip of land extends from the North boundary line of the above described land to Lucy Bryson Street and which is presently used in\nproviding ingress and egress to the said lands. "}
-{"idx": 5, "level": 4, "span": "PARCEL TWO\n: Beginning at the Northwest corner of that certain\ntract or parcel of land conveyed by Julius M. Buchanan to Magnolia Hotel Company as recorded in the Land Deed Records of Warren County, Mississippi in Deed Book 247 at Page 498, said Northwest corner being marked by a large iron pipe which lies a\ndistance, as measured easterly, of thirty feet from the centerline of the pavement of U.S. Highway 61 and 80, run thence on the chord of a curve of Highway north 18 degrees 14 minutes east a distance of 268.77 feet to an iron pipe which marks the\nNorthwest corner of that \nEx. B-64\ncertain tract or parcel of land conveyed to W. A. Byrd as recorded in the\naforementioned Land Records in Book 252 at Page 510, said Northwest corner of the Byrd property being also the Southwest corner of the Henry C. Pullen lot as described in said Land Records in Book 274 at Page 392; run thence on the line common to\nsaid Pullen and Byrd, South 72 degrees East 200 feet to an iron pipe which marks the Southeast corner of said Pullen lot; run thence with the East line of said Pullen lot and the East line of the W.T. Sheffield lot, as described in said Land Records\nin Book 388 at Page 179, North 18 degrees 24 minutes East a distance of 222.66 feet to an iron pipe which marks the Northeast corner of said Sheffield lot and being also the Southeast corner of the Lora Mae Girod lot as described in said Land.\nRecords in Book 396 at Page 397, and being also the Southwest corner of the John L. Kerr Company lot as recorded in said Land Records in Book 322 at Page 547 and being the Northwest corner of that certain tract or parcel of land conveyed to Capitol\nTransport Company, Inc. by W. A. Byrd as recorded in said Land Records in Deed Book 318 at Page 374; thence run with said Capitol Transport Company, Inc.’s West boundary line being also the East boundary line of the lot herein described. South\n29 degrees 08 minutes East a distance of 431.32 feet to an iron pipe which marks a corner common to said Capitol Transport Company and the lands of Joseph Gerache, said Gerache lands being described in the above mentioned Land Records in Book 356 at\nPage 453; run thence with a common boundary to the Byrd and Gerache lands North 40 degrees 59 minutes West a distance of 137.3 feet to an iron pipe; thence continuing with the Byrd and Gerache boundary South 17 degrees 33 minutes West a distance of\n226.96 feet to an iron pipe in the North line of the aforementioned Magnolia Hotel Lands, said iron pipe also being a corner to Byrd and Gerache; thence running with said Magnolia Hotel Company’s North line as follows: North 77 degrees 50\nminutes West 123 feet; North 72 degrees 45 minutes West 178 feet; North 86 degrees 45 minutes West 106 feet to the point of beginning, and containing 2.88 acres, more or less."}
-{"idx": 5, "level": 4, "span": "PARCEL THREE:\n Beginning at a point which lies South 66 degrees 39 minutes East a distance of 125 feet from the\nNorthernmost corner of Parcel Two described above and being also the Southeast corner of that certain tract or parcel of land conveyed to John L. Kerr, Co, by W. A. Byrd as described in Deed Book 322 at Page 547 of the aforesaid Land Records;\nrunning thence North 22 degrees 05 minutes East 200 feet to a point; run thence South 15 degrees 00 minutes West 202.2 feet to an axel which marks the Northeast corner of the Capitol Transport Company’s land; run thence with said Capitol\nTransport Company’s North line North 66 degrees 24 minutes West 24.94 feet to the point of beginning, and containing 0.06 acre, more or less. \nEx. B-65"}
-{"idx": 5, "level": 4, "span": "TRACT NINE\nBeginning at the Southeast corner of the lot conveyed by Lucy B. Dabney to W. A. Byrd by deed recorded in Book 258, at Page\n397, of the Record of Deeds of said county, being a point in the South line of the Mosby Tract and in the North line of the property of Magnolia Hotel Company, which line is marked by an old fence, and run thence South Eighty-Two (82) Degrees Ten\n(10) Minutes East along said fence Four Hundred (400’) Feet more or less to a fence corner; thence continuing on the same course Two Hundred Eighty-Five (285’) Feet to a stake; thence North Ten (10) Degrees Five (5) Minutes West One\nHundred Ten (110’) Feet to a stake; thence North Eighty Four (84) Degrees Fifty (50) Minutes East One Hundred Twenty (120’) Feet more or less to the West line of the right of way of the Y&MV. Railroad leading to the Mississippi River\nBridge; thence Northwardly on a curve to the left along the West line of the right of way to its intersection with the center of the high power line of the Mississippi Power and Light Company; thence North Seventy-Four (74) Degrees West along the\ncenter of said power line to the Northeast corner of a lot conveyed by Lucy B. Dabney to W. A. Byrd by deed recorded in Book 280 at Page 525 of said Records of Deeds, being Parcel Two in said Deed; thence South Twenty-One (21) Degrees Thirty-Two\n(32) Minutes West One Hundred Sixty-Five (165’) Feet to the Southeast corner of last named lot, being a point in the North line of Lucy Bryson Street; thence South Sixty-Eight (68) Degrees Twenty-Eight (28) Minutes East along the North line of\nLucy Bryson Street Fifty (50’) Feet to the end of said street; thence South Twenty-One (21) Degrees Thirty-Two (32) Minutes West Fifty (50’) Feet across the East end of said street, being a point in the North line of the lot conveyed by\nLucy B. Dabney to W. A. Byrd by Deed recorded in Book 280 at Page 523 of said Record of Deeds; thence South Sixty-Eight (68) Degrees Twenty-Eight (28) Minutes East along the North line of said Byrd lot Twenty-Five (25’) Feet to its Northeast\ncorner; thence South Thirteen (13) Degrees Fifteen (15) Minutes West Two Hundred Two and Two-Tenths (202.2’) Feet to an iron pipe; thence South Twenty-Six (26) Degrees Fifty-Five (55) Minutes East Three Hundred Fifty-two and fifty-one\none-hundredths (352.51’) Feet to an iron pipe; thence South Eighty-Nine (89) Degrees Twenty-Six (26) Minutes West Seventy-Seven and forty-five hundredths (77.45’) Feet to an iron pipe; thence North Thirty-Nine (39) Degrees Thirty-Seven\n(37) Minutes West One Hundred Forty-Three and fifty-three one-hundredths (143.53’) Feet to an iron pipe in the Northeast corner of said lot conveyed by Lucy B. Dabney to W. A. Byrd by deed recorded in Book 258 at Page 397 of said Record of\nDeeds; thence Southwardly along the East line of the last named lot Two Hundred Thirty-One (231’) feet, more or less, to the point of beginning, being in Sections Thirty and Thirty-Two (30 and 32), Township Sixteen (16) North, Range Three (3)\nEast, being the same property conveyed by J. B. Dabney to Joseph J. Gerache by deed dated March 26, 1952 and recorded in Book 294 at page 296 of said Record of Deeds and further conveyed to Joseph A. Gerache by Joseph J. Gerache by deed dated\nFebruary 3, 1960 and recorded in Book 356 at Page 453 of said Land Records.\nEx. B-66"}
-{"idx": 5, "level": 4, "span": "TOGETHER WITH ALL RIGHT TITLE AND INTEREST OF GRANTOR IN AND TO\n that\ncertain grant of easement from Walter A. Byrd in favor of Joseph J. Gerache for vehicular access over and across a strip of land 18 feet in width, fronting on Lucy Bryson Street and leading to the subject property, more particularly described within\ninstrument styled “Easement’’ dated July 25, 1952, filed for record in the office of the Chancery Clerk of Warren County, Mississippi, on July 28, 1952 at 8:00 A.M., recorded therein in Deed Book 296 at Page 377. "}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT\n that part of the above described property conveyed by Joseph J. Gerache, et. al, to Mississippi Power\nand Light Company by Deed dated August 31, 1955 and recorded in Book 324, at page 295 of the Land Records of Warren County, Mississippi. "}
-{"idx": 5, "level": 4, "span": "LESS AND EXCEPT\n that part of the above described property conveyed by Joseph A. Gerache to Mississippi Power &\nLight Company, a Mississippi Corporation, by Warranty Deed dated May 20, 1986 and recorded in Book 780, at page 219 of the Warren County, Mississippi Land Records. \nEx. B-67"}
-{"idx": 5, "level": 4, "span": "TRACT TEN\nPart of Section 32, Township 16 North, Range 3 East, Vicksburg, Warren County, Mississippi. Beginning at the Northwest corner\nof the Michael J. Chaney tract as recorded in Deed Book 662 at Page 235 of the Land Records of Warren County, Mississippi, and run thence along the North line of the said Chaney tract, South 71 degrees 01 minutes 00 seconds East, 150.00 feet; thence\nleaving the North line of the Chaney tract and run South 17 degrees 38 minutes 45 seconds West, 150.90 feet to a point on the South line of the said Chaney tract; thence along the South line of the said Chaney tract, North 74 degrees 15 minutes 00\nseconds West, 150.00 feet to the Southwest corner of the Chaney tract, said point lying on the East Right of Way of U.S. Highway 61 and 80; thence along the East Right of Way line of U.S. Highway 61 and 80 in a Northwesterly direction along the are\nof a 1 degree 15 minutes 30 second curve, 159.36 feet to the Point of Beginning and containing 0.534 acres, more or less, and being part of the Michael J. Chaney tract as recorded in Deed Book 662 at Page 235 in Section 32, Township 16 North, Range\n3 East, Vicksburg, Warren County, Mississippi.\nEx. B-68"}
-{"idx": 5, "level": 4, "span": "TRACT ELEVEN\nThat certain tract of land lying between the center line\nof Old Warrenton Road (abandoned) and present U. S. Highway 61 and 80, in Section 32, Township 16, Range 3 East, Warren County, Mississippi, more particularly described as follows, to-wit:\nBegin at U.S. National Military Park Marker No. 389 and run thence South 88 degrees 25 minutes east a distance of 15 feet to the point of\nbeginning; run thence north 3 degrees 39 minutes 30 seconds east a distance of 100.15 feet to a point; run thence north 18 degrees 39 minutes east a distance of 75.56 feet to a point; run thence north 38 degrees 57 minutes east a distance of 110.49\nfeet to a point on the west right-of-way line of present U.S. Highway 61 and 80; run thence south 20 degrees 34 minutes west along said right-of-way line a distance of 119.61 feet to a point; run thence south 18 degrees 14 minutes west along said\nright-of-way line a distance of 153.10 feet to a point; run thence north 88 degrees 25 minutes west a distance of 10.4 feet to the point of beginning.\nEx. B-69"}
-{"idx": 5, "level": 4, "span": "TRACT TWELVE\nBeginning at a U. S. General Land Office Survey concrete marker erected in 1938 at the\ninter-section of the south line of the Vicksburg National Military Park adjacent to Confederate Avenue with the Section line running north and south dividing Sections Twenty-nine (29) and Thirty-one (31).\nTownship Sixteen (16), Range Three (3) East, and running thence along the south line of said Park, north 50 degrees 35 minutes west, forty-five and 15/100 (45.15) feet to the Park Stone Number 408; thence, continuing on the same course, nine and\n66/100 (9.66) feet to a point in the east line of the right-of way of Mississippi U. S. Highways 61 and 80; thence, along said east line of said Highway, which is an are to the right the chord of which is one hundred and twenty-one and 23/100\n(121.23) feet with a bearing of South 15 degrees 43 minutes west; thence, continuing along the east line of said right-of-way, south 20 degrees 52 minutes West, eighteen and 77/100 (18.77) feet to the northwest corner of a lot conveyed by L. C.\nLatham to Old South Motors, Inc. by deed recorded in Book 278 on Page 374 of the Record of Deeds of said Country; thence, south 68 degrees 03 minutes East, along the north line of said Old South Motors, Inc., two hundred (200) feet, thence North 21\ndegrees 57 minutes East, seventy-one and 29/100 (71.29) feet to an intersection with the south line of said Military Park; thence North 50 degrees 35 minutes West, one hundred seventy-one and 24/100 (171.24) feet to the point of beginning, being in\nSections 29 and 31, Township 16, Range 3 East, and being a portion of the same land conveyed to L. C. Latham by Lucy B. Dabney by deed dated August 27, 1946, and recorded in Book 258 at Page 22 of the Land Deed Records of Warren Country,\nMississippi.\nEx. B-70"}
-{"idx": 5, "level": 4, "span": "TRACT THIRTEEN"}
-{"idx": 5, "level": 4, "span": "TRACT I\nBeginning at a\nUnited States General Land Office Survey concrete marker located on the intersection of the section line which divides Sections 29 and 31, Township 16 North, Range 3 East, with the Vicksburg National Military Park boundary line, said marker being\n269.08 feet North of the Southeast corner of said Section 31 and the Southwest corner of said Section 29; thence North sixty-eight (68) degrees and twenty-eight (28) minutes West from said marker a distance of 36.4 feet; thence South twenty-one (21)\ndegrees and thirty-two (32) minutes West a distance of 197.2 feet to a point on the East right-of-way line of Miss. U. S. Highways Nos. 61 and 80 and continuing South twenty-one (21) degrees and thirty-two (32) minutes West along East right-of-way\nline of said Highways a distance of 289 feet to an iron pin; thence continuing South twenty-one (21) degrees and thirty-two (32) minutes West along East right-of-way line of said Highways a distance of 242.50 feet to an iron pin marking the\nSouthwest corner of a tract of land described in Deed Book 324, Page 295 and the POINT OF BEGINNING:\nTHENCE run South 68\ndegrees 26 minutes 22 seconds East, along the South line of said tract and along the South line of a tract of land described in Deed Book 780, Page 219, 350.02 feet, to the Southeast corner of said tract;\nTHENCE run North 21 degrees 32 minutes 00 second East, 175.90 feet, along the East line of said tract to the Northeast\ncorner thereof;\nTHENCE run North 74 degrees 00 minutes 00 second West, along the North lines of the aforementioned tract\n150.90 feet, to a point on the East line of a tract of land described in Deed Book 254, Page 447;\nTHENCE run North 21\ndegrees 32 minutes 00 seconds East, along the East line of said tract 100.50 feet to a found iron pin, the Northeast corner thereof;\nTHENCE run North 73 degrees 57 minutes 01 seconds West, along the North line of said tract 200.74 feet to the Northwest corner\nthereof, same being on the East rignt-of-way line of said Highway 61 and 80;\nEx. B-71\nTHENCE along said right-of-way, run South 21 degrees 32 minutes 00 seconds\nWest, 242.50 feet to the POINT OF BEGINNING; containing 1.74 acres, more or less, LESS AND EXCEPT the hereinbelow described 0.03 acre Tract (hereinafter the “Reserved Tract”), leaving a net acreage of 1.71 acres, more or less,\nto-wit:\nBeginning at a United States General Land Office Survey concrete marker located on the intersection\nof the section line which divides Sections 29 and 31, Township 16 North, Range 3 East, with the Vicksburg National Military Park boundary line, said marker being 269.08 feet North of the Southwest corner of said Section 31 and the Southwest corner\nof said Section 29; thence North sixty-eight (68) degrees and twenty-eight (28) minutes West from said marker a distance of 36.4 feet; thence South twenty-one (21) degrees and thirty-two (32) minutes West a distance of 197.2 feet to a point on the\nEast right of way line of Miss. U.S. Highways Nos. 61 and 80 and continuing South twenty-one (21) degrees and thirty-two (32) minutes West along East right of way line of said Highways a distance of 289 feet to an iron pin marking the Northwest\ncorner of the herein above described TRACT I; thence leaving said East right of way line of Miss. U. S. Highways Nos. 61 and 80, run along the North line of the above described TRACT I, south 73 degrees 57 minutes 01 seconds East,\n149.64 feet to the POINT OF BEGINNING:\nTHENCE, continue along said North line of above described TRACT I, South 73\ndegrees 57 minutes 01 seconds East, 51.10 feet to the Northeast corner thereof;\nTHENCE along the East line of said TRACT\nI, run South 21 degrees 32 minutes 00 seconds West,21.60 feet;\nTHENCE leaving said East line, run North 73 degrees 57\nminutes 01 seconds West and parallel to the said North line of TRACT I, 51.10 feet;\nTHENCE run North 21 degrees 32 minutes\n00 seconds East and parallel to the said East line of TRACT I, 21.60 feet to the POINT OF BEGINNING, containing 0.03 acres, more or less."}
-{"idx": 5, "level": 4, "span": "TRACT II\nBeginning at a\npoint on the west line of Warrenton Road, a distance of fifty (50) feet in a northerly direction from the northeast corner of that certain tract of land which is described in, and which was conveyed to the United States of America by, that certain\ndeed bearing date the 24th day of January, 1920, executed by Thomasene H. Woolsey and M. E. Hughes, which is recorded in Deed Book No. 93, at Page 268, of the Land Records in the office of the Clerk of the Chancery Court of said Warren\nCounty; running thence North along the west line of said Warrenton Road a distance of 199.95 feet; thence North seventy-five (75) degrees twenty-three (23) minutes and four (04) seconds West, a distance of eight hundred (800) feet, more or less, to\nthe west line of that certain lot, tract or parcel of land which was conveyed to Eliza B.\nEx. B-72\nHumphreys and Priscilla Brady by W. G. Kiger by deed bearing date the 20th day of\nDecember, 1923, recorded in Deed Book 156, at Page 48, of the land records aforesaid; thence in a Southerly direction along the west line of the land so conveyed to Eliza B. Humphreys and Priscilla Brady by the said W. G. Kiger, a distance of 199.95\nfeet, thence South seventy-five (75) degrees twenty-three (23) minutes and four (04) seconds East, a distance of eight hundred (800) feet, more or less, to the point of beginning; containing four (4) acres, more or less and being a part of Section\nThirty-two (32), in Township Sixteen (16) North, Range Three (3) East, and being the same property described in that certain conveyance to The Mississippi Power and Light Company dated May 13, 1925, appearing of record in Deed Book 158, at page 424,\nof the Land Records of Warren County, Mississippi.\nEx. B-73"}
-{"idx": 5, "level": 4, "span": "TRACT FOURTEEN"}
-{"idx": 5, "level": 3, "span": "Parcel One:\nA parcel of land situated in Section 32, Township 16 north, Range 3 East and being a part of that tract of land described as\nParcel 1 in the conveyance to Lucy B. Dabney by deed recorded in Deed Book 206 at Page 205 of the records of the Chancery Clerk of Warren County, Mississippi, being more particularly described as follows:\nBeginning at the intersection of the South boundary of Lucy Bryson Street as described in deed recorded in Deed Book 282 at\nPage 55 of the records of the Chancery Clerk of Warren County, Mississippi, with the East right-of-way line of Mississippi Highway 61 and U. S. Highway 80, which point is 15.0 feet as measured along the East right-of-way line of said Highways 61 and\n80 from the South boundary of Mississippi Power and Light Company’s 80 foot wide right-of-way as described in deed recorded in Deed Book 158 at Page 511 of the records of the Chancery Clerk of Warren County, Mississippi; run thence South 67\ndegrees 30 minutes East and along the South boundary of Lucy Bryson Street 150 feet; run thence South 21 degrees 30 minutes West 195.60 feet, more or less, to the North boundary of the W. T. Sheffield, Sr. property as described in deed recorded in\nDeed Book 388 at Page 179 of the records of the Chancery Clerk of Warren County, Mississippi; run thence North 69 degrees 11 minutes West and along the North line of the said W. T. Sheffield property through an existing 3/4 inch iron bar 150 feet,\nmore or less, to the East right-of-way line of Mississippi Highway 61 and U. S. Highway 80; run thence Northeasterly and along a 00 degree 48 minute curve in the said Eastern right-of-way of said Highways 194.10 feet to the tangent point of said\ncurve, said curve having a chord bearing North 21 degrees 30 minutes East 194.10 feet; run thence North 22 degrees 17 minutes East and along said highway right-of-way 5.90 feet, more or less, to the point of beginning;\nBeing the same land described in that certain WARRANTY DEED dated October 10,1968, Leo Hall, Grantor, to Humble Oil &\nRefining Company, a Delaware corporation, (now Exxon Corporation), Grantee and recorded in Official Records of Warren County, in Deed Book 448 at Page 456, and the same lands and improvements thereafter conveyed by Exxon Corporation,\nEx. B-74\nsuccessor by merger to Humble Oil & Refining Company) by deed recorded in\nDeed Book 574 at Page 292 of the aforesaid Land Records of Warren County, Mississippi."}
-{"idx": 5, "level": 4, "span": "PARCEL TWO"}
-{"idx": 5, "level": 4, "span": ": \nBeing situated in Section 32, Township 16 North, Range 3 East, Warren County, Vicksburg, Mississippi and being a part of that\ntract known as Parcel 1 as conveyed to Lucy B. Dabney and recorded in Deed Book 206 at Page 205 of the Chancery Records of Warren County, Mississippi and being more particularly described as follows; Commence at the intersection of the South\nBoundary of Lucy Bryson Street as recorded in Deed Book 282 at Page 55 of the Chancery Records of Warren County, Mississippi, with the East right of way line of Mississippi Highway 61 and U.S. Highway 80, which point is 150.00 feet, as measured\nalong the East right of way line of said Highways 61 and 80, from the South Boundary of Mississippi Power and Light Company’s 80 foot wide right of way as recorded in Deed Book 158 at Page 511 of the Chancery Records of Warren County,\nMississippi; run thence South 67 degrees 30 minutes East and along the South Boundary of Lucy Bryson Street, 150.00 feet to the point of beginning for the property herein described; continue thence South 67 described 30 minutes East and along the\nSouth Boundary of Lucy Bryson Street, 50.09 feet to an iron pipe; run thence South 21 degrees 10 seconds West, 194.15 feet to an iron bar; run thence North 69 degrees 11 minutes West, 51.25 feet; run thence North 21 degrees 30 minutes East, 195.60\nfeet to the point of beginning.\nBeing the same land described in that certain Substituted Trustee’s Deed dated\nFebruary 19, 1985, in favor of David McDonald d/b/a McDonald Land Developers and Evelyn McDonald, recorded in Official Records of Warren County, in Deed Book 740 at Page 112, the undivided ½ interest of the said Evelyn McDonald having thereafter been conveyed to Evelyn McDonald, Trustee of the Evelyn McDonald Revocable Trust u/t/d March 15, 2000, as Parcel 3 within deed dated April\n4, 2000, recorded in Deed Book 1200 at Page 783 of the aforesaid Land Records of Warren County, Mississippi.\nEx. B-75"}
-{"idx": 5, "level": 3, "span": "Parcel Three:\nPart of Section 32, Township 16 North, Range 3 East, Warren County, Mississippi, described as follows:\nBeginning at a point in the East line of Warrenton Road as marked by a steel rod that lies South 87 degrees 03 minutes East a\ndistance of 115.3 feet from a Vicksburg National Military park boundary marked #389-B, said boundary marked being shown on the maps of the Vicksburg National Military Park recorded in the office of: the Chancery Clerk, Warren County, Mississippi,\nsaid point of beginning also lies a distance of 198 feet, more, or less, as measured in a Southerly direction from the South line of Bryson Street at the East line of Warrenton Road, thence from said point of beginning run East at right angles with\nWarrenton Road a distance of Two Hundred (200) feet to a point and run thence in a Southerly direction on a line parallel with the East line of Warrenton Road a distance of 75 feet to a point, run thence in a Westerly direction on a line parallel\nwith the North line of the tract or parcel herein described a distance, of 200 feet to the East line of Warren ton Road, run thence in a Northerly direction along the East line of Warrenton Road a distance of 75 feet to the point of beginning.\nBeing the same land described in that certain Warranty deed dated October 11, 1982, conveying an undivided 3⁄4 interest therein in favor of David McDonald and an undivided 1⁄4\ninterest therein in favor of Edward McDonald, recorded in Official Records of Warren County, in Deed Book 676 at Page 197, the undivided 1⁄4 interest of the\nsaid Edward McDonald having thereafter been conveyed to David L. McDonald (being the same individual known as David L. McDonald) within deed dated March 28, 1985, recorded in Deed Book 742 at Page 457 of the aforesaid Land Records of Warren County,\nMississippi."}
-{"idx": 5, "level": 2, "span": "TRACT FIFTEEN\nThat certain\nparcel conveyed to Riverview Development Company, LLC by Delta Land Company, Inc. as recorded in Deed Book 1208 at Page 553 of the Land Records of Warren County, being part of Section 31, Township 16 North, Range 3 East, Vicksburg, Warren\nCounty, Mississippi, containing in the aggregate 0.22 acres, and being more particularly described as follows:\nCommencing at that certain Vicksburg\nNational Military Park Monument #379, run thence South 10 degrees 37 minutes 48 seconds East, 393.30 feet, more or less, to a found iron marking the northwest corner of the herein described tract and the point of beginning; from said point run\nthence South 73 degrees 00 minutes 00 seconds East, 51.13 feet to the apparent westerly right of\nEx. B-76\nway of Washington Street, as it presently exists; thence along said apparent right of way, South 21 degrees 28 minutes 23 seconds West, 200.01 feet to a point; thence leaving said right of way\nand run North 54 degrees 00 minutes 00 seconds West, 52.00 feet to a point; thence run North 21 degrees 16 minutes 25 seconds East, 182.98 feet to the point of beginning, a plat whereof prepared by CTSI being attached hereto as Schedule 1.1 and\nincorporated herein in aid of description of the property herein described and conveyed and for all other purposes in the construction of this instrument.\nEx. B-77"}
-{"idx": 5, "level": 3, "span": "Ameristar Kansas City"}
-{"idx": 5, "level": 2, "span": "GAMING PROPERTY"}
-{"idx": 5, "level": 2, "span": "TRACT 1:\nLot 1, “KANSAS CITY STATION,” a subdivision of land in the City of Kansas City, Clay County, Missouri, according to the recorded plat\nthereof."}
-{"idx": 5, "level": 2, "span": "TRACT 2:\nLot 3,\nKANSAS CITY STATION, a subdivision of land in Kansas City, Clay County, Missouri, according to the recorded plat thereof."}
-{"idx": 5, "level": 2, "span": "TRACT 3:\nLots 1 to 6, both inclusive, all of Lot 8, and all that part of Lots 7, 9, 10 and 12 lying Northerly of the Northerly line of the Birmingham\nDrainage District Levee, in Block 40;\nLots 1-15, both inclusive (EXCEPT the part of said Lot 14 lying Southerly from the Northerly line\nof Birmingham Drainage District Levee), in Block 42;\nLots 2 and 4 (EXCEPT the part thereof lying Southerly of the Northerly line of\nBirmingham Drainage District Levee), in Block 43;\nLots 1 - 18, both inclusive, in Block 44;\nLots 1, 2, 3, 4, 6 and 8, and all that part of Lots 5, 7 ,9, 10 and 12 lying Northerly of the Northerly line of Birmingham Drainage District\nLevee, in Block 45;\nLots 1, 2, 3, 7, 10, 12, 14, 16,18 and 20; the West 21.38 feet of Lot 4, and the West 33.28 feet of Lots 8, 9, 11,\n13, 15, 17, 19 and 21, in Block 47;\nLots 1, 3, 5, 7, 9 and 11, and the West 33.28 feet of Lots 2, 4, 6, 8, 10 and 12, in Block 48;\nTogether with:\nAll vacated\nalleys or portions thereof which lie adjacent to said lots or portions of lots.\nVacated Third (3rd) Street lying between the East\nline of Liberty Street and the extended East line of said West portion of said Lot 4, in Block 47;\nAll of vacated Cherry street, Vine\nStreet and Hickory Street lying between the South line of Third (3rd) Street and the Northerly line of Birmingham Drainage District Levee;\nEx. B-78\nAll of vacated Second (2nd) Street lying between the Northerly line of the Birmingham\nDrainage District Levee and the extended East line of the West 33.28 feet of Lot 2, in said Block 48;\nAll of vacated Main Street lying\nEast of the Northerly line of said Birmingham Drainage District Levee and West of the extended East line of the West 33.28 feet of Lot 12, in said Block 48;\nAll in the PLAN OF RANDOLPH, a subdivision in the Village of Randolph, Clay County, Missouri; EXCEPT from the foregoing Tract 3 the following\ndescribed property conveyed to Kansas City Power & Light Company by Special Warranty Deed recorded in Book 2620, Page 663 as Document No. N20860 in the Official Records of Clay County, Missouri;\nAll that part of Block 40 and 42, in the PLAN OF RANDOLPH, Village of Randolph, Clay County, Missouri, together with portions of the vacated\nalleys, Cherry Street and Second (2nd) Street that lies within the following property:\nBeginning at the Northerly right of way line\nof the Birmingham Drainage District Levee as described in Book 470, Page 522 in the Clay County Recorder of Deeds Office and the Westerly line of Block 40, PLAN OF RANDOLPH; thence North 0 degrees 45 minutes 58 seconds East along said Westerly line\nof Block 40, 248.69 feet; thence North 82 degrees 02 minutes 28 seconds East, 71.54 feet; thence South 73 degrees 59 minutes 40 seconds East parallel to the said Northerly Levee Right of Way, 395.00 feet; thence South 16 degrees 00 minutes 20\nseconds West, 269.00 feet to the said Northerly Levee Right of Way; thence North 73 degrees 59 minutes 40 seconds West along said Northerly Levee Right of Way, 395.00 feet to the point of beginning."}
-{"idx": 5, "level": 2, "span": "TRACT 4:\nLot 2, of “KANSAS\nCITY STATION,” a subdivision of land in the City of Kansas City, Clay County, Missouri, according to the recorded plat thereof."}
-{"idx": 5, "level": 2, "span": "TRACT 5:\nA tract of land being\npart of Blocks 47 - 50 of “THE PLAN OF RANDOLPH”, a subdivision of land in Clay County, Missouri, and a part of the South One Half of the Southwest Quarter of Section 10, Township 50, Range 32 and a part of the North One Half of the\nNorthwest Quarter of Section 15, Township 50, Range 32, all being located in said Clay County, and more particularly described as follows: Commencing at the Southwest corner of the Southeast Quarter of the Southwest Quarter of said\nSection 10, Township 50, Rage 32 said point also being the Southeast corner of said “PLAN OF RANDOLPH”; thence South 89 degrees 29 minutes 02 seconds East (South 89 degrees 32 minutes 51 seconds Deed) a distance of 202.28\nEx. B-79\nfeet to the True Point of Beginning of the tract of land to be herein conveyed; thence North 0 degrees 19 minutes 54 seconds East (North 00 degrees 17 minutes 59 seconds Deed) parallel with the\nWest line of said Quarter, Quarter Section of land a distance of 1082.25 feet (1082.72 Deed) to a point on the centerline of Birmingham Road; thence South 80 degrees 42 minute 36 seconds West (80 degrees 42 minutes 29 seconds West Deed) a distance\nof 205.16 feet (205.15 Deed) to a point on said West line of said Quarter, Quarter Section of land; thence South 81 degrees 42 minutes 58 seconds West (South 81 degrees 35 minutes 00 seconds West Deed) and continuing along said center line of said\nBirmingham Road a distance of 301.11 feet (301.20 Deed); thence South 00 degrees 19 minutes 54 seconds West (South 0 degrees 17 minutes 59 seconds West Deed) parallel with the West line of said Quarter, Quarter Section of land a distance of 1001.24\nfeet (1001.56 Deed) to a point on the South line of said “PLAN OF RANDOLPH” said point also being on the North line of said Northwest Quarter of said Section 15; thence South 0 degrees 29 minutes 26 seconds West (South 0 degrees 17\nminutes 59 seconds West Deed) a distance of 94.08 feet (93.90 Deed) to a point on the Northerly right of way line of New Levee as described in Document No. A-302951 in the Office of the Recorder of Deeds, Clay County, Missouri; thence South 62\ndegrees 47 minutes 24 seconds East (South 62 degrees 50 minutes 31 seconds Deed) along said Northerly right of way a distance of 560.49 feet (560.46 Deed); thence North 00 degrees 23 minutes 23 seconds East (North 0 degree 17 minutes 59 seconds East\nDeed) parallel with the West line of the Northeast Quarter of the Northwest Quarter of said Section 15 a distance of 345.87 feet (345.78 Deed) to the Point of beginning.\nEXCEPT: All that part of the above described property being platted as Lot 2, KANSAS CITY STATION, a subdivision of land Kansas City, Clay\nCounty, Missouri."}
-{"idx": 5, "level": 2, "span": "TRACT 6:\nLeasehold Estate as created by Lease Agreement notice of which is given by Memorandum of Lease Agreement by and between Birmingham Drainage\nDistrict, as Lessor, and Station/First Joint Venture, as Lessee, dated February 17, 1995 and filed July 7, 1995 as Document No. M-62089 in Book 2462 at Page 724.\nLessee’s Interest assigned to Kansas City Station Corporation by Ratification, Confirmation, Assignment and Amendment of Lease filed\nMarch 26, 1996 as Document No. M-91367 in Book 2539 at page 788.\nAssignment of Lessee’s interest in Lease executed by Kansas\nCity Station Corporation to Ameristar Casino Kansas City, Inc., dated December 20, 2000, filed December 20, 2000, as Document No. Q-27087.\nAssignment of Lessee’s interest in Lease executed by Ameristar Casino Kansas City, LLC fka Ameristar Casino Kansas City, Inc. to Pinnacle\nEntertainment, Inc. dated as of April 28, 2016,\nEx. B-80\nfiled May 4, 2016 as Document No. 2016014085 in Book 7707 at page 81 in Clay County, Missouri.\nGold Merger Sub, LLC successor by merger to Pinnacle Entertainment, Inc filed in Book 7707 at Page 135 in Clay County, Missouri;\nAs to the following tract:\nA\ntract of land in the South 1/2 of Section 10, T50N, R32W and part of fractional Section 15, T50N, R32W and part of the PLAN OF RANDOLPH, Clay County, Missouri more particularly described as follows: Beginning at a point on the South line\nof said Section 10, which is 441.63 feet (442.1 Deed) West of the Southeast Corner of said Section 10; Thence South 89 degrees 09 minutes 01 seconds East (South 89 degrees 32 minutes 51 seconds East Deed) a distance of 50.88 feet to a\npoint on the Westerly right-of-way line of the Chicago, Milwaukee, St Paul; and Pacific Railroad, and the Chicago Rock Island and Pacific Railroads; thence South 45 degrees 59 minutes 10 seconds West (South 45 degrees 35 minutes 24 seconds West\nDeed) along the said right-of-way, 2336.75 feet (2336.29 Deed) to a point on the Northerly right-of-way line of the new levee WHICH IS THE TRUE POINT OF BEGINNING; thence North 45 degrees 02 minutes 28 seconds West (North 45 degrees 22 minutes 17\nseconds West Deed) along Northeasterly right-of-way line of the new levee, as described in Document No. A-032951 in the Office of the Recorder of Deeds, Clay County, Missouri, 895.03 feet (886.59 Deed) to a point of curve; thence along a curve to\nthe left having a radius of 3354.35 feet and a central angle of 17 degrees 24 minutes 55 seconds a distance of 1019.57 feet; thence North 62 degrees 27 minutes 23 seconds West (North 62 degrees 47 minutes 12 seconds West on Deed) along said levee\nright-of-way, 763.50 feet; thence south 00 degrees 00 minutes 00 seconds West to the low water mark of the Missouri River; thence downstream in a Southeasterly direction along said low water mark to a point South 45 degrees 59 minutes 10 seconds\nWest of the True Point of Beginning; thence North 45 degrees 59 minutes 10 seconds East to the TRUE POINT OF BEGINNING."}
-{"idx": 5, "level": 2, "span": "TRACT 7:\nLeasehold Estate as created by the Lease Agreement notice of which is given by Memorandum of Lease Agreement by and between Birmingham Drainage\nDistrict, as Lessor, and Station/First Joint Venture, as Lessee, dated February 17, 1995 and filed July 7, 1995, as Document No. M-62089 in Book .2462 at Page 724.\nLessee’s interest assigned to Kansas City Station Corporation by Ratification, Confirmation, Assignment and Amendment of Lease filed\nMarch 26, 1996 as Document No. M-91367 in Book 2539 at Page 788.\nEx. B-81\nAssignment of Lessee’s interest in Lease executed by Kansas City Station Corporation to\nAmeristar Casino Kansas City, Inc., dated December 20, 2000, filed December 20, 2000, as Document No. Q-27087.\nAssignment of\nLessee’s interest in Lease executed by Ameristar Casino Kansas City, LLC fka Ameristar Casino Kansas City, Inc. to Pinnacle Entertainment, Inc. dated as of April 28, 2016, filed May 4, 2016 as Document No. 2016014085 in Book 7707\nat page 81 in Clay County, Missouri.\nGold Merger Sub, LLC successor by merger to Pinnacle Entertainment, Inc filed in Book 7707 at Page\n135 in Clay County, Missouri;\nAs to the following tract:\nCommencing at a point where the Westerly line of Block 40, PLAN OF RANDOLPH, intersects with the Northerly right of way line of Birmingham\nDrainage District Levee; thence South 73 degrees 59 minutes 40 seconds East along said right-of -way 659.49 feet; thence South 56 degrees 59 minutes 49 seconds East along said right-of-way 220.52 feet; thence South 62 degrees 43 minutes 15 seconds\nEast along said right-of-way 607.23 feet; thence South 00 degrees 00 minutes 00 seconds West to the low water mark of the Missouri River, thence upstream in a Northwesterly direction along the low water mark of the Missouri River to a point where\nsaid low water mark intersects with the Westerly line of Block 40, PLAN OF RANDOLPH; thence Northerly along the Westerly line of Block 40, PLAN OF RANDOLPH, to the Point of Beginning.\nWETLANDS PROPERTY (Tracts 8 & 9):"}
-{"idx": 5, "level": 2, "span": "TRACT 8:\nThe South 30 acres of\nthe Southeast Quarter of the Northeast Quarter of Section 27, Township 51, Range 30, in Jackson County, Missouri, EXCEPT that part taken by Corp of Engineers, U.S. Army In Civil Action No. 11247."}
-{"idx": 5, "level": 2, "span": "TRACT 9:\nThe Northeast Quarter\nof the Southeast Quarter of Section 27, Township 51, Range 30, Jackson County, Missouri; EXCEPT that part lying South of the Missouri River, all of said Quarter Quarter Section being subject to a perpetual easement granted to the United States\nof America over and across said land, as created under instrument designated “Easement” filed under Document No. 685882 in Book 1316 at Page 492."}
-{"idx": 5, "level": 2, "span": "TRACT 10:\nEx. B-82\nParcel 1:\nAN UNDIVIDED 2/3 INTEREST IN AND TO THE FOLLOWING DESCRIBED LAND: All of Block 41, lying South of the Southerly line of the Birmingham Drainage\nDistrict Levee, in the PLAN OF RANDOLPH, a subdivision of land in Clay County, Missouri.\nParcel 2:\nAN UNDIVIDED 2/3 INTEREST IN AND TO THE FOLLOWING DESCRIBED LAND: All of Blocks 38, 39, 43 and 45, EXCEPT Lots 18 and 20, of Block 39, lying\nSouth of the Southerly line of the Birmingham Drainage District Levee, all in the PLAN OF RANDOLPH, a subdivision of land in Clay County, Missouri.\nParcel 3:\nAlso; All of Block 94, lying South\nand West of the Southerly and Westerly line of the Birmingham Drainage District Levee in NORTH KANSAS CITY IMPROVEMENT COMPANY’S FIRST ADDITION TO RANDOLPH, a subdivision of land in Clay County, Missouri.\nEx. B-83"}
-{"idx": 5, "level": 3, "span": "Ameristar St. Charles"}
-{"idx": 5, "level": 4, "span": "PARCEL NO. 1-TRACT 1:"}
-{"idx": 5, "level": 2, "span": "PART OF (DUE TO LOCATION OF\nMISSOURI RIVER AS SURVEYED DURING AUGUST, 2000) “LOT 1 OF ST. CHARLES RIVERFRONT STATION”, A SUBDIVISION ACCORDING TO THE PLAT THEREOF RECORDED IN PLAT BOOK 33 PAGES 40-41 OF THE ST. CHARLES COUNTY RECORDS, BEING ALSO PART OF LOTS 2, 3 AND\n4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY, MISSOURI, AND BEING PART DESCRIBED AS A TRACT OF LAND BEING PART OF LOTS 2, 3 AND 4 IN BLOCK 1 OF EVANS\nSURVEY OF THE COMMONS OF ST. CHARLES, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY MISSOURI AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "BEGINNING AT THE INTERSECTION OF THE NORTH RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70 WITH THE EAST LINE OF THE OLD M.K.T. RAILROAD RIGHT-OF-WAY (60\nFEET WIDE), SAID RIGHT-OF-WAY NOW BELONGING TO THE DEPARTMENT OF NATURAL RESOURCES AS DESCRIBED IN DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ALSO 150.00 FEET PERPENDICULARLY DISTANT NORTH OF MISSOURI\nINTERSTATE 70 CENTERLINE STATION 10 + 31.65; THENCE NORTHWARDLY ALONG SAID EAST LINE OF THE DEPARTMENT OF NATURAL RESOURCES PROPERTY, THE FOLLOWING COURSES AND DISTANCES, NORTH 27° 24’ 14” EAST 1115.89 FEET; NORTH 27° 05’\n36” EAST 94.35 FEET; NORTH 27° 42’ 46” EAST 99.62 FEET; NORTH 28° 32’ 22” EAST 99.78 FEET; AND NORTH 29° 48’ 14” EAST 63.63 FEET TO A POINT IN THE SOUTH LINE OF PROPERTY CONVEY TO THE CITY OF ST.\nCHARLES AS RECORDED IN ST. CHARLES COUNTY RECORDS; THENCE SOUTH 68° 29’ 58” EAST ALONG THE SOUTH LINE OF SAID CITY OF ST. CHARLES PROPERTY 670.35 FEET TO A POINT ON THE CENTERLINE OF AN EXISTING SLOUGH AS SURVEYED DECEMBER 16, 1991;\nTHENCE NORTHWARDLY ALONG SAID CENTERLINE OF A SLOUGH AS SURVEYED THE FOLLOWING COURSES AND DISTANCES, NORTH 46° 49’ 21” EAST 63.22 FEET; NORTH 43° 17’ 48” EAST 103.70 FEET; NORTH 52° 01’ 54” EAST 47.41 FEET;\nNORTH 46° 15’ 21” EAST 179.08 FEET; NORTH 22° 59’ 38” EAST 58.10 FEET; NORTH 32° 24’ 24” EAST 81.38 FEET; THENCE NORTH 41° 45’ 28” EAST 146.54 FEET; NORTH 54° 10’ 18” EAST 73.53\nFEET; NORTH 84° 20’ 08” EAST 54.02 FEET; AND SOUTH 64° 31’ 27” EAST 43.98 FEET TO A POINT AT THE EXISTING WATERS EDGE OF THE MISSOURI RIVER AS SURVEYED ON AUGUST 15, 2000; THENCE SOUTHWARDLY ALONG SAID WATERS EDGE OF THE\nMISSOURI RIVER THE FOLLOWING COURSES AND DISTANCES, SOUTH 04° 40’ 56” WEST 58.96 FEET; SOUTH 20° 37’ 10” WEST 144.59 FEET; SOUTH 15° 36’ 33” WEST 170.49 FEET; SOUTH 11° 22’ 46” WEST 266.35\nFEET; SOUTH 62° 45’ 45” WEST 103.99 FEET; SOUTH 53° 40’ 19” WEST 42.35 FEET; SOUTH 64° 20’ 18” WEST 57.89 FEET; SOUTH 10° 12’ 11” WEST 54.10 FEET; SOUTH 04° 28’ 33” WEST 51.91\nFEET; SOUTH 08° 54’ 23” WEST 50.66 FEET; SOUTH 09° 59’ 43” WEST 52.63 FEET; SOUTH 05° 46’ 36” WEST 60.43 FEET; SOUTH 82° 02’ 04” EAST 8.33 FEET; SOUTH 07° 36’ 46” WEST 23.81 FEET;\nSOUTH 33° 58’ 10” WEST 41.58 FEET; SOUTH 49° 07’ 58” WEST 10.25 FEET; SOUTH 07° 26’ 05” WEST 33.98 FEET; SOUTH 50° 52’ 14” EAST 16.93 FEET, SOUTH 00° 56’ 40” EAST 70.98 FEET;\nSOUTH 11° 01’ 30” WEST 68.44 FEET; SOUTH 52° 33’ 05”\nEx. B-84"}
-{"idx": 5, "level": 2, "span": "WEST 30.14 FEET; SOUTH 07° 11’ 22” WEST 33.78 FEET; SOUTH 02° 08’ 10” EAST 5.59 FEET; SOUTH 46° 59’ 08” EAST 27.82 FEET; SOUTH 11° 09’ 56”\nWEST 66.05 FEET; SOUTH 18° 15’ 25” WEST 19.33 FEET; SOUTH 75° 51’ 25” EAST 118.39 FEET; SOUTH 14° 08’ 35” WEST 396.00 FEET; NORTH 75° 51’ 25” WEST 3.83 FEET; AND SOUTH 14° 08’ 35”\nWEST 424.61 FEET TO A POINT IN THE AFORESAID NORTH RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70; THENCE NORTH 65° 53’ 14” WEST ALONG SAID NORTH RIGHT-OF-WAY LINE, 1525.41 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 1-TRACT 2:"}
-{"idx": 5, "level": 2, "span": "LOT 2 OF “ST CHARLES\nRIVERFRONT STATION”, A SUBDIVISION ACCORDING TO THE PLAT THEREOF RECORDED IN PLAT BOOK 33 PAGES 40-41 OF THE ST. CHARLES COUNTY RECORDS, BEING ALSO PART OF LOTS 3 AND 4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH,\nRANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY, MISSOURI."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 1A:"}
-{"idx": 5, "level": 2, "span": "RIGHTS OF ACCESS UNDER ROAD CROSSING LICENSE NO. STC 9401, NOTICE OF WHICH IS SET FORTH IN MEMORANDUM RECORDED IN BOOK 1735 PAGE 152, OVER THE FOLLOWING\nDESCRIBED PROPERTY:"}
-{"idx": 5, "level": 3, "span": "PARCEL NO. A:"}
-{"idx": 5, "level": 2, "span": "A TEMPORARY ROAD\nCROSSING OVER: A TRACT OF LAND BEING PART OF LOT 4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 47 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL MERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED\nAS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1523 PAGE 38\nOF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY OF MISSOURI\nINTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT, NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 149.04 FEET TO THE ACTUAL POINT OF\nBEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT OF LAND CONVEYED TO\nST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST 60.00 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46\nSECONDS EAST, 60.00 FEET TO A POINT ON THE AFORESAID EASTERN LINE OF\nEx. B-85"}
-{"idx": 5, "level": 2, "span": "THE DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 60.00 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING\nCO., INC. DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. B:"}
-{"idx": 5, "level": 2, "span": "A TEMPORARY ENTRANCE ROAD CROSSING OVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING\nPART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL MERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE\nSOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL\nRESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN\nLINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT, NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST 287.94 FEET TO THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET\nTO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE\nLEAVING SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 245.95 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST, 60.00 FEET TO THE AFORESAID EAST LINE OF DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE\nSOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 245.95 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO., INC., DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. C:"}
-{"idx": 5, "level": 2, "span": "A PERMANENT ENTRANCE ROAD CROSSING OVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL\nMERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST.\nCHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE\nHIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT\nEx. B-86"}
-{"idx": 5, "level": 2, "span": "BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 287.94 FEET TO THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE\nLEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED\nRECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE LEAVING SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 245.96 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST, 60.00 FEET TO THE AFORESAID\nEAST LINE OF DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 245.95 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO., INC. DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. D:"}
-{"idx": 5, "level": 2, "span": "A TEMPORARY CONSTRUCTION LICENSE A\nOVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL\nMERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE\nST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND THE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI\nINTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 209.04 FEET TO THE ACTUAL POINT OF\nBEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE EASTERN LINE OF A TRACT CONVEYED TO ST. CHARLES\nRIVERFRONT STATION, INC., BY DEED RECORDED IN BOOK 1623 PAGE 124 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 78.90 FEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST,\n60.00 FEET TO A POINT ON THE AFORESAID EAST LINE OF DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 78.90 FEET TO THE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO.,\nINC. DURING THE MONTH OF MAY 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. E:"}
-{"idx": 5, "level": 2, "span": "A\nTEMPORARY CONSTRUCTION LICENSE B OVER:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOTS 3 AND 4 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS,\nTOWNSHIP 46 NORTH, RANGE 5 EAST, OF THE FIFTH PRINCIPAL\nEx. B-87"}
-{"idx": 5, "level": 2, "span": "MERIDIAN, CITY OF ST. CHARLES, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION,\nINC. BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ON THE EASTERN LINE OF A TRACT CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, AND\nTHE NORTHERN RIGHT-OF-WAY LINE OF MISSOURI INTERSTATE HIGHWAY 70; THENCE ALONG THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT BEING THE WESTERN LINE OF SAID ST. CHARLES RIVERFRONT STATION TRACT NORTH 27 DEGREES 24 MINUTES 14 SECONDS\nEAST, 533.89 FEET TO THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID LINE NORTH 62 DEGREES 35 MINUTES 46 SECONDS WEST, 60.00 FEET TO A POINT ON THE WESTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT, BEING THE\nEASTERN LINE OF A TRACT OF LAND CONVEYED TO WALTER C. F. AND MARLENE A. HISCHKE, JR. BY DEEDS RECORDED IN BOOK 1390 PAGE 1651 AND 1655 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG SAID LINE NORTH 27 DEGREES 24 MINUTES 14 SECONDS EAST, 116.06\nFEET; THENCE LEAVING SAID LINE SOUTH 62 DEGREES 35 MINUTES 46 SECONDS EAST, 60.00 FEET TO A POINT ON THE EASTERN LINE OF SAID DEPARTMENT OF NATURAL RESOURCES TRACT; THENCE ALONG SAID LINE SOUTH 27 DEGREES 24 MINUTES 14 SECONDS WEST, 116.06 FEET TO\nTHE ACTUAL POINT OF BEGINNING, AS PER CALCULATIONS BY BAX ENGINEERING CO., INC., DURING THE MONTH OF MAY, 1994."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 2:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF U.S. SURVEY 165, AND PART OF BLOCK 11 OF THE COMMONS OF ST. CHARLES, TOWNSHIP 46 NORTH, RANGE 4 AND 5 EAST, ST. CHARLES COUNTY,\nMISSOURI, AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD STONE AT THE SOUTHWEST CORNER OF LOT 7 OF BLOCK 11, OF THE COMMONS OF\nST. CHARLES; THENCE NORTH 42° 12’ 01” WEST, 37.20 FEET TO A POINT ON THE NORTHERN LINE OF PROPERTY NOW OR FORMERLY OF RODNEY AS RECORDED IN BOOK 1019 PAGE 1401 OF THE ST. CHARLES COUNTY RECORDER’S OFFICE; THENCE CONTINUING NORTH\n42° 12’ 01” WEST, 50.96 FEET ALONG THE NORTHERN LINE OF SAID RODNEY TRACT TO A POINT, SAID POINT BEING ON THE EASTERN LINE OF SOUTH RIVER ROAD AS TRAVELED, THENCE ALONG SAID EASTERN LINE AS TRAVELED, THE FOLLOWING COURSES: NORTH\n47° 59’ 46” EAST, 32.96 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 1415.00, AND AN ARC LENGTH OF 178.34 FEET, A CHORD OF WHICH BEARS NORTH 45° 49’ 06” EAST, A CHORD DISTANCE OF 178.22 FEET TO A\nPOINT; THENCE NORTH 42° 12’ 28” EAST 206.66 FEET TO A POINT; THENCE NORTH 45° 41’ 04” EAST, 44.61 FEET TO A POINT; THENCE ALONG A CURVE TO THE RIGHT, HAVING A RADIUS OF 164.79 FEET, AND AN ARC LENGTH OF 201.88 FEET, A\nCHORD OF WHICH BEARS NORTH 80° 46’ 49” EAST, A CHORD DISTANCE OF 189.49 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 85.00 FEET, AND AN ARC LENGTH OF 101.30 FEET, A CHORD OF WHICH BEARS NORTH 81° 44’\n03” EAST, A CHORD DISTANCE OF 95.41 FEET TO A POINT; THENCE NORTH 47° 35’ 32” EAST, 45.99 FEET TO A\nEx. B-88"}
-{"idx": 5, "level": 2, "span": "POINT; THENCE NORTH 41° 38’ 02” EAST, 614.65 FEET TO A POINT; THENCE NORTH 41° 45’ 47” EAST, 186.44 FEET TO A POINT; THENCE LEAVING SAID EASTERN LINE, SOUTH 44°\n20’ 20” EAST, 329.81 FEET TO A POINT; THENCE SOUTH 81° 31’ 34” EAST, 85.21 FEET TO A POINT; THENCE NORTH 60° 25’ 38” EAST, 490.93 FEET TO A POINT; THENCE NORTH 07° 19’ 18” EAST, 75.77 FEET TO A\nPOINT; THENCE NORTH 51° 58’ 30” EAST, 87.81 FEET TO A POINT; THENCE NORTH 85° 31’ 25” EAST, 134.13 FEET TO A POINT; THENCE SOUTH 85° 39’ 39” EAST, 152.25 FEET TO A POINT; THENCE NORTH 03° 47’\n57” EAST, 142.02 FEET TO A POINT; THENCE SOUTH 69° 04’ 20” EAST, 62.03 FEET TO A POINT; THENCE SOUTH 30° 09’ 16” EAST, 895.45 FEET TO A POINT; THENCE SOUTH 44° 40’ 57” EAST, 118.00 FEET TO THE POINT OF\nBEGINNING OF THE HEREIN DESCRIBED TRACT OF LAND; THENCE CONTINUING SOUTH 44° 40’ 57” EAST 264.62 FEET TO A POINT ON THE MEAN LOW WATER LEVEL OF THE MISSOURI RIVER; THENCE SOUTHWESTWARDLY ALONG SAID MEAN LOW. OF SAID MEAN LOW WATER\nLEVEL WITH THE NORTHERN LINE OF PROPERTY NOW OR FORMERLY OF LOVELACE AS RECORDED IN BOOK 831, PAGE 1752 OF SAID RECORDER’S OFFICE; THENCE LEAVING SAID WATER LEVEL ALONG SAID NORTHERN LINE, NORTH 34° 41’ 05” WEST, 44.05 FEET TO A\nPOINT; THENCE LEAVING SAID NORTHERN LINE, NORTH 55° 05’ 32” EAST, 1454.20 FEET TO A POINT; THENCE NORTH 61° 12’ 33” EAST, 1497.67 FEET TO A POINT; THENCE NORTH 74° 20’ 47” EAST, 1028.09 FEET TO A POINT;\nTHENCE NORTH 48° 31’ 11” EAST, 55.90 FEET TO THE POINT OF BEGINNING PER CALCULATIONS BY PICKETT, RAY & SILVER, INC., DURING THE MONTH OF MAY, 1993."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 2A:"}
-{"idx": 5, "level": 2, "span": "EASEMENTS AS RESERVED IN DEED RECORDED IN\nBOOK 2052 PAGE 936."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 3:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND\nBEING PART OF U. S. SURVEY 165, AND PART OF BLOCK 11 OF THE COMMONS OF ST. CHARLES, TOWNSHIP 46 NORTH, RANGE 4 AND 5 EAST, ST. CHARLES COUNTY, MISSOURI, AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD STONE AT THE SOUTHWEST CORNER OF LOT 7 OF BLOCK 11, OF THE COMMONS OF ST. CHARLES; THENCE NORTH 42° 12’ 01” WEST, 37.20\nFEET TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED, SAID POINT BEING ON THE NORTHERN LINE OF PROPERTY NOW OR FORMERLY OF RODNEY AS RECORDED IN BOOK 1019 PAGE 1401 OF THE ST. CHARLES COUNTY RECORDER’S OFFICE; THENCE CONTINUING\nNORTH 42° 12’ 01” WEST, 50.96 FEET ALONG THE NORTHERN LINE OF SAID RODNEY TRACT TO A POINT, SAID POINT BEING ON THE EASTERN LINE OF SOUTH RIVER ROAD AS TRAVELED; THENCE ALONG SAID EASTERN LINE AS TRAVELED, THE FOLLOWING COURSES: NORTH\n47° 59’ 46” EAST, 32.96 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 1415.00, AND AN ARC LENGTH OF 178.34 FEET, A CHORD OF WHICH BEARS NORTH 45° 49’ 06” EAST, A CHORD DISTANCE OF 178.22 FEET TO A\nPOINT; THENCE NORTH 42° 12’ 28” EAST, 206.66 FEET TO A POINT; THENCE NORTH 45° 41’ 04” EAST, 44.61 FEET TO A POINT; THENCE ALONG A CURVE TO THE RIGHT HAVING A RADIUS OF 164.79 FEET, AND AN ARC LENGTH OF 201.88 FEET, A\nCHORD OF WHICH BEARS NORTH 80° 46’ 49” EAST, A CHORD DISTANCE OF 189.49 FEET TO A POINT; THENCE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 85.00 FEET, AND AN ARC\nEx. B-89"}
-{"idx": 5, "level": 2, "span": "LENGTH OF 101.30 FEET, A CHORD OF WHICH BEARS NORTH 81° 44’ 03” EAST, A CHORD DISTANCE OF 95.41 FEET TO A POINT; THENCE NORTH 47° 35’ 32” EAST, 45.99 FEET TO A POINT;\nTHENCE NORTH 41° 38’ 02” WEST, 614.65 FEET TO A POINT; THENCE NORTH 41° 45’ 47” EAST, 186.44 FEET TO A POINT; THENCE LEAVING SAID EASTERN LINE, SOUTH 44° 20’ 20” EAST, 329.81 FEET TO A POINT; THENCE SOUTH\n81° 31’ 34” EAST, 85.21 FEET TO A POINT; THENCE NORTH 60° 25’ 38” EAST 490.93 FEET TO A POINT; THENCE NORTH 07° 19’ 18” EAST, 75.77 FEET TO A POINT; THENCE NORTH 51° 58’ 30” EAST, 87.81 FEET TO\nA POINT; THENCE NORTH 85° 31’ 25” EAST, 134.13 FEET TO A POINT; THENCE SOUTH 85° 39’ 39” EAST, 152.25 FEET TO A POINT; THENCE NORTH 03° 47’ 57” EAST, 142.02 FEET TO A POINT; THENCE SOUTH 69° 04’\n20” EAST, 62.03 FEET TO A POINT; THENCE SOUTH 30° 09’ 16” EAST, 895.45 FEET TO A POINT; THENCE SOUTH 44° 40’ 57” EAST, 118.00 FEET TO A POINT; THENCE SOUTH 48° 31’ 11” WEST, 55.90 FEET TO A POINT;\nTHENCE SOUTH 74° 20’ 47” WEST, 1028.09 FEET TO A POINT; THENCE SOUTH 61° 12’ 33” WEST, 1497.67 FEET TO A POINT; THENCE SOUTH 55° 05’ 32” WEST, 1454.20 FEET TO A POINT ON THE NORTHERN LINE OF PROPERTY NOW OR\nFORMERLY OF LOVELACE AS RECORDED IN BOOK 831 PAGE 1752 OF SAID RECORDER’S OFFICE; THENCE ALONG SAID NORTHERN LINE, NORTH 34° 41’ 05” WEST, 491.66 FEET TO A POINT, SAID POINT BEING ON THE CENTERLINE OF THE KATY TRAIL, AS ROCKED;\nTHENCE ALONG SAID CENTERLINE THE FOLLOWING COURSES: NORTH 51° 14’ 48” EAST, 370.95 FEET; THENCE NORTH 46° 37’ 47” EAST, 519.40 FEET; THENCE NORTH 44° 26’ 42” EAST, 511.27 FEET; THENCE NORTH 42° 32’\n50” EAST, 65.09 FEET; THENCE LEAVING SAID CENTERLINE AND ALONG THE NORTHERN LINE OF THE AFOREMENTIONED RODNEY TRACT, NORTH 68° 56’ 09” WEST, 102.28 FEET TO THE POINT OF BEGINNING PER CALCULATIONS BY PICKET RAY & SILVER,\nINC., DURING THE MONTH OF MAY, 1993."}
-{"idx": 5, "level": 2, "span": "EXCEPTING THEREFROM THAT PART THEREOF CONVEYED TO THE COUNTY OF ST. CHARLES BY DEED RECORDED IN BOOK 2052 PAGE 936\nAND BOOK 2267 PAGE 1892."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 4:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF\nLAND BEING PART OF U.S. SURVEY 1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, AND BEING THE SAME PROPERTY CONVEYED TO MEYERS AS RECORDED IN BOOK 763 PAGE 1620 OF THE ST. CHARLES COUNTY MISSOURI RECORDS, SAID TRACT BEING MORE\nPARTICULARLY DESCRIBED AS FOLLOWS:\nCOMMENCING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERNLINE OF A SURVEY BY CHARLES W. RUFF, COUNTY\nSURVEYOR L.S. NO. 241, DATED APRIL 2, 1966 AND FILED IN SERIES 650 FICHE NO. 5058A/3 AT THE LAND SURVEY REPOSITORY OF THE DEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO BEING SOUTH 00º 00’ 34” WEST 4765.85 FEET FROM\nTHE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK 9, BOOK 105 OF THE ST. CHARLES COUNTY MISSOURI RECORDS AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893 PAGE\n1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE COMMON LINE BETWEEN SAID RUFF SURVEY AND SAID FARLEY PROPERTY, NORTH 00º 00’ 34” EAST, 1770.38 FEET\nEx. B-90"}
-{"idx": 5, "level": 2, "span": "TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED; THENCE ALONG THE SOUTHERN LINE OF SAID MEYERS PROPERTY THE FOLLOWING COURSES:"}
-{"idx": 5, "level": 2, "span": "SOUTH 56° 09’ 42” WEST, 163.04 FEET TO A POINT; THENCE SOUTH 68° 13’ 42” WEST, 682.44 FEET TO A POINT; THENCE SOUTH 78°\n54’ 42” WEST, 1013.10 FEET TO A POINT; THENCE NORTH 80° 56’ 18” WEST 968.88 FEET TO A POINT; THENCE LEAVING SAID SOUTHERN LINE AND ALONG THE EASTERN LINE OF PROPERTY NOW OR FORMERLY OF LACLEDE GAS COMPANY RECORDED IN BOOK\n557, PAGE 828 OF THE SAID RECORDER’S OFFICE, NORTH 16° 36’ 42” EAST, 1307.46 FEET TO A POINT ON THE NORTHERN LINE OF PROPERTY OF SAID MEYERS PROPERTY, ALSO BEING ON THE SOUTHERN LINE OF PROPERTY NOW OR FORMERLY OF WITTE AS\nRECORDED IN BOOK 567 PAGE 272 OF SAID RECORDER’S OFFICE; THENCE ALONG THE NORTHERN LINE OF SAID MEYERS PROPERTY, SOUTH 73° 23’ 18” EAST, 2448.60 FEET TO THE WESTERN LINE OF THE AFOREMENTIONED FARLEY PROPERTY; THENCE LEAVING SAID\nNORTHERN LINE AND ALONG THE WESTERN LINE OF SAID FARLEY PROPERTY, SOUTH 00° 00’ 34” WEST, 166.72 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL\nNO. 5:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF U.S. SURVEY 1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, SAID TRACT BEING MORE\nPARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERN LINE OF A SURVEY BY CHARLES W. RUFF, COUNTY SURVEYOR, LS. NO. 241, DATED APRIL 2, 1966 AND FILED IN SERIES 650 FICHE NO. 505BA/3 AT THE LAND\nSURVEY REPOSITORY OF THE DEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO BEING SOUTH 00° 00’ 34” WEST, 4765.86 FEET FROM THE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK\n9 PAGE 105 OF THE ST. CHARLES COUNTY MISSOURI RECORDS AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893 PAGE 1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE COMMON LINE BETWEEN SAID RUFF SURVEY AND\nSAID FARLEY PROPERTY, NORTH 00° 00’ 34” EAST, 965.87 FEET TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED; THENCE LEAVING SAID COMMON LINE ALONG THE NORTHERN LINE OF SAID RUFF SURVEY THE FOLLOWING COURSES: SOUTH 87°\n11’ 00” WEST, 613.33 FEET TO A POINT; THENCE NORTH 88° 49’ 00” WEST, 383.18 FEET TO A POINT; THENCE SOUTH 61° 11’ 00” WEST, 136.29 FEET TO A POINT; THENCE SOUTH 28° 11’ 00” WEST, 322.10 FEET TO A\nPOINT; THENCE LEAVING SAID NORTHERN LINE, NORTH 37° 52’ 30” WEST, 807.74 FEET TO A POINT ON THE SOUTHERN LINE OF PROPERTY NOW OR FORMERLY OF MEYERS AS RECORDED IN BOOK 763 PAGE 1620 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE\nSOUTHERN LINE OF SAID MEYERS PROPERTY THE FOLLOWING COURSES: NORTH 78° 54’ 42” EAST, 1013.10 FEET TO A POINT; THENCE NORTH 68° 13’ 42” EAST, 682.44 FEET TO A POINT; THENCE NORTH 56° 09’ 42” EAST, 163.04 FEET\nTO A POINT ON THE WESTERN LINE OF THE AFOREMENTIONED FARLEY PROPERTY; THENCE LEAVING SAID SOUTHERN LINE ALONG SAID WESTERN LINE, SOUTH 00° 00’ 34” WEST, 804.51 FEET TO THE POINT OF BEGINNING.\nFile No.: L20154061\nEx. B-91"}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 6:\nA TRACT OF LAND BEING PART OF U.S. SURVEY 1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS\nFOLLOWS: BEGINNING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERN LINE OF A SURVEY BY CHARLES W. RUFF, COUNTY SURVEYOR, L.S. NO. 241, DATED APRIL 2, 1966 AND FILED IN SERIES 650 FICHE NO. 505BA/3 AT THE LAND SURVEY REPOSITORY OF THE\nDEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO SOUTH 00º 00’ 34” WEST, 4765.86 FEET FROM THE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK 9, PAGE 105 OF THE ST.\nCHARLES COUNTY MISSOURI RECORDS AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893 PAGE 1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE EASTERN LINE OF SAID RUFF SURVEY, SOUTH 31° 46’\n30” EAST, 921.50 FEET TO A POINT; THENCE SOUTH 75° 13’ 19” WEST, 242.64 FEET TO A POINT; THENCE NORTH 72° 52’ 43” WEST, 178.13 FEET TO A POINT; THENCE NORTH 40° 35’ 00” WEST, 288.45 FEET TO A POINT;\nTHENCE NORTH 39° 35’ 00” WEST, 867.85 FEET TO A POINT; THENCE NORTH 27° 32’ 00” WEST, 448.66 FEET TO A POINT; THENCE SOUTH 32° 06’ 00” WEST, 205.12 FEET TO A POINT; THENCE NORTH 56° 38’ 00”\nWEST, 235.10 FEET TO A POINT; THENCE NORTH 28° 11’ 00” EAST, 322.10 FEET TO A POINT; THENCE NORTH 61° 11’ 00” EAST, 136.29 FEET TO A POINT; THENCE SOUTH 88° 49’ 00” EAST, 383.18 FEET TO A POINT; THENCE NORTH\n87° 11’ 00” EAST, 613.33 FEET TO A POINT ON THE WESTERN LINE OF THE AFOREMENTIONED FARLEY PROPERTY; THENCE ALONG SAID WESTERN LINE, SOUTH 00° 00’ 34” WEST, 965.87 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 7:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF U.S. SURVEY\n1765, TOWNSHIP 47 NORTH, RANGE 7 EAST, ST. CHARLES COUNTY, MISSOURI, SAID TRACT BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT A CONCRETE MONUMENT FOUND AT THE ANGLE POINT ON THE EASTERN LINE OF A SURVEY BY CHARLES W. RUFF, COUNTY\nSURVEYOR, L.S. NO. 241, DATED APRIL 2, 1966, AND FILED IN SERIES 660, FISCHE NO. 505BA/3 AT THE LAND SURVEY RESPOSITORY OF THE DEPARTMENT OF NATURAL RESOURCES, ROLLA, MISSOURI, SAID POINT ALSO BEING SOUTH 00° 00’ 34” WEST, 4765.86 FEET\nFROM THE NORTHEAST CORNER OF THE SUBDIVISION FOR “BAILEY” AS RECORDED IN SURVEY RECORD BOOK 9 PAGE 105 OF THE ST. CHARLES COUNTY MISSOURI RECORDS, AND BEING ON THE WESTERN LINE OF PROPERTY NOW OR FORMERLY OF FARLEY AS RECORDED IN BOOK 893\nPAGE 1876 OF THE SAID RECORDER’S OFFICE; THENCE ALONG THE EASTERN LINE OF SAID RUFF SURVEY, SOUTH 31° 46’ 30” EAST, 921.50 FEET TO THE POINT OF BEGINNING OF THE TRACT OF LAND HEREIN DESCRIBED; THENCE SOUTH 32° 46’\n18” WEST, 243.34 FEET TO THE MEAN LOW WATER MARK AS DIGITIZED FROM THE CORPS OF ENGINEERS MAP; THENCE ALONG THE MEANDERS OF THE MISSOURI RIVER IN A NORTHWESTWARDLY DIRECTION, 4497 FEET MORE OR LESS TO A POINT; THENCE LEAVING SAID LINE, NORTH\n35° 46’ 03” EAST, 230.11 FEET TO THE SOUTHWESTERN CORNER OF PROPERTY NOW OR FORMERLY OF MEYERS AS RECORDED IN BOOK 763, PAGE 1620 OF THE ST. CHARLES COUNTY MISSOURI RECORDER’S OFFICE; THENCE\nEx. B-92"}
-{"idx": 5, "level": 2, "span": "ALONG THE SOUTHERN LINE OF SAID MEYERS PROPERTY, SOUTH 80° 56’ 18” EAST, 968.88 FEET TO A POINT; THENCE LEAVING SAID SOUTHERN LINE, SOUTH 37° 52’ 30” EAST, 807.74 FEET\nTO THE WESTERN LINE OF THE AFOREMENTIONED RUFF SURVEY; THENCE ALONG THE WESTERN LINE OF SAID RUFF SURVEY, THE FOLLOWING COURSES:"}
-{"idx": 5, "level": 2, "span": "SOUTH 56° 38’\n00” EAST, 235.10 FEET TO A POINT; THENCE NORTH 82° 06’ 00” EAST, 205.12 FEET TO A POINT; THENCE SOUTH 27° 32’ 00” EAST, 448.66 FEET TO A POINT; THENCE SOUTH 39° 35’ 00” EAST, 867.85 FEET TO A POINT;\nTHENCE SOUTH 40° 35’ 00” EAST, 288.45 FEET TO A POINT; THENCE SOUTH 72° 52’ 43” EAST, 178.13 FEET TO A POINT; THENCE NORTH 75° 13’ 19” EAST, 242.64 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 8:"}
-{"idx": 5, "level": 2, "span": "AN EASEMENT FOR INGRESS AND EGRESS AS SET\nFORTH IN EASEMENT DEED RECORDED IN BOOK 820 PAGE 1454."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 9-TRACT 1:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF LOT 3 IN BLOCK 1 OF EVANS SURVEY, COMMONS OF ST. CHARLES, AND PART OF LOT 8 OF HALL’S SUBDIVISION WITHIN LOT 56 OF BLOCK 9\nOF STEEN & CUNNINGHAM’S SURVEY, COMMONS OF ST. CHARLES, ALL WITHIN TOWNSHIP 46 NORTH, RANGE 5 EAST, IN THE CITY OF ST. CHARLES, MISSOURI AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD IRON PIPE MARKING THE MOST WESTERN CORNER OF LOT 7 OF HALL’S SUBDIVISION; THENCE SOUTH 70 DEGREES 08 MINUTES 38 SECONDS EAST, 155.72\nFEET TO A POINT THENCE SOUTH 25 DEGREES 21 MINUTES 40 SECONDS WEST 50.23 FEET TO AN IRON PIPE MARKING THE BEGINNING OF THE TRACT HEREIN DESCRIBED; THENCE SOUTH 25 DEGREES 21 MINUTES 40 SECONDS WEST 150.02 FEET TO AN IRON PIPE; THENCE NORTH 70\nDEGREES 10 MINUTES 10 SECONDS WEST 164.02 FEET TO A POINT ON A CURVE; THENCE ALONG A CURVE TO THE RIGHT AN ARC DISTANCE OF 150.00 FEET TO A POINT; SAID CURVE HAVING A RADIUS OF 11,349.2 FEET AND AN INCLUDED ANGLE OF 0 DEGREES 45 MINUTES 26 SECONDS;\nTHENCE SOUTH 70 DEGREES 08 MINUTES 38 SECONDS EAST 165.11 FEET TO THE PLACE OF BEGINNING, AS PER SURVEY AND PLAT MADE BY ST. CHARLES COUNTY ENGINEERING AND SURVEYING, INC. DATED IN DECEMBER 1969."}
-{"idx": 5, "level": 2, "span": "ALSO, A NON- EXCLUSIVE EASEMENT OVER AND ACROSS ADJOINING LAND BELOW DESCRIBED FOR THE PURPOSE OF INGRESS AND EGRESS DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "AN EASEMENT 30 FEET WIDE BEING PART OF LOT 8 OF HALL’S SUBDIVISION WITHIN LOT 56 BLOCK 9 OF STEEN & CUNNINGHAM’S SUBDIVISION, TOWNSHIP 46\nNORTH, RANGE 5 EAST, WITHIN THE CITY OF ST. CHARLES, MISSOURI, BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:\nEx. B-93"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT AN OLD IRON PIPE MARKING THE MOST WESTERN CORNER OF SAID LOT 7 OF HALL’S SUBDIVISION; THENCE\nNORTH 70 DEGREES 08 MINUTES 38 SECONDS WEST 40.10 FEET TO THE EASTERN RIGHT-OF-WAY LINE OF FIFTH STREET; THENCE SOUTHWARDLY ALONG SAID EASTERN RIGHT-OF-WAY LINE ALONG A CURVE TO THE LEFT HAVING A RADIUS OF 11,379.2 FEET AN INCLUDED ANGLE OF 0\nDEGREES 15 MINUTES 11 SECONDS AN ARC DISTANCE OF 50.24 FEET TO THE POINT OF BEGINNING OF THE TRACT HEREIN DESCRIBED; THENCE LEAVING SAID RIGHT-OF-WAY LINE SOUTH 70 DEGREES 08 MINUTES 38 SECONDS EAST 30.14 FEET TO THE NORTHERNMOST CORNER OF A .565\nACRE TRACT; THENCE SOUTHEASTWARDLY ALONG A CURVE TO THE LEFT 30 FEET EAST OF AND PARALLEL TO THE EASTERN RIGHT-OF-WAY LINE OF FIFTH STREET, SAID CURVE HAVING A RADIUS OF 11,349.2 FEET AN INCLUDED ANGLE OF 1 DEGREE 13 MINUTES 22 SECONDS AN ARC\nDISTANCE OF 242.24 FEET TO A POINT; THENCE NORTH 65 DEGREES 54 MINUTES 01 SECONDS WEST 30.00 FEET TO A POINT ON THE EASTERN RIGHT-OF-WAY LINE OF 5TH STREET; THENCE NORTHEASTWARDLY ALONG SAID RIGHT-OF-WAY ALONG A CURVE TO THE RIGHT HAVING AN INCLUDED\nANGLE OF 1 DEGREE 12 MINUTES 30 SECONDS A RADIUS OF 11,379.2 FEET AN ARC DISTANCE OF 240.1 FEET TO THE POINT OF BEGINNING."}
-{"idx": 5, "level": 2, "span": "ALSO EXCEPTING THEREFROM THAT\nPART CONVEYED TO THREE FLAGS CENTER PARTNERSHIP, L.P. RECORDED IN BOOK 4794 PAGE 2263 AND THAT PART CONVEYED TO ST. CHARLES RIVERFRONT TRANSPORTATION DEVELOPMENT DISTRICT, RECORDED IN BOOK 4800 PAGE 246."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 9-TRACT 2:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF\nU.S. SURVEY 3280, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, CITY OF ST. CHARLES, ST. CHARLES COUNTY, MISSOURI, AND BEING MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE NORTHEAST CORNER OF PROPERTY CONVEYED TO AMERISTAR CASINO ST. CHARLES, INC. BY DEED RECORDED IN BOOK 2478 PAGE 1826 OF THE ST. CHARLES\nCOUNTY RECORDS, SAID CORNER ALSO BEING IN THE SOUTHERN RIGHT-OF-WAY LINE OF RIVER BLUFF DRIVE, 50 FEET WIDE; THENCE ALONG EAST LINE OF SAID AMERISTAR CASINO ST. CHARLES, INC. PROPERTY, SOUTH 25 DEGREES 37 MINUTES 57 SECONDS WEST 44.27 FEET TO THE\nPOINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE LEAVING SAID EAST LINE OF AMERISTAR CASINO ST. CHARLES INC. PROPERTY THE FOLLOWING COURSES AND DISTANCES: ALONG A CURVE TO THE RIGHT WHOSE CHORD BEARS SOUTH 45 DEGREES 28 MINUTES 13 SECONDS EAST\n22.44 FEET AND WHOSE RADIUS POINT BEARS SOUTH 41 DEGREES 25 MINUTES 49 SECONDS WEST 207.50 FEET FROM THE LAST MENTIONED POINT, AN ARC DISTANCE OF 22.45 FEET; SOUTH 42 DEGREES 22 MINUTES 16 SECONDS EAST 31.38 FEET; ALONG A CURVE TO THE RIGHT WHOSE\nCHORD BEARS SOUTH 64 DEGREES 57 MINUTES 52 SECONDS WEST 53.60 FEET AND WHOSE RADIUS POINT BEARS NORTH 86 DEGREES 30 MINUTES 49 SECONDS WEST 30.50 FEET FROM THE LAST MENTINOED POINT, AN ARC DISTANCE OF 65.45 FEET AND NORTH 53 DEGREES 33 MINUTES 26\nSECONDS WEST 16.65 FEET TO THE EAST LINE OF SAID AMERISTAR CASINO ST. CHARLES, INC. PROPERTY; THENCE ALONG SAID EAST\nEx. B-94"}
-{"idx": 5, "level": 2, "span": "LINE, NORTH 25 DEGREES 37 MINUTES 57 SECONDS EAST 57.35 FEET TO THE POINT OF BEGINNING AND CONTAINING 2,466 SQUARE FEET ACCORDING TO CALCULATIONS BY BAX ENGINEERING COMPANY, INC. DURING FEBRUARY,\n2007."}
-{"idx": 5, "level": 3, "span": "PARCEL NO. 10:"}
-{"idx": 5, "level": 2, "span": "A TRACT OF LAND BEING PART OF\nLOTS 2 AND 3 IN BLOCK 1 OF EVANS SURVEY OF THE ST. CHARLES COMMONS, TOWNSHIP 46 NORTH, RANGE 5 EAST OF THE FIFTH PRINCIPAL MERIDIAN, ST. CHARLES COUNTY MISSOURI, MORE PARTICULARLY DESCRIBED AS FOLLOWS:"}
-{"idx": 5, "level": 2, "span": "COMMENCING AT THE SOUTHWEST CORNER OF A TRACT OF LAND CONVEYED TO ST. CHARLES RIVERFRONT STATION, INC. BY DEED RECORDED IN BOOK 1523 PAGE 38 OF THE ST.\nCHARLES COUNTY RECORDS, SAID POINT BEING ON THE EAST LINE OF A TRACT OF LAND CONVEYED TO THE DEPARTMENT OF NATURAL RESOURCES BY DEED RECORDED IN BOOK 1222 PAGE 2 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING ALSO ON THE NORTH RIGHT-OF-WAY LINE\nOF MISSOURI INTERSTATE HIGHWAY 70, AND BEING 150.00 FEET PERPENDICULARLY DISTANT NORTH OF MISSOURI INTERSTATE CENTERLINE STATION 10 + 31.65; THENCE ALONG THE EAST LINE OF SAID DEPARTMENT OF NATURAL RESOURCES PROPERTY, NORTH 27° 24’ 14”\nEAST 432.08 FEET TO A POINT; THENCE LEAVING SAID LINE NORTH 62° 35’ 46” WEST 60.00 FEET TO THE NORTHEAST CORNER OF LOT 2 OF “ST. CHARLES RIVERFRONT STATION”, A SUBDIVISION ACCORDING TO THE PLAT THEREOF RECORDED IN PLAT BOOK\n33 PAGES 40 AND 41 OF THE ST. CHARLES COUNTY RECORDS, SAID POINT BEING THE ACTUAL POINT OF BEGINNING OF THE DESCRIPTION HEREIN; THENCE WESTWARDLY ALONG THE NORTH LINE OF LOT 2 OF SAID “ST. CHARLES STATION”, NORTH 57° 59’ 46”\nWEST 136.19 FEET TO A POINT IN THE EAST LINE OF SOUTH MAIN STREET; THENCE ALONG THE SAID EAST LINE OF SOUTH MAIN STREET; THE FOLLOWING COURSES AND DISTANCES, NORTH 27° 28’ 57” EAST 320.73 FEET TO A POINT; AND NORTH 28° 41’\n27” EAST 358.46 FEET TO THE NORTHWEST CORNER OF PROPERTY CONVEYED TO ST. CHARLES RIVERFRONT STATION BY DEED RECORDED IN BOOK 1796 PAGE 239 OF THE ST. CHARLES COUNTY RECORDS; THENCE ALONG THE NORTH LINE OF SAID ST. CHARLES RIVERFRONT STATION,\nSOUTH 60° 18’ 24” EAST 127.37 FEET TO A POINT IN THE WEST LINE OF AFORESAID DEPARTMENT OF NATURAL RESOURCES PROPERTY; THENCE ALONG SAID WEST LINE, SOUTH 27° 24’ 14” WEST 684.93 FEET TO THE POINT OF BEGINNING, ACCORDING TO\nSURVEY BY BAX ENGINEERING IN NOVEMBER 2000."}
-{"idx": 5, "level": 2, "span": "NOTE: THE LEGAL DESCRIPTION IS SHOWN FOR CONVENIENCE ONLY, SUBJECT TO UNDERWRITING APPROVAL.\nEx. B-95"}
-{"idx": 5, "level": 3, "span": "River City\nLeasehold estate as created by that certain lease dated August 12, 2004, executed by St. Louis County Post Authority, as lessor, and Pinnacle\nEntertainment Inc., as lessee, together with a grant of exclusivity and the right of first refusal, notice of which is given in the Memorandum of Lease recorded February 10, 2006 in Book 17061 page 4701, and Correction to Memorandum of Lease\nrecorded August 20, 2010 in book 19071 page 3997, as to the following:\nLots One (1) of RIVER CITY CASINO SUBDIVISION, A subdivision in St.\nLouis County, Missouri, according to the plat thereof recorded in Plat Book 357 pages 445, 446 and 447 of the St. Louis County Records.\nEx. B-96"}
-{"idx": 5, "level": 3, "span": "East Chicago\nPart of Fractional Section 22 and Fractional Section 15, Township 37 North, Range 9 West of the Second Principal Meridian, in Lake County, Indiana,\nmore particularly described as follows:\nCommencing at point “G” on the Southeasterly bulkhead line (established by U.S. Government permits of\nMarch 27, 1908, October 15, 1929 and July 5, 1932), and the Southwesterly right of way line of Aldis Avenue extended; thence South 46 degrees 46 minutes 06 seconds East (assumed Record Bearing) along the Southwesterly line of\nAldis Avenue, 1376.00 feet to the centerline of vacated Lake Place and the Point of Beginning; thence North 43 degrees 15 minutes 00 seconds East, along the centerline of vacated Lake Place, 66.30 feet to the Northeasterly right of way line of Aldis\nAvenue; thence North 34 degrees 53 minutes 04 seconds East, 134.78 feet; thence North 87 degrees 48 minutes 17 seconds East, 79.47 feet; thence North 45 degrees 33 minutes 40 seconds East 100.50 feet; thence North 27 degrees 26 minutes 34 seconds\nEast, 102.39 feet; thence North 35 degrees 50 minutes 46 seconds East, 100.24 feet; thence North 43 degrees 17 minutes 00 seconds East, 100.18 feet; thence North 73 degrees 22 minutes 05 seconds East, 92.36 feet; thence South 88 degrees 52 minutes\n08 seconds East, 85.40 feet; thence South 45 degrees 50 minutes 45 seconds East, 106.63 feet; thence South 28 degrees 53 minutes 00 seconds East, 115.60 feet; thence South 29 degrees 55 minutes 11 seconds East, 43.65 feet; thence North 72 degrees 41\nminutes 04 seconds East, 63.28 feet; thence North 17 degrees 40 minutes 39 seconds West, 68.50 feet; thence North 73 degrees 08 minutes 53 seconds East, 13.57 feet; thence South 17 degrees 40 minutes 39 seconds East, 576.84 feet; thence South 72\ndegrees 59 minutes 54 seconds West, 13.46 feet; thence North 17 degrees 40 minutes 39 seconds West, 47.95 feet; thence South 74 degrees 17 minutes 22 seconds West, 61.64 feet; thence South 09 degrees 56 minutes 52 seconds East, 57.80 feet; thence\nSouth 04 degrees 06 minutes 11 seconds East, 100.97 feet; thence South 13 degrees 30 minutes 52 seconds West, 101.43 feet; thence South 12 degrees 57 minutes 25 seconds West, 6.12 feet; thence South 42 degrees 52 minutes 06 seconds West, 259.47\nfeet; thence South 46 degrees 56 minutes 40 seconds East, 170.00 feet; thence South 43 degrees 03 minutes 20 seconds West, 7.00 feet; thence South 46 degrees 56 minutes 40 seconds East, 168.00 feet; thence South 42 degrees 55 minutes 16 seconds\nWest, 233.81 feet; thence South 46 degrees 46 minutes 06 seconds East, 599.00 feet; thence South 42 degrees 55 minutes 16 seconds West, 55.00 feet to a point on the northeasterly line of vacated Baltimore Avenue extended, said point being 191.13\nfeet northwesterly of the intersection of said northeasterly line extended with the East line of said Fractional Section 22; thence North 46 degrees 46 minutes 06 seconds West along said northeasterly line of vacated Baltimore Avenue extended,\n1094.74 feet; thence South 43 degrees 13 minutes 54 seconds West, 15.90 feet; thence North 55 degrees 51 minutes 36 seconds West, 465.73 feet; thence North 43 degrees 15 minutes 00 seconds East, 319.49 feet; thence North 46 degrees 45 minutes 11\nseconds West, 329.11 feet, to the Point of Beginning.\nContaining 21.570 acres, more or less\nEx. B-97"}
-{"idx": 6, "level": 0, "span": "EMPLOYMENT AGREEMENT"}
-{"idx": 6, "level": 1, "span": "THIS EMPLOYMENT AGREEMENT (the “Agreement”), dated as of 4 January, 2016 is by and between ARRIS GROUP, INC.\n, a\nDelaware corporation (the “Company”), and Timothy O’Loughlin (“Executive”). \nWHEREAS, Executive and the\nCompany want to enter into a written agreement providing for the terms of Executive’s employment by the Company.\nNOW, THEREFORE, in\nconsideration of the foregoing recital and of the mutual covenants set forth herein, and other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the parties agree as follows:\n1. Employment. Executive agrees to enter into the continued employment of the Company, and the Company agrees to employ Executive, on\nthe terms and conditions set forth in this Agreement. Executive agrees during the term of this Agreement to devote substantially all of his/her business time, efforts, skills and abilities to the performance of his duties as stated in this Agreement\nand to the furtherance of the Company’s business.\nExecutive’s initial job title will be President, North American Sales and his\nduties will be those as are designated, directly or indirectly, by the Chief Executive Officer of the Company. Executive further agrees to serve, without additional compensation, as an officer or director, or both, of any subsidiary, division or\naffiliate of the Company or any other entity in which the Company holds an equity interest, provided, however, that (a) the Company shall indemnify Executive from liabilities in connection with serving in any such position to the same extent as\nhis indemnification rights pursuant to the Company’s Certificate of Incorporation, By-laws and applicable Delaware law, and (b) such other position shall not materially detract from the\nresponsibilities of Executive pursuant to this Section 1 or his ability to perform such responsibilities.\n2. Compensation.\n(a) Base Salary. During the term of Executive’s employment with the Company pursuant to this Agreement, the Company shall pay\nto Executive as compensation for his services an annual base salary of not less than $450,000 (“Base Salary”). Executive’s Base Salary will be payable in arrears (no less frequently than monthly) in accordance with the Company’s\nnormal payroll procedures and will be reviewed annually and subject to upward adjustment at the discretion of the Chief Executive Officer and Compensation Committee, but will not be lowered except in connection with reductions applied to all\nexecutive officers.\n(b) Incentive Bonus. During the term of Executive’s employment with the Company pursuant to this\nAgreement, Executive’s incentive compensation program shall be determined by the Company in its discretion with a target bonus equal to 80% of Base Salary, and allowing for payment of up to 200% of target thereafter. Executive’s bonus, if\nany, shall be payable as soon after the end of each calendar year to which it relates as it can be determined, but in any event within two and one-half (2-1/2) months\nthereafter.\n(c) Executive Perquisites. During the term of Executive’s employment with the Company\npursuant to this Agreement, Executive shall be entitled to receive such executive perquisites and fringe benefits as are provided to the executives in comparable positions and their families under any of the Company’s plans and/or programs in\neffect from time to time and such other benefits as are customarily available to executives of the Company and their families, including without limitation vacations and life, medical and disability insurance. For the purposes of clarity, Executive\nwill be eligible to participate in the Company’s currently available defined contribution plans, but not the Company’s defined benefit plans (which the Company has frozen).\n(d) Tax Withholding. The Company has the right to deduct from any compensation payable to Executive under this Agreement social\nsecurity (FICA) taxes and all federal, state, municipal or other such taxes or charges as may now be in effect or that may hereafter be enacted or required.\n(e) Expense Reimbursements. The Company shall pay or reimburse Executive for all reasonable business expenses incurred or paid by\nExecutive in the course of performing his duties hereunder, including but not limited to reasonable travel expenses for Executive. As a condition to such payment or reimbursement, however, Executive shall maintain and provide to the Company\nreasonable documentation and receipts for such expenses. Such payments and reimbursements shall be made as soon as administratively practicable following submission of reasonable documentation and receipts for such expenses but all such payments and\nreimbursements shall be made no later than the last day of the calendar year following the calendar year in which Executive incurs the reimbursable expense.\n3. Term. Unless sooner terminated pursuant to Section 4 of this Agreement, and subject to the provisions of Section 5 hereof,\nthe term of employment under this Agreement shall commence as of the date hereof and shall continue for a period of one year. The term automatically shall be extended by one day for each day of employment hereunder. Notwithstanding the foregoing the\nterm of employment under this agreement shall terminate, if it has not terminated earlier, without further action on the part of the Company or Executive upon Executive’s 65th birthday.\n4. Termination. Notwithstanding the provisions of Section 3 hereof, but subject to the provisions of Section 5 hereof,\nExecutive’s employment under this Agreement shall terminate as follows:\n(a) Death. Executive’s employment shall\nterminate upon the death of Executive, provided, however, that the Company shall continue to pay no less frequently than monthly (in accordance with its normal payroll procedures) the Base Salary to Executive’s estate for a period of three\nmonths after the date of Executive’s death.\n(b) Termination for Cause. The Company may terminate Executive’s employment\nat any time for “Cause” (as hereinafter defined) by delivering a written termination notice to Executive. For purposes of this Agreement, “Cause” shall mean any of: (i) Executive’s\nconviction of a felony or a crime involving moral turpitude; (ii) Executive’s commission of an act constituting fraud, deceit or material misrepresentation with respect to the Company;\n(iii) Executive’s embezzlement of funds or assets from the Company; (iv) Executive’s harassment or mistreatment of a Company employee or contractor or other misconduct, which if generally known would cause, as determined in good\nfaith by the Company’s Board of Directors, the Company embarrassment with its customers or the public generally; (v) Executive’s addiction to any alcoholic, controlled or illegal substance or drug; (vi) Executive’s\ncommission of any act or omission which would give the Company the right to terminate Executive’s employment under applicable law; or (vii) Executive’s failure to correct or cure any material breach of or default under this Agreement\nwithin ten days after receiving written notice of such breach or default from the Company.\n(c) Termination Without\nCause. The Company may terminate Executive’s employment at any time by delivering a written termination notice to Executive.\n(d)\nTermination by Executive. Executive may terminate his employment at any time by delivering ninety days prior written notice to the Company; provided, however, that the terms, conditions and benefits specified in Section 5 hereof shall\napply or be payable to Executive only if such termination occurs as a result of an uncured material breach by the Company of any provision of this Agreement.\n(e) Termination Following Disability. In the event Executive becomes mentally or physically impaired or disabled and is unable to\nperform his material duties and responsibilities hereunder for a period of at least ninety days in the aggregate during any one hundred twenty consecutive day period, the Company may terminate Executive’s employment by delivering a written\ntermination notice to Executive. Notwithstanding the foregoing, Executive shall continue to receive his full salary and benefits under this Agreement for a period of six months after the effective date of such termination with his base salary\npayable in arrears no less frequently than monthly in accordance with the Company’s normal payroll procedures and continued benefits on a monthly basis through such time.\n(f) Payments. Following any expiration or termination of this Agreement and Executive’s employment hereunder, in addition any\namounts owed pursuant to Section 5 hereof, the Company shall pay to Executive all amounts earned by Executive hereunder prior to the date of such expiration and termination, as soon as administratively practicable following the date of\ntermination of Executive’s employment, in the normal course consistent with the provisions of this Agreement. Additionally, subject to Executive’s continued compliance with Sections 7, 8 and 9 of this Agreement, if Executive terminates his\nemployment with the Company without Good Reason on or after the date Executive attains age 62 (provided Executive has no less than 10 years of actual continuous service with Company following the date hereof as of such termination), all of\nExecutive’s stock options and equity awards outstanding at termination of Executive’s employment shall continue to vest for four (4) years after the termination as if Executive remained employed through such time, and such stock\noptions shall remain outstanding through the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment).\n5. Certain Termination Benefits. Subject to Section 6(a) hereof, in the event (i) the\nCompany terminates Executive’s employment without cause pursuant to Section 4(c) or (ii) Executive terminates his employment pursuant to Section 4(d) after a material breach by the Company (which the Company fails to cure within thirty\ndays after written notice of such breach from Executive):\n(a) Base Salary and Bonus. The Company shall continue to pay to\nExecutive his Base Salary (as in effect as of the date of such termination) no less frequently than monthly in accordance with the Company’s normal payroll procedures, beginning with the first payroll date after the date of termination of\nExecutive’s employment and continuing for twelve (12) months immediately following the termination. The Company also shall pay to Executive (i) a bonus for the fiscal year in which the termination occurs based upon the actual results\nfor such fiscal year reduced on a pro rata basis to reflect only the portion of the year prior to the end of the month in which the termination occurs (e.g., in the event of a termination in March, Executive would receive 1/4 of the amount that he\notherwise would receive), and (ii) an amount equal to the average bonus received, or to be received, by Executive with respect to the three most recently completed fiscal years of the Company (e.g., if Executive has received, or been entitled\nto receive, bonuses for two fiscal years, it would be the average of those two bonuses) or, if Executive has not yet received, or been entitled to receive, a bonus with respect to a completed fiscal year, an amount equal to Executive’s target\nbonus for the current fiscal year. The Company will pay all such bonus amounts as soon as they reasonably can be calculated, but in all events within two and one-half\n(2 1⁄2) months of the end of the fiscal year in which the termination occurs. Notwithstanding the foregoing, all payments to be made or benefits to be\nprovided under this Section are subject to the provisions of Section 5(g) below.\n(b) Stock. Subject to Section 10 hereof, on\nand as of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. Additionally, all of\nExecutive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment).\n(c) Limitation. Notwithstanding the foregoing, with respect to a termination occurring during the two year period commencing the day\nafter the award date of Executive’s initial equity grants following employment by the Company, the amount payable to Executive pursuant to Section 5(a) shall be reduced, but not below zero, on a dollar-for-dollar basis by the value of any equity-related awards that vests as a result of Section 5(b) or similar provisions in any equity-related benefit plans.\n(d) Life Insurance. The Company shall continue to provide Executive on a monthly basis with group and additional life insurance\ncoverage, no less frequently than monthly, for a period of twelve (12) months immediately following termination of employment.\n(e)\nMedical Insurance. The Company shall continue to provide Executive and his family with group medical insurance coverage, no less frequently than monthly, under the Company’s medical plans (as the same may change from time to time) or\nother substantially similar health insurance for a period of twelve (12) months immediately following termination of employment.\n(f) Group Disability. The Company shall continue to provide Executive coverage, no less\nfrequently than monthly, under the Company’s group disability plan for a period of twelve (12) months immediately following termination of employment (subject in the case of long-term disability to the availability of such coverage under\nCompany’s insurance policy).\n(g) Section 409A. Notwithstanding any other provisions of this Agreement, it is intended that\nany payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred compensation subject to Section 409A of the Internal Revenue Code of 1986, as amended (the\n“Code”), will be provided and paid in a manner, and at such time, as complies with Section 409A of the Code. For purposes of this Agreement, all rights to payments and benefits hereunder shall be treated as rights to receive a series of\nseparate payments and benefits to the fullest extent allowed by Section 409A of the Code. If Executive is a key employee (as defined in Section 416(i) of the Code without regard to paragraph (5) thereof) and any of Company’s stock is\npublicly traded on an established securities market or otherwise, then the payment of any amount or provision of any benefit under this Agreement which is considered to be nonqualified deferred compensation subject to Section 409A of the Code shall\nbe deferred for six (6) months after the Termination Date or, if earlier, Executive’s death (the “409A Deferral Period”), as required by Section 409A(a)(2)(B)(i) of the Code. In the event payments are otherwise due to be made in\ninstallments or periodically during such 409A Deferral Period, the payments which would otherwise have been made in the 409A Deferral Period shall be accumulated and paid in a lump sum as soon as the 409A Deferral Period ends, and the balance of the\npayments shall be made as otherwise scheduled. In the event, benefits are otherwise to be provided hereunder during such 409A Deferral Period, any such benefits may be provided during the 409A Deferral Period at Executive’s expense, with\nExecutive having a right to reimbursement for such expense from the Company as soon as the 409A Deferral Period ends, and the balance of the benefits shall be provided as otherwise scheduled. For purposes of this Agreement, Executive’s\ntermination of employment shall be construed to mean a “separation from service” within the meaning of Section 409A of the Code where it is reasonably anticipated that no further services will be performed after such date or that the level\nof bona fide services Executive would perform after that date (whether as an employee or independent contractor) would permanently decrease to less than fifty percent (50%) of the average level of bona fide services performed over the immediately\npreceding thirty-six (36)-month period. Without limitation, if any payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred\ncompensation subject to Section 409A of the Code fails to comply with Section 409A of the Code, and Executive incurs any additional tax, interest and penalties under Section 409A of the Code, Company will pay Executive an additional amount so that,\nafter paying all taxes, interest and penalties on such additional amount, Executive has an amount remaining equal to such additional tax, interest and penalties. All payments to be made to Executive pursuant to the immediately preceding sentence\nshall be payable no later than when the related taxes, interest and penalties are to be remitted. Any right to reimbursement incurred due to a tax audit or litigation addressing the existence or amount of any tax liability addressed in the\nimmediately\npreceding sentence must be made no later than when the related taxes, interest and penalties that are the subject of the audit or litigation are to be remitted to the taxing authorities or, where\nno such taxes, interest and penalties are remitted, within thirty (30) days of when the audit is completed or there is a final non-appealable settlement or resolution of the litigation.\n(h) Offset. Any fringe benefits received by Executive in connection with any other employment that are reasonably comparable, but not\nnecessarily as beneficial, to Executive as the fringe benefits then being provided by the Company pursuant to this Section 5, shall be deemed to be the equivalent of, and shall terminate the Company’s responsibility to continue providing,\nthe fringe benefits then being provided by the Company pursuant to this Section 5. The Company acknowledges that if Executive’s employment with the Company is terminated, Executive shall have no duty to mitigate damages.\n(i) General Release. Acceptance by Executive of any amounts pursuant to this Section 5 shall constitute a full and complete\nrelease by Executive of any and all claims Executive may have against the Company, its officers, directors and affiliates, including, but not limited to, claims she might have relating to Executive’s cessation of employment with the Company;\nprovided, however, that there may properly be excluded from the scope of such general release the following:\n(i) claims\nthat Executive may have against the Company for reimbursement of ordinary and necessary business expenses incurred by him during the course of his employment;\n(ii) claims that may be made by the Executive for payment of Base Salary, fringe benefits or restricted stock or stock options\nproperly due to him; or\n(iii) claims respecting matters for which the Executive is entitled to be indemnified under the\nCompany’s Certificate of Incorporation or Bylaws, respecting third party claims asserted or third party litigation pending or threatened against the Executive.\nNotwithstanding the foregoing, as a condition to the payment to Executive of any amounts pursuant to this Section 5, Executive shall execute and deliver\nto the Company a release in the customary form then being used by the Company, which may include non-disparagement and confidentiality agreements. In exchange for such release, the Company shall, if\nExecutive’s employment is terminated without Cause, provide a release to Executive, but only with respect to claims against Executive which are actually known to the Company as of the time of such termination. Executive will be required to\nexecute and not revoke the Company’s standard written release of any and all claims against the Company and all related parties with respect to all matters arising out of Executive’s employment by the Company (other than as described\nabove) no later than thirty (30) days following Executive’s termination of employment (or such later time as the Company may permit). If the Executive does not provide such release, with the period for revoking same having already expired,\nthen Company shall not be required to pay any further amounts pursuant to this Section 5 and Executive will be required to return to the Company any amounts previously paid pursuant to this Section 5.\n6. Effect of Change in Control.\n(a) If within one year following a “Change of Control” (as hereinafter defined), Executive terminates his employment with the\nCompany for Good Reason (as hereinafter defined) or the Company terminates Executive’s employment for any reason other than Cause, death or disability, the Company shall pay to Executive: (1) an amount equal to one times the\nExecutive’s Base Salary as of the date of termination; (2) an amount equal to one times the average annual cash bonus paid to Executive for the two fiscal years immediately preceding the date of termination (and a pro rata portion for any\npartial year); (3) all benefits under the Company’s various benefit plans, including group healthcare, dental and life, for the period equal to twelve months from the date of termination; and (4) subject to Section 10 hereof, on and\nas of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. The Company shall pay the\namounts set forth in (1) and (2) above in one lump sum payment as soon as administratively practicable (and within thirty (30) days) following Executive’s termination of employment. The benefits provided under (3) above shall be\nprovided no less frequently than monthly following the date of termination of employment. Additionally, Executive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any\nearlier expiration date based on Executive’s termination of employment). Notwithstanding the foregoing, all payments to be made and benefits to be provided under this Section are subject to the provisions of Section 5(g) above.\n(b) “Change of Control” shall mean the date as of which: (i) there shall be consummated (1) any consolidation or merger of\nARRIS International plc, as parent corporation of the Company (“Parent”), to which the Parent is not the continuing or surviving corporation or pursuant to which Parent’s ordinary shares would be converted into cash, securities or\nother property, other than a merger of the Parent in which the holders of the Parent’s ordinary shares immediately prior to the merger own more than 50% of the total fair market value or total voting power of the continuing or surviving entity,\nor (2) any sale, lease, exchange or other transfer (in one transaction or a series of related transactions) of all, or substantially all, of the assets of the Parent or (ii) the stockholders of the Parent approve any plan or proposal for\nthe liquidation or dissolution of the Parent; or (iii) any person, as such term is used in Sections 13(d) and 14(d)(2) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), shall become the beneficial owner (within\nthe meaning of Rule 13d-3 under the Exchange Act) of 30% or more of the Parent’s outstanding ordinary shares (in a single transaction or within twelve (12) months from the date of the final\nacquisition) or (iv) during any one year, individuals who at the beginning of such period constitute the entire Board of Directors of the Parent shall cease for any reason to constitute a majority thereof unless the appointment, election, or\nthe nomination for election by the Parent’s stockholders, of each new director was approved by a vote of at least two-thirds of the directors still then in office who were directors at the beginning of\nthe period. This definition of “Change in Control” is intended to comply with the definition of a change in the ownership or effective control of the Parent or in the ownership of a substantial portion of the assets of the Parent within\nthe meaning of Section 409A(a)(2)(A)(v) of the Code and shall be construed consistent with that intent.\n(c) “Good Reason” shall mean any of the following actions taken by the Company without\nthe Executive’s written consent after a Change of Control:\n(i) A reduction by the Company in the Executive’s\nBase Salary as in effect on the date of a Change of Control or Potential Change of Control, or as the same may be increased from time to time during the term of her Agreement;\n(ii) The Company shall require the Executive to be based anywhere other than at the location where the Executive is based on\nthe date of a Change of Control or Potential Change of Control, or if Executive agrees to such relocation, the Company fails to reimburse the Executive for moving and all other expenses reasonably incurred with such move;\n(iii) The Company shall fail to continue in effect any Company-sponsored plan or benefit that is in effect on the date of a\nChange of Control or Potential Change of Control, that provides (A) incentive or bonus compensation, (B) fringe benefits such as vacation, medical benefits, life insurance and accident insurance, (C) reimbursement for reasonable\nexpenses incurred by the Executive in connection with the performance of duties with the Company, or (D) retirement benefits such as a Code Section 401(k) plan, except to the extent that such plans taken as a whole are replaced with\nsubstantially comparable plans;\n(iv) Any material breach by the Company of any provision of this Agreement; and\n(v) Any failure by the Company to obtain the assumption of this Agreement by any successor or assign of the Company effected in\naccordance with the provisions of Section 6.\n(d) “Potential Change of Control” shall mean the date as of which\n(1) the Parent enters into an agreement the consummation of which, or the approval by shareholders of which, would constitute a Change of Control; (ii) proxies for the election of Directors of the Parent are solicited by anyone other than\nthe Parent; (iii) any person (including, but not limited to, any individual, partnership, joint venture, corporation, association or trust) publicly announces an intention to take or to consider taking actions which, if consummated, would\nconstitute a Change of Control; or (iv) any other event occurs which is deemed to be a Potential Change of Control by the Board of the Parent and the Board of the Parent adopts a resolution to the effect that a Potential Change of Control has\noccurred.\n(e) If the payments to Executive pursuant to this Agreement (when considered with all other payments made to Executive as a\nresult of a termination of employment that are subject to Section 280G of the Code) (the amount of all such payments, collectively, the “Parachute Payment”) result in Executive becoming liable for the payment of any excise taxes pursuant\nto section 4999 of the Code (“280G Excise Tax”), Executive will receive the greater on an after-tax basis of (i) the severance benefits payable pursuant to this Agreement or (ii) the\nseverance benefits payable pursuant to this Agreement as reduced to avoid imposition of the 280G Excise Tax (the “Conditional Capped Amount”).\nNot more than fourteen (14) days following the termination of employment the Company will\nnotify Executive in writing (A) whether the severance benefits payable pursuant to this Agreement when added to any other Parachute Payments payable to Executive exceed an amount equal to 299% (the “299% Amount”) of Executive’s\n“base amount” as defined in Section 280G(b)(3) of the Code, (B) the amount that is equal to the 299% Amount, (C) whether the severance benefit described in this Agreement or the Conditional Capped Amount pursuant to clause\n(ii) above is greater on an after-tax basis and (C) if the Conditional Capped Amount is the greater amount, the amount that the severance benefits payable pursuant to this Agreement must be reduced\nto equal such amount.\nThe calculation of the 299% Amount, the determination of whether the termination benefits described in clause\n(i) above or the Conditional Capped Amount described in clause (ii) above is greater on an after-tax basis and, if the Conditional Capped Amount in clause (ii) is the greater amount, the\ndetermination of how much Executive’s termination benefits must be reduced in order to avoid application of the 280G Excise Tax will be made by the Company’s public accounting firm in accordance with section 280G of the Code or any\nsuccessor provision thereto. For purposes of making the reduction of amounts payable under this Agreement, such amounts shall be eliminated in the following order: (1) any cash compensation, (2) any health or welfare benefits, (3) any\nequity compensation, and (4) any other payments hereunder. Reductions of such amounts shall take place in the chronological order with respect to which such amounts would be paid from the date of the termination of employment absent any\nacceleration of payment. If the reduction of the amounts payable hereunder would not result in a reduction of the Parachute Payments to the Conditional Capped Amount, no amounts payable under this Agreement shall be reduced pursuant to this\nprovision. The costs of obtaining such determination will be borne by the Company.\n7.\nNon-Competition.\n(a) As used in this Section:\n“Business of Company” means providing products and services to broadband internet service providers which support a full range of\nintegrated voice, video and high-speed data services to the subscribers of such providers.\n“Restricted Period” means the period\nbeginning on the Termination Date and ending twelve (12) months after the Termination Date.\n“Restricted Territory” means,\nand is limited to, the following Metropolitan Statistical Areas: (1) Atlanta - Sandy Springs - Roswell, GA, (2) Denver - Aurora - Lakewood, CO, (3) Portland - Vancouver - Hillsboro, OR-WA,\n(4) Philadelphia - Camden - Wilmington, PA-NJ-DE-MD, (5) New York - Newark - Jersey City, NY-NJ-PA, (6) San Francisco - Oakland - Hayward, CA, (7) Los Angeles - Long Beach -\nAnaheim, CA, (8) St. Louis, MO-IL, (9) San Diego - Carlsbad, CA, (1) San Jose - Sunnyvale - Santa Clara, CA, and (11) Columbus, OH, and\n(12) Boston - Cambridge - Newton MA-NH. Executive acknowledges and agrees that this is the area in which the Company does business at the time of execution of this Agreement, and in which Executive will\nhave responsibility, at a minimum, on behalf of the Company.\n“Material Contact” means contact in person, by telephone or by\npaper or electronic correspondence, in furtherance of the business interests of Company.\n(b) Executive agrees that during\nExecutive’s employment hereunder and during the Restricted Period, Executive shall not, within the Restricted Territory, perform services on his own behalf or on behalf of any other person or entity, which are the same as or similar to those he\nprovided to Company and which support any business activities which compete with the Business of Company.\n(c) Executive agrees that\nduring Executive’s employment hereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective customers of Company with whom Executive had Material Contact, for the purpose of selling\nany products or services which compete with the Business of Company.\n(d) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective vendor of Company with whom Executive had Material Contact, for the purpose of providing products or services in support of\nany business activities which compete with the Business of Company.\n(e) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit or induce any employee or independent contractor of Company with whom Executive had Material Contact to terminate such employment or contract with\nCompany.\nNotwithstanding the foregoing, it is understood and agreed that, without limitation on other available remedies, the\nrestrictions on Executive set forth in this Section 7(b), (c), (d) and (e) hereof shall not be applicable at any time that Company is in breach of its contractual obligations to Executive under this Agreement following the thirty (30) days\nafter being notified in writing by Executive of such breach and failure of Company to cure same. In the event Company cures such breach, the restrictions set forth in Sections 7(b), (c), (d) and (e) hereof shall continue pursuant to their terms\nas if such breach never occurred.\n8. Nondisclosure of Trade Secrets. During the term of this Agreement, Executive will have access\nto and become familiar with various trade secrets and proprietary and confidential information of the Company, its subsidiaries and affiliates, including, but not limited to, processes, designs, computer programs, compilations of information,\nrecords, sales procedures, customer requirements, pricing techniques, product plans, marketing plans, strategic\nplans, customer lists, methods of doing business and other confidential information (collectively, referred to as “Trade Secrets”) which are owned by the Company, its subsidiaries\nand/or affiliates and regularly used in the operation of its business, and as to which the Company, its subsidiaries and/or affiliates take precautions to prevent dissemination to persons other than certain directors, officers and employees.\nExecutive acknowledges and agrees that the Trade Secrets (1) are secret and not known in the industry; (2) give the Company or its subsidiaries or affiliates an advantage over competitors who do not know or use the Trade Secrets;\n(3) are of such value and nature as to make it reasonable and necessary to protect and preserve the confidentiality and secrecy of the Trade Secrets; and (4) are valuable, special and unique assets of the Company or its subsidiaries or\naffiliates, the disclosure of which could cause substantial injury and loss of profits and goodwill to the Company or its subsidiaries or affiliates. Executive may not use in any way or disclose any of the Trade Secrets, directly or indirectly,\neither during the term of this Agreement or at any time thereafter, except as required in the course of his employment under this Agreement, if required in connection with a judicial or administrative proceeding, or if the information becomes public\nknowledge other than as a result of an unauthorized disclosure by the Executive. All files, records, documents, information, data and similar items relating to the business of the Company, whether prepared by Executive or otherwise coming into her\npossession, will remain the exclusive property of the Company and may not be removed from the premises of the Company under any circumstances without the prior written consent of the Board (except in the ordinary course of business during\nExecutive’s period of active employment under this Agreement), and in any event must be promptly delivered to the Company upon termination of Executive’s employment with the Company. Executive agrees that upon his receipt of any subpoena,\nprocess or other request to produce or divulge, directly or indirectly, any Trade Secrets to any entity, agency, tribunal or person, Executive shall timely notify and promptly hand deliver a copy of the subpoena, process or other request to the\nBoard. For this purpose, Executive irrevocably nominates and appoints the Company (including any attorney retained by the Company), as his true and lawful\nattorney-in-fact, to act in Executive’s name, place and stead to perform any act that Executive might perform to defend and protect against any disclosure of any\nTrade Secrets.\n9. Return of Profits. In the event that Executive violates any of the provisions of Sections 7 or 8 hereof or fails\nto provide the notice required by Section 4(d) hereof, the Company shall be entitled to receive from Executive the profits, if any, received by Executive upon exercise of any Company granted stock options or stock appreciation rights or upon lapse\nof the restrictions on any grant or restricted stock to the extent such options or rights were exercised, or such restrictions lapsed, subsequent to six months prior to the termination of Executive’s employment. In addition, payments under this\nAgreement shall be subject to (a) any applicable law or regulation, stock exchange rule, or policy required by the foregoing providing for recoupment or clawback, and (b) any recoupment or clawback policy of the Company in effect on or\nafter the date hereof (or the date of any amendment hereto).\n10. Severability. The parties hereto intend all provisions of\nSections 7, 8 and 9 hereof to be enforced to the fullest extent permitted by law. Accordingly, should a court of competent jurisdiction determine that the scope of any provision of Sections 7, 8 or 9 hereof is too broad to be enforced as written,\nthe parties intend that the court reform the provision to such narrower scope as it determines to be reasonable and enforceable. In addition, however, Executive agrees"}
-{"idx": 6, "level": 2, "span": "1. Employment\nExecutive agrees to enter into the continued employment of the Company, and the Company agrees to employ Executive, on\nthe terms and conditions set forth in this Agreement. Executive agrees during the term of this Agreement to devote substantially all of his/her business time, efforts, skills and abilities to the performance of his duties as stated in this Agreement\nand to the furtherance of the Company’s business."}
-{"idx": 6, "level": 2, "span": "2. Compensation."}
-{"idx": 6, "level": 3, "span": "(a) Base Salary\nDuring the term of Executive’s employment with the Company pursuant to this Agreement, the Company shall pay\nto Executive as compensation for his services an annual base salary of not less than $450,000 (“Base Salary”). Executive’s Base Salary will be payable in arrears (no less frequently than monthly) in accordance with the Company’s\nnormal payroll procedures and will be reviewed annually and subject to upward adjustment at the discretion of the Chief Executive Officer and Compensation Committee, but will not be lowered except in connection with reductions applied to all\nexecutive officers."}
-{"idx": 6, "level": 3, "span": "(b) Incentive Bonus\nDuring the term of Executive’s employment with the Company pursuant to this\nAgreement, Executive’s incentive compensation program shall be determined by the Company in its discretion with a target bonus equal to 80% of Base Salary, and allowing for payment of up to 200% of target thereafter. Executive’s bonus, if\nany, shall be payable as soon after the end of each calendar year to which it relates as it can be determined, but in any event within two and one-half (2-1/2) months\nthereafter."}
-{"idx": 6, "level": 3, "span": "(c) Executive Perquisites\nDuring the term of Executive’s employment with the Company\npursuant to this Agreement, Executive shall be entitled to receive such executive perquisites and fringe benefits as are provided to the executives in comparable positions and their families under any of the Company’s plans and/or programs in\neffect from time to time and such other benefits as are customarily available to executives of the Company and their families, including without limitation vacations and life, medical and disability insurance. For the purposes of clarity, Executive\nwill be eligible to participate in the Company’s currently available defined contribution plans, but not the Company’s defined benefit plans (which the Company has frozen)."}
-{"idx": 6, "level": 3, "span": "(d) Tax Withholding\nThe Company has the right to deduct from any compensation payable to Executive under this Agreement social\nsecurity (FICA) taxes and all federal, state, municipal or other such taxes or charges as may now be in effect or that may hereafter be enacted or required."}
-{"idx": 6, "level": 3, "span": "(e) Expense Reimbursements\nThe Company shall pay or reimburse Executive for all reasonable business expenses incurred or paid by\nExecutive in the course of performing his duties hereunder, including but not limited to reasonable travel expenses for Executive. As a condition to such payment or reimbursement, however, Executive shall maintain and provide to the Company\nreasonable documentation and receipts for such expenses. Such payments and reimbursements shall be made as soon as administratively practicable following submission of reasonable documentation and receipts for such expenses but all such payments and\nreimbursements shall be made no later than the last day of the calendar year following the calendar year in which Executive incurs the reimbursable expense."}
-{"idx": 6, "level": 2, "span": "3. Term\nUnless sooner terminated pursuant to Section 4 of this Agreement, and subject to the provisions of Section 5 hereof,\nthe term of employment under this Agreement shall commence as of the date hereof and shall continue for a period of one year. The term automatically shall be extended by one day for each day of employment hereunder. Notwithstanding the foregoing the\nterm of employment under this agreement shall terminate, if it has not terminated earlier, without further action on the part of the Company or Executive upon Executive’s 65th birthday."}
-{"idx": 6, "level": 2, "span": "4. Termination\nNotwithstanding the provisions of Section 3 hereof, but subject to the provisions of Section 5 hereof,\nExecutive’s employment under this Agreement shall terminate as follows:"}
-{"idx": 6, "level": 3, "span": "(a) Death\nExecutive’s employment shall\nterminate upon the death of Executive, provided, however, that the Company shall continue to pay no less frequently than monthly (in accordance with its normal payroll procedures) the Base Salary to Executive’s estate for a period of three\nmonths after the date of Executive’s death."}
-{"idx": 6, "level": 3, "span": "(b) Termination for Cause\nThe Company may terminate Executive’s employment\nat any time for “Cause” (as hereinafter defined) by delivering a written termination notice to Executive. For purposes of this Agreement, “Cause” shall mean any of: (i) Executive’s"}
-{"idx": 6, "level": 3, "span": "(c) Termination Without\nCause. The Company may terminate Executive’s employment at any time by delivering a written termination notice to Executive."}
-{"idx": 6, "level": 3, "span": "(d)\nTermination by Executive. Executive may terminate his employment at any time by delivering ninety days prior written notice to the Company; provided, however, that the terms, conditions and benefits specified in Section 5 hereof shall\napply or be payable to Executive only if such termination occurs as a result of an uncured material breach by the Company of any provision of this Agreement."}
-{"idx": 6, "level": 3, "span": "(e) Termination Following Disability\nIn the event Executive becomes mentally or physically impaired or disabled and is unable to\nperform his material duties and responsibilities hereunder for a period of at least ninety days in the aggregate during any one hundred twenty consecutive day period, the Company may terminate Executive’s employment by delivering a written\ntermination notice to Executive. Notwithstanding the foregoing, Executive shall continue to receive his full salary and benefits under this Agreement for a period of six months after the effective date of such termination with his base salary\npayable in arrears no less frequently than monthly in accordance with the Company’s normal payroll procedures and continued benefits on a monthly basis through such time."}
-{"idx": 6, "level": 3, "span": "(f) Payments\nFollowing any expiration or termination of this Agreement and Executive’s employment hereunder, in addition any\namounts owed pursuant to Section 5 hereof, the Company shall pay to Executive all amounts earned by Executive hereunder prior to the date of such expiration and termination, as soon as administratively practicable following the date of\ntermination of Executive’s employment, in the normal course consistent with the provisions of this Agreement. Additionally, subject to Executive’s continued compliance with Sections 7, 8 and 9 of this Agreement, if Executive terminates his\nemployment with the Company without Good Reason on or after the date Executive attains age 62 (provided Executive has no less than 10 years of actual continuous service with Company following the date hereof as of such termination), all of\nExecutive’s stock options and equity awards outstanding at termination of Executive’s employment shall continue to vest for four (4) years after the termination as if Executive remained employed through such time, and such stock\noptions shall remain outstanding through the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment)."}
-{"idx": 6, "level": 2, "span": "5. Certain Termination Benefits\nSubject to Section 6(a) hereof, in the event (i) the\nCompany terminates Executive’s employment without cause pursuant to Section 4(c) or (ii) Executive terminates his employment pursuant to Section 4(d) after a material breach by the Company (which the Company fails to cure within thirty\ndays after written notice of such breach from Executive):"}
-{"idx": 6, "level": 3, "span": "(a) Base Salary and Bonus\nThe Company shall continue to pay to\nExecutive his Base Salary (as in effect as of the date of such termination) no less frequently than monthly in accordance with the Company’s normal payroll procedures, beginning with the first payroll date after the date of termination of\nExecutive’s employment and continuing for twelve (12) months immediately following the termination. The Company also shall pay to Executive (i) a bonus for the fiscal year in which the termination occurs based upon the actual results\nfor such fiscal year reduced on a pro rata basis to reflect only the portion of the year prior to the end of the month in which the termination occurs (e.g., in the event of a termination in March, Executive would receive 1/4 of the amount that he\notherwise would receive), and (ii) an amount equal to the average bonus received, or to be received, by Executive with respect to the three most recently completed fiscal years of the Company (e.g., if Executive has received, or been entitled\nto receive, bonuses for two fiscal years, it would be the average of those two bonuses) or, if Executive has not yet received, or been entitled to receive, a bonus with respect to a completed fiscal year, an amount equal to Executive’s target\nbonus for the current fiscal year. The Company will pay all such bonus amounts as soon as they reasonably can be calculated, but in all events within two and one-half\n(2 1⁄2) months of the end of the fiscal year in which the termination occurs. Notwithstanding the foregoing, all payments to be made or benefits to be\nprovided under this Section are subject to the provisions of Section 5(g) below."}
-{"idx": 6, "level": 3, "span": "(b) Stock\nSubject to Section 10 hereof, on\nand as of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. Additionally, all of\nExecutive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any earlier expiration date based on Executive’s termination of employment)."}
-{"idx": 6, "level": 3, "span": "(c) Limitation\nNotwithstanding the foregoing, with respect to a termination occurring during the two year period commencing the day\nafter the award date of Executive’s initial equity grants following employment by the Company, the amount payable to Executive pursuant to Section 5(a) shall be reduced, but not below zero, on a dollar-for-dollar basis by the value of any equity-related awards that vests as a result of Section 5(b) or similar provisions in any equity-related benefit plans."}
-{"idx": 6, "level": 3, "span": "(d) Life Insurance\nThe Company shall continue to provide Executive on a monthly basis with group and additional life insurance\ncoverage, no less frequently than monthly, for a period of twelve (12) months immediately following termination of employment."}
-{"idx": 6, "level": 3, "span": "(e)\nMedical Insurance. The Company shall continue to provide Executive and his family with group medical insurance coverage, no less frequently than monthly, under the Company’s medical plans (as the same may change from time to time) or\nother substantially similar health insurance for a period of twelve (12) months immediately following termination of employment."}
-{"idx": 6, "level": 3, "span": "(f) Group Disability\nThe Company shall continue to provide Executive coverage, no less\nfrequently than monthly, under the Company’s group disability plan for a period of twelve (12) months immediately following termination of employment (subject in the case of long-term disability to the availability of such coverage under\nCompany’s insurance policy)."}
-{"idx": 6, "level": 3, "span": "(g) Section 409A\nNotwithstanding any other provisions of this Agreement, it is intended that\nany payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred compensation subject to Section 409A of the Internal Revenue Code of 1986, as amended (the\n“Code”), will be provided and paid in a manner, and at such time, as complies with Section 409A of the Code. For purposes of this Agreement, all rights to payments and benefits hereunder shall be treated as rights to receive a series of\nseparate payments and benefits to the fullest extent allowed by Section 409A of the Code. If Executive is a key employee (as defined in Section 416(i) of the Code without regard to paragraph (5) thereof) and any of Company’s stock is\npublicly traded on an established securities market or otherwise, then the payment of any amount or provision of any benefit under this Agreement which is considered to be nonqualified deferred compensation subject to Section 409A of the Code shall\nbe deferred for six (6) months after the Termination Date or, if earlier, Executive’s death (the “409A Deferral Period”), as required by Section 409A(a)(2)(B)(i) of the Code. In the event payments are otherwise due to be made in\ninstallments or periodically during such 409A Deferral Period, the payments which would otherwise have been made in the 409A Deferral Period shall be accumulated and paid in a lump sum as soon as the 409A Deferral Period ends, and the balance of the\npayments shall be made as otherwise scheduled. In the event, benefits are otherwise to be provided hereunder during such 409A Deferral Period, any such benefits may be provided during the 409A Deferral Period at Executive’s expense, with\nExecutive having a right to reimbursement for such expense from the Company as soon as the 409A Deferral Period ends, and the balance of the benefits shall be provided as otherwise scheduled. For purposes of this Agreement, Executive’s\ntermination of employment shall be construed to mean a “separation from service” within the meaning of Section 409A of the Code where it is reasonably anticipated that no further services will be performed after such date or that the level\nof bona fide services Executive would perform after that date (whether as an employee or independent contractor) would permanently decrease to less than fifty percent (50%) of the average level of bona fide services performed over the immediately\npreceding thirty-six (36)-month period. Without limitation, if any payment or benefit which is provided pursuant to or in connection with this Agreement and which is considered to be nonqualified deferred\ncompensation subject to Section 409A of the Code fails to comply with Section 409A of the Code, and Executive incurs any additional tax, interest and penalties under Section 409A of the Code, Company will pay Executive an additional amount so that,\nafter paying all taxes, interest and penalties on such additional amount, Executive has an amount remaining equal to such additional tax, interest and penalties. All payments to be made to Executive pursuant to the immediately preceding sentence\nshall be payable no later than when the related taxes, interest and penalties are to be remitted. Any right to reimbursement incurred due to a tax audit or litigation addressing the existence or amount of any tax liability addressed in the\nimmediately"}
-{"idx": 6, "level": 3, "span": "(h) Offset\nAny fringe benefits received by Executive in connection with any other employment that are reasonably comparable, but not\nnecessarily as beneficial, to Executive as the fringe benefits then being provided by the Company pursuant to this Section 5, shall be deemed to be the equivalent of, and shall terminate the Company’s responsibility to continue providing,\nthe fringe benefits then being provided by the Company pursuant to this Section 5. The Company acknowledges that if Executive’s employment with the Company is terminated, Executive shall have no duty to mitigate damages."}
-{"idx": 6, "level": 4, "span": "(i) General Release\nAcceptance by Executive of any amounts pursuant to this Section 5 shall constitute a full and complete\nrelease by Executive of any and all claims Executive may have against the Company, its officers, directors and affiliates, including, but not limited to, claims she might have relating to Executive’s cessation of employment with the Company;\nprovided, however, that there may properly be excluded from the scope of such general release the following:"}
-{"idx": 6, "level": 4, "span": "(i) claims\nthat Executive may have against the Company for reimbursement of ordinary and necessary business expenses incurred by him during the course of his employment;"}
-{"idx": 6, "level": 4, "span": "(ii) claims that may be made by the Executive for payment of Base Salary, fringe benefits or restricted stock or stock options\nproperly due to him; or"}
-{"idx": 6, "level": 4, "span": "(iii) claims respecting matters for which the Executive is entitled to be indemnified under the\nCompany’s Certificate of Incorporation or Bylaws, respecting third party claims asserted or third party litigation pending or threatened against the Executive."}
-{"idx": 6, "level": 2, "span": "6. Effect of Change in Control."}
-{"idx": 6, "level": 3, "span": "(a) If within one year following a “Change of Control” (as hereinafter defined), Executive terminates his employment with the\nCompany for Good Reason (as hereinafter defined) or the Company terminates Executive’s employment for any reason other than Cause, death or disability, the Company shall pay to Executive: (1) an amount equal to one times the\nExecutive’s Base Salary as of the date of termination; (2) an amount equal to one times the average annual cash bonus paid to Executive for the two fiscal years immediately preceding the date of termination (and a pro rata portion for any\npartial year); (3) all benefits under the Company’s various benefit plans, including group healthcare, dental and life, for the period equal to twelve months from the date of termination; and (4) subject to Section 10 hereof, on and\nas of the effective date of the termination of employment, all of Executive’s outstanding stock options and restricted stock grants under the Company’s stock option and other benefit plans shall immediately vest. The Company shall pay the\namounts set forth in (1) and (2) above in one lump sum payment as soon as administratively practicable (and within thirty (30) days) following Executive’s termination of employment. The benefits provided under (3) above shall be\nprovided no less frequently than monthly following the date of termination of employment. Additionally, Executive’s outstanding stock options shall remain outstanding until the original expiration date of the stock options (disregarding any\nearlier expiration date based on Executive’s termination of employment). Notwithstanding the foregoing, all payments to be made and benefits to be provided under this Section are subject to the provisions of Section 5(g) above."}
-{"idx": 6, "level": 3, "span": "(b) “Change of Control” shall mean the date as of which: (i) there shall be consummated (1) any consolidation or merger of\nARRIS International plc, as parent corporation of the Company (“Parent”), to which the Parent is not the continuing or surviving corporation or pursuant to which Parent’s ordinary shares would be converted into cash, securities or\nother property, other than a merger of the Parent in which the holders of the Parent’s ordinary shares immediately prior to the merger own more than 50% of the total fair market value or total voting power of the continuing or surviving entity,\nor (2) any sale, lease, exchange or other transfer (in one transaction or a series of related transactions) of all, or substantially all, of the assets of the Parent or (ii) the stockholders of the Parent approve any plan or proposal for\nthe liquidation or dissolution of the Parent; or (iii) any person, as such term is used in Sections 13(d) and 14(d)(2) of the Securities Exchange Act of 1934, as amended (the “Exchange Act”), shall become the beneficial owner (within\nthe meaning of Rule 13d-3 under the Exchange Act) of 30% or more of the Parent’s outstanding ordinary shares (in a single transaction or within twelve (12) months from the date of the final\nacquisition) or (iv) during any one year, individuals who at the beginning of such period constitute the entire Board of Directors of the Parent shall cease for any reason to constitute a majority thereof unless the appointment, election, or\nthe nomination for election by the Parent’s stockholders, of each new director was approved by a vote of at least two-thirds of the directors still then in office who were directors at the beginning of\nthe period. This definition of “Change in Control” is intended to comply with the definition of a change in the ownership or effective control of the Parent or in the ownership of a substantial portion of the assets of the Parent within\nthe meaning of Section 409A(a)(2)(A)(v) of the Code and shall be construed consistent with that intent."}
-{"idx": 6, "level": 3, "span": "(c) “Good Reason” shall mean any of the following actions taken by the Company without\nthe Executive’s written consent after a Change of Control:"}
-{"idx": 6, "level": 4, "span": "(i) A reduction by the Company in the Executive’s\nBase Salary as in effect on the date of a Change of Control or Potential Change of Control, or as the same may be increased from time to time during the term of her Agreement;"}
-{"idx": 6, "level": 4, "span": "(ii) The Company shall require the Executive to be based anywhere other than at the location where the Executive is based on\nthe date of a Change of Control or Potential Change of Control, or if Executive agrees to such relocation, the Company fails to reimburse the Executive for moving and all other expenses reasonably incurred with such move;"}
-{"idx": 6, "level": 4, "span": "(iii) The Company shall fail to continue in effect any Company-sponsored plan or benefit that is in effect on the date of a\nChange of Control or Potential Change of Control, that provides (A) incentive or bonus compensation, (B) fringe benefits such as vacation, medical benefits, life insurance and accident insurance, (C) reimbursement for reasonable\nexpenses incurred by the Executive in connection with the performance of duties with the Company, or (D) retirement benefits such as a Code Section 401(k) plan, except to the extent that such plans taken as a whole are replaced with\nsubstantially comparable plans;"}
-{"idx": 6, "level": 4, "span": "(iv) Any material breach by the Company of any provision of this Agreement; and"}
-{"idx": 6, "level": 4, "span": "(v) Any failure by the Company to obtain the assumption of this Agreement by any successor or assign of the Company effected in\naccordance with the provisions of Section 6."}
-{"idx": 6, "level": 3, "span": "(d) “Potential Change of Control” shall mean the date as of which\n(1) the Parent enters into an agreement the consummation of which, or the approval by shareholders of which, would constitute a Change of Control; (ii) proxies for the election of Directors of the Parent are solicited by anyone other than\nthe Parent; (iii) any person (including, but not limited to, any individual, partnership, joint venture, corporation, association or trust) publicly announces an intention to take or to consider taking actions which, if consummated, would\nconstitute a Change of Control; or (iv) any other event occurs which is deemed to be a Potential Change of Control by the Board of the Parent and the Board of the Parent adopts a resolution to the effect that a Potential Change of Control has\noccurred."}
-{"idx": 6, "level": 3, "span": "(e) If the payments to Executive pursuant to this Agreement (when considered with all other payments made to Executive as a\nresult of a termination of employment that are subject to Section 280G of the Code) (the amount of all such payments, collectively, the “Parachute Payment”) result in Executive becoming liable for the payment of any excise taxes pursuant\nto section 4999 of the Code (“280G Excise Tax”), Executive will receive the greater on an after-tax basis of (i) the severance benefits payable pursuant to this Agreement or (ii) the\nseverance benefits payable pursuant to this Agreement as reduced to avoid imposition of the 280G Excise Tax (the “Conditional Capped Amount”)."}
-{"idx": 6, "level": 2, "span": "7.\nNon-Competition."}
-{"idx": 6, "level": 3, "span": "(a) As used in this Section:"}
-{"idx": 6, "level": 3, "span": "(b) Executive agrees that during\nExecutive’s employment hereunder and during the Restricted Period, Executive shall not, within the Restricted Territory, perform services on his own behalf or on behalf of any other person or entity, which are the same as or similar to those he\nprovided to Company and which support any business activities which compete with the Business of Company."}
-{"idx": 6, "level": 3, "span": "(c) Executive agrees that\nduring Executive’s employment hereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective customers of Company with whom Executive had Material Contact, for the purpose of selling\nany products or services which compete with the Business of Company."}
-{"idx": 6, "level": 3, "span": "(d) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit any actual or prospective vendor of Company with whom Executive had Material Contact, for the purpose of providing products or services in support of\nany business activities which compete with the Business of Company."}
-{"idx": 6, "level": 3, "span": "(e) Executive agrees that during Executive’s employment\nhereunder and during the Restricted Period, Executive shall not, directly or indirectly, solicit or induce any employee or independent contractor of Company with whom Executive had Material Contact to terminate such employment or contract with\nCompany."}
-{"idx": 6, "level": 2, "span": "8. Nondisclosure of Trade Secrets\nDuring the term of this Agreement, Executive will have access\nto and become familiar with various trade secrets and proprietary and confidential information of the Company, its subsidiaries and affiliates, including, but not limited to, processes, designs, computer programs, compilations of information,\nrecords, sales procedures, customer requirements, pricing techniques, product plans, marketing plans, strategic"}
-{"idx": 6, "level": 2, "span": "9. Return of Profits\nIn the event that Executive violates any of the provisions of Sections 7 or 8 hereof or fails\nto provide the notice required by Section 4(d) hereof, the Company shall be entitled to receive from Executive the profits, if any, received by Executive upon exercise of any Company granted stock options or stock appreciation rights or upon lapse\nof the restrictions on any grant or restricted stock to the extent such options or rights were exercised, or such restrictions lapsed, subsequent to six months prior to the termination of Executive’s employment. In addition, payments under this\nAgreement shall be subject to (a) any applicable law or regulation, stock exchange rule, or policy required by the foregoing providing for recoupment or clawback, and (b) any recoupment or clawback policy of the Company in effect on or\nafter the date hereof (or the date of any amendment hereto)."}
-{"idx": 6, "level": 2, "span": "10. Severability\nThe parties hereto intend all provisions of\nSections 7, 8 and 9 hereof to be enforced to the fullest extent permitted by law. Accordingly, should a court of competent jurisdiction determine that the scope of any provision of Sections 7, 8 or 9 hereof is too broad to be enforced as written,\nthe parties intend that the court reform the provision to such narrower scope as it determines to be reasonable and enforceable. In addition, however, Executive agrees"}
-{"idx": 7, "level": 1, "span": "AMENDMENT NO.1 TO CRUDE TALL OIL AND"}
-{"idx": 7, "level": 0, "span": "BLACK LIQUOR SOAP SKIMMINGS AGREEMENT\nThis Amendment No.1 (this “Amendment”) to the Supply Agreement, dated as of March 1, 2017 (the “Effective Date”), is entered into by and between WestRock Shared Services, LLC and WestRock MWV, LLC, on behalf of the affiliates of WestRock Company (“Seller”), and Ingevity Corporation, a Delaware corporation (“Buyer”).\nWHEREAS, Seller and Buyer previously entered into that certain Crude Tall Oil and Black Liquor Soap Skimmings Agreement, effective as of January 1, 2016 (the “Agreement”; capitalized terms used herein but not defined herein shall have the meanings given them in the Agreement); and\nWHEREAS, Buyer and Seller desire to amend the Agreement as detailed below.\nNOW THEREFORE, in consideration of the mutual premises and covenants contained herein and intending to be legally bound hereby, the Parties agree that the Agreement is amended as follows:\n1.Removal of Tres Barras, Santa Catarina, Brazil Mill.\nA. Effective on March 1, 2017 (the “Release Date”), Buyer and Seller agree to remove the Tres Barras, Santa Catarina Brazil Mill (the “Brazil Mill”) from the Agreement. The removal of the Brazil Mill from the Agreement shall not release either Party from the obligation to pay any sum that may be owing to the other Party (whether then or thereafter due) or operate to discharge any liability that had been incurred by either Party prior to such removal. Buyer and Seller agree that in order to effect the removal of the Brazil Mill from the Agreement, on the Release Date:\ni.The reference to “Tres Barras, Santa Catarina Brazil” is deleted from Section 1(B);\nii.Sections 2(D)(i) and 3(D) and Exhibit E are deleted from the Agreement and replaced with “RESERVED”;\niii.The reference to “Brazil” is deleted from Section 16;\niv.In the table contained in Exhibit B, the reference to “Tres Barras, Brazil” and the accompanying information is deleted; and\nv.The reference to “Note 3” is deleted from Exhibit B."}
-{"idx": 7, "level": 1, "span": "B. Brazilian Local Agreement. Seller and Buyer shall cause their respective affiliates, to sign the Mutual Termination Agreement, attached as Exhibit A hereto."}
-{"idx": 7, "level": 1, "span": "C. Payment. As consideration for Seller agreeing to remove the Brazil Mill from the Agreement, Buyer shall pay Seller Two Hundred Fifty Thousand Dollars ($250,000), payable within thirty (30) days of the Effective Date.\n2.Amendment to Section 1(E). Section 1(E) of the Agreement is amended by deleting such Section in its entirety and replacing it with the following:"}
-{"idx": 7, "level": 1, "span": "E."}
-{"idx": 7, "level": 1, "span": "Freight:"}
-{"idx": 7, "level": 1, "span": "Exhibit 10.7\n(i) Buyer is responsible for determining the mode of transportation and for providing suitable tank trucks, rail cars or barges for shipments of one hundred percent (100%) of the Products from the Mills. All freight charges, insurance, demurrage and all other expenses incident thereto are for Buyer’s account; provided that, if Buyer incurs third party demurrage charges due to Seller’s delay, then Seller shall reimburse Buyer for such charges. Seller will make commercially reasonable efforts to fully load tank trucks or rail cars to minimize total cost of transportation.\n(ii)Buyer may request and Seller shall provide a credit for underfilled vehicles (tank trucks and/or railcars) as follows:\na.CTO: Minimum Product weight in pounds for tank truck deliveries is 45,600. Minimum Product weight in pounds for rail cars will be calculated as 95% of the volume capacity rating, by gallons, of the individual railcar used multiplied by 8.0 pounds/gallon.\nb.BLSS: Minimum Product weight in pounds for tank trucks is 42,750 for tank trucks originating from the Demopolis, Florence, and Panama City Mills. Minimum Product weight in pounds for tank trucks is 39,900 for tank truck originating from the Evadale Mill.\n(iii) In the event that the Parties determine to: (A) ship BLSS from Mills not referenced above; (B) shipment BLSS by rail car, or (C) ship Products by barge, then the Parties shall mutually agree in writing on the minimum weight for such shipment mode.\n(iv) If the Product weight as listed on Seller’s invoices for either tank trucks or rail cars (“Actual Weight”) is less than the applicable minimum weight indicated above (the “Minimum Weight”), Buyer may request and Seller shall provide a credit equal to (Buyer’s actual freight cost for such shipment divided by the Minimum Weight) multiplied by the (the Minimum Weight – the Actual Weight). If Buyer disagrees with Seller’s calculation of the Actual Weight, Seller shall provide Buyer with the opportunity to inspect the measuring process and equipment, to verify the disparity. This credit calculation report will be generated by Buyer and sent to Seller on an excel spreadsheet substantially in the form of Exhibit K hereto at the time of the other calculations for amounts payable pursuant to Exhibit G of this Agreement, or credit shall be deemed waived. Seller will provide the applicable credit as a credit memo to Buyer for use within thirty (30) days from receipt of such report against applicable invoices from Seller (or, if the Agreement has terminated, will reimburse Buyer), as provided herein.\nFor example:\n1. CTO tank truck shipment with an Actual Weight of 41,700 lbs. Minimum Weight is 45,600. Seller will provide Buyer with a credit as follows: $1,200 actual freight cost / 45,600 lbs. * (45,600 lbs-41,700 lbs.) = $102.63."}
-{"idx": 7, "level": 4, "span": "(i) Buyer is responsible for determining the mode of transportation and for providing suitable tank trucks, rail cars or barges for shipments of one hundred percent (100%) of the Products from the Mills\nAll freight charges, insurance, demurrage and all other expenses incident thereto are for Buyer’s account; provided that, if Buyer incurs third party demurrage charges due to Seller’s delay, then Seller shall reimburse Buyer for such charges. Seller will make commercially reasonable efforts to fully load tank trucks or rail cars to minimize total cost of transportation."}
-{"idx": 7, "level": 4, "span": "(iii) In the event that the Parties determine to: (A) ship BLSS from Mills not referenced above; (B) shipment BLSS by rail car, or (C) ship Products by barge, then the Parties shall mutually agree in writing on the minimum weight for such shipment mode."}
-{"idx": 7, "level": 4, "span": "(iv) If the Product weight as listed on Seller’s invoices for either tank trucks or rail cars (“Actual Weight”) is less than the applicable minimum weight indicated above (the “Minimum Weight”), Buyer may request and Seller shall provide a credit equal to (Buyer’s actual freight cost for such shipment divided by the Minimum Weight) multiplied by the (the Minimum Weight – the Actual Weight)\nIf Buyer disagrees with Seller’s calculation of the Actual Weight, Seller shall provide Buyer with the opportunity to inspect the measuring process and equipment, to verify the disparity. This credit calculation report will be generated by Buyer and sent to Seller on an excel spreadsheet substantially in the form of Exhibit K hereto at the time of the other calculations for amounts payable pursuant to Exhibit G of this Agreement, or credit shall be deemed waived. Seller will provide the applicable credit as a credit memo to Buyer for use within thirty (30) days from receipt of such report against applicable invoices from Seller (or, if the Agreement has terminated, will reimburse Buyer), as provided herein."}
-{"idx": 7, "level": 2, "span": "1. CTO tank truck shipment with an Actual Weight of 41,700 lbs\nMinimum Weight is 45,600. Seller will provide Buyer with a credit as follows: $1,200 actual freight cost / 45,600 lbs. * (45,600 lbs-41,700 lbs.) = $102.63."}
-{"idx": 7, "level": 1, "span": "Exhibit 10.7"}
-{"idx": 8, "level": 1, "span": "ALLEGIANCE BANCSHARES, INC."}
-{"idx": 8, "level": 0, "span": "RESTRICTED STOCK AGREEMENT"}
-{"idx": 8, "level": 1, "span": "(Non-Employee Director)"}
-{"idx": 8, "level": 1, "span": "THE SHARES REPRESENTED BY THIS CERTIFICATE MAY BE TRANSFERRED ONLY IN COMPLIANCE WITH THE CONDITIONS SPECIFIED IN THE ALLEGIANCE BANCSHARES, INC. RESTRICTED STOCK AGREEMENT, DATED AS OF ____________________ BETWEEN ALLEGIANCE BANCSHARES, INC. (\"COMPANY\") AND EACH OF THE GRANTEES NAMED THEREIN. A COMPLETE AND CORRECT COPY OF THE FORM OF SUCH AGREEMENTS IS AVAILABLE FOR INSPECTION AT THE PRINCIPAL OFFICE OF THE COMPANY AND WILL BE FURNISHED WITHOUT CHARGE TO THE HOLDER OF SUCH SHARES UPON WRITTEN REQUEST.\n(c) Except as otherwise provided in the Plan, Holder shall, during the Restricted Period, have all of the other rights of a stockholder with respect to the Shares including, but not limited to, the right to receive dividends, if any, as may be declared on such Shares from time to time, and the right to vote (in person or by proxy) such Shares at any meeting of stockholders of the Company.\n(d) In the event that Holder's service as a director of the Company or an Affiliate is terminated for any reason other than death or disability prior to the expiration of the Forfeiture Restrictions as provided in Section 3(a) or 3(e), any Restricted Shares outstanding shall, upon such termination of service, be forfeited by Holder to the Company, without the payment of any consideration or further consideration by the Company, and neither Holder nor any successors, heirs, assigns, or legal representatives of Holder shall thereafter have any further rights or interest in the Restricted Shares or certificates therefor, and Holder's name shall thereupon be deleted from the list of the Company's stockholders with respect to the Restricted Shares.\n(e) In the event of a Change of Control (as defined in the Plan), or if Holder's service as a director of the Company or an Affiliate is terminated because of Holder's death or disability, any Forfeiture Restrictions on the Restricted Shares set forth in this Agreement which have not previously been forfeited shall be deemed to have expired, and the Restricted Shares shall thereby be free of all such Forfeiture Restrictions.\n(f) If the Holder's service as a director of the Company or an Affiliate shall terminate prior to the expiration of the Restricted Period, and there exists a dispute between Holder and the Company or the Committee as to the satisfaction of the conditions to the release of the Shares from the Forfeiture Restrictions hereunder and under the Plan or the terms and conditions of the Grant, the Shares shall remain subject to the Forfeiture Restrictions until the resolution of such dispute, regardless of any intervening expiration of the Restricted Period, except that any dividends that may be payable to the holders of record of Stock as of a date during the period from termination of Holder's service to the resolution of such dispute (the \"Suspension Period\") shall:\n(1) to the extent to which such dividends would have been payable to Holder on the Shares, be held by the Company as part of its general funds, and shall be paid to or for\nthe account of Holder only upon, and in the event of, a resolution of such dispute in a manner favorable to Holder, and then only with respect to such of the Shares as to which such resolution shall be so favorable, and\n(2) be canceled upon, and in the event of, a resolution of such dispute in a manner unfavorable to Holder, and then only with respect to such of the Shares as to which such resolution shall be so unfavorable.\n(g) Upon expiration of the Forfeiture Restrictions, by lapse of time and upon compliance by the Holder, or the legal representative of Holder, with all obligations of Holder under the Plan and this Agreement, the Restricted Shares shall be released from all further restrictions and prohibitions hereunder and all of the forfeiture provisions of the Plan, and the Committee shall thereupon deliver or cause to be delivered to Holder or Holder's legal representative the certificate or certificates for the Shares free of any legend provided in subparagraph (b) of this paragraph.\n4. Taxes. Any federal, state or local taxes arising by virtue of this Grant and assessed against or based on the value of the Shares awarded to Holder shall be the sole responsibility of Holder; provided that the Company shall have the right to withhold any amounts required to be so withheld for federal, state or local income tax purposes. Any such taxes and withholding must be paid or provided for according to law and in a manner satisfactory to the Company and as provided in the Plan before any Shares, or certificates therefor, can be delivered to Holder. The Committee may permit payment of any such amount to be made through the tender of cash or Stock, the withholding of Stock out of shares otherwise distributable or any other arrangement satisfactory to the Committee. The Company shall, to the extent permitted by law, have the right to withhold delivery of a stock certificate or to deduct any required taxes from any payment of any kind otherwise due to Holder. If Holder does not pay the entire amount of such taxes to the Company, if any, within thirty (30) days after the date on which the Committee notifies Holder of the amount required to meet the withholding obligation, the Committee shall withhold from the Stock to which Holder is entitled a number of shares having an aggregate fair market value equal to the amount of such taxes remaining to be paid by Holder and shall deliver a certificate for the remaining shares to the Holder. If Holder makes the election authorized by section 83(b) of the Internal Revenue Code, Holder shall submit to the Company a copy of the statement filed by Holder to make such election. The failure of Holder to notify the Company of any such election made by Holder may, in the discretion of the Committee, result in the forfeiture of the Shares.\n5. Changes in Capital Structure. If the outstanding shares of Stock or other securities of the Company, or both, shall at any time be changed or ex-changed by declaration of a stock dividend, stock split, combination of shares, or recapitalization, the number and kind of shares of Stock or other securities subject to the Restricted Shares shall be appro-priately and equitably adjusted in accordance with the terms of the Plan.\n6. Compliance With Securities Laws. Upon the acqui-si-tion of any shares pursuant to this Agreement, Holder (or Holder's legal representative upon Holder's death or disability) will enter into such written representations, warranties and agreements as the Company may reasonably request in order to comply with applicable securities laws or with this Agreement.\n7. Service Relationship. Holder shall be considered to be in service as a director as long as Holder remains as a director of the Company or an Affiliate. Any questions as to whether and when there has been a termination of such service, and the cause of such termination, shall be determined by the Committee, with the advice of the applicable corporation, and its determination shall be final.\n8. Binding Effect. The provisions of the Plan and the terms and conditions hereof shall, in accordance with their terms, be binding upon, and inure to the benefit of, all successors of Holder, including, without limitation, Holder's estate and the executors, administrators, or trustees thereof, heirs and legatees, and any receiver, trustee in bankruptcy, or representative of creditors of Holder. This Agreement shall be binding upon and inure to the benefit of any successors to the Company.\n9. Agreement Subject to Plan. This Agreement is sub-ject to the Plan. The terms and provisions of the Plan (including any subsequent amend-ments thereto) are hereby incorporated herein by reference thereto. In the event of a conflict between any term or provision contained herein and a term or provision of the Plan, the applicable terms and provisions of the Plan will govern and prevail. All defini-tions of words and terms contained in the Plan shall be applicable to this Agreement.\n10. Notices. Every notice hereunder shall be in writing and shall be given by registered or certified mail. All notices by Holder shall be directed to Allegiance Bancshares, Inc., 8847 W. Sam Houston Parkway N., Suite 200, Houston, Texas 77040, Attention: Secretary. Any notice given by the Company to Holder directed to Holder at the address on file with the Company shall be effective to bind Holder and any other person who shall acquire rights hereunder. The Company shall be under no obligation whatsoever to advise Holder of the existence, maturity or termination of any of Holder's rights hereunder and Holder shall be deemed to have familiarized himself or herself with all matters contained herein and in the Plan which may affect any of Holder's rights or privileges hereunder.\n11. Resolution of Disputes. Any dispute or disagreement which may arise hereunder shall be determined by the Committee in its sole discretion and judgment, and any such determination and any interpretation by the Committee of the terms of the Plan or this Restricted Stock Agreement shall be final and shall be binding and conclusive, for all purposes, upon the Company, Holder, and Holder’s heirs, personal representatives and successors.\n12. Amendment. Any modification of this Agreement will be effective only if it is in writing and signed by a duly authorized officer of the Company and Holder, except to the extent such modification occurs pursuant to a proper amendment of the Plan.\n13. Jurisdiction. The provisions of the Plan and the terms and conditions hereof shall be construed in accordance with the laws of Texas except to the extent pre-empted by Federal law.\nIN WITNESS WHEREOF, the Company has caused this Agreement to be duly executed by one of its officers thereunto duly authorized, and Holder has executed this Agreement, all as of the day and year first above written."}
-{"idx": 8, "level": 3, "span": "(c) Except as otherwise provided in the Plan, Holder shall, during the Restricted Period, have all of the other rights of a stockholder with respect to the Shares including, but not limited to, the right to receive dividends, if any, as may be declared on such Shares from time to time, and the right to vote (in person or by proxy) such Shares at any meeting of stockholders of the Company."}
-{"idx": 8, "level": 3, "span": "(d) In the event that Holder's service as a director of the Company or an Affiliate is terminated for any reason other than death or disability prior to the expiration of the Forfeiture Restrictions as provided in Section 3(a) or 3(e), any Restricted Shares outstanding shall, upon such termination of service, be forfeited by Holder to the Company, without the payment of any consideration or further consideration by the Company, and neither Holder nor any successors, heirs, assigns, or legal representatives of Holder shall thereafter have any further rights or interest in the Restricted Shares or certificates therefor, and Holder's name shall thereupon be deleted from the list of the Company's stockholders with respect to the Restricted Shares."}
-{"idx": 8, "level": 3, "span": "(e) In the event of a Change of Control (as defined in the Plan), or if Holder's service as a director of the Company or an Affiliate is terminated because of Holder's death or disability, any Forfeiture Restrictions on the Restricted Shares set forth in this Agreement which have not previously been forfeited shall be deemed to have expired, and the Restricted Shares shall thereby be free of all such Forfeiture Restrictions."}
-{"idx": 8, "level": 3, "span": "(f) If the Holder's service as a director of the Company or an Affiliate shall terminate prior to the expiration of the Restricted Period, and there exists a dispute between Holder and the Company or the Committee as to the satisfaction of the conditions to the release of the Shares from the Forfeiture Restrictions hereunder and under the Plan or the terms and conditions of the Grant, the Shares shall remain subject to the Forfeiture Restrictions until the resolution of such dispute, regardless of any intervening expiration of the Restricted Period, except that any dividends that may be payable to the holders of record of Stock as of a date during the period from termination of Holder's service to the resolution of such dispute (the \"Suspension Period\") shall:"}
-{"idx": 8, "level": 4, "span": "(1) to the extent to which such dividends would have been payable to Holder on the Shares, be held by the Company as part of its general funds, and shall be paid to or for"}
-{"idx": 8, "level": 4, "span": "(2) be canceled upon, and in the event of, a resolution of such dispute in a manner unfavorable to Holder, and then only with respect to such of the Shares as to which such resolution shall be so unfavorable."}
-{"idx": 8, "level": 3, "span": "(g) Upon expiration of the Forfeiture Restrictions, by lapse of time and upon compliance by the Holder, or the legal representative of Holder, with all obligations of Holder under the Plan and this Agreement, the Restricted Shares shall be released from all further restrictions and prohibitions hereunder and all of the forfeiture provisions of the Plan, and the Committee shall thereupon deliver or cause to be delivered to Holder or Holder's legal representative the certificate or certificates for the Shares free of any legend provided in subparagraph (b) of this paragraph."}
-{"idx": 8, "level": 2, "span": "4. Taxes\nAny federal, state or local taxes arising by virtue of this Grant and assessed against or based on the value of the Shares awarded to Holder shall be the sole responsibility of Holder; provided that the Company shall have the right to withhold any amounts required to be so withheld for federal, state or local income tax purposes. Any such taxes and withholding must be paid or provided for according to law and in a manner satisfactory to the Company and as provided in the Plan before any Shares, or certificates therefor, can be delivered to Holder. The Committee may permit payment of any such amount to be made through the tender of cash or Stock, the withholding of Stock out of shares otherwise distributable or any other arrangement satisfactory to the Committee. The Company shall, to the extent permitted by law, have the right to withhold delivery of a stock certificate or to deduct any required taxes from any payment of any kind otherwise due to Holder. If Holder does not pay the entire amount of such taxes to the Company, if any, within thirty (30) days after the date on which the Committee notifies Holder of the amount required to meet the withholding obligation, the Committee shall withhold from the Stock to which Holder is entitled a number of shares having an aggregate fair market value equal to the amount of such taxes remaining to be paid by Holder and shall deliver a certificate for the remaining shares to the Holder. If Holder makes the election authorized by section 83(b) of the Internal Revenue Code, Holder shall submit to the Company a copy of the statement filed by Holder to make such election. The failure of Holder to notify the Company of any such election made by Holder may, in the discretion of the Committee, result in the forfeiture of the Shares."}
-{"idx": 8, "level": 2, "span": "5. Changes in Capital Structure\nIf the outstanding shares of Stock or other securities of the Company, or both, shall at any time be changed or ex-changed by declaration of a stock dividend, stock split, combination of shares, or recapitalization, the number and kind of shares of Stock or other securities subject to the Restricted Shares shall be appro-priately and equitably adjusted in accordance with the terms of the Plan."}
-{"idx": 8, "level": 2, "span": "6. Compliance With Securities Laws\nUpon the acqui-si-tion of any shares pursuant to this Agreement, Holder (or Holder's legal representative upon Holder's death or disability) will enter into such written representations, warranties and agreements as the Company may reasonably request in order to comply with applicable securities laws or with this Agreement."}
-{"idx": 8, "level": 2, "span": "7. Service Relationship\nHolder shall be considered to be in service as a director as long as Holder remains as a director of the Company or an Affiliate. Any questions as to whether and when there has been a termination of such service, and the cause of such termination, shall be determined by the Committee, with the advice of the applicable corporation, and its determination shall be final."}
-{"idx": 8, "level": 2, "span": "8. Binding Effect\nThe provisions of the Plan and the terms and conditions hereof shall, in accordance with their terms, be binding upon, and inure to the benefit of, all successors of Holder, including, without limitation, Holder's estate and the executors, administrators, or trustees thereof, heirs and legatees, and any receiver, trustee in bankruptcy, or representative of creditors of Holder. This Agreement shall be binding upon and inure to the benefit of any successors to the Company."}
-{"idx": 8, "level": 2, "span": "9. Agreement Subject to Plan\nThis Agreement is sub-ject to the Plan. The terms and provisions of the Plan (including any subsequent amend-ments thereto) are hereby incorporated herein by reference thereto. In the event of a conflict between any term or provision contained herein and a term or provision of the Plan, the applicable terms and provisions of the Plan will govern and prevail. All defini-tions of words and terms contained in the Plan shall be applicable to this Agreement."}
-{"idx": 8, "level": 2, "span": "10. Notices\nEvery notice hereunder shall be in writing and shall be given by registered or certified mail. All notices by Holder shall be directed to Allegiance Bancshares, Inc., 8847 W. Sam Houston Parkway N., Suite 200, Houston, Texas 77040, Attention: Secretary. Any notice given by the Company to Holder directed to Holder at the address on file with the Company shall be effective to bind Holder and any other person who shall acquire rights hereunder. The Company shall be under no obligation whatsoever to advise Holder of the existence, maturity or termination of any of Holder's rights hereunder and Holder shall be deemed to have familiarized himself or herself with all matters contained herein and in the Plan which may affect any of Holder's rights or privileges hereunder."}
-{"idx": 8, "level": 2, "span": "11. Resolution of Disputes\nAny dispute or disagreement which may arise hereunder shall be determined by the Committee in its sole discretion and judgment, and any such determination and any interpretation by the Committee of the terms of the Plan or this Restricted Stock Agreement shall be final and shall be binding and conclusive, for all purposes, upon the Company, Holder, and Holder’s heirs, personal representatives and successors."}
-{"idx": 8, "level": 2, "span": "12. Amendment\nAny modification of this Agreement will be effective only if it is in writing and signed by a duly authorized officer of the Company and Holder, except to the extent such modification occurs pursuant to a proper amendment of the Plan."}
-{"idx": 8, "level": 2, "span": "13. Jurisdiction\nThe provisions of the Plan and the terms and conditions hereof shall be construed in accordance with the laws of Texas except to the extent pre-empted by Federal law."}
-{"idx": 8, "level": 1, "span": "ALLEGIANCE BANCSHARES, INC.\nBy:\nName:\nTitle:"}
-{"idx": 8, "level": 1, "span": "Holder"}
-{"idx": 9, "level": 1, "span": "CSW INDUSTRIALS, INC."}
-{"idx": 9, "level": 0, "span": "Performance Share Award Agreement\n(c)Notwithstanding anything contained in this Award Agreement to the contrary, the Performance Shares awarded pursuant to this Award Agreement shall automatically vest as provided in Exhibit A hereto and become issuable as provided in Section 3 below upon the occurrence of any of the following events: (i) a Change in Control, (ii) the Participant’s termination of service from the Company and all Subsidiaries due to his or her Disability or (iii) the Participant’s termination of service from the Company and all Subsidiaries due to his or her death. Additionally, notwithstanding anything contained in this Award Agreement to the contrary, the forfeiture and cancellation of the Performance Shares awarded pursuant to this Award Agreement are subject to the terms and provisions of the Company’s Executive Change in Control and Severance Benefit Plan, dated December 9, 2016, as it may be amended from time to time. “Disability” means the Participant’s inability to engage in any substantial gainful activity by reason of any medically determinable physical or mental impairment which can be expected to result in death or which has lasted or can be expected to last for a continuo us period of not less than twelve (12) months.\n3. Issuance of Certificates\nSubject to prior compliance with Section 7 below, the Company will issue the certificate(s) for the equivalent number of Common Shares for all, or the portion, of the Performance Shares awarded to the Participant pursuant to this Award Agreement that have become vested pursuant to Section 2 above as soon as administratively feasible after the end of the Performance Period following written certification by the Committee of the vesting of such Performance Shares and the number of Common Shares that are issuable and no later than the December 31st of the year following the year in which that Performance Period ends in order to ensure that this Performance Share Award and the Plan complies with the specified time of payment requirement of Section 409A(a)(2)(A)(iv) of the Code and Treas. Reg. §§1.409A-3(a)(4) and (d). If, at the time of a Participant’s separation from service (within the meaning of Section 409A of the Code) due to his or her Disability, (i) the Participant is a “specified employee” (within the meaning of Section 409A of the Code and using the identification methodology selected by the Company from time to time) and (ii) the Company makes a good faith determination that the issuance of Common Shares hereunder constitutes deferred compensation (within the meaning of Section 409A of the Code) the payment of which is required to be delayed pursuant to the six-month delay rule set forth in Section 409A of the Code in order to avoid taxes or penalties under Section 409A of the Code, then the Company shall not issue the Common Shares before the fifth business day of the seventh month after such separation from service.\n4. Restrictions on Transfer\nNeither the Performance Shares awarded pursuant to this Award Agreement nor the right to the Common Shares, if any, which may become issuable pursuant to this Performance Share Award may be (i) sold, assigned, transferred, pledged or otherwise encumbered during the Performance Period or (ii) assignable by operation of law or subject to execution, attachment or similar process. Any attempted sale, assignment, transfer, pledge or other disposition of, and the levy of any execution, attachment or similar process upon, the Performance Shares and/or the Common Shares, if any, which may become issuable pursuant to this Performance Share Award contrary to the provisions of this Award Agreement or the Plan shall be null and void and without force or effect.\n5. Dividends and Other Distributions\nThe Participant shall be entitled to receive credits (“Dividend Equivalents”) based upon the cash dividends or cash distributions that would have been declared and paid with respect to the Performance Shares as if the equivalent number of Common Shares were held by the Participant. Dividend Equivalents shall be deemed to be reinvested in additional Common Shares (which may thereafter accrue additional Dividend Equivalents). Any such reinvestment shall be at the Fair Market Value of the Common Shares on the date of such reinvestment. The Participant shall also have the right to accrue Dividend Equivalents based upon the stock dividends or stock distributions that would have been declared and paid with respect to the Performance Shares as if the equivalent number of Common Shares were held by the Participant. With respect to any unvested Performance Shares, all Dividend Equivalents or distributions shall likewise vest in the same manner as the Performance Shares as to which such Dividend Equivalents or distributions relate. In the event any Performance Shares do not vest pursuant to Section 2 above, the Participant shall forfeit his or her right to any Dividend Equivalents accrued with respect to such unvested and forfeited Performance Shares.\n6. No Shareholder Rights\nThe Performance Shares awarded pursuant to this Award Agreement do not and shall not entitle the Participant to any rights of a shareholder of the Company prior to the date Common Shares are issued to the Participant pursuant to Section 3 above.\n7. Withholding\nTo the extent that the Company is required to withhold Federal, state or other taxes in connection with the vesting of all or any portion of the Performance Shares and the issuance of an equivalent number of Common Shares, and the amounts available to the Company are insufficient for such withholding, it shall be a condition to the obligation of the Company to make any delivery Common Shares to the Participant that the Participant make arrangements satisfactory to the Company for payment of the balance of such taxes required to be withheld.\n8. Notices\nAny notice required to be given pursuant to this Award Agreement or the Plan shall be in writing and shall be deemed to be delivered upon receipt or, in the case of notices by the Company,\nfive (5) days after deposit in the U.S. mail, postage prepaid, addressed to the Participant at the address last provided for his or her employee records.\n9. Award Agreement Subject to Plan\nThis Award Agreement is made pursuant to the Plan and shall be interpreted to comply therewith. Any provision of this Award Agreement inconsistent with the Plan shall be considered void and replaced with the applicable provision of the Plan.\n10. Entire Agreement\nThis Award Agreement, together with the Plan, embodies the entire agreement and understanding between the parties hereto with respect to the subject matter hereof and supersedes all prior oral or written agreements and understandings relating to the subject matter hereof. No statement, representation, warranty, covenant or agreement not expressly set forth in this Award Agreement shall affect or be used to interpret, change or restrict the express terms and provisions of this Award Agreement, provided, however, in any event, this Award Agreement shall be subject to and governed by the Plan.\n11. Severability\nIn the event that one or more of the provisions of this Award Agreement shall be invalidated for any reason by a court of competent jurisdiction, any provision so invalidated shall be deemed to be separable from the other provisions hereof, and the remaining provisions hereof shall continue to be valid and fully enforceable.\n12. Electronic Delivery\nThe Company may, in its sole discretion, deliver any documents related to the Performance Shares and the Participant’s participation in the Plan, or future awards that may be granted under the Plan, by electronic means or request the Participant’s consent to participate in the Plan by electronic means. The Participant hereby consents to receive such documents by electronic delivery and, if requested, agrees to participate in the Plan through an on-line or electronic system established and maintained by the Company or another third party designated by the Company.\n13. Counterparts\nThis Award Agreement may be executed in one or more counterparts, each of which shall be deemed to be an original but all of which together will constitute one and the same agreement.\nIN WITNESS WHEREOF, the parties hereto have executed this Award Agreement as of the date first above written."}
-{"idx": 9, "level": 1, "span": "COMPANY\n:"}
-{"idx": 9, "level": 1, "span": "CSW INDUSTRIALS, INC.\nBy: Joseph B. Armes"}
-{"idx": 9, "level": 1, "span": "Chief Executive Officer"}
-{"idx": 9, "level": 1, "span": "PARTICIPANT\n:"}
-{"idx": 9, "level": 2, "span": "3. Issuance of Certificates"}
-{"idx": 9, "level": 2, "span": "4. Restrictions on Transfer"}
-{"idx": 9, "level": 2, "span": "5. Dividends and Other Distributions"}
-{"idx": 9, "level": 2, "span": "6. No Shareholder Rights"}
-{"idx": 9, "level": 2, "span": "7. Withholding"}
-{"idx": 9, "level": 2, "span": "8. Notices"}
-{"idx": 9, "level": 2, "span": "9. Award Agreement Subject to Plan"}
-{"idx": 9, "level": 2, "span": "10. Entire Agreement"}
-{"idx": 9, "level": 2, "span": "11. Severability"}
-{"idx": 9, "level": 2, "span": "12. Electronic Delivery"}
-{"idx": 9, "level": 2, "span": "13. Counterparts"}
-{"idx": 10, "level": 1, "span": "MYLAN N.V."}
-{"idx": 10, "level": 1, "span": "AMENDMENT TO"}
-{"idx": 10, "level": 0, "span": "AMENDED AND RESTATED 2003 LONG-TERM INCENTIVE PLAN\nThis Amendment (the “Amendment”) to the Mylan N.V. Amended and Restated 2003 Long-Term Incentive Plan (the “Plan”) is adopted as of the 23rd day of February, 2017 (the “Amendment Effective Date”) by Mylan N.V., a public limited liability company (naamloze vennootschap) incorporated under the laws of the Netherlands (the “Company”). The Company hereby amends the Plan as follows:\n1.Section 6.03(e)(iii) is hereby deleted and replaced with the following:"}
-{"idx": 10, "level": 1, "span": "Retirement.\n(A) With respect to Options and Stock Appreciation Rights granted prior to the Amendment Effective Date, unless otherwise provided in an Award Agreement, if a Participant’s employment by the Company or its Subsidiaries shall terminate because of Retirement, any Option and Stock Appreciation Right then held by the Participant, regardless of whether it was otherwise exercisable on the date of Retirement, may be exercised by the Participant at any time, or from time to time, during the balance of the exercise period as set forth in Section 6.03(b)(iii). If such a Participant dies after Retirement but before such Participant’s Options have either been exercised or otherwise expired, such Options may be exercised by the person to whom such Options pass by will or applicable law or, if no person has that right, by the Participant’s executors or administrators at any time, or from time to time, during the balance of the exercise period set forth in Section 6.03(b)(iii).\n(B) With respect to Options and Stock Appreciation Rights granted on or after the Amendment Effective Date, notwithstanding anything in this Article VI to the contrary, the Committee may, in its sole discretion, waive the forfeiture period and any other conditions set forth in any Award Agreement under appropriate circumstances (including the death, Permanent Disability or Retirement of the Participant or a material change in circumstances arising after the date of an Award) and subject to such terms and conditions (including forfeiture of a proportionate number of the Options and Stock Appreciation Rights) as the Committee shall deem appropriate provided that such waiver is done in a manner intended to comply with Section 409A of the Code.\n2. The clause “the minimum amount of any withholding or other tax required by law to be withheld” in the first sentence of Section 11.05 shall be deleted and replaced with the clause “up to the maximum amount of any withholding or other tax permitted by law to be withheld” and the clause “the minimum amount of any taxes required to be withheld” in clause (ii) of the final sentence of Section 11.05 shall be deleted and replaced with the clause “an amount equal to the withholding taxes due”.\nAll other provisions of the Plan, as amended by the foregoing, shall remain in full force and effect notwithstanding the adoption of this Amendment."}
-{"idx": 10, "level": 4, "span": "(A) With respect to Options and Stock Appreciation Rights granted prior to the Amendment Effective Date, unless otherwise provided in an Award Agreement, if a Participant’s employment by the Company or its Subsidiaries shall terminate because of Retirement, any Option and Stock Appreciation Right then held by the Participant, regardless of whether it was otherwise exercisable on the date of Retirement, may be exercised by the Participant at any time, or from time to time, during the balance of the exercise period as set forth in Section 6.03(b)(iii)\nIf such a Participant dies after Retirement but before such Participant’s Options have either been exercised or otherwise expired, such Options may be exercised by the person to whom such Options pass by will or applicable law or, if no person has that right, by the Participant’s executors or administrators at any time, or from time to time, during the balance of the exercise period set forth in Section 6.03(b)(iii)."}
-{"idx": 10, "level": 4, "span": "(B) With respect to Options and Stock Appreciation Rights granted on or after the Amendment Effective Date, notwithstanding anything in this Article VI to the contrary, the Committee may, in its sole discretion, waive the forfeiture period and any other conditions set forth in any Award Agreement under appropriate circumstances (including the death, Permanent Disability or Retirement of the Participant or a material change in circumstances arising after the date of an Award) and subject to such terms and conditions (including forfeiture of a proportionate number of the Options and Stock Appreciation Rights) as the Committee shall deem appropriate provided that such waiver is done in a manner intended to comply with Section 409A of the Code."}
-{"idx": 10, "level": 2, "span": "2. The clause “the minimum amount of any withholding or other tax required by law to be withheld” in the first sentence of Section 11.05 shall be deleted and replaced with the clause “up to the maximum amount of any withholding or other tax permitted by law to be withheld” and the clause “the minimum amount of any taxes required to be withheld” in clause (ii) of the final sentence of Section 11.05 shall be deleted and replaced with the clause “an amount equal to the withholding taxes due”."}
-{"idx": 11, "level": 0, "span": "AMENDMENT NO. 11 TO CREDIT AGREEMENT\nThis Amendment No. 11 to Credit Agreement (this “Agreement”) dated as of March 15, 2017 (the “Effective Date”), is among Extraction Oil & Gas, Inc., a Delaware corporation (the “Borrower”), 7N, LLC, a Delaware limited liability company, 8 North, LLC, a Delaware limited liability company, Bison Exploration, LLC, a Delaware limited liability company, Elevation Midstream, LLC, a Delaware limited liability company, Extraction Finance Corp., a Delaware corporation, Mountaintop Minerals, LLC, a Delaware limited liability company, XOG Services, LLC, a Delaware limited liability company, XOG Services, Inc., a Colorado corporation, and XTR Midstream, LLC, a Delaware limited liability company (“XTR”; and together with the other entities listed subsequent to the Borrower above, collectively, the “Guarantors”), the undersigned Lenders (as defined below), and Wells Fargo Bank, National Association, as Administrative Agent for the Lenders (in such capacity, the “Administrative Agent”) and as Issuing Lender (the “Issuing Lender”)."}
-{"idx": 11, "level": 1, "span": "INTRODUCTION\nA. The Borrower, the financial institutions party thereto as lenders (the “Lenders”), the Issuing Lender, and the Administrative Agent have entered into the Credit Agreement dated as of September 4, 2014, as amended by the Amendment No. 1 dated as of September 24, 2014, the Amendment No. 2 and Joinder dated as of November 10, 2014, the Amendment No. 3 dated as of December 30, 2014, the Waiver dated as of February 12, 2015, the Consent Agreement dated as of February 27, 2015, the Consent Agreement dated as of March 25, 2015, the Waiver dated as of April 28, 2015, the Amendment No. 4 and Joinder dated as of May 27, 2015, the Amendment No. 5 dated as of September 1, 2015, the Amendment No. 6 dated as of September 10, 2015, the Amendment No. 7 and Joinder dated as of December 15, 2015, the Amendment No. 8 and Joinder dated as of June 13, 2016, the Amendment No. 9 dated as of August 12, 2016, and the Consent, Amendment No. 10 and Joinder dated September 14, 2016 (as so amended and modified and as may be otherwise amended, restated, or modified from time to time, the “Credit Agreement”).\nB. The Guarantors have entered into the Guaranty Agreement dated as of September 4, 2014 (as amended, restated, supplemented or otherwise modified from time to time, the “Guaranty”) in favor of the Administrative Agent for the benefit of the Secured Parties (as defined in the Credit Agreement).\nC. XTR desires to contribute cash and certain midstream assets in exchange for approximately 15% of the Equity Interest (as defined in the Credit Agreement) of Platte River Holdings LLC, a Delaware limited liability company (“PRH”), pursuant to that certain Contribution Agreement to be entered into on or about the Effective Date, among ARB Platte River, LLC, a Colorado limited liability company (“ARB”), XTR and PRH (the “Proposed Contribution”).\nD. Contemporaneously with the Proposed Contribution, (i) ARB and XTR will enter into that certain First Amended and Restated Limited Liability Company Agreement of PRH to be entered into on or about the Effective Date and (ii) Platte River Midstream, LLC, a Delaware\nlimited liability company and wholly-owned subsidiary of PRH (“PRM”), and the Borrower will enter into that certain First Amended and Restated Transportation Services Agreement to be entered into on or about the Effective Date, pursuant to which the Borrower will agree to ship or pay to ship certain committed volumes of hydrocarbons on midstream infrastructure owned and operated by PRM (the “Proposed Shipping Arrangement”).\nE. The Borrower has requested that the Lenders and the Administrative Agent, and the Administrative Agent and the Lenders have agreed, subject to the terms and conditions hereof, amend the Credit Agreement as set forth herein to permit each of the Proposed Contribution and the Proposed Shipping Arrangement.\nTHEREFORE, in fulfillment of the foregoing, the Borrower, the Guarantors, the Administrative Agent, the Issuing Lender, and the undersigned Lenders hereby agree as follows:\nSection 1. Definitions; References. Unless otherwise defined in this Agreement, each term used in this Agreement which is defined in the Credit Agreement has the meaning assigned to such term in the Credit Agreement, as amended hereby.\nSection 2. Amendments to Credit Agreement. Upon the satisfaction of the conditions specified in Section 6 of this Agreement, and effective as of the date set forth above, the Credit Agreement is amended as follows:\n(a) Section 1.1 of the Credit Agreement (Certain Defined Terms) is amended to add the following defined terms in alphabetical order:\n(1) “Amendment No. 11” means that certain Amendment No. 11 to Credit Agreement dated as of March 15, 2017, among the Loan Parties, the Administrative Agent, the Issuing Lender, and the Lenders party thereto.\n\t\t\n(2) “Amendment No. 11 Effective Date” means March 15, 2017.\n\t\t\n(3) “PRH” means Platte River Holdings LLC, a Delaware limited liability company.\n\t\t\n(4) “PRM” means Platte River Midstream, LLC, a Delaware limited liability company, and a wholly-owned subsidiary of PRH.\n\t\t\n(5) “PRH Contribution Agreement” means that certain Contribution Agreement among ARB Platte River, LLC, a Colorado limited liability company, XTR and PRH, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No. 11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders.\n\t\t\n(6) “PRH LLC Agreement” means that certain First Amended and Restated Limited Liability Company Agreement of PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No. 11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders, and as such agreement may be amended from time to time in a manner not materially adverse to the Lenders.\n\t\t\n(7) “PRM Transportation Agreement” means that certain First Amended and Restated Transportation Services Agreement, between Borrower and PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No. 11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders.\n\t\t\n(b) Section 1.1 of the Credit Agreement (Certain Defined Terms) is further amended by replacing the defined term “Approved Transportation Agreements” in its entirety with the following:"}
-{"idx": 11, "level": 1, "span": "“Approved Transportation Agreements” means the Grand Mesa Agreements, the Tallgrass Letter Agreement, the PRM Transportation Agreement and such other transportation services agreements as may be approved by the Majority Lenders in writing, in each case, together with such changes thereto as may be approved by the Administrative Agent.\n(c) Section 6.3 of the Credit Agreement (Investments) is amended by deleting the “and” at the end of clause (f) thereof and replacing clause (g) thereof with the following clause (g) and new clause (h):"}
-{"idx": 11, "level": 3, "span": "(c) Section 6.3 of the Credit Agreement (Investments) is amended by deleting the “and” at the end of clause (f) thereof and replacing clause (g) thereof with the following clause (g) and new clause (h):"}
-{"idx": 11, "level": 3, "span": "(g) the investment made by XTR in PRH pursuant to the PRH Contribution Agreement and the PRH LLC Agreement so long as (i) the aggregate amount of cash contributed by XTR to PRH pursuant thereto does not exceed $5,000,000 and (ii) the amount of cash and the fair market value of the assets contributed by XTR to PRH pursuant thereto does not exceed $10,000,000 in the aggregate; and"}
-{"idx": 11, "level": 3, "span": "(h) other investments in an aggregate amount not to exceed $5,000,000.\n(d) Section 6.8 of the Credit Agreement (Sale of Assets) is amended by replacing clause (h) thereof in its entirety with the following:"}
-{"idx": 11, "level": 3, "span": "(d) Section 6.8 of the Credit Agreement (Sale of Assets) is amended by replacing clause (h) thereof in its entirety with the following:"}
-{"idx": 11, "level": 3, "span": "(h) (i) Permitted Investments of the type described in Section 6.3(g) and (ii) other Asset Sales of Property not constituting Oil and Gas Properties and not otherwise permitted by this Section 6.8, the aggregate consideration of which shall not exceed $5,000,000 during the term of this Agreement; and\n(e) Article 6 of the Credit Agreement (Negative Covenants) is further amended by adding the following new Section 6.27 to the end thereof:"}
-{"idx": 11, "level": 3, "span": "(e) Article 6 of the Credit Agreement (Negative Covenants) is further amended by adding the following new Section 6.27 to the end thereof:"}
-{"idx": 11, "level": 2, "span": "6.27 PRH and PRM. Notwithstanding anything to the contrary contained herein, no Loan Party shall, nor shall it permit any of its Subsidiaries to, create, assume, incur or suffer to exist any Lien on or in respect of any of its Property for the benefit of PRH or PRM.\nSection 3. Reaffirmation of Liens.\n(a) Each of the Borrower and each Guarantor (i) is party to certain Security Documents securing and supporting the Borrower's and Guarantors’ obligations under the Loan\nDocuments, (ii) represents and warrants that it has no defenses to the enforcement of the Security Documents and that according to their terms the Security Documents will continue in full force and effect to secure the Borrower’s and Guarantors’ obligations under the Loan Documents, as the same may be amended, supplemented, or otherwise modified, and (iii) acknowledges, represents, and warrants that the liens and security interests created by the Security Documents are valid and subsisting and create a first and prior Lien (subject only to Permitted Liens) in the Collateral to secure the Secured Obligations.\n(b) The delivery of this Agreement does not indicate or establish a requirement that any Loan Document requires any Guarantor's approval of amendments to the Credit Agreement.\nSection 4. Reaffirmation of Guaranty. Each Guarantor hereby ratifies, confirms, and acknowledges that its obligations under the Guaranty and the other Loan Documents are in full force and effect and that such Guarantor continues to unconditionally and irrevocably guarantee the full and punctual payment, when due, whether at stated maturity or earlier by acceleration or otherwise, of all of the Guaranteed Obligations (as defined in the Guaranty), as such Guaranteed Obligations may have been amended by this Agreement. Each Guarantor hereby acknowledges that its execution and delivery of this Agreement does not indicate or establish an approval or consent requirement by such Guarantor under the Credit Agreement in connection with the execution and delivery of amendments, modifications or waivers to the Credit Agreement, the Notes or any of the other Loan Documents.\nSection 5. Representations and Warranties. Each of the Borrower and each Guarantor represents and warrants to the Administrative Agent and the Lenders that:\n(a) the representations and warranties set forth in the Credit Agreement and in the other Loan Documents are true and correct in all material respects as of the date of this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document;\n(b) (i) the execution, delivery, and performance of this Agreement are within the corporate, limited partnership or limited liability company power, as appropriate, and authority of the Borrower and Guarantors and have been duly authorized by appropriate proceedings and (ii) this Agreement constitutes a legal, valid, and binding obligation of the Borrower and Guarantors, enforceable against the Borrower and Guarantors in accordance with its terms, except as limited by applicable bankruptcy, insolvency, reorganization, moratorium, or similar laws affecting the rights of creditors generally and general principles of equity; and\n(c) as of the effectiveness of this Agreement and after giving effect thereto, no Default or Event of Default has occurred and is continuing.\nSection 6. Effectiveness. This Agreement shall become effective as of the date hereof upon the occurrence of all of the following:\n(a) Documentation. The Administrative Agent shall have received this Agreement, duly and validly executed by the Borrower, the Guarantors, the Administrative Agent, the Issuing Bank and the Majority Lenders, in form and substance reasonably satisfactory to the Administrative Agent and the Majority Lenders;\n(b) Representations and Warranties. The representations and warranties in this Agreement being true and correct in all material respects before and after giving effect to this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document.\n(c) No Default or Event of Default. There being no Default or Event of Default which has occurred and is continuing.\n(d) Expenses. The Borrower’s having paid all costs, expenses, and fees which have been invoiced and are payable pursuant to Section 9.1 of the Credit Agreement or any other agreement.\nSection 7. Post-Closing Obligations. On or before 5:00 p.m. (Houston, Texas time) on the effective date of the Proposed Contribution, the Borrower shall deliver to the Administrative Agent certified, fully executed, correct and complete copies of the PRH Contribution Agreement, the PRH LLC Agreement, and the PRM Transportation Agreement, in each case, as in effect on the Effective Date. The Borrower's failure to satisfy the obligations set forth in this Section 7 shall constitute an immediate Event of Default under this Agreement and the Credit Agreement.\nSection 8. Effect on Loan Documents. Except as amended herein, the Credit Agreement and the Loan Documents remain in full force and effect as originally executed and are hereby ratified and confirmed, and nothing herein shall act as a waiver of any of the Administrative Agent's or Lenders' rights under the Loan Documents. This Agreement is a Loan Document for the purposes of the provisions of the other Loan Documents. Without limiting the foregoing, any breach of representations, warranties, and covenants under this Agreement is a Default or Event of Default under other Loan Documents.\nSection 9. Choice of Law. This Agreement shall be governed by and construed and enforced in accordance with the laws of the State of New York without regard to conflicts of laws principles (other than Sections 5-1401 and 5-1402 of the General Obligations Law of the State of New York).\nSection 10. Counterparts. This Agreement may be signed in any number of counterparts, each of which shall be an original."}
-{"idx": 11, "level": 4, "span": "THIS WRITTEN AGREEMENT AND THE LOAN DOCUMENTS, AS DEFINED IN THE CREDIT AGREEMENT, REPRESENT THE FINAL AGREEMENT AMONG THE PARTIES AND MAY NOT BE CONTRADICTED BY EVIDENCE OF PRIOR, CONTEMPORANEOUS, OR SUBSEQUENT ORAL AGREEMENTS"}
-{"idx": 11, "level": 4, "span": "OF THE PARTIES. THERE ARE NO UNWRITTEN ORAL AGREEMENTS BETWEEN THE PARTIES."}
-{"idx": 11, "level": 3, "span": "(a) Each of the Borrower and each Guarantor (i) is party to certain Security Documents securing and supporting the Borrower's and Guarantors’ obligations under the Loan"}
-{"idx": 11, "level": 3, "span": "(b) The delivery of this Agreement does not indicate or establish a requirement that any Loan Document requires any Guarantor's approval of amendments to the Credit Agreement."}
-{"idx": 11, "level": 3, "span": "(a) the representations and warranties set forth in the Credit Agreement and in the other Loan Documents are true and correct in all material respects as of the date of this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document;"}
-{"idx": 11, "level": 3, "span": "(b) (i) the execution, delivery, and performance of this Agreement are within the corporate, limited partnership or limited liability company power, as appropriate, and authority of the Borrower and Guarantors and have been duly authorized by appropriate proceedings and (ii) this Agreement constitutes a legal, valid, and binding obligation of the Borrower and Guarantors, enforceable against the Borrower and Guarantors in accordance with its terms, except as limited by applicable bankruptcy, insolvency, reorganization, moratorium, or similar laws affecting the rights of creditors generally and general principles of equity; and"}
-{"idx": 11, "level": 3, "span": "(c) as of the effectiveness of this Agreement and after giving effect thereto, no Default or Event of Default has occurred and is continuing."}
-{"idx": 11, "level": 3, "span": "(a) Documentation\nThe Administrative Agent shall have received this Agreement, duly and validly executed by the Borrower, the Guarantors, the Administrative Agent, the Issuing Bank and the Majority Lenders, in form and substance reasonably satisfactory to the Administrative Agent and the Majority Lenders;"}
-{"idx": 11, "level": 3, "span": "(b) Representations and Warranties\nThe representations and warranties in this Agreement being true and correct in all material respects before and after giving effect to this Agreement (except to the extent such representations and warranties relate to an earlier date, in which case such representations and warranties shall be true and correct in all material respects as of such earlier date); provided that such materiality qualifier shall not apply if such representation or warranty is already subject to a materiality qualifier in the Credit Agreement or such other Loan Document."}
-{"idx": 11, "level": 3, "span": "(c) No Default or Event of Default\nThere being no Default or Event of Default which has occurred and is continuing."}
-{"idx": 11, "level": 3, "span": "(d) Expenses\nThe Borrower’s having paid all costs, expenses, and fees which have been invoiced and are payable pursuant to Section 9.1 of the Credit Agreement or any other agreement."}
-{"idx": 11, "level": 3, "span": "(a) Section 1.1 of the Credit Agreement (Certain Defined Terms) is amended to add the following defined terms in alphabetical order:"}
-{"idx": 11, "level": 4, "span": "(1) “Amendment No\n11” means that certain Amendment No. 11 to Credit Agreement dated as of March 15, 2017, among the Loan Parties, the Administrative Agent, the Issuing Lender, and the Lenders party thereto."}
-{"idx": 11, "level": 4, "span": "(2) “Amendment No\n11 Effective Date” means March 15, 2017."}
-{"idx": 11, "level": 4, "span": "(3) “PRH” means Platte River Holdings LLC, a Delaware limited liability company"}
-{"idx": 11, "level": 4, "span": "(4) “PRM” means Platte River Midstream, LLC, a Delaware limited liability company, and a wholly-owned subsidiary of PRH"}
-{"idx": 11, "level": 4, "span": "(5) “PRH Contribution Agreement” means that certain Contribution Agreement among ARB Platte River, LLC, a Colorado limited liability company, XTR and PRH, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No\n11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders."}
-{"idx": 11, "level": 4, "span": "(6) “PRH LLC Agreement” means that certain First Amended and Restated Limited Liability Company Agreement of PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No\n11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders, and as such agreement may be amended from time to time in a manner not materially adverse to the Lenders."}
-{"idx": 11, "level": 4, "span": "(7) “PRM Transportation Agreement” means that certain First Amended and Restated Transportation Services Agreement, between Borrower and PRM, substantially in the form delivered to the Administrative Agent on or prior to the Amendment No\n11 Effective Date, with such changes and modifications that are not materially adverse to the Lenders."}
-{"idx": 11, "level": 3, "span": "(b) Section 1.1 of the Credit Agreement (Certain Defined Terms) is further amended by replacing the defined term “Approved Transportation Agreements” in its entirety with the following:"}
-{"idx": 12, "level": 1, "span": "EXECUTION VERSION"}
-{"idx": 12, "level": 1, "span": "NINTH RESTATED AND AMENDED CREDIT AGREEMENT\nDated as of April 15, 2016\namong\nTRITON CONTAINER INTERNATIONAL LIMITED, \nas the Borrower,\nVarious Lenders,\nMUFG UNION BANK, N.A., as \nas Syndication Agent,\nWELLS FARGO BANK, N.A. AND SUNTRUST BANK, \nas Co-Documentation Agents,\nand\nBANK OF AMERICA, N.A., \nas Administrative Agent and an Issuer\nMERRILL LYNCH, PIERCE, FENNER & SMITH INCORPORATED, \nSUNTRUST ROBINSON HUMPHREY, INC., \nMUFG UNION BANK, N.A. AND \nWELLS FARGO BANK, N.A., \nJoint Lead Arrangers\nMERRILL LYNCH, PIERCE, FENNER & SMITH INCORPORATED \nAND \nMUFG UNION BANK, N.A.,\nJoint Book Runners"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "(continued)"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "(continued)"}
-{"idx": 12, "level": 1, "span": "TABLE OF CONTENTS"}
-{"idx": 12, "level": 1, "span": "(continued)"}
-{"idx": 12, "level": 0, "span": "NINTH RESTATED AND AMENDED CREDIT AGREEMENT\nTHIS NINTH RESTATED AND AMENDED CREDIT AGREEMENT dated as of April 15, 2016 is among TRITON CONTAINER INTERNATIONAL LIMITED, a Bermuda company (the “Borrower”), each lender from time to time party hereto (each a “Lender” and collectively the “Lenders”), and BANK OF AMERICA, N.A., as administrative agent and an Issuer."}
-{"idx": 12, "level": 1, "span": "W I T N E S S E T H:\nWHEREAS, the Borrower is engaged in the owning and leasing of marine cargo containers and activities incidental thereto;\nWHEREAS, the Borrower, various financial institutions and Bank of America, N.A., as administrative agent, entered into the Restated and Amended Credit Agreement dated as of December 29, 1989, as amended and restated by the Second Restated and Amended Credit Agreement dated as of June 24, 1994, as amended and restated by the Third Restated and Amended Credit Agreement dated as of June 27, 1997, as amended and restated by the Fourth Restated and Amended Credit Agreement dated as of July 7, 2000, as amended and restated by the Fifth Restated and Amended Credit Agreement dated as of July 3, 2003, as amended and restated by the Sixth Restated and Amended Credit Agreement dated as of March 30, 2005, as amended and restated by the Seventh Restated and Amended Credit Agreement dated as of November 9, 2009, and as amended and restated by the Eighth Restated and Amended Credit Agreement dated as of November 4, 2011 (as amended or otherwise modified prior to the date hereof, the “Existing Credit Agreement”);\nWHEREAS, the Borrower, the Lenders and the Administrative Agent desire to amend the Existing Credit Agreement in certain respects and to restate the Existing Credit Agreement as so amended; and\nWHEREAS, the proceeds of Loans made and Letters of Credit issued under and pursuant to this Agreement will be used for the purchase of Container Equipment and for general corporate and working capital purposes of the Borrower;\nNOW, THEREFORE, in consideration of the mutual agreements herein contained, the parties hereto agree as follows:"}
-{"idx": 12, "level": 2, "span": "SECTION 1.DEFINITIONS AND ACCOUNTING TERMS.\n1.1 Definitions. In addition to terms defined elsewhere in this Agreement, the following terms shall have the meanings indicated for purposes of this Agreement:\n“Administrative Agent” means Bank of America in its capacity as administrative agent under any of the Loan Documents, or any successor administrative agent.\n“Administrative Agent’s Office” means the office of the Administrative Agent specified as the “Administrative Agent’s Office” on Schedule 10.2.\n“Administrative Questionnaire” means an administrative questionnaire in a form supplied by the Administrative Agent.\n“Affected Lender” - see Section 7.7.\n“Affiliate” means, with respect to any Person, any other Person that directly, or indirectly through one or more intermediaries, Controls or is Controlled by or is under common Control with the Person specified.\n“Affiliated Entities” means Affiliates of the Borrower that are engaged in the secondary sale and/or leasing of Container Equipment.\n“Aggregate Commitment Amount” means $300,000,000, as such amount may be reduced from time to time pursuant to Section 6.3 or increased from time to time pursuant to Section 6.7.\n“Agreement” means this Ninth Restated and Amended Credit Agreement.\n“Alternate Base Rate” means, on any date and with respect to all Alternate Base Rate Loans, a fluctuating rate of interest per annum equal to the highest of (a) the rate of interest then most recently announced by Bank of America as its “prime rate”, (b) the Federal Funds Rate most recently determined by the Administrative Agent plus 0.5% and (c) the Eurodollar Rate that would be in effect for an Interest Period of one month commencing on such date plus 1.0%. The Alternate Base Rate is not necessarily intended to be the lowest rate of interest determined by Bank of America in connection with extensions of credit. Changes in the rate of interest on that portion of the Loans maintained as Alternate Base Rate Loans will take effect simultaneously with each change in the Alternate Base Rate. The Administrative Agent will give notice promptly to the Borrower and the Lenders of changes in the Alternate Base Rate.\n“Alternate Base Rate Loan” means any Loan or portion thereof during any period in which it bears interest at a rate determined with reference to the Alternate Base Rate.\n“Alternate Base Rate Margin” - see Schedule 1.1(a).\n“Approved Fund” means any Fund that is administered or managed by (a) a Lender, (b) an Affiliate of a Lender or (c) an entity or an Affiliate of an entity that administers or manages a Lender.\n“Assignment and Assumption” means an assignment and assumption entered into by a Lender and an Eligible Assignee (with the consent of any party whose consent is required by Section 15.8(a)), and accepted by the Administrative Agent, in substantially the form of Exhibit F or any\nother form (including electronic documentation generated by use of an electronic platform) approved by the Administrative Agent.\n“Audited Financial Statements” means the audited consolidated balance sheet of the Borrower and its Subsidiaries as of December 31, 2015 and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the fiscal year ended December 31, 2015, including the notes thereto.\n“Authorized Signatory” means any officer, employee or agent of the Borrower designated by the Borrower from time to time in a schedule in the form set forth as Exhibit A. Each schedule shall be effective when received by the Administrative Agent. Any designation of an agent as an Authorized Signatory shall be accompanied by such resolutions, opinions of counsel and/or powers of attorney as the Administrative Agent or the Majority Lenders may request to substantiate the authority of such designee, and the agent so designated shall be an officer of TCII at all times that such designation shall be in effect. Any document delivered hereunder that is signed by an Authorized Signatory of the Borrower shall be conclusively presumed to have been authorized by all necessary action on the part of the Borrower and such Authorized Signatory shall be conclusively presumed to have acted on behalf of the Borrower.\n“Bail-In Action” means the exercise of any Write-Down and Conversion Powers by the applicable EEA Resolution Authority in respect of any liability of an EEA Financial Institution.\n“Bail-In Legislation” means, with respect to any EEA Member Country implementing Article 55 of Directive 2014/59/EU of the European Parliament and of the Council of the European Union, the implementing law for such EEA Member Country from time to time which is described in the EU Bail-In Legislation Schedule.\n“Bank of America” means Bank of America, N.A.\n“Book Value” means, with respect to Casualty Receivables at any time of determination, the book value thereof at such time as determined in accordance with GAAP consistently applied.\n“Borrower” - see the preamble.\n“Borrowing” means Loans of the same Type made, converted or continued by all Lenders on the same Business Day (and, in the case of Eurodollar Rate Loans, having the same Interest Period) and pursuant to the same Loan Request in accordance with Section 2.4 or 2.5.\n“Borrowing Base” - see Section 6.6.\n“Borrowing Base Certificate” means a certificate substantially in the form of Exhibit C.\n“Business Day” means any day other than a Saturday, Sunday or other day on which commercial banks are authorized to close under the laws of, or are in fact closed in, the state where the Administrative Agent’s Office is located and, with respect to Eurodollar Rate Loans, means any such day on which dealings in Dollar deposits are conducted by banks in the London interbank eurodollar market.\n“Capitalized Lease” means any lease obligation for Rentals which is required to be capitalized on the balance sheet of the lessee in accordance with GAAP.\n“Capitalized Rentals” means, as of the date of any determination thereof, the amount at which the aggregate Rentals due and to become due under all Capitalized Leases under which the Borrower or any Restricted Subsidiary is a lessee would be reflected as a liability on a consolidated balance sheet of the Borrower and its Restricted Subsidiaries.\n“Cash Collateralize” means to pledge and deposit with or deliver to the Administrative Agent, for the benefit of the Issuers and Lenders, as collateral for the Letter of Credit Outstandings, cash or deposit account balances pursuant to documentation in form and substance satisfactory to the Administrative Agent (which documents are hereby consented to by the Lenders) and the Issuers in their sole discretion. Derivatives of such term have corresponding meanings.\n“Casualty Loss” means, with respect to the Borrower’s SIA Container Equipment, any of the following: (a) such SIA Container Equipment is lost, stolen or destroyed; (b) such SIA Container Equipment is damaged beyond repair or permanently rendered unfit for use for any reason whatsoever; or (c) if such SIA Container Equipment is subject to a lease agreement, such SIA Container Equipment shall have been deemed under such lease agreement to have suffered a casualty loss.\n“Casualty Receivables” means all rights of the Borrower to payment for SIA Container Equipment sold and all rights of the Borrower to payment in connection with a Casualty Loss.\n“CERCLA” means the Comprehensive Environmental Response, Compensation and Liability Act of 1980.\n“CERCLIS” means the Comprehensive Environmental Response, Compensation and Liability Information System List maintained by the U.S. Environmental Protection Agency.\n“Change in Law” means the occurrence, after the date of this Agreement, of any of the following: (a) the adoption or taking effect of any law, rule, regulation or treaty, (b) any change in any law, rule, regulation or treaty or in the administration, interpretation, implementation or application thereof by any Governmental Authority or (c) the making or issuance of any request, rule, guideline or directive (whether or not having the force of law) by any Governmental Authority; provided that notwithstanding anything herein to the contrary, (x) the Dodd-Frank Wall Street\nReform and Consumer Protection Act and all requests, rules, guidelines or directives thereunder or issued in connection therewith and (y) all requests, rules, guidelines or directives promulgated by the Bank for International Settlements, the Basel Committee on Banking Supervision (or any successor or similar authority) or the United States or foreign regulatory authorities, in each case pursuant to Basel III, shall in each case be deemed to be a “Change in Law”, regardless of the date enacted, adopted or issued.\n“Code” means the Internal Revenue Code of 1986.\n“Collateral” means “Collateral” as defined in the Security and Intercreditor Agreement.\n“Collateral Agent” means Wells Fargo Bank, National Association (as successor in interest to The Bank of New York Mellon Trust Company, N.A., as successor in interest to First Interstate Bank of California) in its capacity as the “Secured Party” under the Security and Intercreditor Agreement, and includes each other Person which, pursuant to the terms of the Security and Intercreditor Agreement, shall subsequently be appointed as the successor “Secured Party” thereunder.\n“Collateral Documents” means the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and any other collateral document, control agreement, instrument or agreement now or hereafter delivered pursuant to or in connection with any of the foregoing.\n“Combined Fleet” has the meaning set forth in the Intercreditor Collateral Agreement.\n“Commercial Letter of Credit” means a commercial letter of credit in a form acceptable to the Issuer thereof which is drawable upon presentation of a sight draft and other documents evidencing the sale or shipment of Container Equipment purchased by the Borrower in the ordinary course of the Borrower’s business.\n“Commitment” means, for any Lender, such Lender’s commitment to make Loans and to participate in Letters of Credit under this Agreement. The amount of the Commitment of each Lender as of the Restatement Effective Date is set forth on Schedule I, and such amount may be adjusted by reductions of the Commitments pursuant to Section 6.3, increases of the Commitments pursuant to Section 6.7 or assignments pursuant to Section 15.8.\n“Compliance Certificate” means a certificate substantially in the form of Exhibit E.\n“Consolidated Net Income” means the net income and net losses of the Borrower and its Restricted Subsidiaries determined in accordance with GAAP, including gains and losses on the sale of Container Equipment, but excluding (a) any gains or losses (net of applicable tax effect) on the disposition of capital assets other than Container Equipment, (b) any gains on sales or other dispositions of other Investments and any extraordinary or nonrecurring items of income to the\nextent that the aggregate of such gains and extraordinary or nonrecurring items exceeds the aggregate of losses on such sales or other dispositions and extraordinary or nonrecurring charges, (c) any non-cash gain or loss on any interest rate protection agreement or any similar hedging agreement resulting from the requirements of Financial Accounting Standard No. 133 or any similar accounting standard and (d) to the extent included in such net income or net losses, the Borrower’s share of net income and/or losses of Unrestricted Subsidiaries and (e) any non-cash compensation expense related to incentive or non-qualified stock options.\nNotwithstanding the foregoing, solely in respect of the period commencing April 1, 2016 and ending on the earlier of (a) the first anniversary of the TAL Merger and (b) September 30, 2017, up to a maximum aggregate cumulative amount of $65,000,000, “Consolidated Net Income” shall not include any adjustments, restructuring costs, non-recurring expenses, nonrecurring fees, non-operating expenses, charges or other expenses (including legal, accounting and other transaction and advisory fees, severance, bonus and retention payments and non-cash compensation charges) made or incurred by the Borrower or its Restricted Subsidiaries in connection with the TAL Merger.\n“Consolidated Net Income Available For Fixed Charges” means, for any period of determination, the sum, without duplication, of (a) Consolidated Net Income for such period, plus (b) to the extent deducted in determining Consolidated Net Income, all provisions for any federal, state or other income taxes made by the Borrower and its Restricted Subsidiaries during such period, plus (c) cash distributions received by the Borrower from Unrestricted Subsidiaries during such period, plus (d) to the extent deducted in determining Consolidated Net Income, all Fixed Charges during such period.\n“Consolidated Net Tangible Assets” means, as of the date of any determination thereof, the total amount of all Tangible Assets of the Borrower and its Restricted Subsidiaries after deducting (a) Restricted Investments and (b) all current liabilities as determined in accordance with GAAP.\n“Consolidated Tangible Net Worth” means, as of the date of any determination thereof, the consolidated stockholders’ equity of the Borrower and its Restricted Subsidiaries, as determined in accordance with GAAP (excluding any non-cash gain or loss on any interest rate protection agreement or similar hedging agreement resulting from the requirements of Financial Accounting Standard No. 133 or any similar accounting standard), plus all outstanding preferred stock of the Borrower and accrued but unpaid dividends thereon, less the sum, without duplication, of (a) all Intangible Assets of the Borrower and its Restricted Subsidiaries and (b) Restricted Investments.\n“Container Equipment” means intermodal dry van and special purpose cargo containers, including any generator sets or cooling units used with refrigerated containers, and any related spare parts, and any substitutions, additions or replacements for, to or of any of such items.\n“Control” means the possession, directly or indirectly, of the power to direct or cause the direction of the management or policies of a Person, whether through the ability to exercise voting power, by contract or otherwise. “Controlling” and “Controlled” have meanings correlative thereto.\n“Credit Capacity” means, at any time of determination, an amount equal to the lesser of (a) the Aggregate Commitment Amount and (b) the Borrowing Base.\n“Credit Extension” means (a) the advancing of any Loan or (b) any issuance of, extension of the expiry date of, increase in the Stated Amount of or other material modification to a Letter of Credit.\n“Current Debt” means, with respect to any Person as of the date of any determination, (a) all Indebtedness of such Person for money borrowed or that has been incurred in connection with the acquisition of assets, in each case other than Funded Debt, and (b) all Guarantee Liabilities of such Person with respect to Indebtedness of other Persons of the types described in clause (a).\n“Debtor Relief Laws” means the Bankruptcy Code of the United States, and all other liquidation, conservatorship, bankruptcy, assignment for the benefit of creditors, moratorium, rearrangement, receivership, insolvency, reorganization, or similar debtor relief laws of the United States or other applicable jurisdictions from time to time in effect and affecting the rights of creditors generally.\n“Default Rate” means (a) when used with respect to Liabilities other than Letter of Credit Fees, an interest rate equal to (i) the Alternate Base Rate plus (ii) the Alternate Base Rate Margin, if any, applicable to Alternate Base Rate Loans plus (iii) 2% per annum; provided, that with respect to a Eurodollar Rate Loan, the Default Rate shall be an interest rate equal to the interest rate (including any Eurodollar Margin) otherwise applicable to such Loan plus 2% per annum and (b) when used with respect to Letter of Credit Fees, a rate equal to the LC Fee Rate plus 2% per annum.\n“Defaulting Lender” means, subject to Section 2.7(b), any Lender that (a) has failed to (i) fund all or any portion of its Loans within two Business Days of the date such Loans were required to be funded hereunder unless such Lender notifies the Administrative Agent and the Borrower in writing that such failure is the result of such Lender’s determination that one or more conditions precedent to funding (each of which conditions precedent, together with any applicable default, shall be specifically identified in such writing) has not been satisfied, or (ii) pay to the Administrative Agent, an Issuer or any other Lender any other amount required to be paid by it hereunder (including in respect of its participation in Letters of Credit) within two Business Days of the date when due, (b) has notified the Borrower, the Administrative Agent or an Issuer in writing that it does not intend to comply with its funding obligations hereunder, or has made a public statement to that effect (unless such writing or public statement relates to such Lender’s obligation to fund a Loan hereunder and states that such position is based on such Lender’s determination that a condition precedent to\nfunding (which condition precedent, together with any applicable default, shall be specifically identified in such writing or public statement) cannot be satisfied), (c) has failed, within three Business Days after written request by the Administrative Agent or the Borrower, to confirm in writing to the Administrative Agent and the Borrower that it will comply with its prospective funding obligations hereunder (provided that such Lender shall cease to be a Defaulting Lender pursuant to this clause (c) upon receipt of such written confirmation by the Administrative Agent and the Borrower), or (d) has, or has a direct or indirect parent company that has, (i) become the subject of a proceeding under any Debtor Relief Law, or (ii) had appointed for it a receiver, custodian, conservator, trustee, administrator, assignee for the benefit of creditors or similar Person charged with reorganization or liquidation of its business or assets, including the Federal Deposit Insurance Corporation or any other state or federal regulatory authority acting in such a capacity; provided that a Lender shall not be a Defaulting Lender solely by virtue of the ownership or acquisition of any equity interest in that Lender or any direct or indirect parent company thereof by a Governmental Authority so long as such ownership interest does not result in or provide such Lender with immunity from the jurisdiction of courts within the United States or from the enforcement of judgments or writs of attachment on its assets or permit such Lender (or such Governmental Authority) to reject, repudiate, disavow or disaffirm any contracts or agreements made with such Lender. Any determination by the Administrative Agent that a Lender is a Defaulting Lender under any one or more of clauses (a) through (d) above, and of the effective date of such status, shall be conclusive and binding absent manifest error, and such Lender shall be deemed to be a Defaulting Lender (subject to Section 2.7(b)) as of the date established therefor by the Administrative Agent in a written notice of such determination, which shall be delivered by the Administrative Agent to the Borrower, each Issuer and each other Lender promptly following such determination.\n“Disbursement” - see Section 5.5.\n“Disbursement Date” - see Section 5.5.\n“Disqualified Person” means General Electric Corporation or any other marine container leasing company or their respective subsidiaries, or any other Person 30% or more of the issued and outstanding equity securities of which are owned by a Disqualified Person.\n“Dollars” and the sign “$” means lawful money of the United States.\n“EEA Financial Institution” means (a) any credit institution or investment firm established in any EEA Member Country that is subject to the supervision of an EEA Resolution Authority, (b) any entity established in an EEA Member Country that is a parent of an institution described in clause (a) of this definition, or (c) any financial institution established in an EEA Member Country that is a subsidiary of an institution described in clause (a) or (b) of this definition and is subject to consolidated supervision with its parent.\n“EEA Member Country” means any of the member states of the European Union, Iceland, Liechtenstein, and Norway.\n“EEA Resolution Authority” means any public administrative authority or any Person entrusted with public administrative authority of any EEA Member Country (including any delegee) having responsibility for the resolution of any EEA Financial Institution.\n“Eligible Assignee” means (a) a Lender; (b) an Affiliate of a Lender; (c) an Approved Fund; or (d) any other Person (other than a natural person) approved by (i) the Administrative Agent and each Issuer and (ii) unless an Event of Default has occurred and is continuing, the Borrower (each such approval not to be unreasonably withheld or delayed); provided that notwithstanding the foregoing, “Eligible Assignee” shall not include (A) the Borrower, (B) any of the Borrower’s Affiliates or Subsidiaries, (C) a Disqualified Person, (D) a Defaulting Lender, (E) any Person who, upon becoming a Lender hereunder, would constitute a Defaulting Lender, or (F) a natural Person (or a holding company, investment vehicle or trust for, or owned and operated for the primary benefit of, a natural Person).\n“Environmental Laws” means all applicable federal, state or local statutes, laws, ordinances, codes, rules, regulations and guidelines (including consent decrees and administrative orders) relating to public health and safety and protection of the environment.\n“ERISA” means the Employee Retirement Income Security Act of 1974.\n“ERISA Affiliate” means any corporation, trade or business that is, along with the Borrower, a member of a controlled group of corporations or a controlled group of trades or businesses, as described in sections 414(b) and 414(c), respectively, of the Code or section 4001 of ERISA.\n“EU Bail-In Legislation Schedule” means the EU Bail-In Legislation Schedule published by the Loan Market Association, as in effect from time to time.\n“Eurocurrency Reserve Percentage” means, for any day during any Interest Period, the reserve percentage (expressed as a decimal, carried out to five decimal places) in effect on such day, whether or not applicable to any Lender, under regulations issued from time to time by the FRB for determining the maximum reserve requirement (including any emergency, supplemental or other marginal reserve requirement) with respect to Eurocurrency funding (currently referred to as “Eurocurrency liabilities”). The Eurodollar Rate for each outstanding Eurodollar Rate Loan shall be adjusted automatically as of the effective date of any change in the Eurodollar Reserve Percentage.\n“Finance Lease” means any lease (but in no event a sublease) of Container Equipment which provides revenue to the Borrower and with respect to which the related Container Equipment is not included as an asset on the books of the Borrower in accordance with GAAP.\n“Fixed Charges” means, for the Borrower and its Restricted Subsidiaries on a consolidated basis for any period, the sum of all: (a) interest expense for borrowed money, (b) imputed interest expense on Capitalized Leases, (c) operating rental obligations other than those related to Container Equipment (net of sublease rental income) and (d) operating rental expense on operating leases of Container Equipment.\n“FRB” means the Board of Governors of the Federal Reserve System of the United States.\n“Fronting Exposure” means, at any time there is a Defaulting Lender, with respect to an Issuer, such Defaulting Lender’s Percentage of the Letter of Credit Outstandings other than Letter of Credit Outstandings as to which such Defaulting Lender’s participation obligation has been reallocated to other Lenders or Cash Collateralized in accordance with the terms hereof.\n“Fund” means any Person (other than a natural Person) that is (or will be) engaged in making, purchasing, holding or otherwise investing in commercial loans and similar extensions of credit in the ordinary course of its business.\n“Funded Debt” of any Person means, without duplication, (a) all Funded Indebtedness, (b) all Capitalized Rentals, (c) all Guarantee Liabilities relating to Funded Debt of others, (d) all Guarantee Liabilities relating to the obligations of Unrestricted Subsidiaries and (e) the present value of all Long Term Lease obligations (such present value to be calculated using a discount rate equal to the sum of (i) the Alternate Base Rate then in effect plus (ii) 1.00%).\n“Funded Debt Ratio” means the ratio of Total Debt to an amount equal to the sum of (x) Consolidated Tangible Net Worth plus (y) the Borrower’s deferred income related to sales of Container Equipment to Subsidiaries as recorded on the Borrower’s balance sheet (determined in accordance with GAAP consistently applied).\n“Funded Indebtedness” means, as of any date, Indebtedness that matures more than one year after such date or which is renewable, extendible or refundable at the option of the obligor for a period or periods of more than one year after such date, but shall not include any portion of the principal of any such Indebtedness that is payable within one year after such date.\n“Funding Date” means any Business Day designated by the Borrower as the day on which a Borrowing shall, subject to the terms and conditions hereof, be made by the Lenders.\n“GAAP” means generally accepted accounting principles in the United States set forth in the opinions and pronouncements of the Accounting Principles Board and the American Institute of Certified Public Accountants and statements and pronouncements of the Financial Accounting Standards Board or such other principles as may be approved by a significant segment of the accounting profession in the United States, that are applicable to the circumstances as of the date of determination, consistently applied.\n“Governmental Authority” means the government of the United States or any other nation, or any political subdivision thereof, whether state or local, and any agency, authority, instrumentality, regulatory body, court, central bank or other entity exercising executive, legislative, judicial, taxing, regulatory or administrative powers or functions of or pertaining to government (including any supra-national bodies such as the European Union or the European Central Bank).\n“Guarantee Liability” of any Person means any agreement, undertaking or arrangement by which such Person guarantees, endorses or otherwise becomes or is contingently liable upon (by direct or indirect agreement, contingent or otherwise, to provide funds for payment by, to supply funds to, or otherwise to invest in, a debtor, or otherwise to assure a creditor against loss) the indebtedness, obligation or any other liability of any other Person (other than by endorsements of instruments in the course of collection), or guarantees the payment of dividends or other distributions upon the shares of any other Person. The amount of any Person’s obligation in respect of any Guarantee Liability shall (subject to any limitation set forth therein) be deemed to be the outstanding principal amount (or maximum principal amount, if larger) of the debt, obligation or other liability guaranteed thereby.\n“Hazardous Material” means\n(a) any “hazardous substance”, as defined by CERCLA;\n(b) any “hazardous waste”, as defined by the Resource Conservation and Recovery Act;\n(c) any petroleum product; or\n(d) any pollutant or contaminant or hazardous, dangerous or toxic chemical, material or substance within the meaning of any other applicable federal, state or local law, regulation, ordinance or requirement (including consent decrees and administrative orders) relating to or imposing liability or standards of conduct concerning any hazardous, toxic or dangerous waste, substance or material.\n“Indebtedness” of any Person means, without duplication, all obligations of such Person which in accordance with GAAP shall be classified upon the balance sheet of such Person as liabilities of such Person, and in any event shall include all (a) obligations of such Person for borrowed money or which have been incurred in connection with the acquisition of property or assets, (b) obligations secured by any Lien upon property or assets owned by such Person, even though such Person has not assumed or become liable for the payment of such obligations, (c) obligations created or arising under any conditional sale or other title retention agreement with respect to property acquired by such Person, notwithstanding the fact that the rights and remedies of the seller, lender or lessor under such agreement in the event of default are limited to repossession or sale of property, (d) Capitalized Rentals, (e) obligations of such Person evidenced by bonds, debentures, notes or similar instruments, (f) obligations of such Person upon which interest charges are customarily paid, (g) obligations of such Person issued or assumed as the deferred purchase price of property or services and (h) obligations of such Person, actual or contingent, as an account party in respect of letters of credit and bankers’ acceptances (other than any such obligations in respect of undrawn amounts under letters of credit in respect of trade payables); provided that trade payables, deferred rental income, repair service provision, deferred taxes, taxes payable, payroll expenses and other accrued expenses incurred in the ordinary course of business shall not constitute Indebtedness.\n“Indemnitee” - see Section 15.5(b).\n“Intangible Assets” means, with respect to any Person, all intangible assets of such Person and shall include unamortized debt discount and expense, unamortized deferred charges and goodwill.\n“Intercreditor Collateral Agreement” means the Amended and Restated Intercreditor Collateral Agreement dated as of November 1, 2006 among, inter alia, TCI, the Borrower and Wells Fargo Bank, National Association (as successor in interest to The Bank of New York Mellon Trust Company, N.A., as successor in interest to First Interstate Bank of California), a copy of which is attached as Exhibit J.\n“Interest Period” means, as to each Eurodollar Rate Loan, the period commencing on the date such Eurodollar Rate Loan is disbursed or converted to or continued as a Eurodollar Rate Loan pursuant to Section 2.4 or 2.5 and ending on the date one week or one, two, three or six months thereafter (in each case, subject to availability), or such other period that is twelve months or less and requested by the Borrower and consented to by all the Lenders, as selected by the Borrower in the applicable Loan Request; provided that:\n(a) any Interest Period that would otherwise end on a day that is not a Business Day shall be extended to the next succeeding Business Day unless such next succeeding Business Day falls in another calendar month, in which case such Interest Period shall end on the immediately preceding Business Day;\n(b) except in the case of a two week Interest Period, any Interest Period that begins on the last Business Day of a calendar month (or on a day for which there is no numerically corresponding day in the calendar month at the end of such Interest Period) shall end on the last Business Day of the calendar month at the end of such Interest Period;\n(c) the Interest Period of all Loans which commence on the same date and comprise part of the same Borrowing shall be of the same duration;\n(d) Borrowings which commence on the same date but which are to have different Interest Periods shall be requested on separate Loan Requests; and\n(e) no Interest Period shall extend beyond the Termination Date.\n“Interest Rate Agreement” means any interest rate swap agreement, interest rate cap agreement, interest rate collar agreement or other agreement intended to protect the Borrower against fluctuations in the rate of interest on its Indebtedness for borrowed money.\n“Investment” means any investment, made in cash or by delivery of any kind of property or asset, in any Person, whether by acquisition of shares of stock or similar interest, Indebtedness or other obligation or security, or by loan, advance or capital contribution, or otherwise; provided that notwithstanding the foregoing, for purposes of calculating the financial covenants under this Agreement, Finance Leases are not considered “Investments”.\n“IPO” means the initial underwritten offering of common equity interests of the Borrower or any direct or indirect parent company of the Borrower, or an alternative transaction (such as a merger with a public company) that would result in the common equity interests of the Borrower or any direct or indirect parent company of the Borrower being publicly traded.\n“ISP” means, with respect to any Letter of Credit, the “International Standby Practices 1998” published by the Institute of International Banking Law & Practice, Inc. (or such later version thereof as may be in effect at the time of issuance).\n“Issuance Request” means a properly completed application for the issuance of a Letter of Credit on the applicable Issuer’s standard form, executed by an accounting or financial Authorized Signatory.\n“Issuer” means Bank of America and its successors and assigns, and any other Lender designated by the Borrower and the Administrative Agent as, and that agrees to be, an “Issuer” hereunder.\n“Issuer Documents” means with respect to any Letter of Credit, the Issuance Request, and any other document, agreement and instrument entered into by the Issuer and the Borrower or in favor of the Issuer and relating to such Letter of Credit.\n“Joint Lead Arrangers” means Merrill Lynch, Pierce, Fenner & Smith Incorporated, SunTrust Bank, MUFG Union Bank, N.A. and Wells Fargo Bank, N.A.\n“LC Fee Rate” - see Schedule 1.1(a).\n“Lender” - see the preamble.\n“Lender-Related Party” means, with respect to any Person, such Person’s Affiliates and the partners, directors, officers, employees, agents, trustees, advisors and representatives of such Person and of such Person’s Affiliates.\n“Lessee” means a Person that is leasing or renting Container Equipment owned by the Borrower.\n“Letter of Credit” means a Commercial Letter of Credit or a Standby Letter of Credit, and includes each Existing Letter of Credit.\n“Letter of Credit Fee” - see Section 4.4.\n“Letter of Credit Outstandings” means, at any time, an amount equal to the sum of (a) the aggregate Stated Amount at such time of all outstanding Letters of Credit (as such aggregate Stated Amount shall be adjusted, from time to time, as a result of drawings, the issuance of Letters of Credit or otherwise), plus (b) the then aggregate amount of all unpaid and outstanding Reimbursement Obligations. For purposes of this Agreement, if on any date of determination a Letter of Credit has expired by its terms but any amount may still be drawn thereunder by reason of the operation of Rule 3.14 of the ISP, such Letter of Credit shall be deemed to be “outstanding” in the amount so remaining available to be drawn.\n“Liabilities” means, without duplication, all obligations of the Borrower to the Administrative Agent, the Collateral Agent, any Issuer or any Lender under this Agreement, the Notes, the Collateral Documents, any Issuance Request, any Interest Rate Agreement or any other\nLoan Document, howsoever created, arising or evidenced, whether direct or indirect, absolute or contingent, now or hereafter existing, or due or to become due.\n“LIBOR” has the meaning specified in the definition of Eurodollar Rate.\n“Lien” means any mortgage, pledge, hypothecation, judgment lien or similar legal process, title retention lien, or other lien or security interest, including the interest of a vendor under any conditional sale or other title retention agreement and the interest of a lessor under any Capitalized Lease.\n“Loan” - see Section 2.1(a).\n“Loan Documents” means this Agreement, the Notes, the Collateral Documents, any Loan Request, any Issuance Request, any Letter of Credit and any other document, instrument or agreement at any time executed and delivered pursuant to or in connection with any of the foregoing.\n“Loan Related Taxes” - see Section 7.8.\n“Loan Request” means a notice of (a) a Borrowing, (b) a conversion of Loans from one Type to the other, or (c) a continuation of Eurodollar Rate Loans, pursuant to Section 2.4 or 2.5, as applicable, which (in each case) shall be substantially in the form of Exhibit D or such other form as may be approved by the Administrative Agent (including any form on an electronic platform or electronic transmission system as shall be approved by the Administrative Agent), appropriately completed and signed by an Authorized Signatory of the Borrower.\n“Long Term Lease” means any lease of real or personal property (other than a Capitalized Lease) having an original term, including any period for which the lease may be renewed or extended at the option of the lessor, of five years or more.\n“Majority Lenders” means, as of any date of determination, those Lenders having aggregate Percentages of more than 50%; provided that the Commitment of, and the aggregate outstanding amount of all Loans and Letter of Credit Outstandings held or deemed held by, any Defaulting Lender shall be excluded for purposes of making a determination of Majority Lenders.\n“Management Agreement” means any agreement, program, contract or arrangement by which the Borrower is paid a fee for managing container equipment owned by a third party.\n“Material Adverse Effect” means a material adverse effect upon (a) the business, financial condition, operations or properties of the Borrower and its Restricted Subsidiaries, taken as a whole, (b) the Collateral Agent’s Lien on or ability to realize the value of any Collateral or (c) the Borrower’s ability to pay when due and/or perform its Liabilities under this Agreement or any other applicable Loan Document.\n“Net Book Value” means with respect to the Borrower’s Container Equipment at any time of determination the book value thereof at such time (determined in accordance with GAAP consistently applied).\n“Non-Defaulting Lender” means, at any time, each Lender that is not a Defaulting Lender at such time.\n“Non-use Fee” - see Section 4.3.\n“Non-use Fee Rate” - see Schedule 1.1(a).\n“Note” means a promissory note made by the Borrower in favor of a Lender substantially in the form of Exhibit B.\n“OFAC” means the Office of Foreign Assets Control of the United States Department of the Treasury.\n“Original Lenders” means the “Lenders” under (and as defined in) the Existing Credit Agreement immediately prior to the effectiveness hereof.\n“Participant” - see Section 15.8(c).\n“Payment Date” means (a) for any Eurodollar Rate Loan, the last day of each Interest Period with respect to such Loan and, if such Interest Period is in excess of three months, the day three months after the commencement of such Interest Period, and (b) for any Alternate Base Rate Loan and for all fees, the last day of each March, June, September and December.\n“PBGC” means the Pension Benefit Guaranty Corporation and any entity succeeding to any or all of its functions under ERISA.\n“Pension Plan” means a “pension plan”, as such term is defined in section 3(2) of ERISA, which is subject to Title W of ERISA (other than a multiemployer plan as defined in section 4001(a)(3) of ERISA), and to which the Borrower or any ERISA Affiliate may have liability, including any liability by reason of having been a substantial employer within the meaning of section 4063 of ERISA at any time during the preceding five years, or by reason of being deemed to be a contributing sponsor under section 4069 of ERISA.\n“Percentage” means, with respect to any Lender, the percentage which such Lender’s Commitment is of the Aggregate Commitment Amount (or, if the Commitments have terminated, the percentage which such Lender’s Loans and participations in Letters of Credit is of the aggregate principal amount of all outstanding Loans and the Letter of Credit Outstandings).\n“Permitted Holder” means any of: (a) Warburg Pincus LLC and its affiliates; (b) Vestar Capital Partners V, LP and its affiliates; (c) the Sponsor; (d) any of (i) Edward P. Schneider, (ii) any lineal descendant of Nicholas J. Pritzker, deceased, and any spouse and adopted child of any such descendant, (iii) any trust established for the benefit of any Person described in clause (i) or (ii) and the trustee of such trust, (iv) any legal representative of any Person described in clauses (i) through (iii), (v) any company and other entity controlled by any Person described in clauses (i) through (iv), and (vi) any affiliates of any Person described in clauses (i) through (v); and (e) any directors, officers and employees of the Borrower and its Subsidiaries. The term “control” for purposes of clause (d)(v) shall mean the ability to influence, direct or otherwise significantly affect the major policies, activities or actions of any Person.\n“Permitted Investments” means (a) Investments in direct United States government or United States agency obligations, (b) Investments in corporate obligations of “AA” quality or better maturing within one year, (c) Investments in certificates of deposit issued by any United States commercial bank, the United States branch of any foreign bank, any United Kingdom commercial bank, Bank of Bermuda Limited or Bank of N.T. Butterfield & Son Limited, in each case so long as such bank has capital and surplus of not less than the equivalent of $50,000,000, (d) preferred stock Investments rated “AA” or better, (e) Investments in any state, local or municipal obligations rated “AA” or better or (f) Investments in money market funds that are listed on the National Association of Insurance Commissioners Class 1 list.\n“Permitted Liens” means Liens permitted under Section 10.20.\n“Person” means an individual, partnership, corporation, limited liability company, trust, joint venture, joint stock company, association, unincorporated organization, government or agency or political subdivision thereof or other entity.\n“Register” - see Section 15.8.\n“Reimbursement Obligation” - see Section 5.6.\n“Related Party” means, for purposes of Section 10.22 only, any Person (other than a Restricted Subsidiary) (a) which directly or indirectly through one or more intermediaries Controls, or is Controlled by, or is under common Control with, the Borrower, (b) which beneficially owns or holds five percent or more of the equity interest of the Borrower or (c) five percent or more of the equity interest of which is beneficially owned or held by the Borrower or a Restricted Subsidiary.\n“Release” means a “release” as such term is defined in CERCLA.\n“Remaining Lenders” - see Section 7.7.\n“Rentals” means all fixed rents (including as such all payments which the lessee is obligated to make to the lessor on termination of the lease or surrender of the property) payable by the Borrower or a Restricted Subsidiary, as lessee or sublessee under a lease of real or personal property, but shall be exclusive of any amounts required to be paid by the Borrower or a Restricted Subsidiary (whether or not designated as rents or additional rents) on account of maintenance, utilities, repairs, insurance, taxes and similar charges. Fixed rents under any so-called “percentage lease” shall be computed solely on the basis of the minimum rents, if any, required to be paid by the lessee, regardless of sales volume or gross revenues.\n“Reportable Event” has the meaning given to such term in ERISA.\n“Restatement Effective Date” means the date the amendment and restatement of the Existing Credit Agreement becomes effective pursuant to Section 11.1.\n“Restricted Investments” means the total of (a) the amount of the Borrower’s Investments in any Unrestricted Subsidiary as shown on the most recent consolidating balance sheet of the Borrower delivered pursuant to Section 10.1, excluding, for purposes of determining the amount of any Investment in any Person, any non-cash gain or loss on any interest rate protection agreement or any similar hedging agreement entered into by such Person resulting from the requirements of Financial Accounting Standard No. 133 or any similar accounting standard, plus (b) the excess, if any, of the amount of all other Investments of the Borrower as shown on such balance sheet (other than Permitted Investments) over 25% of then current Consolidated Tangible Net Worth. For purposes of clause (b) above, the original amount of any Investment in a general partnership interest in any general or limited partnership shall be deemed to be the aggregate amount of such partnership’s actual and contingent liabilities, as determined in accordance with GAAP.\n“Restricted Subsidiary” means any Subsidiary that is not an Unrestricted Subsidiary.\n“S&P” means Standard & Poor’s Financial Services LLC, a subsidiary of The McGraw-Hill Companies, Inc..\n“S&P Rating” means at any time the rating issued by S&P and then in effect with respect to Indebtedness under this Agreement (it being understood that if the Borrower does not have a rating for such Indebtedness but has a rating from S&P for debt securities of such type, then such rating shall be used for determining the “S&P Rating”).\n“Sanction” means any economic or financial sanction, sectoral sanction, secondary sanction, trade embargo or anti-terrorism law, including those impored, administered or enforced by: (i) the United States Government (including OFAC, the U.S. State Department or the U.S. Department of Commerce or through any existing or future Executive Order), (ii) the United Nations Security Council, (iii) the European Union, (iv) Her Majesty’s Treasury (“HMT”) or (v) any other relevant sanctions authority.\n“Security” has the meaning given to such term in Section 2(1) of the Securities Act of 1933.\n“Security and Intercreditor Agreement” means the Security and Intercreditor Agreement dated as of September 30, 1989 among the Borrower, the Collateral Agent, Principal Mutual Life Insurance Company, Westinghouse Credit Corporation, PRIVATbanken A/S, New York Branch, Bank of America, in its individual corporate capacity, CIGNA Property and Casualty Insurance Company, Connecticut General Life Insurance Company, CONGEN Twenty-Eight & Co., Life Insurance Company of North America, The Ohio National Life Insurance Company, Southern Farm Bureau Annuity Insurance Company, The Travelers Insurance Company, The Travelers Indemnity Company, The Travelers Life and Annuity Company, The Travelers Life Insurance Company and the Administrative Agent and such other Persons as may be party to such Security and Intercreditor Agreement from time to time. A copy of the Security and Intercreditor Agreement as in effect on the Restatement Effective Date is attached as Exhibit H.\n“Senior Funded Debt” means Funded Debt of the Borrower and its Restricted Subsidiaries (determined on a consolidated basis eliminating intercompany items), excluding all Subordinated Funded Debt.\n“SIA Container Equipment” means Container Equipment other than Container Equipment in which a security interest has been granted to a Person which is not a party to the Security and Intercreditor Agreement.\n“Simultaneous Holder” - see Section 10.19.\n“Sponsor” means Trivest Limited, a Bermuda company formed and controlled by affiliates of Warburg Pincus LLC and Vestar Capital Partners V, LP or any other affiliate or affiliates of Warburg Pincus LLC and/or Vestar Capital Partners V, LP to which Trivest Limited assigns the right to acquire shares in the Borrower.\n“Standby Letter of Credit” means any Letter of Credit that is not a Commercial Letter of Credit.\n“Stated Amount” means, at any time for any Letter of Credit, the maximum amount available for drawing under such Letter of Credit during the remaining term thereof; it being understood that with respect to any Letter of Credit that, by its terms or the terms of any document related thereto, provides for one or more automatic increases in the Stated Amount thereof, the Stated Amount of such Letter of Credit shall be deemed to be the maximum Stated Amount of such Letter of Credit after giving effect to all such increases, whether or not such maximum Stated Amount is in effect at such time.\n“Stated Expiry Date” - see Section 5.1.\n“Subordinated Funded Debt” means (a) the Indebtedness described on Schedule II and (b) any other Funded Indebtedness of the Borrower or its Restricted Subsidiaries that is subordinated in right of payment to the Loans and the other Liabilities and (i)(A) that is established pursuant to a subordination agreement containing subordination provisions substantially in the form of Exhibit G, (B) that has a final stated maturity of at least five years after the date of incurrence thereof and (C) with respect to which the Majority Lenders have not otherwise reasonably objected, by notice to the Borrower in writing or by telephone promptly confirmed in writing by the Administrative Agent (together with a statement explaining any such objection), within 15 days of receipt by the Administrative Agent (who shall promptly provide such notice to the Lenders) of notice from the Borrower of the proposed issuance of such Subordinated Funded Debt, which notice shall be accompanied by a copy of the proposed subordination agreement and credit agreement relating to such new issue in substantially final form or (ii) as the Majority Lenders shall otherwise consent. Notwithstanding the foregoing, Funded Indebtedness of the Borrower or its Restricted Subsidiaries that at issuance constituted Subordinated Funded Debt shall no longer constitute Subordinated Funded Debt if after the Restatement Effective Date (x) the subordination provisions thereof are no longer substantially in the form thereof at issuance or (y) the subordination or credit agreement related thereto is amended so as to grant additional rights to any subordinated lender or (z) other provisions thereof are amended so as to cause such Indebtedness to cease to comply with clause (b)(i)(B) of the first sentence of this definition, unless the Majority Lenders shall otherwise consent.\n“Subsidiary” means any Person of which or in which the Borrower and its other Subsidiaries own directly or indirectly 50% or more of (a) the combined voting power of all classes of stock having general voting power under ordinary circumstances to elect a majority of the board of directors of a Person which is a corporation, (b) the capital, membership or profits interest of a Person which is a limited liability company, partnership, joint venture or similar entity, or (c) the beneficial interest of a Person which is a trust, association or other unincorporated organization.\n“Superior Debt” is defined in Section 10.19.\n“TAL” means TAL International Group, Inc.\n“TAL Merger” means the merger between the Borrower and TAL pursuant to the TAL Merger Agreement.\n“TAL Merger Agreement” means the Transaction Agreement, dated as of November 9, 2015, by and among the Borrower, Triton International Limited, Ocean Bermuda Sub Limited, Ocean Delaware Sub, Inc., and TAL International Group, Inc.\n“Tangible Assets” means, as of the date of any determination thereof, the total amount of all assets of the Borrower and its Restricted Subsidiaries (less depreciation, depletion and other\nproperly deductible valuation reserves) after deducting Intangible Assets, all determined in accordance with GAAP.\n“Taxes” with respect to any Person means all present and future taxes, levies, imposts, duties, deductions, withholdings (including backup withholding), assessments, fees or other charges (including any interest, additions to tax or penalties applicable thereto) imposed by any Governmental Authority upon such Person, its income or any of its properties, franchises or assets.\n“TCI” means Triton Container Investments LLC, a Nevada limited liability company.\n“TCCI” means Triton Container Capital Investments LLC, a California limited liability company.\n“TCII” means Triton Container International, Incorporated of North America, a California corporation, and a wholly owned Subsidiary of the Borrower.\n“TCIL Change of Control” means the occurrence of any of the following events: (a) prior to an IPO, (i) the failure by the Permitted Holders to own, directly or indirectly through one or more holding company parents of the Borrower, beneficially and of record, equity interests in the Borrower representing at least a majority of the aggregate ordinary voting power for the election of directors of the Borrower represented by the issued and outstanding equity interests in the Borrower, unless the Permitted Holders otherwise have the right (pursuant to contract, proxy or otherwise), directly or indirectly, to designate or appoint (and do so designate or appoint) a majority of the board of directors of the Borrower or (ii) the occupation of a majority of the seats (other than vacant seats) on the board of directors of the Borrower by Persons who were neither (A) nominated, designated or approved by the board of directors of the Borrower or the Permitted Holders nor (B) appointed by directors so nominated, designated or approved; or after an IPO, the acquisition of ownership, directly or indirectly, beneficially or of record, by any Person or group (within the meaning of the United States Securities Exchange Act of 1934, as amended, and the rules of the Securities and Exchange Commission thereunder as in effect on the date hereof), other than the Permitted Holders, of equity interests representing 40% or more of the aggregate ordinary voting power represented by the issued and outstanding equity interests in the Borrower and the percentage of the aggregate ordinary voting power so held is greater than the percentage of the aggregate ordinary voting power represented by the equity interests in the Borrower held by the Permitted Holders; provided that, if such IPO is with respect to a direct or indirect holding company parent of the Borrower (“IPO Parent”), either of the following shall also constitute a “TCIL Change of Control” after such IPO:\n(i) the failure by IPO Parent to own, directly or indirectly, at least a majority of the aggregate ordinary voting power for the election of directors of the Borrower represented by the issued and outstanding equity interests in the Borrower, unless IPO Parent otherwise has the right (pursuant to contract, proxy or otherwise), directly or indirectly, to designate\nor appoint (and does so designate or appoint) a majority of the board of directors of the Borrower; or\n(ii) the occupation of a majority of the seats (other than vacant seats) on the board of directors of the Borrower by Persons who were neither (A) members of the board of directors of the Borrower as of the date of the IPO, nor (B) nominated, designated or approved by the board of directors of the Borrower or IPO Parent, nor (C) appointed by directors so nominated, designated or approved.\n“TCIL Usage” means, at any time of determination, the sum of (a) the aggregate principal amount of the Loans outstanding at such time plus (b) the Letter of Credit Outstandings at such time.\n“Termination Date” means April 15, 2021 or such earlier date on which the Commitments terminate in accordance with the terms hereof.\n“Termination Event” with respect to any Pension Plan means (a) the institution by the Borrower, the PBGC or any other Person of steps to terminate such Pension Plan, (b) the occurrence of a Reportable Event with respect to such plan which the Majority Lenders reasonably believe may be a basis for the PBGC to institute steps to terminate such Pension Plan or (c) the withdrawal from such Pension Plan (or deemed withdrawal under section 4062(e) of ERISA) by the Borrower or any ERISA Affiliate if the Borrower or such ERISA Affiliate is a substantial employer within the meaning of section 4063 of ERISA.\n“Total Availability” means, at any time, the remainder of (a) the Aggregate Commitment Amount at such time minus the TCIL Usage at such time.\n“Total Debt” means the sum of (a) Total Senior Debt plus (b) Subordinated Funded Debt.\n“Total Senior Debt” means the sum of (a) Senior Funded Debt plus (b) all Current Debt of the Borrower and its Restricted Subsidiaries.\n“Type” means, relative to any Borrowing or Loan, the characterization thereof as a Eurodollar Rate Loan or an Alternate Base Rate Loan.\n“UCC” means the Uniform Commercial Code as in effect in the State of New York.\n“UCP” means, with respect to any Letter of Credit, the Uniform Customs and Practice for Documentary Credits, International Chamber of Commerce (“ICC”) Publication No. 600 (or such later version thereof as may be in effect at the time of issuance).\n“United States” and “U.S.” mean the United States of America.\n“Unmatured Event of Default” means an event or condition which with the lapse of time or giving of notice to the Borrower, or both, would constitute an Event of Default.\n“Unrestricted Subsidiary” means (a) any Subsidiary identified as an “Unrestricted Subsidiary” in Schedule 9.9 and (b) any Subsidiary that is designated by the Borrower as an “Unrestricted Subsidiary” in accordance with the procedures set forth in Section 10.26.\n“Unsecured Senior Funded Debt” means Senior Funded Debt which is not secured by any security interest, pledge, mortgage or other Lien.\n“Unsecured Vendor Debt” means unsecured purchase money Indebtedness not constituting Funded Indebtedness.\n“Utilization Ratio” means, for any date of determination, the quotient obtained by dividing (x) the sum of the number of TEUs (twenty-foot equivalent units) in the Combined Fleet on lease on such day by (y) the sum of the total number of TEUs in the Combined Fleet available for lease on such day. For purposes of this definition, (a) the phrase “on lease” includes TEUs subject to a Finance Lease, (b) each 20’ dry cargo marine container (including open top) other than a flat rack is deemed to be 1 TEU, (c) each 20’ flat rack container (half-height or standard) is deemed to be 2 TEUs, (d) each 40’ and 45’ dry cargo marine container (including high cube) other than a flat rack is deemed to be 2 TEUs, (e) each 40’ flat rack marine container is deemed to be 3 TEUs, (f) each generator set used with a refrigerated marine container is deemed to be 4 TEUs, (g) each 20’ refrigerated marine container is deemed to be 8 TEUs, and (h) each 40’ refrigerated marine container (including high cube) is deemed to be 10 TEUs.\n“Voting Stock” means, with respect to any Person, any Security of any class or classes of such Person the holders of which are ordinarily, in the absence of contingencies, entitled to elect a majority of the directors (or Persons performing similar functions) of such Person.\n“Welfare Plan” means a “welfare plan”, as such term is defined in section 3(1) of ERISA.\n“Wholly-owned” when used in connection with any Subsidiary means a Subsidiary of which all of the issued and outstanding shares of stock (except shares required as directors’ and alternate directors’ qualifying shares) or partnership interests, as the case may be, and all Indebtedness for borrowed money shall be owned by the Borrower and/or one or more of its Wholly-owned Subsidiaries.\n“Write-Down and Conversion Powers” means, with respect to any EEA Resolution Authority, the write-down and conversion powers of such EEA Resolution Authority from time to time under the Bail-In Legislation for the applicable EEA Member Country, which writedown and conversion powers are described in the EU Bail-In Legislation Schedule.\n1.2 Accounting Terms.\n(a) Generally. All accounting terms not specifically or completely defined herein shall be construed in conformity with, and all financial data (including financial ratios and other financial calculations) required to be submitted pursuant to this Agreement shall be prepared in conformity with, GAAP applied on a consistent basis, as in effect from time to time, applied in a manner consistent with that used in preparing the Audited Financial Statements, except as otherwise specifically prescribed herein.\n(b) Changes in GAAP. If at any time any change in GAAP would affect the computation of any financial ratio or requirement set forth in any Loan Document, and either the Borrower or the Majority Lenders shall so request, the Administrative Agent, the Lenders and the Borrower shall negotiate in good faith to amend such ratio or requirement to preserve the original intent thereof in light of such change in GAAP (subject to the approval of the Majority Lenders); provided that, until so amended, (i) such ratio or requirement shall continue to be computed in accordance with GAAP prior to such change therein and (ii) the Borrower shall provide to the Administrative Agent and the Lenders financial statements and other documents required under this Agreement or as reasonably requested hereunder setting forth a reconciliation between calculations of such ratio or requirement made before and after giving effect to such change in GAAP.\n1.3 Other Interpretive Provisions. With reference to this Agreement and each other Loan Document, unless otherwise specified herein or in such other Loan Document:\n(a) The definitions of terms herein shall apply equally to the singular and plural forms of the terms defined. Whenever the context may require, any pronoun shall include the corresponding masculine, feminine and neuter forms. The words “include,” “includes” and “including” shall be deemed to be followed by the phrase “without limitation”. The word “will” shall be construed to have the same meaning and effect as the word “shall”. Unless the context requires otherwise, (i) any definition of or reference to any agreement, instrument or other document (including any organization document) shall be construed as referring to such agreement, instrument or other document as from time to time amended, supplemented or otherwise modified (subject to any restrictions on such amendments, supplements or modifications set forth herein or in any other Loan Document), (ii) any reference herein to any Person shall be construed to include such Person’s successors and assigns, (iii) the words “herein,” “hereof’ and “hereunder,” and words of similar import when used in any Loan Document, shall be construed to refer to such Loan Document in its entirety and not to any particular provision thereof, (iv) all references in a Loan Document to Articles, Sections, Preliminary Statements, Exhibits and Schedules shall be construed to refer to Articles and Sections of, and Preliminary Statements, Exhibits and Schedules to, the Loan Document in which such references appear, (v) any reference to any law shall\ninclude all statutory and regulatory provisions consolidating, amending, replacing or interpreting such law and any reference to any law or regulation shall, unless otherwise specified, refer to such law or regulation as amended, modified or supplemented from time to time, and (vi) the words “asset” and “property” shall be construed to have the same meaning and effect and to refer to all tangible and intangible assets and properties, including cash, securities, accounts and contract rights.\n(b) In the computation of periods of time from a specified date to a later specified date, the word “from” means “from and including”; the words “to” and “until” each mean “to but excluding”; and the word “through” means “to and including”.\n(c) Any reference to a “fiscal quarter” or a “fiscal year” means, respectively, a fiscal quarter or fiscal year of the Borrower and its Subsidiaries.\n(d) Section headings herein and in the other Loan Documents are included for convenience of reference only and shall not affect the interpretation of this Agreement or any other Loan Document.\n1.4 Times of Day. Unless otherwise specified, all references herein to times of day shall be references to Pacific time (daylight or standard, as applicable).\n1.5 Eurodollar Rate. The Administrative Agent does not warrant or accept responsibility for, or have any liability with respect to, the administration, submission or any other matter related to the rates in the definition of “Eurodollar Rate” or with respect to any comparable or successor rate.\n1.6 Letter of Credit Amounts. Unless otherwise specified herein, the amount of a Letter of Credit at any time shall be deemed to be the stated amount of such Letter of Credit in effect at such time; provided, however, that with respect to any Letter of Credit that, by its terms or the terms of any Issuer Document related thereto, provides for one or more automatic increases in the stated amount thereof, the amount of such Letter of Credit shall be deemed to be the maximum stated amount of such Letter of Credit after giving effect to all such increases, whether or not such maximum stated amount is in effect at such time."}
-{"idx": 12, "level": 3, "span": "(a) any “hazardous substance”, as defined by CERCLA;"}
-{"idx": 12, "level": 3, "span": "(b) any “hazardous waste”, as defined by the Resource Conservation and Recovery Act;"}
-{"idx": 12, "level": 3, "span": "(c) any petroleum product; or"}
-{"idx": 12, "level": 3, "span": "(d) any pollutant or contaminant or hazardous, dangerous or toxic chemical, material or substance within the meaning of any other applicable federal, state or local law, regulation, ordinance or requirement (including consent decrees and administrative orders) relating to or imposing liability or standards of conduct concerning any hazardous, toxic or dangerous waste, substance or material."}
-{"idx": 12, "level": 3, "span": "(a) any Interest Period that would otherwise end on a day that is not a Business Day shall be extended to the next succeeding Business Day unless such next succeeding Business Day falls in another calendar month, in which case such Interest Period shall end on the immediately preceding Business Day;"}
-{"idx": 12, "level": 3, "span": "(b) except in the case of a two week Interest Period, any Interest Period that begins on the last Business Day of a calendar month (or on a day for which there is no numerically corresponding day in the calendar month at the end of such Interest Period) shall end on the last Business Day of the calendar month at the end of such Interest Period;"}
-{"idx": 12, "level": 3, "span": "(c) the Interest Period of all Loans which commence on the same date and comprise part of the same Borrowing shall be of the same duration;"}
-{"idx": 12, "level": 3, "span": "(d) Borrowings which commence on the same date but which are to have different Interest Periods shall be requested on separate Loan Requests; and"}
-{"idx": 12, "level": 3, "span": "(e) no Interest Period shall extend beyond the Termination Date."}
-{"idx": 12, "level": 4, "span": "(i) the failure by IPO Parent to own, directly or indirectly, at least a majority of the aggregate ordinary voting power for the election of directors of the Borrower represented by the issued and outstanding equity interests in the Borrower, unless IPO Parent otherwise has the right (pursuant to contract, proxy or otherwise), directly or indirectly, to designate"}
-{"idx": 12, "level": 4, "span": "(ii) the occupation of a majority of the seats (other than vacant seats) on the board of directors of the Borrower by Persons who were neither (A) members of the board of directors of the Borrower as of the date of the IPO, nor (B) nominated, designated or approved by the board of directors of the Borrower or IPO Parent, nor (C) appointed by directors so nominated, designated or approved."}
-{"idx": 12, "level": 3, "span": "(a) Generally\nAll accounting terms not specifically or completely defined herein shall be construed in conformity with, and all financial data (including financial ratios and other financial calculations) required to be submitted pursuant to this Agreement shall be prepared in conformity with, GAAP applied on a consistent basis, as in effect from time to time, applied in a manner consistent with that used in preparing the Audited Financial Statements, except as otherwise specifically prescribed herein."}
-{"idx": 12, "level": 3, "span": "(b) Changes in GAAP\nIf at any time any change in GAAP would affect the computation of any financial ratio or requirement set forth in any Loan Document, and either the Borrower or the Majority Lenders shall so request, the Administrative Agent, the Lenders and the Borrower shall negotiate in good faith to amend such ratio or requirement to preserve the original intent thereof in light of such change in GAAP (subject to the approval of the Majority Lenders); provided that, until so amended, (i) such ratio or requirement shall continue to be computed in accordance with GAAP prior to such change therein and (ii) the Borrower shall provide to the Administrative Agent and the Lenders financial statements and other documents required under this Agreement or as reasonably requested hereunder setting forth a reconciliation between calculations of such ratio or requirement made before and after giving effect to such change in GAAP."}
-{"idx": 12, "level": 3, "span": "(a) The definitions of terms herein shall apply equally to the singular and plural forms of the terms defined\nWhenever the context may require, any pronoun shall include the corresponding masculine, feminine and neuter forms. The words “include,” “includes” and “including” shall be deemed to be followed by the phrase “without limitation”. The word “will” shall be construed to have the same meaning and effect as the word “shall”. Unless the context requires otherwise, (i) any definition of or reference to any agreement, instrument or other document (including any organization document) shall be construed as referring to such agreement, instrument or other document as from time to time amended, supplemented or otherwise modified (subject to any restrictions on such amendments, supplements or modifications set forth herein or in any other Loan Document), (ii) any reference herein to any Person shall be construed to include such Person’s successors and assigns, (iii) the words “herein,” “hereof’ and “hereunder,” and words of similar import when used in any Loan Document, shall be construed to refer to such Loan Document in its entirety and not to any particular provision thereof, (iv) all references in a Loan Document to Articles, Sections, Preliminary Statements, Exhibits and Schedules shall be construed to refer to Articles and Sections of, and Preliminary Statements, Exhibits and Schedules to, the Loan Document in which such references appear, (v) any reference to any law shall"}
-{"idx": 12, "level": 3, "span": "(b) In the computation of periods of time from a specified date to a later specified date, the word “from” means “from and including”; the words “to” and “until” each mean “to but excluding”; and the word “through” means “to and including”."}
-{"idx": 12, "level": 3, "span": "(c) Any reference to a “fiscal quarter” or a “fiscal year” means, respectively, a fiscal quarter or fiscal year of the Borrower and its Subsidiaries."}
-{"idx": 12, "level": 3, "span": "(d) Section headings herein and in the other Loan Documents are included for convenience of reference only and shall not affect the interpretation of this Agreement or any other Loan Document."}
-{"idx": 12, "level": 2, "span": "SECTION 2. COMMITMENTS OF THE LENDERS.\nSubject to the terms and conditions of this Agreement, each Lender, severally but not jointly, agrees to make Loans and to participate in Letters of Credit, as described in this Section 2.\n2.1 Commitments to Make Loans.\n(a) Each Lender, severally but not jointly, agrees to make revolving loans to the Borrower, which may be repaid and reborrowed from time to time (collectively the “Loans” and each individually a “Loan”) on any Business Day, during the period from the Restatement\nEffective Date to the Termination Date, in such amounts as the Borrower may from time to time request; provided that the TCIL Usage shall not at any time exceed the Credit Capacity.\n(b) All Loans shall be made by the Lenders on a pro rata basis, calculated for each Lender based on its Percentage.\n2.2 Commitment to Issue Letters of Credit. From time to time on any Business Day, each Issuer agrees to issue, and each Lender will participate in, Letters of Credit in accordance with Section 5.\n2.3 Loan Options. Each Loan shall be either an Alternate Base Rate Loan or a Eurodollar Rate Loan as shall be selected by the Borrower, except as otherwise provided herein. During any period that any Event of Default or Unmatured Event of Default exists, the Borrower shall no longer have the option of electing Eurodollar Rate Loans, and during such period all Loans shall be made as or converted to (on the last day of the Interest Period therefor) Alternate Base Rate Loans only, it being understood, however, that the foregoing shall not be construed to waive, amend or modify any right or power of the Lenders and the Administrative Agent hereunder, including all rights to terminate the Commitments and declare the Loans immediately due and payable. The maximum number of Borrowings of Eurodollar Rate Loans which the Borrower shall be permitted to have outstanding at any time shall not exceed ten. The Borrower shall not have the right to borrow Eurodollar Rate Loans less than two weeks prior to the scheduled Termination Date.\n2.4 Borrowing Procedures.\n(a) Loan Requests. The Borrower shall give the Administrative Agent irrevocable notice, which may be given by (A) telephone, or (B) a Loan Request; provided that any telephonic notice must be confirmed immediately by delivery to the Administrative Agent of a Loan Request, not later than (i) 10:00 a.m. at least three Business Days prior to the requested Funding Date (or continuation or conversion date, as applicable) in the instance of a Borrowing of Eurodollar Rate Loans, or (ii) 8:00 a.m. on the requested Funding Date in the instance of a Borrowing of Alternate Base Rate Loans, of each requested Borrowing, and the Administrative Agent shall promptly advise each Lender thereof. Each notice from the Borrower to the Administrative Agent shall specify (i) the requested Funding Date or continuation/conversion date, as applicable, (ii) the aggregate amount of the Borrowing requested (in an amount permitted under Section 2.4(b)), (iii) the Type of Loans being borrowed, continued or converted, as applicable, and (iv) if such Borrowing, continuation or conversion is of Eurodollar Rate Loans, the Interest Period with respect thereto (subject to the limitations set forth in Section 2.3 and the definition of Interest Period). Any notice not specifying the Type of Borrowing shall be deemed a request for a Borrowing of Alternate Base Rate Loans.\n(b) Amount and Increments of Loans. Each Borrowing shall be made in a minimum aggregate amount of $500,000 (or, if less, the Total Availability) or a higher integral multiple of $250,000.\n(c) Funding of Administrative Agent. Not later than 10:30 a.m. on the Funding Date of a Borrowing, each Lender shall provide the Administrative Agent at the Administrative Agent’s Office (or such other place as the Administrative Agent shall designate from time to time) with immediately available funds covering such Lender’s Percentage of such Borrowing and the Administrative Agent shall pay over such funds to the Borrower (at an account maintained by the Borrower in the United States) upon the Administrative Agent’s receipt of the documents, if any, required under Section 11 with respect to such Loan and provided all of the conditions precedent to the funding of the requested Loans have been satisfied.\n2.5 Continuation and/or Conversion of Loans. The Borrower may elect (i) to continue any outstanding Eurodollar Rate Loan from the current Interest Period of such Loan into a subsequent Interest Period to begin on the last day of such current Interest Period, or (ii) to convert any outstanding Alternate Base Rate Loan into a Eurodollar Rate Loan or, on the last day of the Interest Period with respect thereto, a Eurodollar Rate Loan into an Alternate Base Rate Loan, by giving the Administrative Agent a notice in the form required by Section 2.4. Absent notice of continuation or conversion, each Eurodollar Rate Loan shall automatically convert into an Alternate Base Rate Loan on the last day of the current Interest Period for such Eurodollar Rate Loan, unless paid in full on such last day. Each conversion or continuation of Eurodollar Rate Loans shall be pro rated among the applicable outstanding Loans of all Lenders. No portion of the outstanding principal of any Loans shall be converted into Eurodollar Rate Loans and no Eurodollar Rate Loans shall be continued into a subsequent Interest Period, less than two weeks before the scheduled Termination Date or at any time that an Event of Default or an Unmatured Event of Default exists.\n2.6 Maturity of Loans. Unless required to be sooner paid pursuant to the other provisions of this Agreement, the Loans shall mature and be due and payable in full on the scheduled Termination Date.\n2.7 Defaulting Lenders.\n(a) Adjustments. Notwithstanding anything to the contrary contained in this Agreement, if any Lender becomes a Defaulting Lender, then, until such time as such Lender is no longer a Defaulting Lender, to the extent permitted by applicable law:\n(i) Waivers and Amendments. Such Defaulting Lender’s right to approve or disapprove any amendment, waiver or consent with respect to this Agreement shall be restricted as set forth in the definition of “Required Lenders” and Section 15.2.\n(ii) Defaulting Lender Waterfall. Any payment of principal, interest, fees or other amounts received by the Administrative Agent for the account of such Defaulting Lender (whether voluntary or mandatory, at maturity, pursuant to Section 12 or otherwise) or received by the Administrative Agent from a Defaulting Lender pursuant to Section 6.4 shall be applied at such time or times as may be determined by the Administrative Agent as follows: first, to the payment of any amounts owing by such Defaulting Lender to the Administrative Agent hereunder; second, to the payment on a pro rata basis of any amounts owing by such Defaulting Lender to any Issuer hereunder; third, to Cash Collateralize such Issuer’s Fronting Exposure with respect to such Defaulting Lender in accordance with Section 5.8; fourth, as the Borrower may request (so long as no Unmatured Event of Default or Event of Default exists), to the funding of any Loan in respect of which such Defaulting Lender has failed to fund its portion thereof as required by this Agreement, as determined by the Administrative Agent; fifth, if so determined by the Administrative Agent and the Borrower, to be held in a deposit account and released pro rata in order to (x) satisfy such Defaulting Lender’s potential future funding obligations with respect to Loans under this Agreement and (y) Cash Collateralize the Issuers’ future Fronting Exposure with respect to such Defaulting Lender with respect to future Letters of Credit issued under this Agreement, in accordance with Section 5.8; sixth, to the payment of any amounts owing to the Lenders, the Issuers or as a result of any judgment of a court of competent jurisdiction obtained by any Lender or the Issuer against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; seventh, so long as no Unmatured Event of Default or Event of Default exists, to the payment of any amounts owing to the Borrower as a result of any judgment of a court of competent jurisdiction obtained by the Borrower against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; and eighth, to such Defaulting Lender or as otherwise directed by a court of competent jurisdiction; provided that if (x) such payment is a payment of the principal amount of any Loans or Disbursements in respect of which such Defaulting Lender has not fully funded its appropriate share, and (y) such Loans were made or the related Letters of Credit were issued at a time when the conditions set forth in Section 11.2 were satisfied or waived, such payment shall be applied solely to pay the Loans of, and Disbursements owed to, all Non-Defaulting Lenders on a pro rata basis prior to being applied to the payment of any Loans of, or Disbursements owed to, such Defaulting Lender until such time as all Loans and funded and unfunded participations in Disbursements are held by the Lenders pro rata in accordance with the Commitments hereunder without giving effect to Section 2.7(a)(iv). Any payments, prepayments or other amounts paid or payable to a Defaulting Lender that are applied (or held) to pay amounts owed by a Defaulting Lender or to post Cash Collateral pursuant to this Section 2.7(a)(ii) shall\nbe deemed paid to and redirected by such Defaulting Lender, and each Lender irrevocably consents hereto.\n(iii) Certain Fees.\n(1) No Defaulting Lender shall be entitled to receive any fee payable under Section 4.3 for any period during which that Lender is a Defaulting Lender (and the Borrower shall not be required to pay any such fee that otherwise would have been required to have been paid to that Defaulting Lender).\n(2) Each Defaulting Lender shall be entitled to receive Letter of Credit Fees for any period during which that Lender is a Defaulting Lender only to the extent allocable to its Percentage of the Stated Amount of Letters of Credit for which it has provided Cash Collateral pursuant to Section 5.8.\n(3) With respect to any Letter of Credit Fee not required to be paid to any Defaulting Lender pursuant to clause (2) above, the Borrower shall (x) pay to each Non-Defaulting Lender that portion of any such fee otherwise payable to such Defaulting Lender with respect to such Defaulting Lender’s participation in Letter of Credit Outstandings that has been reallocated to such Non-Defaulting Lender pursuant to clause (iv) below, (y) pay to the applicable Issuer the amount of any such fee otherwise payable to such Defaulting Lender to the extent allocable to such Issuer’s Fronting Exposure to such Defaulting Lender, and (z) not be required to pay the remaining amount of any such fee.\n(iv) Reallocation of Applicable Percentages to Reduce Fronting Exposure. All or any part of such Defaulting Lender’s participation in Letter of Credit Outstandings shall be reallocated among the Non-Defaulting Lenders in accordance with their respective Percentages (calculated without regard to such Defaulting Lender’s Commitment) but only to the extent that such reallocation does not cause the aggregate Credit Extensions of any Non-Defaulting Lender to exceed such Non-Defaulting Lender’s Commitment. No reallocation hereunder shall constitute a waiver or release of any claim of any party hereunder against a Defaulting Lender arising from that Lender having become a Defaulting Lender, including any claim of a Non-Defaulting Lender as a result of such Non-Defaulting Lender’s increased exposure following such reallocation.\n(v) Cash Collateral, Repayment of Swing Line Loans. If the reallocation described in clause (a)(iv) above cannot, or can only partially, be effected, the Borrower shall, without prejudice to any right or remedy available to it hereunder or under applicable law, Cash Collateralize the Issuers’ Fronting Exposure in accordance with the procedures set forth in Section 5.8.\n(a) Defaulting Lender Cure. If the Borrower, the Administrative Agent, and each Issuer agree in writing that a Lender is no longer a Defaulting Lender, the Administrative Agent will so notify the parties hereto, whereupon as of the effective date specified in such notice and subject to any conditions set forth therein (which may include arrangements with respect to any Cash Collateral), such Lender will, to the extent applicable, purchase at par that portion of outstanding Loans of the other Lenders or take such other actions as the Administrative Agent may determine to be necessary to cause the Loans and funded and unfunded participations in Letters of Credit to be held on a pro rata basis by the Lenders in accordance with their respective Percentages (without giving effect to Section 2.7(a)(iv)), whereupon such Lender will cease to be a Defaulting Lender; provided that no adjustments will be made retroactively with respect to fees accrued or payments made by or on behalf of the Borrower while that Lender was a Defaulting Lender; and provided, further, that except to the extent otherwise expressly agreed by the affected parties, no change hereunder from Defaulting Lender to Lender will constitute a waiver or release of any claim of any party hereunder arising from that Lender’s having been a Defaulting Lender."}
-{"idx": 12, "level": 3, "span": "(a) Each Lender, severally but not jointly, agrees to make revolving loans to the Borrower, which may be repaid and reborrowed from time to time (collectively the “Loans” and each individually a “Loan”) on any Business Day, during the period from the Restatement"}
-{"idx": 12, "level": 3, "span": "(b) All Loans shall be made by the Lenders on a pro rata basis, calculated for each Lender based on its Percentage."}
-{"idx": 12, "level": 3, "span": "(a) Loan Requests\nThe Borrower shall give the Administrative Agent irrevocable notice, which may be given by (A) telephone, or (B) a Loan Request; provided that any telephonic notice must be confirmed immediately by delivery to the Administrative Agent of a Loan Request, not later than (i) 10:00 a.m. at least three Business Days prior to the requested Funding Date (or continuation or conversion date, as applicable) in the instance of a Borrowing of Eurodollar Rate Loans, or (ii) 8:00 a.m. on the requested Funding Date in the instance of a Borrowing of Alternate Base Rate Loans, of each requested Borrowing, and the Administrative Agent shall promptly advise each Lender thereof. Each notice from the Borrower to the Administrative Agent shall specify (i) the requested Funding Date or continuation/conversion date, as applicable, (ii) the aggregate amount of the Borrowing requested (in an amount permitted under Section 2.4(b)), (iii) the Type of Loans being borrowed, continued or converted, as applicable, and (iv) if such Borrowing, continuation or conversion is of Eurodollar Rate Loans, the Interest Period with respect thereto (subject to the limitations set forth in Section 2.3 and the definition of Interest Period). Any notice not specifying the Type of Borrowing shall be deemed a request for a Borrowing of Alternate Base Rate Loans."}
-{"idx": 12, "level": 3, "span": "(b) Amount and Increments of Loans\nEach Borrowing shall be made in a minimum aggregate amount of $500,000 (or, if less, the Total Availability) or a higher integral multiple of $250,000."}
-{"idx": 12, "level": 3, "span": "(c) Funding of Administrative Agent\nNot later than 10:30 a.m. on the Funding Date of a Borrowing, each Lender shall provide the Administrative Agent at the Administrative Agent’s Office (or such other place as the Administrative Agent shall designate from time to time) with immediately available funds covering such Lender’s Percentage of such Borrowing and the Administrative Agent shall pay over such funds to the Borrower (at an account maintained by the Borrower in the United States) upon the Administrative Agent’s receipt of the documents, if any, required under Section 11 with respect to such Loan and provided all of the conditions precedent to the funding of the requested Loans have been satisfied."}
-{"idx": 12, "level": 3, "span": "(a) Adjustments\nNotwithstanding anything to the contrary contained in this Agreement, if any Lender becomes a Defaulting Lender, then, until such time as such Lender is no longer a Defaulting Lender, to the extent permitted by applicable law:"}
-{"idx": 12, "level": 4, "span": "(i) Waivers and Amendments\nSuch Defaulting Lender’s right to approve or disapprove any amendment, waiver or consent with respect to this Agreement shall be restricted as set forth in the definition of “Required Lenders” and Section 15.2."}
-{"idx": 12, "level": 4, "span": "(ii) Defaulting Lender Waterfall\nAny payment of principal, interest, fees or other amounts received by the Administrative Agent for the account of such Defaulting Lender (whether voluntary or mandatory, at maturity, pursuant to Section 12 or otherwise) or received by the Administrative Agent from a Defaulting Lender pursuant to Section 6.4 shall be applied at such time or times as may be determined by the Administrative Agent as follows: first, to the payment of any amounts owing by such Defaulting Lender to the Administrative Agent hereunder; second, to the payment on a pro rata basis of any amounts owing by such Defaulting Lender to any Issuer hereunder; third, to Cash Collateralize such Issuer’s Fronting Exposure with respect to such Defaulting Lender in accordance with Section 5.8; fourth, as the Borrower may request (so long as no Unmatured Event of Default or Event of Default exists), to the funding of any Loan in respect of which such Defaulting Lender has failed to fund its portion thereof as required by this Agreement, as determined by the Administrative Agent; fifth, if so determined by the Administrative Agent and the Borrower, to be held in a deposit account and released pro rata in order to (x) satisfy such Defaulting Lender’s potential future funding obligations with respect to Loans under this Agreement and (y) Cash Collateralize the Issuers’ future Fronting Exposure with respect to such Defaulting Lender with respect to future Letters of Credit issued under this Agreement, in accordance with Section 5.8; sixth, to the payment of any amounts owing to the Lenders, the Issuers or as a result of any judgment of a court of competent jurisdiction obtained by any Lender or the Issuer against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; seventh, so long as no Unmatured Event of Default or Event of Default exists, to the payment of any amounts owing to the Borrower as a result of any judgment of a court of competent jurisdiction obtained by the Borrower against such Defaulting Lender as a result of such Defaulting Lender’s breach of its obligations under this Agreement; and eighth, to such Defaulting Lender or as otherwise directed by a court of competent jurisdiction; provided that if (x) such payment is a payment of the principal amount of any Loans or Disbursements in respect of which such Defaulting Lender has not fully funded its appropriate share, and (y) such Loans were made or the related Letters of Credit were issued at a time when the conditions set forth in Section 11.2 were satisfied or waived, such payment shall be applied solely to pay the Loans of, and Disbursements owed to, all Non-Defaulting Lenders on a pro rata basis prior to being applied to the payment of any Loans of, or Disbursements owed to, such Defaulting Lender until such time as all Loans and funded and unfunded participations in Disbursements are held by the Lenders pro rata in accordance with the Commitments hereunder without giving effect to Section 2.7(a)(iv). Any payments, prepayments or other amounts paid or payable to a Defaulting Lender that are applied (or held) to pay amounts owed by a Defaulting Lender or to post Cash Collateral pursuant to this Section 2.7(a)(ii) shall"}
-{"idx": 12, "level": 4, "span": "(iii) Certain Fees."}
-{"idx": 12, "level": 4, "span": "(1) No Defaulting Lender shall be entitled to receive any fee payable under Section 4.3 for any period during which that Lender is a Defaulting Lender (and the Borrower shall not be required to pay any such fee that otherwise would have been required to have been paid to that Defaulting Lender)."}
-{"idx": 12, "level": 4, "span": "(2) Each Defaulting Lender shall be entitled to receive Letter of Credit Fees for any period during which that Lender is a Defaulting Lender only to the extent allocable to its Percentage of the Stated Amount of Letters of Credit for which it has provided Cash Collateral pursuant to Section 5.8."}
-{"idx": 12, "level": 4, "span": "(3) With respect to any Letter of Credit Fee not required to be paid to any Defaulting Lender pursuant to clause (2) above, the Borrower shall (x) pay to each Non-Defaulting Lender that portion of any such fee otherwise payable to such Defaulting Lender with respect to such Defaulting Lender’s participation in Letter of Credit Outstandings that has been reallocated to such Non-Defaulting Lender pursuant to clause (iv) below, (y) pay to the applicable Issuer the amount of any such fee otherwise payable to such Defaulting Lender to the extent allocable to such Issuer’s Fronting Exposure to such Defaulting Lender, and (z) not be required to pay the remaining amount of any such fee."}
-{"idx": 12, "level": 4, "span": "(iv) Reallocation of Applicable Percentages to Reduce Fronting Exposure\nAll or any part of such Defaulting Lender’s participation in Letter of Credit Outstandings shall be reallocated among the Non-Defaulting Lenders in accordance with their respective Percentages (calculated without regard to such Defaulting Lender’s Commitment) but only to the extent that such reallocation does not cause the aggregate Credit Extensions of any Non-Defaulting Lender to exceed such Non-Defaulting Lender’s Commitment. No reallocation hereunder shall constitute a waiver or release of any claim of any party hereunder against a Defaulting Lender arising from that Lender having become a Defaulting Lender, including any claim of a Non-Defaulting Lender as a result of such Non-Defaulting Lender’s increased exposure following such reallocation."}
-{"idx": 12, "level": 4, "span": "(v) Cash Collateral, Repayment of Swing Line Loans\nIf the reallocation described in clause (a)(iv) above cannot, or can only partially, be effected, the Borrower shall, without prejudice to any right or remedy available to it hereunder or under applicable law, Cash Collateralize the Issuers’ Fronting Exposure in accordance with the procedures set forth in Section 5.8."}
-{"idx": 12, "level": 3, "span": "(a) Defaulting Lender Cure\nIf the Borrower, the Administrative Agent, and each Issuer agree in writing that a Lender is no longer a Defaulting Lender, the Administrative Agent will so notify the parties hereto, whereupon as of the effective date specified in such notice and subject to any conditions set forth therein (which may include arrangements with respect to any Cash Collateral), such Lender will, to the extent applicable, purchase at par that portion of outstanding Loans of the other Lenders or take such other actions as the Administrative Agent may determine to be necessary to cause the Loans and funded and unfunded participations in Letters of Credit to be held on a pro rata basis by the Lenders in accordance with their respective Percentages (without giving effect to Section 2.7(a)(iv)), whereupon such Lender will cease to be a Defaulting Lender; provided that no adjustments will be made retroactively with respect to fees accrued or payments made by or on behalf of the Borrower while that Lender was a Defaulting Lender; and provided, further, that except to the extent otherwise expressly agreed by the affected parties, no change hereunder from Defaulting Lender to Lender will constitute a waiver or release of any claim of any party hereunder arising from that Lender’s having been a Defaulting Lender."}
-{"idx": 12, "level": 2, "span": "SECTION 3. EVIDENCE OF LOANS.\n(a) The Credit Extensions made by each Lender shall be evidenced by one or more accounts or records maintained by such Lender and by the Administrative Agent in the ordinary course of business. The accounts or records maintained by the Administrative Agent and each Lender shall be conclusive absent manifest error of the amount of the Credit Extensions made by the Lenders to the Borrower and the interest and payments thereon. Any failure to so record or any error in doing so shall not, however, limit or otherwise affect the obligation of the Borrower hereunder to pay any amount owing with respect to the Liabilities. In the event of any conflict between the accounts and records maintained by any Lender and the accounts and records of the Administrative Agent in respect of such matters, the accounts and records of the Administrative Agent shall control in the absence of manifest error. Upon the request of any Lender made through the Administrative Agent, the Borrower shall execute and deliver to such Lender (through the Administrative Agent) a Note which shall evidence such Lender’s Loans in addition to such accounts or records. Each Lender may attach schedules to its Note and endorse thereon the date, Type and amount of each of its Loans, the Interest Period therefor (if applicable) and payments with respect thereto.\n(b) In addition to the accounts and records referred to in clause (a), each Lender and the Administrative Agent shall maintain in accordance with its usual practice accounts or records evidencing the purchases and sales by such Lender of participations in Letters of Credit. In the event of any conflict between the accounts and records maintained by the Administrative Agent and the accounts and records of any Lender in respect of such matters,\nthe accounts and records of the Administrative Agent shall control in the absence of manifest error."}
-{"idx": 12, "level": 3, "span": "(a) The Credit Extensions made by each Lender shall be evidenced by one or more accounts or records maintained by such Lender and by the Administrative Agent in the ordinary course of business\nThe accounts or records maintained by the Administrative Agent and each Lender shall be conclusive absent manifest error of the amount of the Credit Extensions made by the Lenders to the Borrower and the interest and payments thereon. Any failure to so record or any error in doing so shall not, however, limit or otherwise affect the obligation of the Borrower hereunder to pay any amount owing with respect to the Liabilities. In the event of any conflict between the accounts and records maintained by any Lender and the accounts and records of the Administrative Agent in respect of such matters, the accounts and records of the Administrative Agent shall control in the absence of manifest error. Upon the request of any Lender made through the Administrative Agent, the Borrower shall execute and deliver to such Lender (through the Administrative Agent) a Note which shall evidence such Lender’s Loans in addition to such accounts or records. Each Lender may attach schedules to its Note and endorse thereon the date, Type and amount of each of its Loans, the Interest Period therefor (if applicable) and payments with respect thereto."}
-{"idx": 12, "level": 3, "span": "(b) In addition to the accounts and records referred to in clause (a), each Lender and the Administrative Agent shall maintain in accordance with its usual practice accounts or records evidencing the purchases and sales by such Lender of participations in Letters of Credit\nIn the event of any conflict between the accounts and records maintained by the Administrative Agent and the accounts and records of any Lender in respect of such matters,"}
-{"idx": 12, "level": 2, "span": "SECTION 4. INTEREST AND FEES.\n4.1 Interest. Subject to Section 4.2,\n(a) Alternate Base Rate Loans. The unpaid principal of the Alternate Base Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Alternate Base Rate in effect from time to time plus (ii) the Alternate Base Rate Margin in effect from time to time, payable on each Payment Date and at maturity.\n(a) Eurodollar Rate Loans. The unpaid principal of the Eurodollar Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Eurodollar Rate (Reserve Adjusted) in effect for each applicable Interest Period plus (ii) the Eurodollar Margin in effect from time to time, payable on each Payment Date and at maturity.\n4.2 Default Interest. The Borrower shall pay interest on any amount of principal of any Loan which is not paid when due, whether at stated maturity, by acceleration or otherwise, after as well as before judgment, accruing from the date such amount shall have become due to the date of payment thereof in full at the Default Rate. While any other Event of Default exists, upon the request of the Majority Lenders, the Borrower shall pay interest on the principal amount of all of its outstanding Loans and, to the extent permitted by applicable law, all other Liabilities, at a rate per annum equal to the Default Rate.\n4.3 Non-use Fee. The Borrower agrees to pay to the Administrative Agent for the pro rata benefit of the Lenders in accordance with their respective Percentages, a fee (the “Non-use Fee”) during the period from the Restatement Effective Date to the Termination Date in an amount equal to the Non-use Fee Rate per annum in effect from time to time on the daily actual Total Availability, subject to adjustment as provided in Section 2.7. The Non-use Fee shall be payable in arrears on each Payment Date and on the Termination Date for any period then ending for which the Non-use Fee shall not have been theretofore paid.\n4.4 Letter of Credit Fees. The Borrower agrees to pay to the Administrative Agent, for the pro rata account of the Lenders in accordance with their respective Percentages, a fee for each Letter of Credit (the “Letter of Credit Fee”) for the period from the date of the issuance of such Letter of Credit to the date upon which such Letter of Credit expires or is otherwise terminated, of (a) in the case of each Commercial Letter of Credit, 0.75% per annum times the Stated Amount of such Letter of Credit, and (b) in the case of each Standby Letter of Credit, the LC Fee Rate per annum in effect from time to time times the Stated Amount of such Letter of Credit. Such fee shall be payable in arrears on each Payment Date and on the Termination Date (and thereafter on demand) for the period then ending for which such fee shall not theretofore have been paid. Notwithstanding\nthe foregoing or any other provision of this Agreement, any Letter of Credit Fees otherwise payable for the account of a Defaulting Lender with respect to any Letter of Credit as to which such Defaulting Lender has not provided Cash Collateral satisfactory to the applicable Issuer pursuant to Section 5.8 shall be payable, to the maximum extent permitted by applicable law, to the other Lenders in accordance with the upward adjustments in their respective Percentages allocable to such Letter of Credit pursuant to Section 2.7(a)(iv), with the balance of such fee, if any, payable to such Issuer for its own account.\n4.5 Fronting Fees. The Borrower agrees to pay to the applicable Issuer a fronting fee for each Letter of Credit issued by such Issuer at the times and in the amounts separately agreed to by the Borrower and such Issuer.\n4.6 Fees. The Borrower shall pay to the Administrative Agent, the Syndication Agent, the Co-Documentation Agents and the Joint Lead Arrangers, for their own respective accounts, such fees as may be mutually agreed upon from time to time by such parties.\n4.7 Method of Calculating Interest and Fees. Interest on each Alternate Base Rate Loan bearing interest based on Bank of America’s prime rate and any fees payable under Section 4.3 shall be computed on the basis of a year consisting of 365 or 366 days, as the case may be, and paid for actual days elapsed, calculated as to each applicable period from the first day thereof to the last day thereof. All other interest and fees shall be computed on the basis of a year consisting of 360 days and paid for actual days elapsed, calculated as to each applicable period from the first day thereof to the last day thereof."}
-{"idx": 12, "level": 3, "span": "(a) Alternate Base Rate Loans\nThe unpaid principal of the Alternate Base Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Alternate Base Rate in effect from time to time plus (ii) the Alternate Base Rate Margin in effect from time to time, payable on each Payment Date and at maturity."}
-{"idx": 12, "level": 3, "span": "(a) Eurodollar Rate Loans\nThe unpaid principal of the Eurodollar Rate Loans shall bear interest prior to maturity at a rate per annum equal to the sum of (i) the Eurodollar Rate (Reserve Adjusted) in effect for each applicable Interest Period plus (ii) the Eurodollar Margin in effect from time to time, payable on each Payment Date and at maturity."}
-{"idx": 12, "level": 2, "span": "SECTION 5. LETTERS OF CREDIT.\n5.1 Issuance Requests. By delivering to the Administrative Agent and the applicable Issuer an Issuance Request on or before 12:00 noon the Borrower may request, from time to time prior to the Termination Date and on not less than three nor more than ten Business Days’ notice, that such Issuer issue a Letter of Credit for the account of the Borrower; provided that (x) the Letter of Credit Outstandings shall not at any time exceed $20,000,000 and (y) the TCIL Usage shall not at any time exceed the Credit Capacity. Such Issuance Request may be sent by facsimile, by United States mail, by overnight courier, by electronic transmission using the system provided by the Issuer, by personal delivery or by any other means acceptable to the Issuer. Upon receipt of an Issuance Request, the Administrative Agent shall promptly notify the Lenders thereof. Each Letter of Credit shall by its terms be stated to expire on a date (its “Stated Expiry Date”) no later than the earlier of 12 months from its date of issuance and 14 days prior to the scheduled Termination Date.\nThe Administrative Agent, the Lenders and the Borrower hereby agree, anything in any Issuance Request to the contrary notwithstanding, that any and all provisions of any Issuance Request purporting to grant a security interest in any asset of the Borrower are null and void, it being the intention of the parties that security for the Reimbursement Obligations in respect of any Letter of\nCredit shall be provided as described in Section 5.8 and pursuant to the documents described in Section 8. Notwithstanding the terms of any Issuance Request for a Commercial Letter of Credit, in no event may the Borrower extend the time for reimbursing any drawing under a Commercial Letter of Credit by obtaining a bankers’ acceptance from the relevant Issuer.\nIn the event of any conflict between the terms hereof and the terms of any Issuance Request, the terms hereof shall control.\n5.2 Issuances and Extensions.\n(a) Subject to the terms and conditions of this Agreement (including Section 11), each Issuer shall issue Letters of Credit in accordance with Issuance Requests made therefor.\n(b) Each Issuer will make available the original of each Letter of Credit which it issues in accordance with the Issuance Request therefor (and will promptly provide the Administrative Agent with a copy of such Letter of Credit).\n(c) An Issuer shall not be under any obligation to issue any Letter of Credit if:\n(i) any order, judgment or decree of any Governmental Authority or arbitrator shall by its terms purport to enjoin or restrain such Issuer from issuing such Letter of Credit, or any law applicable to such Issuer or any request or directive (whether or not having the force of law) from any Governmental Authority with jurisdiction over such Issuer shall prohibit, or request that such Issuer refrain from, the issuance of letters of credit generally or such Letter of Credit in particular or shall impose upon such Issuer with respect to such Letter of Credit any restriction, reserve or capital requirement (for which such Issuer is not otherwise compensated hereunder) not in effect on the Restatement Effective Date, or shall impose upon such Issuer any unreimbursed loss, cost or expense which was not applicable on the Restatement Effective Date and which such Issuer in good faith deems material to it;\n(ii) the issuance of such Letter of Credit would violate one or more policies of such Issuer;\n(iii) such Letter of Credit is to be denominated in a currency other than Dollars;\n(iv) such Letter of Credit contains any provisions for automatic reinstatement of the stated amount after any drawing thereunder; or\n(v) any Lender is at such time a Defaulting Lender, unless such Issuer has entered into arrangements, including the delivery of Cash Collateral, satisfactory to such Issuer (in its sole discretion) with the Borrower or such Defaulting Lender\nto eliminate such Issuer’s actual or potential Fronting Exposure (after giving effect to Section 2.7(a)(iv)) with respect to such Defaulting Lender arising from either the Letter of Credit then proposed to be issued or such Letter of Credit and all other Letter of Credit Outstandings as to which such Issuer has actual or potential Fronting Exposure, as it may elect in its sole discretion.\n(d) No Issuer shall amend any Letter of Credit if such Issuer would not be permitted at such time to issue such Letter of Credit in its amended form under the terms hereof.\n(e) No Issuer shall be under any obligation to amend any Letter of Credit if (i) such Issuer would have no obligation at such time to issue such Letter of Credit in its amended form under the terms hereof or (ii) the beneficiary of such Letter of Credit does not accept the proposed amendment to such Letter of Credit.\n(f) Each Issuer shall act on behalf of the Lenders with respect to any Letter of Credit issued by it and the documents associated therewith, and each Issuer shall have all of the benefits and immunities (i) provided to the Administrative Agent in Section 13 with respect to any acts taken or omissions suffered by such Issuer in connection with Letters of Credit issued by it or proposed to be issued by it and Issuance Requests and applications pertaining to such Letters of Credit as fully as if the term “Administrative Agent” as used in Section 13 included such Issuer with respect to such acts or omissions, and (ii) as additionally provided herein with respect to such Issuer.\n5.3 Documentary and Processing Charges Payable to each Issuer. The Borrower agrees to pay directly to the applicable Issuer for its own account all customary fees and standard costs and charges of such Issuer in connection with the issuance, maintenance, modification (if any) and administration of each Letter of Credit issued by such Issuer upon demand from time to time. Such customary fees and standard costs and charges are due and payable on demand and are nonrefundable.\n5.4 Other Lenders’ Participation. Each Letter of Credit issued pursuant to Section 5.2 shall, effective upon its issuance and without further action, be issued on behalf of all Lenders (including the Issuer thereof) pro rata according to their respective Percentages. Each Lender shall, to the extent of its Percentage, be deemed irrevocably to have participated in the issuance of such Letter of Credit and shall promptly pay to the Administrative Agent for the account of the Issuer thereof an amount equal to such Lender’s Percentage of the amount of any drawings which have not been reimbursed by the Borrower in accordance with Section 5.5, or which have been reimbursed by the Borrower but must be returned or disgorged by such Issuer for any reason, and each Lender (unless such Lender is then a Defaulting Lender) shall, to the extent of its Percentage, be entitled to receive from the Administrative Agent a ratable portion of the Letter of Credit Fees received by the Administrative Agent pursuant to Section 4.4, with respect to each Letter of Credit. In the event\nthat the Borrower shall fail to reimburse any Issuer (through the Administrative Agent), or if for any reason Loans shall not be made to fund any Reimbursement Obligation, all as provided in Section 5.5 and in an amount equal to the amount of any drawing honored by such Issuer under a Letter of Credit issued by it, or in the event such Issuer must for any reason return or disgorge such reimbursement, the Administrative Agent shall promptly notify such Issuer and each Lender of the unreimbursed amount of such drawing and of such Lender’s respective participation therein. Each Lender shall make available to the Administrative Agent, for the account of such Issuer, whether or not any Event of Default or Unmatured Event of Default shall exist, an amount equal to such Lender’s respective participation in same day or immediately available funds at the office of the Administrative Agent not later than 10:00 a.m. on the Business Day after the date notified by such Issuer. The Administrative Agent will promptly make available to the applicable Issuer any amounts received by it pursuant to the preceding sentence. In the event that any Lender fails to make available to the Administrative Agent the amount of such Lender’s participation in such Letter of Credit as provided herein, such Issuer shall be entitled to recover such amount on demand from such Lender together with interest at the daily average Federal Funds Rate for three Business Days (together with such other compensatory amounts determined by the Administrative Agent in accordance with banking industry rules on interbank compensation) and thereafter at the Alternate Base Rate plus 2%. Nothing in this Section shall be deemed to prejudice the right of any Lender to recover from any Issuer any amounts made available by such Lender to such Issuer pursuant to this Section in the event that it is determined by a court of competent jurisdiction that the applicable payment with respect to a Letter of Credit by such Issuer constituted gross negligence or willful misconduct on the part of such Issuer. Each Issuer shall pay to the Administrative Agent, for the account of each Lender which has paid all amounts payable by it under this Section with respect to any Letter of Credit issued by such Issuer, such Lender’s Percentage of all payments received by such Issuer from the Borrower in reimbursement of drawings honored by such Issuer under such Letter of Credit when such payments are received. The Administrative Agent will promptly make available to the applicable Lenders any amounts received by it from an Issuer pursuant to the preceding sentence.\nEach Lender’s obligation to participate in Letters of Credit shall (a) continue notwithstanding termination of the Commitments until all Liabilities with respect to Letter of Credit Outstandings have been fully and finally paid and (b) be absolute and unconditional and shall not be affected by any circumstance, including (i) any setoff, counterclaim, recoupment, defense or other right which such Lender may have against any Issuer, the Borrower or any other Person for any reason whatsoever; (ii) the occurrence or continuance of an Event of Default or an Unmatured Event of Default or (iii) any other occurrence, event or condition, whether or not similar to any of the foregoing; provided that each Lender’s obligation to make Alternate Base Rate Loans pursuant to Section 5.5 is subject to the conditions set forth in Section 11.2 (other than delivery by the Borrower of a Loan Request).\n5.5 Disbursements. Upon receipt from the beneficiary of any Letter of Credit of any notice of a drawing under such Letter of Credit, the Issuer of such Letter of Credit will notify the Borrower and the Administrative Agent promptly of the presentment for payment of any Letter of Credit, or of any draft thereunder (any such payment, a “Disbursement”). Prior to 10:00 a.m. on the date of any payment by the Issuer under a Letter of Credit (a “Disbursement Date”), the Borrower will reimburse the applicable Issuer through the Administrative Agent for all amounts which it has disbursed under the Letter of Credit. To the extent the applicable Issuer is not reimbursed in full in accordance with the second sentence of this Section, the Borrower’s Reimbursement Obligation shall accrue interest at the Default Rate, payable on demand. In the event the applicable Issuer is not reimbursed by the Borrower on the Disbursement Date, or if such Issuer must for any reason return or disgorge such reimbursement, the Lenders shall, on the terms and subject to the conditions of this Agreement, make Loans that are Alternate Base Rate Loans on the next Business Day in an aggregate amount equal to the Reimbursement Obligations as provided in Section 2.1 (the Borrower being deemed to have given a timely Loan Request therefor for such amount); provided that, for the purpose of determining the availability of the Commitments immediately prior to giving effect to the application of the proceeds of such Loans, such Reimbursement Obligation shall be deemed not to be outstanding at such time. The proceeds of the Loans made pursuant to the preceding sentence will be turned over to the applicable Issuer in satisfaction of the Reimbursement Obligation.\n5.6 Reimbursement Obligations Absolute. The Borrower’s obligation (a “Reimbursement Obligation”) under Section 5.5 to reimburse an Issuer with respect to each Disbursement (including interest thereon) made under any Letter of Credit, and each other Lender’s obligation to make participation payments in each drawing which has not been reimbursed by the Borrower, shall be absolute and unconditional under any and all circumstances, including:\n(a) any lack of validity or enforceability of such Letter of Credit, this Agreement or any other Loan Document;\n(b) the existence of any claim, counterclaim, setoff, defense or other right that the Borrower or any Subsidiary may have at any time against any beneficiary or any transferee of such Letter of Credit (or any Person for whom any such beneficiary or any such transferee may be acting), any Issuer or any other Person, whether in connection with this Agreement, the transactions contemplated hereby or by such Letter of Credit or any agreement or instrument relating thereto, or any unrelated transaction;\n(c) any draft, demand, certificate or other document presented under such Letter of Credit proving to be forged, fraudulent, invalid or insufficient in any respect or any statement therein being untrue or inaccurate in any respect; or any loss or delay in the transmission or otherwise of any document required in order to make a drawing under such Letter of Credit;\n(d) waiver by the Issuer of any requirement that exists for the Issuer’s protection and not the protection of the Borrower or any waiver by the Issuer that does not in fact materially prejudice the Borrower;\n(e) honor of a demand for payment presented electronically even if such Letter of Credit requires that demand be in the form of a draft;\n(f) any payment made by the Issuer in respect of an otherwise complying item presented after the date specified as the expiration date of, or the date by which documents must be received under, such Letter of Credit if presentation after such date is authorized by the UCC, the ISP or the UCP, as applicable;\n(g) any payment by the applicable Issuer under such Letter of Credit against presentation of a draft or certificate that does not strictly comply with the terms of such Letter of Credit; or any payment made by such Issuer under such Letter of Credit to any Person purporting to be a trustee in bankruptcy, debtor-in-possession, assignee for the benefit of creditors, liquidator, receiver or other representative of or successor to any beneficiary or any transferee of such Letter of Credit, including any arising in connection with any proceeding under any Debtor Relief Law; or\n(h) any other circumstance or happening whatsoever, whether or not similar to any of the foregoing, including any other circumstance that might otherwise constitute a defense available to, or a discharge of, the Borrower or any Subsidiary.\nThe Borrower shall promptly examine a copy of each Letter of Credit and each amendment thereto that is delivered to it and, in the event of any claim of noncompliance with the Borrower’s instructions or other irregularity, the Borrower will immediately notify the applicable Issuer. The Borrower shall be conclusively deemed to have waived any such claim against such Issuer and its correspondents unless such notice is given as aforesaid.\n5.7 Role of Issuers. Each Lender and the Borrower agree that, in making any Disbursement under a Letter of Credit, the applicable Issuer shall not have any responsibility to obtain any document (other than any sight draft, certificates and documents expressly required by the Letter of Credit) or to ascertain or inquire as to the validity or accuracy of any such document or the authority of the Person executing or delivering any such document. None of any Issuer, the Administrative Agent, any of their respective Lender-Related Parties nor any correspondent, participant or assignee of any Issuer shall be liable to any Lender for (a) any action taken or omitted in connection herewith at the request or with the approval of the Lenders or the Majority Lenders, as applicable; (b) any action taken or omitted in the absence of gross negligence or willful misconduct; or (c) the due execution, effectiveness, validity or enforceability of any document or instrument related to any Letter of Credit. The Borrower hereby assumes all risks of the acts or omissions of any beneficiary or transferee with respect to its use of any Letter of Credit; provided \nthat this assumption is not intended to, and shall not, preclude the Borrower’s pursuing such rights and remedies as it may have against the beneficiary or transferee at law or under any other agreement. None of any Issuer, the Administrative Agent, any of their respective Lender-Related Parties nor any correspondent, participant or assignee of any Issuer shall be liable or responsible for any of the matters described in clauses (a) through (h) of Section 5.6); provided that anything in such clauses to the contrary notwithstanding, the Borrower may have a claim against an Issuer, and such Issuer may be liable to the Borrower, to the extent, but only to the extent, of any direct, as opposed to consequential or exemplary, damages suffered by the Borrower which the Borrower proves were caused by such Issuer’s willful misconduct or gross negligence or such Issuer’s willful failure to pay under any Letter of Credit after the presentation to it by the beneficiary of a sight draft and certificate(s) strictly complying with the terms and conditions of a Letter of Credit. In furtherance and not in limitation of the foregoing, any Issuer may accept documents that appear on their face to be in order, without responsibility for further investigation, regardless of any notice or information to the contrary, and such Issuer shall not be responsible for the validity or sufficiency of any instrument transferring or assigning or purporting to transfer or assign a Letter of Credit or the rights or benefits thereunder or proceeds thereof, in whole or in part, which may prove to be invalid or ineffective for any reason. The Issuer may send a Letter of Credit or conduct any communication to or from the beneficiary via the Society for Worldwide Interbank Financial Telecommunication (“SWIFT”) message or overnight courier, or any other commercially reasonable means of communicating with a beneficiary.\n5.8 Deemed Disbursements; Cash Collateral.\n(a) Deemed Disbursements. During the existence of any Event of Default, an amount equal to that portion of Letter of Credit Outstandings attributable to outstanding and undrawn Letters of Credit shall, at the election of the Majority Lenders, and without demand upon or notice to the Borrower, be deemed to have been paid or disbursed by the applicable Issuer under such Letters of Credit (notwithstanding that such amount may not in fact have been so paid or disbursed), and, upon notification by such Issuer to the Administrative Agent and the Borrower of its obligations under this Section, the Borrower shall be immediately obligated to reimburse such Issuer the amount deemed to have been so paid or disbursed by such Issuer. Any amounts so received by such Issuer from the Borrower pursuant to this Section shall be turned over to the Administrative Agent and held as collateral security for the repayment of the Borrower’s obligations in connection with the Letters of Credit issued by such Issuer. At any time when such Letters of Credit shall terminate and all liabilities of each Issuer with respect to Letters of Credit issued by it are either terminated or paid or reimbursed to such Issuer in full, the Liabilities of the Borrower under this Section shall be reduced accordingly (subject, however, to reinstatement in the event any payment in respect of such Letters of Credit is recovered in any manner from such Issuer), and, provided that no Event of Default or Unmatured Event of Default exists, the Administrative Agent will return to the Borrower the excess, if any, of (a) the aggregate amount deposited by the\nBorrower with the Administrative Agent and not theretofore applied to any Reimbursement Obligation over (b) the aggregate amount of all Reimbursement Obligations pursuant to this Section, as so adjusted. At such time when all Events of Default shall have been cured or waived, the Administrative Agent shall return to the Borrower all amounts then on deposit with the Administrative Agent pursuant to this Section. To the extent any amounts on deposit pursuant to this Section shall, until their application to any Reimbursement Obligation or their return to the Borrower, as the case may be, bear interest, such interest shall be held by the Administrative Agent as additional collateral security for the repayment of the Borrower’s Liabilities in connection with the Letters of Credit.\n(b) Cash Collateral and Defaulting Lender. If any Letter of Credit Outstandings exist at the time a Lender is a Defaulting Lender, the Borrower shall, within three Business Days of delivery of written notice by the Administrative Agent, Cash Collateralize the amount of the Defaulting Lender’s Percentage of the Letter of Credit Outstandings. If the Borrower is required to provide an amount of cash collateral pursuant to this Section 5.8(b), such cash collateral shall be released and promptly returned to the Borrower from time to time to the extent the amount deposited shall exceed the Defaulting Lender’s Percentage of the Letter of Credit Outstandings or if such Lender ceases to be a Defaulting Lender. If at any time the Administrative Agent determines that Cash Collateral is subject to any right or claim of any Person other than the Administrative Agent as herein provided, or that the total amount of such Cash Collateral is less than the applicable Fronting Exposure and other obligations secured thereby, the Borrower or the relevant Defaulting Lender will, promptly upon demand by the Administrative Agent, pay or provide to the Administrative Agent additional Cash Collateral in an amount sufficient to eliminate such deficiency.\n(c) Lien on Cash Collateral. This Agreement sets forth certain additional requirements to deliver Cash Collateral. The Borrower hereby grants to Administrative Agent a security interest (subject to the Collateral Documents) in all such cash, all deposit accounts into which such cash is deposited, all balances in such accounts and all proceeds of the foregoing. Cash Collateral shall be maintained in blocked, interest bearing deposit accounts with the Administrative Agent.\n(d) Application. Notwithstanding anything to the contrary contained in this Agreement, Cash Collateral provided under any of this Section 5.8 or Sections 2.7, 5.2, 6.3, or 12.2 in respect of Letters of Credit shall be held and applied to the satisfaction of the specific Letter of Credit Outstandings, obligations to fund participations therein (including, as to Cash Collateral provided by a Defaulting Lender, any interest accrued on such obligation) and other obligations for which the Cash Collateral was so provided, prior to any other application of such property as may be provided for herein.\n(e) Release. Cash Collateral (or the appropriate portion thereof) provided to reduce Fronting Exposure or other obligations shall be released promptly following (i) the elimination of the applicable Fronting Exposure or other obligations giving rise thereto (including by the termination of Defaulting Lender status of the applicable Lender (or, as appropriate, its assignee following compliance with Section 15.8(i))) or (ii) the Administrative Agent’s good faith determination that there exists excess Cash Collateral; provided, however, (x) that Cash Collateral furnished by or on behalf of the Borrower shall not be released during the continuance of an Unmatured Event of Default or Event of Default, and (y) the Person providing Cash Collateral and the Issuer, as applicable, may agree that Cash Collateral shall not be released but instead held to support future anticipated Fronting Exposure or other obligations.\n5.9 Nature of Reimbursement Obligations. The Borrower shall assume all risks of the acts, omissions or misuse of any Letter of Credit by the beneficiary thereof. None of the Administrative Agent, any Issuer or any Lender (except to the extent of its own gross negligence or willful misconduct) shall be responsible for:\n(a) the form, validity, sufficiency, accuracy, genuineness or legal effect of any Letter of Credit or any document submitted by any party in connection with the application for and issuance of a Letter of Credit, even if it should in fact prove to be in any or all respects invalid, insufficient, inaccurate, fraudulent or forged;\n(b) the form, validity, sufficiency, accuracy, genuineness or legal effect of any instrument transferring or assigning or purporting to transfer or assign a Letter of Credit or the rights or benefits thereunder or proceeds thereof in whole or in part, which may prove to be invalid or ineffective for any reason;\n(c) failure of the beneficiary to comply fully with conditions required in order to demand payment under a Letter of Credit;\n(d) errors, omissions, interruptions or delays in transmission or delivery of any messages, by mail, cable, facsimile or otherwise; or\n(e) any loss or delay in the transmission or otherwise of any document or draft required in order to make a Disbursement under a Letter of Credit or of the proceeds thereof.\nNone of the foregoing shall affect, impair or prevent the vesting of any of the rights or powers granted the Administrative Agent any Issuer or any Lender hereunder. In furtherance and extension, and not in limitation or derogation, of the foregoing, any action taken or omitted to be taken by any Issuer in good faith shall be binding upon the Borrower and shall not put such Issuer under any resulting liability to the Borrower.\n5.10 Increased Costs; Indemnity. If by reason of (a) any Change in Law, or (b) compliance by any Issuer or any Lender with any direction, request or requirement (whether or not having the force of law) of any governmental or monetary authority, including Regulation D of the FRB:\n(i) any Issuer or any Lender shall be subject to any Tax (other than Taxes on overall net income and franchises that are imposed as a result of such Issuer or Lender being organized under the laws of, or having its principal office or its applicable lending office located in, the jurisdiction imposing such Tax), levy, charge or withholding of any nature or to any variation thereof or to any penalty with respect to the maintenance or fulfillment of its obligations under this Section 5, whether directly or by such being imposed on or suffered by such Issuer or any Lender;\n(ii) any reserve, deposit or similar requirement is or shall be applicable, imposed or modified in respect of any Letter of Credit issued by any Issuer or participations therein purchased by any Lender; or\n(iii) there shall be imposed on any Issuer or any Lender any other condition regarding this Section 5, any Letter of Credit or any participation therein;\nand the result of the foregoing is directly or indirectly to increase the cost to such Issuer of issuing, making or maintaining any Letter of Credit or the cost to such Lender of purchasing or maintaining any participation therein, or to reduce any amount receivable in respect thereof by such Issuer or such Lender, then and in any such case such Issuer or such Lender may, at any reasonable time after the additional cost is incurred or the amount received is reduced, notify the Borrower thereof, and the Borrower shall pay on demand such amounts as such Issuer or Lender may specify to be necessary to compensate such Issuer or Lender for such additional cost or reduced receipt. The determination by such Issuer or Lender, as the case may be, of any amount due pursuant to this Section, as set forth in a statement setting forth the calculation thereof in reasonable detail, shall, in the absence of manifest error, be final and presumptively valid and binding on all of the parties hereto. In addition to amounts payable as elsewhere provided in this Section 5, the Borrower hereby agrees to protect, indemnify, pay and save each Issuer and each Lender harmless from and against any and all claims, demands, liabilities, damages, losses, costs, charges and expenses (including reasonable attorneys’ fees and allocated costs of internal counsel) which such Issuer or such Lender may incur or be subject to as a consequence, direct or indirect, of (x) the issuance of any Letter of Credit, other than as a result of the gross negligence or willful misconduct of such Issuer as determined by a court of competent jurisdiction, or (y) the failure of such Issuer to honor a drawing under any Letter of Credit as a result of any act or omission, whether rightful or wrongful, of any present or future de jure or de facto government or Governmental Authority.\n5.11 Applicability of ISP and UCP; Limitation of Liability. Unless otherwise expressly agreed by the applicable Issuer and the Borrower when a Letter of Credit is issued (including any such agreement applicable to an Existing Letter of Credit), the ISP and the UCP at the time of\nissuance shall apply to each commercial Letter of Credit. Notwithstanding the foregoing, an Issuer shall not be responsible to the Borrower for, and an Issuer’s rights and remedies against the Borrower shall not be impaired by, any action or inaction of the Issuer required or permitted under any law, order or practice that is required or permitted to be applied to any Letter of Credit or this Agreement, including the law or any order of a jurisdiction where the Issuer or the beneficiary is located, the practice stated in the ISP or UCP, as applicable, or in the decisions, opinions, practice statements or official commentary of the ICC Banking Commission, the Bankers Association for Finance and Trade - International Financial Services Association (BAFT-IFSA) or the Institute of International Banking Law & Practice, whether or not any Letter of Credit chooses such law or practice."}
-{"idx": 12, "level": 3, "span": "(a) Subject to the terms and conditions of this Agreement (including Section 11), each Issuer shall issue Letters of Credit in accordance with Issuance Requests made therefor."}
-{"idx": 12, "level": 3, "span": "(b) Each Issuer will make available the original of each Letter of Credit which it issues in accordance with the Issuance Request therefor (and will promptly provide the Administrative Agent with a copy of such Letter of Credit)."}
-{"idx": 12, "level": 3, "span": "(c) An Issuer shall not be under any obligation to issue any Letter of Credit if:"}
-{"idx": 12, "level": 4, "span": "(i) any order, judgment or decree of any Governmental Authority or arbitrator shall by its terms purport to enjoin or restrain such Issuer from issuing such Letter of Credit, or any law applicable to such Issuer or any request or directive (whether or not having the force of law) from any Governmental Authority with jurisdiction over such Issuer shall prohibit, or request that such Issuer refrain from, the issuance of letters of credit generally or such Letter of Credit in particular or shall impose upon such Issuer with respect to such Letter of Credit any restriction, reserve or capital requirement (for which such Issuer is not otherwise compensated hereunder) not in effect on the Restatement Effective Date, or shall impose upon such Issuer any unreimbursed loss, cost or expense which was not applicable on the Restatement Effective Date and which such Issuer in good faith deems material to it;"}
-{"idx": 12, "level": 4, "span": "(ii) the issuance of such Letter of Credit would violate one or more policies of such Issuer;"}
-{"idx": 12, "level": 4, "span": "(iii) such Letter of Credit is to be denominated in a currency other than Dollars;"}
-{"idx": 12, "level": 4, "span": "(iv) such Letter of Credit contains any provisions for automatic reinstatement of the stated amount after any drawing thereunder; or"}
-{"idx": 12, "level": 4, "span": "(v) any Lender is at such time a Defaulting Lender, unless such Issuer has entered into arrangements, including the delivery of Cash Collateral, satisfactory to such Issuer (in its sole discretion) with the Borrower or such Defaulting Lender"}
-{"idx": 12, "level": 3, "span": "(d) No Issuer shall amend any Letter of Credit if such Issuer would not be permitted at such time to issue such Letter of Credit in its amended form under the terms hereof."}
-{"idx": 12, "level": 3, "span": "(e) No Issuer shall be under any obligation to amend any Letter of Credit if (i) such Issuer would have no obligation at such time to issue such Letter of Credit in its amended form under the terms hereof or (ii) the beneficiary of such Letter of Credit does not accept the proposed amendment to such Letter of Credit."}
-{"idx": 12, "level": 3, "span": "(f) Each Issuer shall act on behalf of the Lenders with respect to any Letter of Credit issued by it and the documents associated therewith, and each Issuer shall have all of the benefits and immunities (i) provided to the Administrative Agent in Section 13 with respect to any acts taken or omissions suffered by such Issuer in connection with Letters of Credit issued by it or proposed to be issued by it and Issuance Requests and applications pertaining to such Letters of Credit as fully as if the term “Administrative Agent” as used in Section 13 included such Issuer with respect to such acts or omissions, and (ii) as additionally provided herein with respect to such Issuer."}
-{"idx": 12, "level": 3, "span": "(a) any lack of validity or enforceability of such Letter of Credit, this Agreement or any other Loan Document;"}
-{"idx": 12, "level": 3, "span": "(b) the existence of any claim, counterclaim, setoff, defense or other right that the Borrower or any Subsidiary may have at any time against any beneficiary or any transferee of such Letter of Credit (or any Person for whom any such beneficiary or any such transferee may be acting), any Issuer or any other Person, whether in connection with this Agreement, the transactions contemplated hereby or by such Letter of Credit or any agreement or instrument relating thereto, or any unrelated transaction;"}
-{"idx": 12, "level": 3, "span": "(c) any draft, demand, certificate or other document presented under such Letter of Credit proving to be forged, fraudulent, invalid or insufficient in any respect or any statement therein being untrue or inaccurate in any respect; or any loss or delay in the transmission or otherwise of any document required in order to make a drawing under such Letter of Credit;"}
-{"idx": 12, "level": 3, "span": "(d) waiver by the Issuer of any requirement that exists for the Issuer’s protection and not the protection of the Borrower or any waiver by the Issuer that does not in fact materially prejudice the Borrower;"}
-{"idx": 12, "level": 3, "span": "(e) honor of a demand for payment presented electronically even if such Letter of Credit requires that demand be in the form of a draft;"}
-{"idx": 12, "level": 3, "span": "(f) any payment made by the Issuer in respect of an otherwise complying item presented after the date specified as the expiration date of, or the date by which documents must be received under, such Letter of Credit if presentation after such date is authorized by the UCC, the ISP or the UCP, as applicable;"}
-{"idx": 12, "level": 3, "span": "(g) any payment by the applicable Issuer under such Letter of Credit against presentation of a draft or certificate that does not strictly comply with the terms of such Letter of Credit; or any payment made by such Issuer under such Letter of Credit to any Person purporting to be a trustee in bankruptcy, debtor-in-possession, assignee for the benefit of creditors, liquidator, receiver or other representative of or successor to any beneficiary or any transferee of such Letter of Credit, including any arising in connection with any proceeding under any Debtor Relief Law; or"}
-{"idx": 12, "level": 3, "span": "(h) any other circumstance or happening whatsoever, whether or not similar to any of the foregoing, including any other circumstance that might otherwise constitute a defense available to, or a discharge of, the Borrower or any Subsidiary."}
-{"idx": 12, "level": 3, "span": "(a) Deemed Disbursements\nDuring the existence of any Event of Default, an amount equal to that portion of Letter of Credit Outstandings attributable to outstanding and undrawn Letters of Credit shall, at the election of the Majority Lenders, and without demand upon or notice to the Borrower, be deemed to have been paid or disbursed by the applicable Issuer under such Letters of Credit (notwithstanding that such amount may not in fact have been so paid or disbursed), and, upon notification by such Issuer to the Administrative Agent and the Borrower of its obligations under this Section, the Borrower shall be immediately obligated to reimburse such Issuer the amount deemed to have been so paid or disbursed by such Issuer. Any amounts so received by such Issuer from the Borrower pursuant to this Section shall be turned over to the Administrative Agent and held as collateral security for the repayment of the Borrower’s obligations in connection with the Letters of Credit issued by such Issuer. At any time when such Letters of Credit shall terminate and all liabilities of each Issuer with respect to Letters of Credit issued by it are either terminated or paid or reimbursed to such Issuer in full, the Liabilities of the Borrower under this Section shall be reduced accordingly (subject, however, to reinstatement in the event any payment in respect of such Letters of Credit is recovered in any manner from such Issuer), and, provided that no Event of Default or Unmatured Event of Default exists, the Administrative Agent will return to the Borrower the excess, if any, of (a) the aggregate amount deposited by the"}
-{"idx": 12, "level": 3, "span": "(b) Cash Collateral and Defaulting Lender\nIf any Letter of Credit Outstandings exist at the time a Lender is a Defaulting Lender, the Borrower shall, within three Business Days of delivery of written notice by the Administrative Agent, Cash Collateralize the amount of the Defaulting Lender’s Percentage of the Letter of Credit Outstandings. If the Borrower is required to provide an amount of cash collateral pursuant to this Section 5.8(b), such cash collateral shall be released and promptly returned to the Borrower from time to time to the extent the amount deposited shall exceed the Defaulting Lender’s Percentage of the Letter of Credit Outstandings or if such Lender ceases to be a Defaulting Lender. If at any time the Administrative Agent determines that Cash Collateral is subject to any right or claim of any Person other than the Administrative Agent as herein provided, or that the total amount of such Cash Collateral is less than the applicable Fronting Exposure and other obligations secured thereby, the Borrower or the relevant Defaulting Lender will, promptly upon demand by the Administrative Agent, pay or provide to the Administrative Agent additional Cash Collateral in an amount sufficient to eliminate such deficiency."}
-{"idx": 12, "level": 3, "span": "(c) Lien on Cash Collateral\nThis Agreement sets forth certain additional requirements to deliver Cash Collateral. The Borrower hereby grants to Administrative Agent a security interest (subject to the Collateral Documents) in all such cash, all deposit accounts into which such cash is deposited, all balances in such accounts and all proceeds of the foregoing. Cash Collateral shall be maintained in blocked, interest bearing deposit accounts with the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(d) Application\nNotwithstanding anything to the contrary contained in this Agreement, Cash Collateral provided under any of this Section 5.8 or Sections 2.7, 5.2, 6.3, or 12.2 in respect of Letters of Credit shall be held and applied to the satisfaction of the specific Letter of Credit Outstandings, obligations to fund participations therein (including, as to Cash Collateral provided by a Defaulting Lender, any interest accrued on such obligation) and other obligations for which the Cash Collateral was so provided, prior to any other application of such property as may be provided for herein."}
-{"idx": 12, "level": 3, "span": "(e) Release\nCash Collateral (or the appropriate portion thereof) provided to reduce Fronting Exposure or other obligations shall be released promptly following (i) the elimination of the applicable Fronting Exposure or other obligations giving rise thereto (including by the termination of Defaulting Lender status of the applicable Lender (or, as appropriate, its assignee following compliance with Section 15.8(i))) or (ii) the Administrative Agent’s good faith determination that there exists excess Cash Collateral; provided, however, (x) that Cash Collateral furnished by or on behalf of the Borrower shall not be released during the continuance of an Unmatured Event of Default or Event of Default, and (y) the Person providing Cash Collateral and the Issuer, as applicable, may agree that Cash Collateral shall not be released but instead held to support future anticipated Fronting Exposure or other obligations."}
-{"idx": 12, "level": 3, "span": "(a) the form, validity, sufficiency, accuracy, genuineness or legal effect of any Letter of Credit or any document submitted by any party in connection with the application for and issuance of a Letter of Credit, even if it should in fact prove to be in any or all respects invalid, insufficient, inaccurate, fraudulent or forged;"}
-{"idx": 12, "level": 3, "span": "(b) the form, validity, sufficiency, accuracy, genuineness or legal effect of any instrument transferring or assigning or purporting to transfer or assign a Letter of Credit or the rights or benefits thereunder or proceeds thereof in whole or in part, which may prove to be invalid or ineffective for any reason;"}
-{"idx": 12, "level": 3, "span": "(c) failure of the beneficiary to comply fully with conditions required in order to demand payment under a Letter of Credit;"}
-{"idx": 12, "level": 3, "span": "(d) errors, omissions, interruptions or delays in transmission or delivery of any messages, by mail, cable, facsimile or otherwise; or"}
-{"idx": 12, "level": 3, "span": "(e) any loss or delay in the transmission or otherwise of any document or draft required in order to make a Disbursement under a Letter of Credit or of the proceeds thereof."}
-{"idx": 12, "level": 4, "span": "(i) any Issuer or any Lender shall be subject to any Tax (other than Taxes on overall net income and franchises that are imposed as a result of such Issuer or Lender being organized under the laws of, or having its principal office or its applicable lending office located in, the jurisdiction imposing such Tax), levy, charge or withholding of any nature or to any variation thereof or to any penalty with respect to the maintenance or fulfillment of its obligations under this Section 5, whether directly or by such being imposed on or suffered by such Issuer or any Lender;"}
-{"idx": 12, "level": 4, "span": "(ii) any reserve, deposit or similar requirement is or shall be applicable, imposed or modified in respect of any Letter of Credit issued by any Issuer or participations therein purchased by any Lender; or"}
-{"idx": 12, "level": 4, "span": "(iii) there shall be imposed on any Issuer or any Lender any other condition regarding this Section 5, any Letter of Credit or any participation therein;"}
-{"idx": 12, "level": 2, "span": "SECTION 6. PAYMENTS, OFFSETS, PREPAYMENTS AND REDUCTION OR TERMINATION OF THE COMMITMENTS; BORROWING BASE; INCREASE IN COMMITMENTS.\n6.1 Payments Generally. Except as otherwise specified in this Agreement, all payments hereunder (including payments with respect to the Loans) shall be made free and clear of and without condition or deduction for any counterclaim, defense, recoupment or set-off and shall be made in coin or currency of the United States which at the time of payment shall be legal tender for the payment of public and private debts in immediately available funds by the Borrower to the Administrative Agent for the account of the Lenders, pro rata according to the unpaid principal amounts of the Loans held by them. All such payments shall be made to the Administrative Agent, prior to 10:30 a.m. on the date due at the Administrative Agent’s Office or at such other place as may be designated by the Administrative Agent to the Borrower in writing. Any payment received after 10:30 a.m. shall be deemed received on the next Business Day. The Administrative Agent shall promptly remit in immediately available funds to each Lender or the applicable Issuer, as the case may be, its share of all such payments received by the Administrative Agent for the account of such Lender or such Issuer, as applicable. Whenever any payment to be made hereunder or under any Note shall be stated to be due on a date other than a Business Day, such payment may be made on the next succeeding Business Day, and such extension of time shall be included in the computation of payment of interest or any fees. For purposes of the imposition of any tax (other than taxes on net income and franchises), levy, charge or withholding of any nature or any variation thereof or any penalty with respect to the maintenance or fulfillment of the Borrower’s obligations under this Agreement, whether directly or by such being imposed on or suffered by the Administrative Agent, any Lender, any Issuer or the Collateral Agent, all payments hereunder shall be made from sources within the United States by the Borrower. Any payments or prepayments to be applied to the outstanding amount of any Loans shall be applied to the Loans held by the Lenders that are not Defaulting Lenders ratably (based upon the outstanding amount of all Loans held by all Lenders that are not Defaulting Lenders) until each Lender (including any Defaulting Lender) has its Percentage of all of the outstanding amount of the Loans, and the balance, if any, of such payments\nor prepayments shall be applied to the Loans of all Lenders in accordance with their respective Percentages.\n6.2 Prepayments.\n(a) Mandatory. If at any time the TCIL Usage exceeds the Credit Capacity, the Borrower shall immediately make a mandatory prepayment to the Administrative Agent (which shall be applied (or held for application, as the case may be) by the Administrative Agent first to the aggregate unpaid principal amount of the Loans then outstanding and then to the payment or Cash Collateralization of the Letter of Credit Outstandings) in an amount sufficient to eliminate such excess.\n(b) Optional.\n(i) General Prepayments. The Borrower may from time to time (subject to the notice and minimum prepayment provisions set forth in this clause (i)), upon prior written or telephonic notice received by the Administrative Agent in a form acceptable to the Administrative Agent (which shall promptly advise each Lender thereof) at least three Business Days prior to any prepayment of Eurodollar Rate Loans and one Business Day prior to any prepayment of Alternate Base Rate Loans, prepay the principal of the Loans in whole or in part without premium or penalty; provided that (x) any partial prepayment of principal pursuant to this clause (b)(i) shall be in a minimum amount of $500,000 or any whole multiple of $250,000 in excess thereof and (y) any prepayment of a Eurodollar Rate Loan on a day other than the last day of an Interest Period therefor shall be subject to Section 7.5. The Borrower shall promptly confirm in writing any telephonic notice of prepayment in writing.\n(ii) Special Prepayments. The Borrower may from time to time prepay any Loan pursuant to the provisions of Section 7.7. Any prepayment of the principal of the Loans pursuant to this clause (b)(ii) shall include accrued interest to the date of prepayment on the principal amount being prepaid.\n(c) Application. Any prepayment pursuant to Section 6.2(a) or 6.2(b) above shall be applied to such Loans as the Borrower shall direct or, in the absence of such direction: first, to any Eurodollar Rate Loan with an Interest Period ending on the date of such prepayment, second, to any Alternate Base Rate Loans outstanding on such date, and third, to such other Loans as the Administrative Agent may reasonably determine.\n6.3 Reduction or Termination of Commitments.\n(a) The Borrower may from time to time, upon at least 5 Business Days’ prior written notice received by the Administrative Agent (which shall promptly advise each\nLender thereof), permanently reduce the Aggregate Commitment Amount to an amount that is not less than the TCIL Usage. Any such reduction shall be in an amount of $5,000,000 or a higher integral multiple of $1,000,000. The Borrower may at any time on like notice terminate the Commitments upon payment in full of the outstanding Loans and all other related Liabilities and by replacing and surrendering all issued and outstanding Letters of Credit or, at the applicable Issuers’ option, providing Cash Collateral security for all Letter of Credit Outstandings in accordance with Section 5.8.\n(b) Any reduction of the Commitments pursuant to clause (a) above shall be applied to the Commitment of each Lender according to its Percentage.\n6.4 Offset. In addition to and not in limitation of all rights of offset that any Lender may have under applicable law, each Lender shall, upon the occurrence of any Event of Default described in Section 12.1 or any Unmatured Event of Default described in Section 12.1(e), have the right to appropriate and apply to the payment of the Liabilities owing to it (whether or not due) any and all balances, credits, deposits, accounts or moneys of the Borrower then or thereafter with such Lender or any Affiliate thereof, and each such Affiliate is hereby irrevocably authorized to permit such setoff, provided that any such appropriation and application shall be subject to the provisions of Section 6.5; provided, further, that in the event that any Defaulting Lender shall exercise any such right of setoff, (x) all amounts so set off shall be paid over immediately to the Administrative Agent for further application in accordance with the provisions of Section 2.7 and, pending such payment, shall be segregated by such Defaulting Lender from its other funds and deemed held in trust for the benefit of the Administrative Agent, the Issuers and the Lenders, and (y) the Defaulting Lender shall provide promptly to the Administrative Agent a statement describing in reasonable detail the obligations owing to such Defaulting Lender as to which it exercised such right of setoff.\n6.5 Proration of Payments. If any Lender shall obtain any payment or other recovery (whether voluntary, involuntary, by application of offset or otherwise) on account of any Loan or Letter of Credit in excess of its pro rata share of payments and other recoveries obtained by all Lenders on account of all Loans and Letters of Credit (including after giving effect to the loss of any payment or recovery by any other Lender), such Lender shall purchase from the other Lenders such participations in the Loans and/or Letters of Credit held by them as shall be necessary to cause such purchasing Lender to share the excess payment or other recovery pro rata with each of them; provided that if all or any portion of the excess payment or other recovery is thereafter recovered from such purchasing Lender, the purchase shall be rescinded and the purchase price restored to the extent of such recovery, but without interest unless the Lender from which such payment is recovered is required to pay interest thereon, in which case each Lender which is required to restore such purchase price shall pay its pro rata share of such interest. The Borrower agrees that any Lender so purchasing a participation from the other Lenders under this Section 6.5 may, to the fullest extent permitted by law, exercise all its rights of payment (including the right of set-off pursuant to Section 6.4) with respect to such participation as fully as if such Lender were the direct\ncreditor of the Borrower in the amount of such participation. If under any applicable bankruptcy, insolvency or other similar law, any Lender receives a secured claim in lieu of a setoff to which this Section applies, such Lender shall, to the extent practicable, exercise its rights in respect of such secured claim in a manner consistent with the rights of the Lenders entitled under this Section to share in the benefits of any recovery on such secured claim.\n6.6 Borrowing Base. The borrowing base (the “Borrowing Base”) as of any date shall be an amount equal to the total of:\n(a) the sum of:\n(i) 80% of the net investment of the Borrower in Finance Leases of SIA Container Equipment as recorded on the Borrower’s balance sheet (determined in accordance with GAAP consistently applied);\n(ii) 83.33% of the result of (x) the Net Book Value of the Borrower’s (not including any Subsidiary’s) SIA Container Equipment (not including the Net Book Value, if any, of (A) any lost, stolen or destroyed SIA Container Equipment to the extent the Net Book Value thereof (calculated as though not lost, stolen or destroyed) exceeds $250,000, and such SIA Container Equipment has been off-hire and no longer billed to a lessee for a period in excess of 90 days, and (B) any spare parts comprising any portion of SIA Container Equipment) minus (y) Unsecured Vendor Debt and trade payables incurred in connection with the acquisition of such SIA Container Equipment; and\n(iii) 80% of the Book Value (net of reserves in accordance with GAAP) of Casualty Receivables which are outstanding for 120 days or less (excluding Casualty Receivables from Affiliated Entities in excess of $5,000,000 in the aggregate);"}
-{"idx": 12, "level": 2, "span": "minus\n(b) the sum of:\n(i) the current portion of Subordinated Funded Debt; (ii) 20% of the Letter of Credit Outstandings allocable to commercial Letters of Credit; (iii) the outstanding principal amount of Total Senior Debt (other than Indebtedness hereunder) secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables; and (iv) accrued and unpaid interest on Total Senior Debt secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables;\nin each case, calculated in accordance with GAAP.\nThe Borrowing Base shall be set forth (showing all calculations) in a Borrowing Base Certificate duly executed and delivered by an Authorized Signatory. Any Borrowing Base Certificate delivered pursuant to Section 10.1(f) or 11.2(f) shall remain effective until delivery of a new Borrowing Base Certificate pursuant to Section 10.1(f) or 11.2(f); provided that in connection with any Loan Request for Loans, the Borrower may submit an interim updated Borrowing Base Certificate showing the effect that the use of the proceeds of such Loans will have on item (a)(ii)(y), (b)(i), (b)(ii) or (b)(iii) of the definition of “Borrowing Base”, it being understood that to the extent necessary, such interim Borrowing Base Certificate may be prepared by the Borrower using good faith reasonable estimates of the information contained therein. Any such updated interim Borrowing Base Certificate shall include a representation by an Authorized Signatory that (x) the proceeds of such Loans (or the relevant portion thereof) will be used to pay Indebtedness of the type described in such item (a)(ii)(y), (b)(i), (b)(ii) or (b)(iii) and (y) to the extent necessary, such Borrowing Base Certificate was prepared using the Borrower’s good faith reasonable estimates of the information contained therein. At no time shall the TCIL Usage exceed the current Borrowing Base as shown on the most recently delivered Borrowing Base Certificate.\n6.7 Increase in the Aggregate Commitment Amount.\n(a) The Borrower may at any time (but not more than twice in any calendar quarter), by means of a letter to the Administrative Agent, request that the Aggregate Commitment Amount be increased (a “Commitment Increase”) as of the date specified in such letter (the “Increase Date”) by (i) increasing the Commitment of any Lender (an “Increasing Lender”) that has agreed to such increase (it being understood that no Lender shall have any obligation to increase its Commitment pursuant to this Section 6.7) and/or (ii) adding one or more Eligible Assignees (each an “Additional Lender”) as parties hereto, in each case with a Commitment in the amount agreed to by such Additional Lender; provided that (A) the amount of the aggregate Commitments shall not exceed $600,000,000, (B) each Commitment Increase shall be in a minimum amount of $10,000,000, and (C) the Commitment of each Additional Lender shall be $10,000,000 or more.\n(b) On each Increase Date, (x) each applicable Additional Lender shall become a party to this Agreement with the rights and obligations of a “Lender” hereunder and (y) the Commitment of each applicable Increasing Lender shall be increased by the amount agreed by such Increasing Lender; provided that:\n(i) on such Increase Date, the following statements shall be true and the Administrative Agent shall have received for the account of each Lender a certificate signed by an Authorized Signatory of the Borrower, dated such Increase Date stating that: (A) the representations and warranties contained in Section 9 are true and correct on and as of such Increase Date, before and after giving effect to the Commitment Increase, as though made on and as of such Increase Date, (B) no material adverse\nchange has occurred since the date of the financial statements most-recently delivered pursuant to Section 10.1(a) and (C) no Event of Default or Unmatured Event of Default exists;\n(ii) on or before such Increase Date, the Administrative Agent shall have received the following, each dated such Increase Date, for further distribution to each Lender (including each Additional Lender): (A) certified copies of resolutions of the board of directors of the Borrower approving the Commitment Increase and any corresponding modifications to this Agreement; (B) such other approvals or documents as any Lender through the Administrative Agent may reasonably request in connection with such Commitment Increase; (C) a joinder agreement from each Additional Lender, if any, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent; and (D) written confirmation from each Increasing Lender of the increase in the amount of its Commitment hereunder, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent.\nOn each Increase Date, upon fulfillment of the conditions set forth in this Section 6.7(b), the Administrative Agent shall notify the Lenders (including each Additional Lender) and the Borrower of the occurrence of the Commitment Increase to be effected on such Increase Date and shall record in the Register the relevant information with respect to each Increasing Lender and each Additional Lender on such date. Each Increasing Lender and each Additional Lender shall, before 10:30 a.m. on the Increase Date, make available for the account of its applicable lending office to the Administrative Agent at the Administrative Agent’s Office, in same day funds, an aggregate amount to be distributed to the other Lenders for the account of their respective applicable lending offices such that, after giving effect to such distribution, each Lender has a ratable share (calculated based on its Commitment as a percentage of the Aggregate Commitment Amount after giving effect to such Commitment Increase) of each outstanding Borrowing. The Borrower acknowledges that, in order to maintain Borrowings in accordance with each Lender’s ratable share thereof, a reallocation of the Commitments as a result of a non-pro-rata increase in the aggregate Commitments may require prepayment of all or portions of certain Borrowings on the date of such increase (and any such prepayment shall be subject to the provisions of Section 7.5)."}
-{"idx": 12, "level": 3, "span": "(b) the sum of:"}
-{"idx": 12, "level": 4, "span": "(i) the current portion of Subordinated Funded Debt; (ii) 20% of the Letter of Credit Outstandings allocable to commercial Letters of Credit; (iii) the outstanding principal amount of Total Senior Debt (other than Indebtedness hereunder) secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables; and (iv) accrued and unpaid interest on Total Senior Debt secured by (x) Finance Leases of SIA Container Equipment, (y) SIA Container Equipment and/or (z) Casualty Receivables;"}
-{"idx": 12, "level": 3, "span": "(a) The Borrower may at any time (but not more than twice in any calendar quarter), by means of a letter to the Administrative Agent, request that the Aggregate Commitment Amount be increased (a “Commitment Increase”) as of the date specified in such letter (the “Increase Date”) by (i) increasing the Commitment of any Lender (an “Increasing Lender”) that has agreed to such increase (it being understood that no Lender shall have any obligation to increase its Commitment pursuant to this Section 6.7) and/or (ii) adding one or more Eligible Assignees (each an “Additional Lender”) as parties hereto, in each case with a Commitment in the amount agreed to by such Additional Lender; provided that (A) the amount of the aggregate Commitments shall not exceed $600,000,000, (B) each Commitment Increase shall be in a minimum amount of $10,000,000, and (C) the Commitment of each Additional Lender shall be $10,000,000 or more."}
-{"idx": 12, "level": 3, "span": "(b) On each Increase Date, (x) each applicable Additional Lender shall become a party to this Agreement with the rights and obligations of a “Lender” hereunder and (y) the Commitment of each applicable Increasing Lender shall be increased by the amount agreed by such Increasing Lender; provided that:"}
-{"idx": 12, "level": 4, "span": "(i) on such Increase Date, the following statements shall be true and the Administrative Agent shall have received for the account of each Lender a certificate signed by an Authorized Signatory of the Borrower, dated such Increase Date stating that: (A) the representations and warranties contained in Section 9 are true and correct on and as of such Increase Date, before and after giving effect to the Commitment Increase, as though made on and as of such Increase Date, (B) no material adverse"}
-{"idx": 12, "level": 4, "span": "(ii) on or before such Increase Date, the Administrative Agent shall have received the following, each dated such Increase Date, for further distribution to each Lender (including each Additional Lender): (A) certified copies of resolutions of the board of directors of the Borrower approving the Commitment Increase and any corresponding modifications to this Agreement; (B) such other approvals or documents as any Lender through the Administrative Agent may reasonably request in connection with such Commitment Increase; (C) a joinder agreement from each Additional Lender, if any, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent; and (D) written confirmation from each Increasing Lender of the increase in the amount of its Commitment hereunder, in form and substance reasonably satisfactory to the Borrower and the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(a) Mandatory\nIf at any time the TCIL Usage exceeds the Credit Capacity, the Borrower shall immediately make a mandatory prepayment to the Administrative Agent (which shall be applied (or held for application, as the case may be) by the Administrative Agent first to the aggregate unpaid principal amount of the Loans then outstanding and then to the payment or Cash Collateralization of the Letter of Credit Outstandings) in an amount sufficient to eliminate such excess."}
-{"idx": 12, "level": 3, "span": "(b) Optional."}
-{"idx": 12, "level": 4, "span": "(i) General Prepayments\nThe Borrower may from time to time (subject to the notice and minimum prepayment provisions set forth in this clause (i)), upon prior written or telephonic notice received by the Administrative Agent in a form acceptable to the Administrative Agent (which shall promptly advise each Lender thereof) at least three Business Days prior to any prepayment of Eurodollar Rate Loans and one Business Day prior to any prepayment of Alternate Base Rate Loans, prepay the principal of the Loans in whole or in part without premium or penalty; provided that (x) any partial prepayment of principal pursuant to this clause (b)(i) shall be in a minimum amount of $500,000 or any whole multiple of $250,000 in excess thereof and (y) any prepayment of a Eurodollar Rate Loan on a day other than the last day of an Interest Period therefor shall be subject to Section 7.5. The Borrower shall promptly confirm in writing any telephonic notice of prepayment in writing."}
-{"idx": 12, "level": 4, "span": "(ii) Special Prepayments\nThe Borrower may from time to time prepay any Loan pursuant to the provisions of Section 7.7. Any prepayment of the principal of the Loans pursuant to this clause (b)(ii) shall include accrued interest to the date of prepayment on the principal amount being prepaid."}
-{"idx": 12, "level": 3, "span": "(c) Application\nAny prepayment pursuant to Section 6.2(a) or 6.2(b) above shall be applied to such Loans as the Borrower shall direct or, in the absence of such direction: first, to any Eurodollar Rate Loan with an Interest Period ending on the date of such prepayment, second, to any Alternate Base Rate Loans outstanding on such date, and third, to such other Loans as the Administrative Agent may reasonably determine."}
-{"idx": 12, "level": 3, "span": "(a) The Borrower may from time to time, upon at least 5 Business Days’ prior written notice received by the Administrative Agent (which shall promptly advise each"}
-{"idx": 12, "level": 3, "span": "(b) Any reduction of the Commitments pursuant to clause (a) above shall be applied to the Commitment of each Lender according to its Percentage."}
-{"idx": 12, "level": 3, "span": "(a) the sum of:"}
-{"idx": 12, "level": 4, "span": "(i) 80% of the net investment of the Borrower in Finance Leases of SIA Container Equipment as recorded on the Borrower’s balance sheet (determined in accordance with GAAP consistently applied);"}
-{"idx": 12, "level": 4, "span": "(ii) 83.33% of the result of (x) the Net Book Value of the Borrower’s (not including any Subsidiary’s) SIA Container Equipment (not including the Net Book Value, if any, of (A) any lost, stolen or destroyed SIA Container Equipment to the extent the Net Book Value thereof (calculated as though not lost, stolen or destroyed) exceeds $250,000, and such SIA Container Equipment has been off-hire and no longer billed to a lessee for a period in excess of 90 days, and (B) any spare parts comprising any portion of SIA Container Equipment) minus (y) Unsecured Vendor Debt and trade payables incurred in connection with the acquisition of such SIA Container Equipment; and"}
-{"idx": 12, "level": 4, "span": "(iii) 80% of the Book Value (net of reserves in accordance with GAAP) of Casualty Receivables which are outstanding for 120 days or less (excluding Casualty Receivables from Affiliated Entities in excess of $5,000,000 in the aggregate);"}
-{"idx": 12, "level": 2, "span": "SECTION 7. ADDITIONAL PROVISIONS RELATING TO EURODOLLAR RATE LOANS; CAPITAL ADEQUACY; TAXES.\n7.1 Increased Cost. If, as a result of any Change in Law:\n(a) any tax is imposed on any Lender or Issuer or the basis of taxation of payments to any Lender of the principal of or interest on any Eurodollar Rate Loan is changed (other than in respect of Taxes on the overall net income of such Lender or Issuer that are imposed\nas a result of such Lender or Issuer having its principal office located in the jurisdiction imposing such Tax);\n(b) any reserve, special deposit, compulsory loan, insurance charge or similar requirements against assets of, deposits with or for the account of, or credit extended by, any Lender are imposed, modified or deemed applicable; or\n(c) any other condition, cost or expense affecting this Agreement or any Eurodollar Rate Loan is imposed on any Lender or the interbank eurodollar markets;\nand such Lender determines that, solely by reason thereof, the cost to such Lender of making, converting to, continuing or maintaining any Loan (or of maintaining its obligation to make any such Loan) is increased, or the amount of any sum receivable by such Lender hereunder in respect of any of the Loans (whether of principal, interest or any other amount) is reduced, then the Borrower shall pay to such affected Lender upon written demand (which demand shall be accompanied by a statement setting forth the basis for the calculation thereof but only to the extent not theretofore provided to the Borrower) such additional amount or amounts as will compensate such Lender for such additional cost or reduction (provided such amount has not been compensated for in the calculation of the Eurocurrency Reserve Percentage). Determinations by a Lender for purposes of this Section of the additional amounts required to compensate such Lender in respect of the foregoing shall be final and presumptively valid and binding on all of the parties hereto, absent manifest error.\n7.2 Deposits Unavailable or Interest Rate Unascertainable. If prior to the first day of an Interest Period for a Eurodollar Rate Loan the Majority Lenders determine (which determination shall be conclusive and binding on the parties hereto) that (a) Dollar deposits, of the relevant amount for the relevant Interest Period, are not available to banks in the London interbank eurodollar market (“Impacted Loans”), (b) adequate and reasonable means do not exist for ascertaining the Eurodollar Rate applicable to such Interest Period or (c) the Eurodollar Rate for any requested Interest Period with respect to such Loan does not adequately and fairly reflect the cost to such Lenders of funding such Loan, the Administrative Agent shall promptly so notify the Borrower and each Lender. Thereafter, the obligation of the Lenders to make or maintain Eurodollar Rate Loans shall be suspended until the Administrative Agent (upon the instruction of the Majority Lenders) revokes such notice, and any notice of new or continued Eurodollar Rate Loans previously given by the Borrower and not yet borrowed, converted or continued shall be deemed a notice to make, convert into or continue Alternate Base Rate Loans.\nNotwithstanding the foregoing, if the Majority Lenders have made the determination described in clause (a) of the foregoing paragraph, the Administrative Agent, in consultation with the Borrower and the Majority Lenders, may establish an alternative interest rate for the Impacted Loans, in which case such alternative rate of interest shall apply with respect to the Impacted Loans until (1) the Majority Lenders revoke the notice delivered with respect to the Impacted Loans under clause (a) of the first sentence of this section, (2) the Administrative Agent or the Majority Lenders\nnotify the Administrative Agent and the Borrower that such alternative interest rate does not adequately and fairly reflect the cost to such Lenders of funding the Impacted Loans, or (3) any Lender determines that any law has made it unlawful, or that any Governmental Authority has asserted that it is unlawful, for such Lender or its applicable lending office to make, maintain or fund Loans with an interest rate determined by reference to such alternative rate of interest or to determine or charge interest rates based upon such rate or any Governmental Authority has imposed material restrictions on the authority of such Lender to do any of the foregoing and provides the Administrative Agent and the Borrower written notice thereof.\n7.3 Changes in Law Rendering Eurodollar Rate Loans Unlawful. If at any time due to any new law, treaty or regulation, or any change of any existing law, treaty or regulation, or any interpretation thereof by any governmental or other regulatory authority charged with the administration thereof, or for any other reason arising subsequent to the date hereof, it is unlawful for any Lender to perform its obligations hereunder or to make, maintain or fund, or charge interest with respect to any Credit Extension or to determine or charge interest rates based upon the Eurodollar Rate, or any Governmental Authority has imposed material restrictions on the authority of such Lender to purchase or sell, or to take deposits of, Dollars in the London interbank market, then the obligation of such Lender to issue, make, fund or charge interest with respect to any Credit Extension or provide Eurodollar Rate Loans shall, upon the happening of such event, forthwith be suspended for the duration of such illegality. Upon receipt of such notice, the Borrower shall, if required by such law, regulation or interpretation, on such date as shall be specified in such notice, either convert such Eurodollar Rate Loans to Alternate Base Rate Loans or prepay such Eurodollar Rate Loans (and all Eurodollar Rate Loans of all other Lenders which have the same Interest Period).\n7.4 Capital Adequacy. If any Lender or any Issuer shall determine at any time after the date hereof that any Change in Law affecting such Lender or Issuer or any lending office of such Lender or such Lender’s or such Issuer’s holding company, if any, regarding capital or liquidity requirements has or would have the effect of reducing the rate of return on such Lender’s or such Issuer’s capital or on the capital of such Lender’s or such Issuer’s holding company as a consequence of its obligations hereunder to a level below that which such Lender or such Issuer or any holding company of such Lender or such Issuer could have achieved but for such Change in Law (taking into consideration such Lender’s or such Issuer’s policies, and the policies of such Lender’s or such Issuer’s holding company, with respect to capital adequacy) by an amount deemed by such Lender or such Issuer to be material, then the Borrower shall pay to such Lender or such Issuer upon demand such amount or amounts, in addition to the amounts payable under the other provisions of this Agreement or under any other Loan Document, as will compensate such Lender or such Issuer or any holding company of such Lender or such Issuer for such reduction. Any such demand by any Lender or any Issuer hereunder shall be in writing, and shall set forth the reasons for such demand and copies of all documentation reasonably relevant in support thereof. Determinations by any Lender or any Issuer for purposes of this Section 7.4 of the additional amount or amounts required\nto compensate such Lender or such Issuer in respect of the foregoing shall be conclusive in the absence of manifest error. In determining such amount or amounts, any Lender or any Issuer may use any reasonable averaging and attribution methods.\n7.5 Indemnity. The Borrower will indemnify each Lender against any loss or expense which such Lender may sustain or incur, including any loss or expense sustained or incurred in obtaining, liquidating or employing deposits or other funds acquired to effect, fund or maintain a Loan, due to (a) any failure by the Borrower to make any payment when due of any amount due hereunder in connection with a Eurodollar Rate Loan, (b) any failure of the Borrower to borrow on a date specified therefor in a notice thereof, (c) any payment or prepayment (including any prepayment pursuant to Section 7.3 or 7.7) of any Eurodollar Rate Loan on a date other than the last day of the Interest Period for such Loan, (d) any failure of the Borrower to continue a Eurodollar Rate Loan on a date specified in a notice of continuation or to convert an Alternate Base Rate Loan to a Eurodollar Rate Loan on a date specified in a notice of conversion or (e) any assignment of a Eurodollar Rate Loan on a day other than the last day of the Interest Period therefor as a result of a request by the Borrower pursuant to Section 7.7. Upon the written notice of a Lender to the Borrower (with a copy to the Administrative Agent), the Borrower shall, within five days of its receipt thereof, pay directly to such Lender such amount as will (in the reasonable determination of such Lender) reimburse such Lender for such loss or expense. Such written notice (which shall include calculations in reasonable detail) shall, in the absence of manifest error, be conclusive and binding on the Borrower.\n7.6 Discretion of the Lenders as to Manner of Funding. Notwithstanding any provision of this Agreement to the contrary, each Lender shall be entitled to fund and maintain its funding of all or any part of its Eurodollar Rate Loans in any manner it elects, it being understood, however, that for the purposes of this Agreement all determinations hereunder shall be made as if all Lenders had actually funded and maintained each Eurodollar Rate Loan through the purchase of Dollar deposits having a maturity corresponding to the maturity of the applicable Eurodollar Rate Loan and bearing an interest rate equal to the Eurodollar Rate (whether or not, in any instance, any Lender shall have granted any participations in such Loan). Any Lender may, if it so elects, fulfill any commitment to make any Eurodollar Rate Loan by causing a foreign branch or Affiliate to make or continue such Eurodollar Rate Loan, provided that in such event such Loan shall be deemed for the purposes of this Agreement to have been made by such Lender, and the obligation of the Borrower to repay such Loan shall nevertheless be to such Lender and shall be deemed held by such Lender, to the extent of such Loan, for the account of such branch or Affiliate.\n7.7 Special Prepayment; Replacement of Lender. If any Lender makes any demand for payment of any amount pursuant to Section 5.10, 7.1, 7.4 or 7.8, gives any notice pursuant to Section 7.2 or 7.3 or is a Defaulting Lender (any such Lender, an “Affected Lender”), then the Borrower may, with the prior written consent of the Administrative Agent, either (i) reduce or terminate the Commitments of such Affected Lender and immediately prepay the applicable outstanding\nLiabilities owed to such Affected Lender (or all outstanding Liabilities owed to such Affected Lender in the case of a termination) so that, after giving effect to such prepayment, such Affected Lender has a pro rata share (based on its revised Percentage after giving effect to such reduction) of the outstanding Loans, together with all accrued and unpaid interest thereon, and/or (ii) cause such Affected Lender to assign its Commitments, its Loans, its participations in Letters of Credit and its interest in this Agreement and the other Loan Documents to one or more other Eligible Assignees (any such assignee, together with all Lenders other than such Affected Lender, the “Remaining Lenders”) selected by the Borrower and acceptable to the Administrative Agent. Any assignment made pursuant to clause (ii) above shall be in accordance with Section 15.8 (but without giving effect to any provision of such Section which restricts the minimum or maximum amount which is permitted to be assigned).\nIf any reduction or termination of any Affected Lender’s Commitment is made pursuant to clause (i) above, then (A) the Aggregate Commitment Amount shall be reduced by an amount equal to the aggregate amount of the Commitment so reduced or terminated, and (B) each Remaining Lender’s (and, in the case of a reduction, such Affected Lender’s) share or percentage of the Aggregate Commitment Amount, as so reduced, shall be deemed proportionately adjusted; it being understood that the amount of any Lender’s Commitment (as opposed to any Lender’s share or percentage of the Aggregate Commitment Amount) shall not at any time be increased without the consent of such Lender.\n7.8 Loan Related Taxes. All payments by the Borrower of principal of, and interest on, the Loans and all other amounts payable hereunder shall be made free and clear of and without deduction for any present or future income, excise, stamp or franchise taxes and other taxes, fees, duties, withholdings or other charges of any nature whatsoever imposed by any taxing authority, but excluding franchise taxes and taxes imposed on or measured by any Lender’s or any Issuer’s overall net income or receipts that are imposed as a result of such Lender or Issuer being organized under the laws of, or having its principal office or its applicable lending office located in, the jurisdiction imposing such Tax (such non-excluded items being called “Loan Related Taxes”). In the event that any withholding or deduction from any payment to be made by the Borrower hereunder is required in respect of any Loan Related Taxes pursuant to any applicable law, rule or regulation, then the Borrower will:\n(i) pay directly to the relevant authority the full amount required to be so withheld or deducted;\n(ii) promptly forward to the Administrative Agent an official receipt or other documentation satisfactory to the Administrative Agent evidencing such payment to such authority; and\n(iii) pay to the Administrative Agent for the account of the Lenders and the Issuers such additional amount or amounts as is necessary to ensure that the net\namount actually received by each Lender and each Issuer will equal the full amount such Lender or such Issuer would have received had no such withholding or deduction been required.\nMoreover, if any Loan Related Taxes are directly asserted against the Administrative Agent, any Lender or any Issuer with respect to any payment received by the Administrative Agent, such Lender or such Issuer hereunder, the Administrative Agent, such Lender or such Issuer may pay such Loan Related Taxes and the Borrower will promptly pay such additional amounts (including any penalties, interest or expenses) as is necessary in order that the net amount received by such person after the payment of such Loan Related Taxes (including any Loan Related Taxes on such additional amount) shall equal the amount such person would have received had not such Loan Related Taxes been asserted.\nIf the Borrower fails to pay any Loan Related Taxes when due to the appropriate taxing authority or fails to remit to the Administrative Agent, for the account of the respective Lenders, the required receipts or other required documentary evidence, the Borrower shall indemnify the Lenders for any incremental Loan Related Taxes, interest or penalties that may become payable by any Lender as a result of any such failure which are incurred without fault of the Administrative Agent, any Lender or any Issuer. For purposes of this Section 7.8, a distribution hereunder by the Administrative Agent, any Lender or any Issuer to or for the account of any Lender or any Issuer shall be deemed a payment by the Borrower.\nIf a payment made to a Lender under any Loan Document would be subject to United States federal withholding tax imposed by FATCA if such Lender were to fail to comply with the applicable reporting requirements of FATCA (including those contained in section 1471(b) or 1472(b) of the Code, as applicable), such Lender shall deliver to the Borrower and the Administrative Agent, at the time or times prescribed by law and at such time or times reasonably requested in writing by the Borrower or the Administrative Agent, such documentation prescribed by applicable law (including as prescribed by section 1471(b)(3)(C)(i) of the Code) and such additional documentation reasonably requested in writing by the Borrower or the Administrative Agent as may be necessary for the Borrower or the Administrative Agent to comply with its obligations under FATCA, to determine that such Lender has complied with such Lender’s obligations under FATCA and, as necessary, to determine the amount to deduct and withhold from such payment. Solely for purposes of this paragraph, “FATCA” shall include any amendments made to FATCA after the date of this Agreement.\nUpon the request of the Borrower or the Administrative Agent, each Lender that is organized under the laws of a jurisdiction other than the United States shall deliver to the Borrower and the Administrative Agent (in such number of copies as shall be requested by the recipient) on or prior to the date on which such Lender becomes a Lender under this Agreement (and from time to time\nthereafter upon the request of the Borrower or the Administrative Agent, but only if such Lender is legally entitled to do so), whichever of the following is applicable:\n(i) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable, claiming eligibility for benefits of an income tax treaty to which the United States is a party;\n(ii) duly completed copies of Internal Revenue Service Form W-8ECI;\n(iii) in the case of a Lender claiming the benefits of the exemption for portfolio interest under section 881(c) of the Code, (x) a certificate to the effect that such Lender is not (A) a “bank” within the meaning of section 881(c)(3)(A) of the Code, (B) a “10 percent shareholder” of the Borrower within the meaning of section 871(h)(3)(B) or section 881(c)(3)(B) of the Code, or (C) a “controlled foreign corporation” described in section 881(c)(3)(C) of the Code and (y) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable; or\n(iv) any other form prescribed by applicable law as a basis for claiming exemption from or a reduction in United States Federal withholding tax duly completed together with such supplementary documentation as may be prescribed by applicable law to permit the Borrower to determine the withholding or deduction required to be made.\nEach party’s obligations under this Section 7.8 shall survive the resignation or replacement of the Administrative Agent or any assignment of rights by, or the replacement of, a Lender or Issuer, the termination of the Commitments and the repayment, satisfaction or discharge of all other Liabilities.\nFor purposes of determining withholding Taxes imposed under FATCA, from and after the effective date of this Agreement, the Borrower and the Administrative Agent shall treat (and the Lenders hereby authorize the Administrative Agent to treat) the Loans as not qualifying as a “grandfathered obligation” within the meaning of Treasury Regulation Section 1.1471-2(b)(2)(i)."}
-{"idx": 12, "level": 3, "span": "(a) any tax is imposed on any Lender or Issuer or the basis of taxation of payments to any Lender of the principal of or interest on any Eurodollar Rate Loan is changed (other than in respect of Taxes on the overall net income of such Lender or Issuer that are imposed"}
-{"idx": 12, "level": 3, "span": "(b) any reserve, special deposit, compulsory loan, insurance charge or similar requirements against assets of, deposits with or for the account of, or credit extended by, any Lender are imposed, modified or deemed applicable; or"}
-{"idx": 12, "level": 3, "span": "(c) any other condition, cost or expense affecting this Agreement or any Eurodollar Rate Loan is imposed on any Lender or the interbank eurodollar markets;"}
-{"idx": 12, "level": 4, "span": "(i) pay directly to the relevant authority the full amount required to be so withheld or deducted;"}
-{"idx": 12, "level": 4, "span": "(ii) promptly forward to the Administrative Agent an official receipt or other documentation satisfactory to the Administrative Agent evidencing such payment to such authority; and"}
-{"idx": 12, "level": 4, "span": "(iii) pay to the Administrative Agent for the account of the Lenders and the Issuers such additional amount or amounts as is necessary to ensure that the net"}
-{"idx": 12, "level": 4, "span": "(i) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable, claiming eligibility for benefits of an income tax treaty to which the United States is a party;"}
-{"idx": 12, "level": 4, "span": "(ii) duly completed copies of Internal Revenue Service Form W-8ECI;"}
-{"idx": 12, "level": 4, "span": "(iii) in the case of a Lender claiming the benefits of the exemption for portfolio interest under section 881(c) of the Code, (x) a certificate to the effect that such Lender is not (A) a “bank” within the meaning of section 881(c)(3)(A) of the Code, (B) a “10 percent shareholder” of the Borrower within the meaning of section 871(h)(3)(B) or section 881(c)(3)(B) of the Code, or (C) a “controlled foreign corporation” described in section 881(c)(3)(C) of the Code and (y) duly completed copies of Internal Revenue Service Form W-8BEN or W-8BEN-E, as applicable; or"}
-{"idx": 12, "level": 4, "span": "(iv) any other form prescribed by applicable law as a basis for claiming exemption from or a reduction in United States Federal withholding tax duly completed together with such supplementary documentation as may be prescribed by applicable law to permit the Borrower to determine the withholding or deduction required to be made."}
-{"idx": 12, "level": 2, "span": "SECTION 8. COLLATERAL.\nTo secure the full and prompt payment when due, and the prompt performance, of all of the Liabilities, the Borrower hereby grants to the Collateral Agent, for the benefit of the Lenders, each Issuer and the Administrative Agent, pursuant to the Collateral Documents, a security interest, mortgage and lien upon the assets described as Collateral in the Security and Intercreditor Agreement. The Borrower agrees that it will at its sole expense (a) with or without any request by the Administrative Agent, immediately deliver or cause to be delivered to the Collateral Agent, in due form for transfer (i.e., endorsed in blank or accompanied by duly executed blank stock or bond powers), all securities, chattel paper, instruments and documents of title, if any, at any time\nrepresenting all or any of the Collateral, and (b) upon request of the Administrative Agent or the Collateral Agent furnish or cause to be furnished to the Collateral Agent, in due form for filing or recording the same in all public offices deemed necessary or appropriate by the Administrative Agent or the Collateral Agent, as the case may be, such collateral documents, assignments, security agreements, mortgages, deeds of trust, pledge agreements, consents, waivers, financing statements, stock or bond powers, and other documents, and amendments thereto and do such other acts and things, all as the Administrative Agent or the Collateral Agent may from time to time request to establish and maintain, to the satisfaction of the Administrative Agent and the Collateral Agent and in favor of the Collateral Agent for the benefit of the Administrative Agent and the Lenders, a valid perfected lien or mortgage on and security interest in all Collateral (free of all other liens, claims and rights of third parties whatsoever other than Permitted Liens)."}
-{"idx": 12, "level": 2, "span": "SECTION 9. REPRESENTATIONS AND WARRANTIES.\nTo induce the Administrative Agent and the Lenders to enter into this Agreement and make Loans and participate in Letters of Credit and to induce each Issuer to issue Letters of Credit hereunder, the Borrower represents and warrants that:\n9.1 Existence. The Borrower is an exempted company duly incorporated with limited liability and validly existing and in good standing under the laws of Bermuda. All of the Borrower’s corporate Restricted Subsidiaries are corporations duly organized, validly existing and in good standing under the laws of the states or countries of their respective incorporation. All of the Borrower’s other Restricted Subsidiaries, if any, are entities duly organized, validly existing and in good standing under the laws of the jurisdictions of their respective organization. The Borrower and all of its Subsidiaries are each in good standing and are duly qualified to do business in each state where, because of the nature of their respective activities or properties, failure to be in such good standing or so qualified would have a Material Adverse Effect.\n9.2 Authorization. The Borrower has the power and is duly authorized to execute and deliver this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and the other Loan Documents to which it is a party, and is and will continue to be duly authorized to borrow monies hereunder, grant a security interest in the Collateral and perform its obligations under this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and such other Loan Documents. The execution, delivery and performance by the Borrower of this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and the other Loan Documents to which it is a party, and the borrowings hereunder, and the granting of any security interest provided for in the Loan Documents, do not and will not require any consent or approval of any Governmental Authority or authority, stockholder or any other Person, which has not already been obtained. The Borrower and each of its Restricted Subsidiaries has the power, right and legal authority to own and operate its properties and carry on its business as now conducted and proposed to be conducted.\n9.3 No Conflicts. The execution, delivery and performance by the Borrower of this Agreement, the Notes, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and the other Loan Documents to which it is a party do not and will not conflict with, or constitute a breach of, or default under (a) any provision of law, (b) the charter or by-laws of the Borrower, (c) any agreement or instrument binding upon the Borrower or (d) any court or administrative order or decree applicable to the Borrower, and do not and will not require, or result in, the creation or imposition of any Lien on any asset of the Borrower or any of its Restricted Subsidiaries, other than Liens arising pursuant to the Security and Intercreditor Agreement or the Intercreditor Collateral Agreement.\n9.4 Validity and Binding Effect. This Agreement, the Intercreditor Collateral Agreement and the Security and Intercreditor Agreement are, and the Notes and other Loan Documents when duly executed and delivered will be, legal, valid and binding obligations of the Borrower, enforceable against the Borrower in accordance with their respective terms, except as enforceability may be limited by bankruptcy, insolvency or other similar laws of general application affecting the enforcement of creditors’ rights or by general principles of equity limiting the availability of equitable remedies.\n9.5 No Default. Neither the Borrower nor any of its Restricted Subsidiaries is in default under any agreement or instrument (subject to all applicable grace periods thereunder) to which the Borrower or any Restricted Subsidiary is a party or by which any of their respective properties or assets is bound or affected, which might, individually or in the aggregate, have a Material Adverse Effect. No Event of Default or Unmatured Event of Default exists.\n9.6 Insurance. Schedule 9.6 is a complete and accurate description of the property, casualty and liability insurance maintained by the Borrower as of the Restatement Effective Date. The certificates or copies of policies evidencing the Borrower’s insurance coverage, which have been furnished to each Lender and which are referenced in Schedule 9.6, are complete and accurate.\n9.7 Litigation and Contingent Liabilities. No claims, litigation, arbitration proceedings or governmental proceedings are pending or, to the Borrower’s knowledge, threatened against or are affecting the Borrower or any of its Restricted Subsidiaries, the result of which might interfere with the consummation of any of the transactions contemplated by this Agreement or any document issued in connection herewith, or is reasonably possible or probable (as such terms are used in Statement of Financial Accounting Standards No. 5, March 1975) to result (either in any one case or in the aggregate) in a Material Adverse Effect. Other than any liability incident to such claims, litigation or proceedings, or provided for or disclosed in the Audited Financial Statements or listed on Schedule 9.7, as of the Restatement Effective Date, neither the Borrower nor any of its Restricted Subsidiaries has any contingent liabilities which are material to the Borrower and its Restricted Subsidiaries taken as a whole.\n9.8 Title; Liens. The Borrower and its Restricted Subsidiaries have good, legal and marketable title to each of their respective assets, and none of such assets is subject to any Lien, except for Permitted Liens. No financing statement (other than any which may have been filed on behalf of the Collateral Agent or in connection with any Permitted Lien) covering any of the Collateral is on file in any public office.\n9.9 Subsidiaries. As of the Restatement Effective Date, (a) the Borrower has no Subsidiaries except as listed on Schedule 9.9 and (b) the Borrower and its Subsidiaries own the percentage of its Subsidiaries as set forth on Schedule 9.9. All equity interests in each Subsidiary have been validly issued, are fully paid and are non-assessable.\n9.10 Partnerships; Limited Liability Companies. As of the Restatement Effective Date, neither the Borrower nor any of its Restricted Subsidiaries is a partner, member or joint venturer in any partnership, limited liability company or joint venture other than the partnerships, limited liability companies and joint ventures, if any, listed on Schedule 9.10.\n9.11 Purpose. The proceeds of the Loans will be used by the Borrower for its working capital, for the refinancing of existing Indebtedness and for its purchase of Container Equipment and for general corporate purposes (including the payment of dividends to its stockholders). The Standby Letters of Credit shall be used by the Borrower for general corporate purposes. The Commercial Letters of Credit shall be used by the Borrower in connection with the sale or shipment of Container Equipment purchased by the Borrower in the ordinary course of the Borrower’s business.\n9.12 Regulations T, U and X. The Borrower and its Subsidiaries are not engaged in the business of purchasing or selling “margin stock”, as such term is defined in Regulation U of the FRB, or extending credit to others for the purpose of purchasing or carrying margin stock, and no part of the proceeds of any Loan will be used to purchase or carry any margin stock or for any other purpose which would violate any of Regulation T, U or X of the FRB or any other regulation therefor.\n9.13 Compliance. (a) The Borrower and its Subsidiaries are in compliance with all statutes and governmental rules and regulations applicable to them, their businesses and properties, except for any noncompliance which is not reasonably likely to have a Material Adverse Effect.\n(a) (i) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower: (w) is currently the subject or target of any Sanctions, (x) is a person included on OFAC’s List of Specially Designated Nationals and Blocked Persons List, OFAC’s Consolidated Non-SDN List, HMT’s Consolidated List of Financial Sanctions Targets, the Investment Ban List of the European Union or any similar list enforced by any other relevant sanctions authority; (y) is (A) an agency of the government of a country, (B) an organization controlled by a country, or (C) a Person resident in a country that is subject to a sanctions program identified on the list maintained by OFAC, or as otherwise published from time to\ntime, as such program may be applicable to such agency, organization or person; or (z) derives any of its assets or operating income from investments in or transactions with any such country, agency, organization or Person; and (ii) none of the proceeds from the Loans will be used to finance any operations, investments or activities in, or make any payments to, any such country, agency, organization, or Person.\n(b) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower (i) is a person whose property or interest in property is blocked or subject to blocking pursuant to Section 1 of Executive Order 13224 of September 23, 2001 Blocking Property and Prohibiting Transactions With Persons Who Commit, Threaten to Commit, or Support Terrorism (66 Fed. Reg. 49079 (2001)), (ii) engages in any dealings or transactions prohibited by Section 2 of such executive order, or is otherwise associated with any such person in any manner violative of Section 2, or (iii) is subject to the limitations or prohibitions under any other U.S. Department of Treasury’s Office of Foreign Assets Control regulation or executive order.\n(c) Each of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower is in compliance, in all material respects, with (i) the Trading with the Enemy Act, and each of the foreign assets control regulations of the United States Treasury Department (31 CFR, Subtitle B, Chapter V) and any other enabling legislation or executive order relating thereto, and (ii) the Uniting And Strengthening America By Providing Appropriate Tools Required To Intercept And Obstruct Terrorism (USA Patriot Act of 2001). No part of the proceeds of the Loans will be used, directly or indirectly, for any payments to any governmental official or employee, political party, official of a political party, candidate for political office, or anyone else acting in an official capacity, in order to obtain, retain or direct business or obtain any improper advantage, in violation of the United States Foreign Corrupt Practices Act of 1977.\n(d) The Borrower and its Subsidiaries have (i) conducted their businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and all other similar anti-corruption or anti-bribery legislation in any other relevant jurisdiction and (ii) instituted and maintained policies and procedures designed to promote and achieve compliance with such laws.\n9.14 Pension and Welfare Plans. During the twelve-consecutive-month period prior to the date of the execution and delivery of this Agreement and prior to the date of any borrowing hereunder, no steps have been taken to terminate any Pension Plan, and no contribution failure has occurred with respect to any Pension Plan sufficient to give rise to a Lien under section 303(k) of ERISA or section 430(k) of the Code. Each Pension Plan complies in all material respects with all applicable statutes and governmental rules and regulations, and (a) no Reportable Event has occurred and is continuing with respect to any Pension Plan, (b) neither the Borrower nor any ERISA Affiliate\nhas withdrawn from any Pension Plan or instituted steps to do so, and (c) no steps have been instituted to terminate any Pension Plan. No condition exists or event or transaction has occurred in connection with any Pension Plan which could result in the incurrence by the Borrower or any ERISA Affiliate of any material liability, fine or penalty. Neither the Borrower nor any ERISA Affiliate is a member of, or participating employer in, contributes to, or has any liability with respect to, any “multiple employer plan” as described in sections 4063 and 4064 of ERISA or any multiemployer plan within the meaning of section 4001(a)(3) of ERISA. Neither the Borrower nor any of its Subsidiaries has any contingent liability with respect to any post-retirement benefit under any Welfare Plan other than liability for continuation coverage described in Part 6 of Title I of ERISA, except as listed on Schedule 9.14.\n9.15 Environmental Warranties. Except as set forth in Schedule 9.15:\n(a) all facilities and property (including underlying groundwater) owned or leased by the Borrower or any of its Subsidiaries have been, and continue to be, owned or leased by the Borrower and its Subsidiaries in material compliance with all Environmental Laws;\n(b) to the best of Borrower’s knowledge, there have been no past, and there are currently no pending or to the best of the Borrower’s knowledge threatened:\n(i) claims, complaints, notices or requests for information received by the Borrower or any of its Subsidiaries with respect to any alleged violation of any Environmental Law, or\n(ii) complaints, notices or inquiries to the Borrower or any of its Subsidiaries regarding potential liability under any Environmental Law;\n(c) to the best of the Borrower’s knowledge, there have been no Releases of Hazardous Materials at, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;\n(d) the Borrower and its Subsidiaries have been issued and are in material compliance with all permits, certificates, approvals, licenses and other authorizations required under the laws of the United States and, to the best of the Borrower’s knowledge, the applicable laws of other countries, relating to environmental matters and necessary or desirable for their businesses;\n(e) no property now owned or leased to, and to the best of Borrower’s knowledge no property previously owned or leased to, the Borrower or any of its Subsidiaries is listed or proposed for listing (with respect to owned property only) on the National Priorities List\npursuant to CERCLA, on the CERCLIS or on any similar state list of sites requiring investigation or clean-up;\n(f) to the best of the Borrower’s knowledge, there are no underground storage tanks, active or abandoned, including petroleum storage tanks, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;\n(g) neither Borrower nor any Subsidiary of the Borrower has directly transported or directly arranged for the transportation of any Hazardous Material to any location which is listed or proposed for listing on the National Priorities List pursuant to CERCLA, on the CERCLIS or on any similar state list or which is the subject of federal, state or local enforcement actions or other investigations which may lead to material claims against the Borrower or any such Subsidiary for any remedial work, damage to natural resources or personal injury, including claims under CERCLA;\n(h) there are no polychlorinated biphenyls or friable asbestos present at any real property now owned or operated by the Borrower or any of its Subsidiaries or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries; and\n(i) no conditions exist at, on or under any real property now owned or operated by or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries which, with the passage of time, or the giving of notice or both, would give rise to liability under any Environmental Law.\n9.16 Taxes. Each of the Borrower and each of its Subsidiaries has filed all tax returns which are required to have been filed and has paid, or made adequate provisions for the payment of, all of its Taxes which are due and payable, except such Taxes, if any, (a) as are being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP have been maintained; or (b) the amount of which is de minimis. As of the date of this Agreement, the Borrower is not aware of any proposed assessment against the Borrower or any of its Subsidiaries for additional Taxes (or any basis for any such assessment) which might be material to the Borrower and its Subsidiaries taken as a whole.\n9.17 Investment Company Act Representation. The Borrower is not an “investment company” or a company “controlled” by an “investment company” within the meaning of the Investment Company Act of 1940.\n9.18 Accuracy of Information. All factual information, other than financial projections, heretofore or contemporaneously furnished by the Borrower in writing to the Administrative Agent or any Lender for purposes of or in connection with this Agreement or any transaction contemplated hereby is, and all other such factual information hereafter furnished by the Borrower to the Administrative Agent or any Lender will be, true and accurate in every material respect on the date as of which such information is dated or certified, and such information is not, or shall not be, as the case may be, incomplete by omitting to state any material fact necessary to make such information not misleading.\n9.19 Financial Statements. The Audited Financial Statements, copies of which have been furnished to the Lenders, have been prepared in conformity with generally accepted accounting principles applied on a basis consistent with that of the preceding fiscal year end period and present fairly the financial condition of the Borrower and its Subsidiaries as at such dates and the results of their operations for the period then ended.\n9.20 No Material Adverse Change. Since the date of the Audited Financial Statements, there has been no material adverse change in the financial condition of the Borrower and its Subsidiaries taken as a whole.\n9.21 EU Bail-In. The Borrower is not an EEA Financial Institution."}
-{"idx": 12, "level": 3, "span": "(a) (i) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower: (w) is currently the subject or target of any Sanctions, (x) is a person included on OFAC’s List of Specially Designated Nationals and Blocked Persons List, OFAC’s Consolidated Non-SDN List, HMT’s Consolidated List of Financial Sanctions Targets, the Investment Ban List of the European Union or any similar list enforced by any other relevant sanctions authority; (y) is (A) an agency of the government of a country, (B) an organization controlled by a country, or (C) a Person resident in a country that is subject to a sanctions program identified on the list maintained by OFAC, or as otherwise published from time to"}
-{"idx": 12, "level": 3, "span": "(b) None of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower (i) is a person whose property or interest in property is blocked or subject to blocking pursuant to Section 1 of Executive Order 13224 of September 23, 2001 Blocking Property and Prohibiting Transactions With Persons Who Commit, Threaten to Commit, or Support Terrorism (66 Fed\nReg. 49079 (2001)), (ii) engages in any dealings or transactions prohibited by Section 2 of such executive order, or is otherwise associated with any such person in any manner violative of Section 2, or (iii) is subject to the limitations or prohibitions under any other U.S. Department of Treasury’s Office of Foreign Assets Control regulation or executive order."}
-{"idx": 12, "level": 3, "span": "(c) Each of the Borrower, any Subsidiary of the Borrower or any Affiliate of the Borrower is in compliance, in all material respects, with (i) the Trading with the Enemy Act, and each of the foreign assets control regulations of the United States Treasury Department (31 CFR, Subtitle B, Chapter V) and any other enabling legislation or executive order relating thereto, and (ii) the Uniting And Strengthening America By Providing Appropriate Tools Required To Intercept And Obstruct Terrorism (USA Patriot Act of 2001)\nNo part of the proceeds of the Loans will be used, directly or indirectly, for any payments to any governmental official or employee, political party, official of a political party, candidate for political office, or anyone else acting in an official capacity, in order to obtain, retain or direct business or obtain any improper advantage, in violation of the United States Foreign Corrupt Practices Act of 1977."}
-{"idx": 12, "level": 3, "span": "(d) The Borrower and its Subsidiaries have (i) conducted their businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and all other similar anti-corruption or anti-bribery legislation in any other relevant jurisdiction and (ii) instituted and maintained policies and procedures designed to promote and achieve compliance with such laws."}
-{"idx": 12, "level": 3, "span": "(a) all facilities and property (including underlying groundwater) owned or leased by the Borrower or any of its Subsidiaries have been, and continue to be, owned or leased by the Borrower and its Subsidiaries in material compliance with all Environmental Laws;"}
-{"idx": 12, "level": 3, "span": "(b) to the best of Borrower’s knowledge, there have been no past, and there are currently no pending or to the best of the Borrower’s knowledge threatened:"}
-{"idx": 12, "level": 4, "span": "(i) claims, complaints, notices or requests for information received by the Borrower or any of its Subsidiaries with respect to any alleged violation of any Environmental Law, or"}
-{"idx": 12, "level": 4, "span": "(ii) complaints, notices or inquiries to the Borrower or any of its Subsidiaries regarding potential liability under any Environmental Law;"}
-{"idx": 12, "level": 3, "span": "(c) to the best of the Borrower’s knowledge, there have been no Releases of Hazardous Materials at, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;"}
-{"idx": 12, "level": 3, "span": "(d) the Borrower and its Subsidiaries have been issued and are in material compliance with all permits, certificates, approvals, licenses and other authorizations required under the laws of the United States and, to the best of the Borrower’s knowledge, the applicable laws of other countries, relating to environmental matters and necessary or desirable for their businesses;"}
-{"idx": 12, "level": 3, "span": "(e) no property now owned or leased to, and to the best of Borrower’s knowledge no property previously owned or leased to, the Borrower or any of its Subsidiaries is listed or proposed for listing (with respect to owned property only) on the National Priorities List"}
-{"idx": 12, "level": 3, "span": "(f) to the best of the Borrower’s knowledge, there are no underground storage tanks, active or abandoned, including petroleum storage tanks, on or under any property now or previously owned or leased by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries;"}
-{"idx": 12, "level": 3, "span": "(g) neither Borrower nor any Subsidiary of the Borrower has directly transported or directly arranged for the transportation of any Hazardous Material to any location which is listed or proposed for listing on the National Priorities List pursuant to CERCLA, on the CERCLIS or on any similar state list or which is the subject of federal, state or local enforcement actions or other investigations which may lead to material claims against the Borrower or any such Subsidiary for any remedial work, damage to natural resources or personal injury, including claims under CERCLA;"}
-{"idx": 12, "level": 3, "span": "(h) there are no polychlorinated biphenyls or friable asbestos present at any real property now owned or operated by the Borrower or any of its Subsidiaries or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries that, singly or in the aggregate, have had, or may reasonably be expected to have, a material adverse effect on the business, financial condition, operations or properties of the Borrower and its Subsidiaries; and"}
-{"idx": 12, "level": 4, "span": "(i) no conditions exist at, on or under any real property now owned or operated by or, to the best of Borrower’s knowledge, previously owned or operated by the Borrower or any of its Subsidiaries which, with the passage of time, or the giving of notice or both, would give rise to liability under any Environmental Law."}
-{"idx": 12, "level": 2, "span": "SECTION 10. BORROWER’S COVENANTS.\nFrom the date of this Agreement and thereafter until the expiration or termination of the Commitments and until the Loans and other Liabilities are paid and performed in full, the Borrower agrees that, unless at any time the Majority Lenders shall otherwise expressly consent in writing, it will perform and fulfill its obligations set forth in this Section 10.\n10.1 Financial Statements and Other Reports. The Borrower will furnish or will cause to be furnished to the Administrative Agent and each of the Lenders:\n(a) Annual Audit Reports. Within 120 days after the end of each fiscal year, a copy of the annual audit report of the Borrower and its Subsidiaries prepared on a consolidated basis in conformity with GAAP and certified, without qualification, by independent certified public accountants of recognized national standing. Such annual audit report shall (i) include a footnote setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal year; (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal year, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the fiscal year then ended, setting forth in each case in comparative form the\nfigures for the previous fiscal year; and (iii) be accompanied by a letter from such accountants stating that, in the course of their preparation of such audit report, they have not become aware of any Event of Default or Unmatured Event of Default under Section 10.13, 10.15 or 10.16, or if they have become aware of any such event, describing it in reasonable detail;\n(b) Quarterly Financial Statements. Within 60 days after the end of each fiscal quarter (other than the last fiscal quarter of each fiscal year), a copy of the unaudited financial statements of the Borrower and its Subsidiaries for such fiscal quarter prepared on a consolidated basis in conformity with GAAP (subject to year-end audit adjustments and the absence of footnotes). Such financial statements shall (i) include a schedule setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal quarter; and (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal quarter, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the portion of the fiscal year then ended, setting forth in each case in comparative form the figures for the equivalent timeframe for the previous fiscal year;\n(c) Officer’s Certificate and Report. Together with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a Compliance Certificate signed by an Authorized Signatory dated the date of delivery of such financial statements, to the effect that no Event of Default or Unmatured Event of Default exists, or, if there is any such event, describing it and the steps, if any, being taken to cure it, and containing a computation of, and showing compliance with, each of the financial ratios and restrictions contained in this Section 10; provided that with respect to such financial ratios and restrictions, such certification shall be effective only as of the date of such financial statements;\n(d) Lease Reports. Together with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a report of an Authorized Signatory, relating to the Combined Fleet, dated the date of such financial statements, setting forth the Utilization Ratio and, if requested by the Administrative Agent or any Lender, the average monthly and year-to-date lease rate, in form and substance satisfactory to, and with such additional information as may be from time to time reasonably requested by, the Majority Lenders;\n(e) SEC and Other Reports. Copies of each filing and report made by the Borrower or any Subsidiary with or to any securities exchange or the Securities and Exchange Commission, and of each communication from the Borrower or any Subsidiary to\nstockholders generally concerning events of material significance to the Borrower or any Subsidiary, promptly upon the filing or making thereof;\n(f) Borrowing Base Certificate. Within 15 Business Days after the end of each month (and, to the extent reasonably practicable, at any other time upon request by the Administrative Agent on behalf of the Majority Lenders), a Borrowing Base Certificate executed by an Authorized Signatory as of the end of such month (or as of such other requested date with respect to any interim Borrowing Base Certificate), it being understood that any such interim Borrowing Base Certificate may, to the extent necessary, be prepared by the Borrower using good faith reasonable estimates of the information contained therein;\n(g) Container Equipment Reports. Within 60 days after the end of each fiscal quarter (or, in the case of the fourth fiscal quarter of a fiscal year, 120 days), a summary setting forth (i) the number and types of Container Equipment then owned by the Borrower, (ii) their aggregate Net Book Value and (iii) their aggregate original cost (or, upon the Administrative Agent’s request during the existence of an Event of Default or Unmatured Event of Default, a detailed report as of the end of each fiscal quarter, setting forth with respect to each unit of Container Equipment then owned by the Borrower and subject to a Long Term Lease its (w) serial or other identifying number, (x) in-service date, (y) Net Book Value (including totals thereof), and (z) original cost (including totals thereof)); it being understood that, unless reasonably requested by the Majority Lenders with reasonable notice, such reports shall be limited to all Revenue Generating Equipment (as defined in the Security and Intercreditor Agreement) constituting Collateral then owned by the Borrower; and\n(h) Requested Information. Promptly from time to time, such other reports or information concerning the Borrower or the Collateral as the Administrative Agent on behalf of the Majority Lenders or any Lender may reasonably request.\n10.2 Notices. The Borrower will notify the Lenders in writing of any of the following immediately upon learning of the occurrence thereof, describing the same and, if applicable, the steps being taken by the Person(s) affected with respect thereto:\n(a) Default. The occurrence of an Event of Default or an Unmatured Event of Default;\n(b) Litigation. The institution of any litigation, arbitration proceeding or governmental proceeding which is material to the Borrower and its Subsidiaries taken as a whole;\n(c) Pension and Welfare Plans. The Borrower or any ERISA Affiliate becomes obligated or assumes liability under any “pension plan”, as such term is defined in section 3(2) of ERISA, which is subject to Title IV of ERISA (other than a multiemployer plan as defined in section 4001(a)(3) of ERISA); the occurrence of a Reportable Event with respect\nto any Pension Plan; the institution of any steps by the Borrower, any ERISA Affiliate, the PBGC or any other Person to terminate any Pension Plan; the institution of any steps by the Borrower or any ERISA Affiliate to withdraw from any Pension Plan; or the incurrence of any material increase in the contingent liability of the Borrower or any Subsidiary with respect to any post-retirement Welfare Plan;\n(d) Material Adverse Effect. The occurrence of an event which has had a Material Adverse Effect;\n(e) Change of Address. Any change in the address or location of the principal office of the Borrower from its address set forth on Schedule 10.2;\n(f) Change of Jurisdiction of Organization. Any change in the jurisdiction in which the Borrower is organized;\n(g) Report Regarding Representations. Any material event or change of circumstance which would prevent the Borrower from remaking, as of any date, the representations set forth in Sections 9.6, 9.7, 9.8, 9.9, 9.10, 9.14, 9.15 and 9.16 hereof or in Section 2.2 of the Security and Intercreditor Agreement;\n(h) S&P Rating. Promptly upon receipt by the Borrower of notice thereof, and in any event within five Business Days after any change in the S&P Rating, notice of such change; and\n(i) Other Events. The occurrence of such other events as the Administrative Agent or any Lender may from time to time reasonably specify;"}
-{"idx": 12, "level": 2, "span": "provided that no notice given pursuant to this Section 10.2 shall be deemed to constitute a defense to, or waiver of, (i) any representation set forth in Section 9 being untrue in any material respect as of the date of this Agreement, (ii) any failure to perform or satisfy any covenant set forth in Section 10\n or (iii) any Event of Default.\n10.3 Existence. The Borrower will maintain and preserve and, subject to the provisions of clauses (w), (x), (y), and (z) of Section 10.11, cause each Restricted Subsidiary to maintain and preserve, its existence as a limited liability company, partnership or corporation, as the case may be, and keep in force and effect all rights, privileges, licenses, patents, patent rights, copyrights, trademarks, trade names, franchises and other authority to the extent material and necessary for the conduct of its business in the ordinary course as conducted from time to time.\n10.4 Nature of Business. The Borrower will engage, and cause each Restricted Subsidiary to engage, in substantially the same fields of business as it is engaged in on the date hereof.\n10.5 Books, Records and Inspection Rights. (a) The Borrower will maintain, and cause each Subsidiary to maintain, complete and accurate books and records in which full and correct\nentries in conformity with GAAP shall be made of all dealings and transactions in relation to its respective business and activities. The Borrower will permit, and cause each Subsidiary to permit, access by the Administrative Agent or any Lender to the books and records of the Borrower and such Subsidiary at reasonable time intervals during normal business hours and permit, and cause each Subsidiary to permit, the Administrative Agent or any Lender to make copies of such books and records. The Borrower will permit, and will cause each Subsidiary to permit, the Administrative Agent and each Lender or any of their respective representatives, at reasonable times and intervals, to visit all of its offices and to discuss its financial matters with its officers. In addition, at any time during the existence of an Event of Default or Unmatured Event of Default, the Administrative Agent and each Lender may discuss financial matters with the independent public accountants, investment bankers and/or financial advisors of the Borrower as necessary to protect the interests of the Administrative Agent or such Lender (and the Borrower hereby authorizes such independent public accountants, investment bankers and financial advisors to discuss the Borrower’s financial matters with the Administrative Agent or any Lender or its representatives whether or not any representative of the Borrower is present). The Borrower will reimburse the Administrative Agent, its agents and designees for all reasonable costs and expenses incurred by them in the course of any such inspection if an Event of Default or Unmatured Event of Default shall then exist, or if such costs and expenses were incurred in determining that an Event of Default has been cured or an Unmatured Event of Default is no longer in effect. Payment of such costs and expenses at any other time shall be as mutually agreed by the Borrower and the Administrative Agent.\n(a) At the request of the Administrative Agent or the Majority Lenders, the Borrower shall fully cooperate with the Administrative Agent and auditors or appraisers selected by the Administrative Agent (which may be employees of the Administrative Agent) in the completion of a collateral examination of the assets of the Borrower that comprise the Borrowing Base and such other assets of the Borrower and/or its Subsidiaries as the Administrative Agent, such auditor or such appraiser, as applicable, determines are necessary to verify the Borrowing Base, which examination shall be at the expense of the Borrower; provided that unless an Event of Default has occurred and is continuing, the Borrower shall not be obligated to pay for more than one field examination of any Person in any fiscal year.\n10.6 Insurance; Reports. The Borrower will maintain, and cause each Restricted Subsidiary to maintain, insurance to such extent and against such hazards and liabilities as is commonly maintained by companies similarly situated or as the Administrative Agent on behalf of the Majority Lenders may reasonably request from time to time. Without limiting the generality of the foregoing sentence, the Borrower will maintain, and cause each Restricted Subsidiary to maintain, insurance coverage by financially sound and reputable insurers in such forms and amounts and against such risks as are set forth in Schedule 10.6 attached hereto, provided that the Borrower shall have the right to provide any and all insurance required by this Section 10.6 by means of an equivalent program of self insurance or insurance issued by a captive insurance carrier if (a) approved in writing by the Majority Lenders or (b) such self insurance or captive insurance carrier provides\ninsurance up to a maximum amount of $750,000 on an annual basis with the remainder provided by financially sound third party insurers as provided in this Section 10.6 and in Schedule 10.6. As soon as available and in any event not less than five days prior to the date of renewal of any insurance policy, the Borrower shall furnish (or cause to be furnished) to the Administrative Agent a broker’s certificate stating that such insurance coverage has been renewed or replaced. The Borrower has heretofore furnished, and as soon as available and in any event within 60 days after the date of renewal or replacement of any insurance policy, the Borrower shall furnish (or cause to be furnished), to the Administrative Agent certificates of insurance or certified copies of all insurance policies evidencing such insurance coverage, including loss payable endorsements naming the Collateral Agent as loss payee with respect to property and casualty insurance and an additional insured with respect to liability insurance, which certificates, policies and endorsements shall be consistent in form and substance with the requirements of Schedule 10.6 attached hereto. Subject to the next sentence, the Borrower agrees to give, as soon as possible and in any event not later than five days after it acquires knowledge thereof (whichever is earlier), notice in writing to the Administrative Agent and the Collateral Agent of any notice of cancellation of such insurance. The Borrower agrees to give, as soon as possible and in any event not later than two days after it acquires knowledge thereof (whichever is earlier), notice in writing to the Administrative Agent and the Collateral Agent of any notice of cancellation or reduction of the “War Risks and Strikes, Riots and Civil Commotions” coverage that the Borrower may have in effect from time to time.\n10.7 Repair. The Borrower will maintain, preserve and keep, and cause each Restricted Subsidiary to maintain, preserve and keep, its properties in good repair, working order and condition, and from time to time make, and cause each Restricted Subsidiary to make, all necessary and proper repairs, renewals, replacements, additions, betterments and improvements thereto so that at all times the efficiency thereof shall be fully preserved and maintained, ordinary wear and tear excepted, and excepting disposal of obsolete or damaged equipment.\n10.8 Taxes. The Borrower will pay, and cause each Subsidiary to pay, when due, all of its Taxes, except such Taxes (a) as are being contested in good faith and by appropriate proceedings and as to which the Borrower or such Subsidiary has set aside on its books such reserves or other appropriate provisions therefor as may be required by GAAP; or (b) the amount of which is de minimis.\n10.9 Compliance. The Borrower will comply, and cause each Restricted Subsidiary to comply, with all statutes and governmental rules and regulations applicable to it, its businesses and its properties the failure to comply with which would have a Material Adverse Effect.\n10.10 Pension Plans. The Borrower will not, and will not permit any Subsidiary or ERISA Affiliate to, permit any condition to exist in connection with any Pension Plan which might constitute grounds for the PBGC to institute proceedings to have such Pension Plan terminated or a trustee appointed to administer such Pension Plan. The Borrower will not, and will not permit any\nSubsidiary or ERISA Affiliate to, engage in, or permit to exist or occur, any other condition, event or transaction with respect to any Pension Plan which could result in the incurrence by the Borrower, or by any Subsidiary or ERISA Affiliate, of any material liability, fine or penalty.\n10.11 Merger, Purchase and Sale. The Borrower will not, and will not permit any Restricted Subsidiary to:\n(a) be a party to any merger or consolidation, unless (i) the Borrower shall be the surviving or continuing Person, (ii) at the time of such consolidation or merger and after giving effect thereto no Event of Default or Unmatured Event of Default shall have occurred and be continuing, (iii) after giving effect to such consolidation or merger the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iv) the Borrower, as the surviving or continuing corporation, derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size, function or variety for the purpose of leasing such containers to various transportation companies throughout the world;\n(b) except in the normal course of its business, sell, transfer, convey, lease or otherwise dispose of all or any substantial part (as defined below) of the assets of the Borrower and its Restricted Subsidiaries taken as a whole, provided that sale-leaseback or sale-manageback transactions relating to Container Equipment owned by the Borrower for less than one year and sold for not less than the Net Book Value thereof shall not be prohibited under this clause (b) (as used herein, a “sale-manageback” transaction shall mean a sale wherein at the time of such sale the Borrower shall have entered into an agreement whereby the Borrower shall manage such Container Equipment for the purchaser thereof);\n(c) sell or assign, with or without recourse, any accounts receivable or chattel paper other than (x) in the ordinary course of business or (y) the sale of Long Term Leases on a fully non-recourse basis, provided that such leases, or the Container Equipment subject thereto, do not represent, in the reasonable discretion of the Majority Lenders, a substantial part of the most profitable or valuable assets of the Borrower or its Restricted Subsidiaries (provided that nothing herein shall be construed to require the Borrower to obtain the prior written consent of the Majority Lenders to any such sale of Long Term Leases); or\n(d) purchase or otherwise acquire all or substantially all the assets of any Person, unless (i) at the time of such purchase or acquisition and after giving effect thereto no Unmatured Event of Default or Event of Default shall exist, (ii) after giving effect to such purchase or acquisition the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iii) after giving effect to such purchase or acquisition the Borrower derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size,\nfunction or variety for the purpose of leasing such containers to various transportation companies throughout the world.\nNotwithstanding the foregoing:\n(a) the Borrower and its Restricted Subsidiaries may sell, transfer, convey, assign or otherwise dispose of finance leases of, or conditional sale agreements with respect to, Container Equipment to any Unrestricted Subsidiary;\n(b) any Wholly-owned Restricted Subsidiary may merge into the Borrower or into or with any other Wholly-owned Restricted Subsidiary;\n(c) any Wholly-owned Restricted Subsidiary may consolidate with any other Wholly-owned Restricted Subsidiary so long as immediately thereafter 100% of the Voting Stock or other ownership interest of the resulting Person is owned by the Borrower or another Wholly-owned Restricted Subsidiary; and\n(d) any Wholly-owned Restricted Subsidiary may sell, transfer, convey, lease or assign all or a substantial part of its assets to the Borrower or another Wholly-owned Restricted Subsidiary;"}
-{"idx": 12, "level": 3, "span": "(a) At the request of the Administrative Agent or the Majority Lenders, the Borrower shall fully cooperate with the Administrative Agent and auditors or appraisers selected by the Administrative Agent (which may be employees of the Administrative Agent) in the completion of a collateral examination of the assets of the Borrower that comprise the Borrowing Base and such other assets of the Borrower and/or its Subsidiaries as the Administrative Agent, such auditor or such appraiser, as applicable, determines are necessary to verify the Borrowing Base, which examination shall be at the expense of the Borrower; provided that unless an Event of Default has occurred and is continuing, the Borrower shall not be obligated to pay for more than one field examination of any Person in any fiscal year."}
-{"idx": 12, "level": 3, "span": "(a) be a party to any merger or consolidation, unless (i) the Borrower shall be the surviving or continuing Person, (ii) at the time of such consolidation or merger and after giving effect thereto no Event of Default or Unmatured Event of Default shall have occurred and be continuing, (iii) after giving effect to such consolidation or merger the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iv) the Borrower, as the surviving or continuing corporation, derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size, function or variety for the purpose of leasing such containers to various transportation companies throughout the world;"}
-{"idx": 12, "level": 3, "span": "(b) except in the normal course of its business, sell, transfer, convey, lease or otherwise dispose of all or any substantial part (as defined below) of the assets of the Borrower and its Restricted Subsidiaries taken as a whole, provided that sale-leaseback or sale-manageback transactions relating to Container Equipment owned by the Borrower for less than one year and sold for not less than the Net Book Value thereof shall not be prohibited under this clause (b) (as used herein, a “sale-manageback” transaction shall mean a sale wherein at the time of such sale the Borrower shall have entered into an agreement whereby the Borrower shall manage such Container Equipment for the purchaser thereof);"}
-{"idx": 12, "level": 3, "span": "(c) sell or assign, with or without recourse, any accounts receivable or chattel paper other than (x) in the ordinary course of business or (y) the sale of Long Term Leases on a fully non-recourse basis, provided that such leases, or the Container Equipment subject thereto, do not represent, in the reasonable discretion of the Majority Lenders, a substantial part of the most profitable or valuable assets of the Borrower or its Restricted Subsidiaries (provided that nothing herein shall be construed to require the Borrower to obtain the prior written consent of the Majority Lenders to any such sale of Long Term Leases); or"}
-{"idx": 12, "level": 3, "span": "(d) purchase or otherwise acquire all or substantially all the assets of any Person, unless (i) at the time of such purchase or acquisition and after giving effect thereto no Unmatured Event of Default or Event of Default shall exist, (ii) after giving effect to such purchase or acquisition the Borrower would be permitted to incur at least $1.00 of additional Indebtedness under the provisions of Sections 10.13 and 10.19 and (iii) after giving effect to such purchase or acquisition the Borrower derives at least 85% of its revenue from the ownership or management of marine, trucking or other intermodal containers of any size,"}
-{"idx": 12, "level": 3, "span": "(a) the Borrower and its Restricted Subsidiaries may sell, transfer, convey, assign or otherwise dispose of finance leases of, or conditional sale agreements with respect to, Container Equipment to any Unrestricted Subsidiary;"}
-{"idx": 12, "level": 3, "span": "(b) any Wholly-owned Restricted Subsidiary may merge into the Borrower or into or with any other Wholly-owned Restricted Subsidiary;"}
-{"idx": 12, "level": 3, "span": "(c) any Wholly-owned Restricted Subsidiary may consolidate with any other Wholly-owned Restricted Subsidiary so long as immediately thereafter 100% of the Voting Stock or other ownership interest of the resulting Person is owned by the Borrower or another Wholly-owned Restricted Subsidiary; and"}
-{"idx": 12, "level": 3, "span": "(d) any Wholly-owned Restricted Subsidiary may sell, transfer, convey, lease or assign all or a substantial part of its assets to the Borrower or another Wholly-owned Restricted Subsidiary;"}
-{"idx": 12, "level": 2, "span": "provided, in each of the cases described in clauses (w), (x), (y) and (z)\n above, written notice thereof shall have been promptly given to the Administrative Agent and the Lenders, and that immediately after such transaction and after giving effect thereto, no Event of Default or Unmatured Event of Default shall exist.\nFor purposes of this Section 10.11 only, a sale, transfer, conveyance, lease or other disposition of assets shall be deemed to involve a “substantial part” of the assets of the Borrower and its Restricted Subsidiaries only if the value of such assets, when added to the value of all other assets sold, transferred, conveyed, leased or otherwise disposed of by the Borrower and its Restricted Subsidiaries (other than (i) in the normal course of business or (ii) pursuant to clause (z) of this Section 10.11) during the same fiscal year, exceeds 10% of Consolidated Net Tangible Assets determined as of the end of the immediately preceding fiscal year. As used in the preceding sentence, the term “value” shall mean, with respect to any asset disposed of, such asset’s book value as of the date of disposition, with “book value” being the value of such asset as would appear immediately prior to such disposition on the balance sheet of the owner of such asset prepared in accordance with GAAP.\n10.12 Environmental Covenant. The Borrower will, and will cause each of its Subsidiaries to,\n(a) use and operate all of its facilities and properties in material compliance with all Environmental Laws, keep all necessary permits, approvals, certificates, licenses and\nother authorizations relating to environmental matters in effect and remain in material compliance therewith, and handle all Hazardous Materials in material compliance with all applicable Environmental Laws;\n(b) immediately notify the Administrative Agent and provide copies upon receipt of all written claims, complaints, notices or inquiries relating to the condition of its facilities and properties or compliance with Environmental Laws, and shall promptly cure and have dismissed with prejudice to the satisfaction of the Administrative Agent any actions and proceedings relating to compliance with Environmental Laws; and\n(c) provide such information and certifications which the Administrative Agent may reasonably request from time to time to evidence compliance with this Section 10.12.\n10.13 Funded Debt Ratio. The Borrower will not at any time permit the Funded Debt Ratio to exceed 4.0 to 1.0.\n10.14 Interest Rate Agreements. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into any Interest Rate Agreement other than in the ordinary course of business as a bona fide hedging transaction (and not for speculation).\n10.15 Consolidated Tangible Net Worth. The Borrower will not at any time permit the sum of (a) Consolidated Tangible Net Worth plus (b) the Borrower’s Investments in Unrestricted Subsidiaries (calculated as set forth in the definition of “Restricted Investments”) to be less than $855,000,000.\n10.16 Ratio of Consolidated Net Income Available For Fixed Charges to Fixed Charges. The Borrower will not permit the ratio of (a) Consolidated Net Income Available for Fixed Charges to (b) Fixed Charges, determined on the last day of each fiscal quarter for the period of six consecutive fiscal quarters then ending, to be less than 1.25 to 1.0.\n10.17 Modification of Certain Agreements. The Borrower will not consent to any amendment, supplement or other modification of any of the terms or provisions contained in, or applicable to, any document or instrument evidencing or applicable to any subordinated Indebtedness, if after giving effect thereto such Indebtedness would fail to satisfy the requirements of the definition of Subordinated Funded Debt.\n10.18 Borrower’s and Subsidiaries’ Ownership Interests. The Borrower will not permit any Subsidiary to purchase or otherwise acquire any shares of the stock of the Borrower, and the Borrower will not take any action, or permit any Restricted Subsidiary to take any action, which will result in a decrease in the Borrower’s or any Restricted Subsidiary’s ownership interest in any Restricted Subsidiary, except as permitted by clause (x) or clause (y) of Section 10.11.\n10.19 Indebtedness. The Borrower will not, and will not permit any Restricted Subsidiary to, incur or permit to exist any Indebtedness, except:\n(a) Indebtedness under the terms of this Agreement;\n(b) Subordinated Funded Debt;\n(c) Indebtedness now or hereafter incurred in connection with (i) Permitted Liens (including for the avoidance of doubt, the incurrence of additional Indebtedness secured by Permitted Liens so long as no Event of Default or Unmatured Event of Default would arise as a result of such incurrence) or (ii) obligations and liabilities permitted by Section 10.21;\n(d) Unsecured Senior Funded Debt;\n(e) Indebtedness reflected in the Audited Financial Statements;\n(f) Unsecured Vendor Debt;\n(g) unsecured senior Indebtedness not constituting Funded Indebtedness, and not otherwise permitted pursuant to clauses (a) through (f) above, provided that the maximum amount of Indebtedness permitted by this clause (g) shall at no time exceed 5% of Consolidated Tangible Net Worth, and such Indebtedness shall not be otherwise prohibited under this Agreement; and\n(h) other Indebtedness approved in writing by the Majority Lenders; provided that no Indebtedness otherwise permitted under clause (b), (d), (f) or (g) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist. In no event, however (subject to the next sentence), shall any Indebtedness which is senior in right of payment to Subordinated Funded Debt (“Superior Debt”) be issued to any holder of Subordinated Funded Debt, or vice versa, if the aggregate amount of Superior Debt held by a holder of Subordinated Funded Debt (a “Simultaneous Holder”) would exceed 33-1/3% of the total amount of Superior Debt then outstanding (after giving effect to such issuance). Anything in the immediately preceding sentence to the contrary notwithstanding, none of the holders of the Subordinated Funded Debt listed on Schedule II hereto shall be deemed a Simultaneous Holder by virtue of such Subordinated Funded Debt, provided that upon the issuance of any additional Superior Debt to any of such holders while any Subordinated Funded Debt is held by it, each such holder shall be deemed a Simultaneous Holder for purposes of the immediately preceding sentence and all Superior Debt held by it shall be considered in determining the Borrower’s compliance with the provisions of such sentence.\n10.20 Liens. The Borrower will not, and will not permit any Restricted Subsidiary to, create or permit to exist any Lien with respect to any assets now owned or hereafter acquired, except the following (“Permitted Liens”):\n(a) Liens for current Taxes not delinquent or Taxes being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;\n(b) carriers’, warehousemen’s, mechanics’, materialmen’s, repairmen’s, and other like statutory Liens arising in the ordinary course of business securing obligations which are not overdue for a period of more than 30 days after receipt of notice thereof or which are being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;\n(c) pledges or deposits in connection with workers’ compensation, unemployment insurance and other social security legislation;\n(d) deposits to secure the performance of bids, trade contracts, leases, statutory obligations and other obligations of a like nature incurred in the ordinary course of business, and Liens and encumbrances upon Real Estate or Fixtures (as defined in the Security and Intercreditor Agreement) not granted or created by the Borrower, but which are created pursuant to or arising under local real estate law;\n(e) Liens in existence prior to the Restatement Effective Date and listed on Schedule 10.20 and, in the case of the mortgage Lien on the property located at 55 Green Street in San Francisco, any Lien securing any refinancing of the obligations secured by such mortgage Lien so long as the amount of the obligations secured thereby is not more than 100% of the fair market value of such property at the time of, and after giving effect to, the refinancing thereof;\n(f) the interest of a Lessee in Container Equipment leased or rented to such Lessee;\n(g) Liens granted pursuant to the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement or any other Loan Document;\n(h) Liens granted after the Restatement Effective Date to secure the payment of the purchase price incurred in connection with the acquisition by the Borrower of Container Equipment only comprising Excluded Collateral from equipment manufacturers or related or representative financing entities who are not, and will not become, parties to the Security and Intercreditor Agreement or the Intercreditor Collateral Agreement, provided that the\naggregate amount of all Indebtedness secured by such Liens on such Container Equipment shall not exceed an amount equal to 100% of Consolidated Tangible Net Worth;\n(i) Liens securing obligations of the Borrower and its Restricted Subsidiaries incurred in connection with the leasing of Container Equipment only comprising Excluded Collateral by the Borrower and its Restricted Subsidiaries, provided that (i) any such Lien shall be granted to the lessor of such Container Equipment, (ii) any such Lien shall attach solely to the Borrower’s or a Restricted Subsidiary’s interest in the subleases of such Container Equipment leased by the Borrower or a Restricted Subsidiary from such equipment lessor, any deposit accounts into which the proceeds of such subleases may be deposited (but only to the extent derived or allocable to such Container Equipment) and additional collateral to the extent limited to interests relating to such Container Equipment or subleases, and the proceeds of the foregoing, and (iii) such lessor shall have become a party to the Intercreditor Collateral Agreement, but shall not, with respect to the Indebtedness secured thereby, become a party to the Security and Intercreditor Agreement;\n(j) Liens granted by the Borrower to lenders who shall not, with respect to the Indebtedness secured thereby, become parties to the Security and Intercreditor Agreement assisting partnerships or other entities in the financing or refinancing of Container Equipment which will be managed by the Borrower pursuant to a Management Agreement, which liens are incidental to the financing or refinancing of such Container Equipment and which may include the Borrower’s interest, if any, in such Container Equipment, and to the extent they relate to such Container Equipment, the leases of such Container Equipment, such Management Agreement, and additional collateral to the extent limited to interests relating to such Container Equipment, and the proceeds of the foregoing, but in all cases only comprising Excluded Collateral;\n(k) Liens in connection with the acquisition of property only comprising Excluded Collateral (other than Container Equipment) after the Restatement Effective Date by way of purchase money mortgage, conditional sale or other title retention agreement, Capitalized Lease or other deferred payment contract, and attaching only to the property being acquired, if the amount of the Indebtedness secured thereby is not more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition thereof;\n(l) Liens to Subsequent Triton Specified Equipment Lenders in respect of Subsequent Triton Specified Equipment Lender Collateral, in each case as defined in the Security and Intercreditor Agreement as in effect on the date of this Agreement, if the amount of the Indebtedness secured thereby is not less than 80%, nor more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition or financing thereof;\n(m) Liens granted pursuant to the Intercreditor Collateral Agreement;\n(n) Liens not otherwise permitted by the preceding clauses (a) through (m), inclusive, provided that the Indebtedness secured thereby at any one time outstanding shall not exceed an amount equal to the remainder of 5% of Consolidated Tangible Net Worth, minus the outstanding amount of all Indebtedness described in Section 10.19(h), and such Indebtedness shall otherwise be permitted under this Agreement; provided that no Lien otherwise permitted under clause (h), (i), (j), (k), (l) or (n) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist.\n10.21 Guaranties. The Borrower will not, and will not permit any Restricted Subsidiary to, become a guarantor or surety of, or otherwise become or be responsible in any manner (whether by agreement to purchase any obligations, stock, assets, goods or services, or to supply or advance any funds, assets, goods or services, or otherwise) with respect to, any undertaking of any other Person, except for (a) the endorsement, in the ordinary course of collection, of instruments payable to it or its order, (b) liabilities for partnership obligations incurred solely as a result of being a general partner in any general or limited partnership or for membership obligations incurred solely as a result of being a member in any limited liability company, and (c) Guarantee Liabilities of the Borrower not otherwise permitted pursuant to clauses (a) and (b) above so long as both before and after giving effect to the issuance of any such Guarantee Liability no Event of Default or Unmatured Event of Default shall exist.\n10.22 Transactions with Related Parties. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into or be a party to any transaction or arrangement, including the purchase, sale, discounting, lease or exchange of property or the rendering of any service, with any Related Party, except in the ordinary course of, and pursuant to the reasonable requirements of the Borrower’s or such Restricted Subsidiary’s business, unless on terms comparable to those which the Borrower would obtain in a comparable arm’s-length transaction with a Person not a Related Party. The parties agree that (i) employee and officer salaries and bonuses, and loans to employees or officers, shall not be considered Related Party transactions for purposes of this Section 10.22 and (ii) any sale of Container Equipment from the Borrower or any Restricted Subsidiary to any Unrestricted Subsidiary pursuant to Section 10.11(b) at the original equipment cost or Net Book Value thereof shall be deemed to be an arm’s-length transaction.\n10.23 Unconditional Purchase Obligations. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into or be a party to any contract for the purchase or lease of materials, supplies or other property or services if such contract requires that payment be made by it regardless of whether or not delivery is ever made of such materials, supplies or other property or services.\n10.24 Negative Pledges, Restrictive Agreements, etc. The Borrower will not, and will not permit any of its Restricted Subsidiaries to, enter into any agreement (excluding this Agreement and any other Loan Document) prohibiting the creation or assumption of any Lien upon the Borrower’s properties, revenues or assets (other than Excluded Collateral) in favor of the Collateral Agent under or in connection with the Intercreditor Collateral Agreement or the Security and Intercreditor Agreement, whether now owned or hereafter acquired, or the ability of the Borrower to amend or otherwise modify this Agreement or any other Loan Document. The Borrower will not, and will not permit any Restricted Subsidiary to, enter into any agreement containing any provision which would be violated or breached by the Borrower’s performance of its obligations hereunder or under any other Loan Document.\n10.25 Use of Proceeds. The Borrower will (a) use the proceeds of the Loans solely for the purposes set forth in Section 9.11, (b) not permit any proceeds of the Loans to be used, either directly or indirectly, for the purpose, whether immediate, incidental or ultimate, of “purchasing or carrying any margin stock” within the meaning of Regulation U of the FRB and (c) furnish to each Lender, upon its request, a statement in conformity with the requirements of Federal Reserve Form U-1 referred to in Regulation U.\n10.26 Designation of Unrestricted Subsidiaries. The Borrower may designate any Subsidiary to be an Unrestricted Subsidiary by giving written notice from an Authorized Signatory to the Administrative Agent that the Borrower has made such designation, provided that no Subsidiary may be designated an Unrestricted Subsidiary unless such designation is treated as a sale of assets and, at the time of such action and after giving effect thereto, no Event of Default or Unmatured Event of Default shall have occurred and be continuing. Any Subsidiary that has been designated an Unrestricted Subsidiary in accordance with the provisions of this Section 10.26 shall not at any time thereafter be a Restricted Subsidiary without the prior written consent of the Majority Lenders.\n10.27 Restricted Payments. The Borrower will not make, directly or indirectly or through any Subsidiary, any capital distribution to any equityholder of the Borrower or any optional payment with respect to Subordinated Funded Debt if an Event of Default or Unmatured Event of Default exists or would exist after giving effect to any distribution or payment described in this Section 10.27.\n10.28 Anti-Corruption Laws.\n(a) Each of the Borrower and its Subsidiaries shall (a) conduct its businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and other similar anti-corruption legislation in any other applicable jurisdiction and (b) maintain policies and procedures designed to promote and achieve compliance with such laws.\n(b) The Borrower and its Subsidiaries shall not directly or indirectly use the proceeds of any Credit Extension for any purpose that would breach the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010 or similar anti-corruption legislation in any other applicable jurisdiction.\n10.29 Sanctions. The Borrower and its Subsidiaries shall not, directly or indirectly, use the proceeds of any Credit Extension, or lend, contribute or otherwise make available such proceeds to any Subsidiary, joint venture partner or other Person, to fund any activities of or business with any Person in any manner that will result in a violation by the Borrower, any Subsidiary, or, to the knowledge of the Borrower, any other Person (including any Person party to this Agreement, whether as Lender, Joint Lead Arranger, Administrative Agent, Issuer or otherwise), of Sanctions.\n10.30 TAL Merger. Within one Business Day after consummation of the TAL Merger, the Borrower shall deliver to the Administrative Agent a certificate certifying that after giving effect to the TAL Merger, there has not occurred a material adverse change since the date of this Agreement in the business, assets, liabilities (actual or contingent), operations, condition (financial or otherwise) or prospects of the Borrower and its Subsidiaries taken as a whole."}
-{"idx": 12, "level": 3, "span": "(a) use and operate all of its facilities and properties in material compliance with all Environmental Laws, keep all necessary permits, approvals, certificates, licenses and"}
-{"idx": 12, "level": 3, "span": "(b) immediately notify the Administrative Agent and provide copies upon receipt of all written claims, complaints, notices or inquiries relating to the condition of its facilities and properties or compliance with Environmental Laws, and shall promptly cure and have dismissed with prejudice to the satisfaction of the Administrative Agent any actions and proceedings relating to compliance with Environmental Laws; and"}
-{"idx": 12, "level": 3, "span": "(c) provide such information and certifications which the Administrative Agent may reasonably request from time to time to evidence compliance with this Section 10.12."}
-{"idx": 12, "level": 3, "span": "(a) Indebtedness under the terms of this Agreement;"}
-{"idx": 12, "level": 3, "span": "(b) Subordinated Funded Debt;"}
-{"idx": 12, "level": 3, "span": "(c) Indebtedness now or hereafter incurred in connection with (i) Permitted Liens (including for the avoidance of doubt, the incurrence of additional Indebtedness secured by Permitted Liens so long as no Event of Default or Unmatured Event of Default would arise as a result of such incurrence) or (ii) obligations and liabilities permitted by Section 10.21;"}
-{"idx": 12, "level": 3, "span": "(d) Unsecured Senior Funded Debt;"}
-{"idx": 12, "level": 3, "span": "(e) Indebtedness reflected in the Audited Financial Statements;"}
-{"idx": 12, "level": 3, "span": "(f) Unsecured Vendor Debt;"}
-{"idx": 12, "level": 3, "span": "(g) unsecured senior Indebtedness not constituting Funded Indebtedness, and not otherwise permitted pursuant to clauses (a) through (f) above, provided that the maximum amount of Indebtedness permitted by this clause (g) shall at no time exceed 5% of Consolidated Tangible Net Worth, and such Indebtedness shall not be otherwise prohibited under this Agreement; and"}
-{"idx": 12, "level": 3, "span": "(h) other Indebtedness approved in writing by the Majority Lenders; provided that no Indebtedness otherwise permitted under clause (b), (d), (f) or (g) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist\nIn no event, however (subject to the next sentence), shall any Indebtedness which is senior in right of payment to Subordinated Funded Debt (“Superior Debt”) be issued to any holder of Subordinated Funded Debt, or vice versa, if the aggregate amount of Superior Debt held by a holder of Subordinated Funded Debt (a “Simultaneous Holder”) would exceed 33-1/3% of the total amount of Superior Debt then outstanding (after giving effect to such issuance). Anything in the immediately preceding sentence to the contrary notwithstanding, none of the holders of the Subordinated Funded Debt listed on Schedule II hereto shall be deemed a Simultaneous Holder by virtue of such Subordinated Funded Debt, provided that upon the issuance of any additional Superior Debt to any of such holders while any Subordinated Funded Debt is held by it, each such holder shall be deemed a Simultaneous Holder for purposes of the immediately preceding sentence and all Superior Debt held by it shall be considered in determining the Borrower’s compliance with the provisions of such sentence."}
-{"idx": 12, "level": 3, "span": "(a) Liens for current Taxes not delinquent or Taxes being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;"}
-{"idx": 12, "level": 3, "span": "(b) carriers’, warehousemen’s, mechanics’, materialmen’s, repairmen’s, and other like statutory Liens arising in the ordinary course of business securing obligations which are not overdue for a period of more than 30 days after receipt of notice thereof or which are being contested in good faith and by appropriate proceedings and as to which such reserves or other appropriate provisions as may be required by GAAP are being maintained;"}
-{"idx": 12, "level": 3, "span": "(c) pledges or deposits in connection with workers’ compensation, unemployment insurance and other social security legislation;"}
-{"idx": 12, "level": 3, "span": "(d) deposits to secure the performance of bids, trade contracts, leases, statutory obligations and other obligations of a like nature incurred in the ordinary course of business, and Liens and encumbrances upon Real Estate or Fixtures (as defined in the Security and Intercreditor Agreement) not granted or created by the Borrower, but which are created pursuant to or arising under local real estate law;"}
-{"idx": 12, "level": 3, "span": "(e) Liens in existence prior to the Restatement Effective Date and listed on Schedule 10.20 and, in the case of the mortgage Lien on the property located at 55 Green Street in San Francisco, any Lien securing any refinancing of the obligations secured by such mortgage Lien so long as the amount of the obligations secured thereby is not more than 100% of the fair market value of such property at the time of, and after giving effect to, the refinancing thereof;"}
-{"idx": 12, "level": 3, "span": "(f) the interest of a Lessee in Container Equipment leased or rented to such Lessee;"}
-{"idx": 12, "level": 3, "span": "(g) Liens granted pursuant to the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement or any other Loan Document;"}
-{"idx": 12, "level": 3, "span": "(h) Liens granted after the Restatement Effective Date to secure the payment of the purchase price incurred in connection with the acquisition by the Borrower of Container Equipment only comprising Excluded Collateral from equipment manufacturers or related or representative financing entities who are not, and will not become, parties to the Security and Intercreditor Agreement or the Intercreditor Collateral Agreement, provided that the"}
-{"idx": 12, "level": 4, "span": "(i) Liens securing obligations of the Borrower and its Restricted Subsidiaries incurred in connection with the leasing of Container Equipment only comprising Excluded Collateral by the Borrower and its Restricted Subsidiaries, provided that (i) any such Lien shall be granted to the lessor of such Container Equipment, (ii) any such Lien shall attach solely to the Borrower’s or a Restricted Subsidiary’s interest in the subleases of such Container Equipment leased by the Borrower or a Restricted Subsidiary from such equipment lessor, any deposit accounts into which the proceeds of such subleases may be deposited (but only to the extent derived or allocable to such Container Equipment) and additional collateral to the extent limited to interests relating to such Container Equipment or subleases, and the proceeds of the foregoing, and (iii) such lessor shall have become a party to the Intercreditor Collateral Agreement, but shall not, with respect to the Indebtedness secured thereby, become a party to the Security and Intercreditor Agreement;"}
-{"idx": 12, "level": 3, "span": "(j) Liens granted by the Borrower to lenders who shall not, with respect to the Indebtedness secured thereby, become parties to the Security and Intercreditor Agreement assisting partnerships or other entities in the financing or refinancing of Container Equipment which will be managed by the Borrower pursuant to a Management Agreement, which liens are incidental to the financing or refinancing of such Container Equipment and which may include the Borrower’s interest, if any, in such Container Equipment, and to the extent they relate to such Container Equipment, the leases of such Container Equipment, such Management Agreement, and additional collateral to the extent limited to interests relating to such Container Equipment, and the proceeds of the foregoing, but in all cases only comprising Excluded Collateral;"}
-{"idx": 12, "level": 3, "span": "(k) Liens in connection with the acquisition of property only comprising Excluded Collateral (other than Container Equipment) after the Restatement Effective Date by way of purchase money mortgage, conditional sale or other title retention agreement, Capitalized Lease or other deferred payment contract, and attaching only to the property being acquired, if the amount of the Indebtedness secured thereby is not more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition thereof;"}
-{"idx": 12, "level": 3, "span": "(l) Liens to Subsequent Triton Specified Equipment Lenders in respect of Subsequent Triton Specified Equipment Lender Collateral, in each case as defined in the Security and Intercreditor Agreement as in effect on the date of this Agreement, if the amount of the Indebtedness secured thereby is not less than 80%, nor more than 100% of the lesser of the purchase price or the fair market value of such property at the time of acquisition or financing thereof;"}
-{"idx": 12, "level": 3, "span": "(m) Liens granted pursuant to the Intercreditor Collateral Agreement;"}
-{"idx": 12, "level": 3, "span": "(n) Liens not otherwise permitted by the preceding clauses (a) through (m), inclusive, provided that the Indebtedness secured thereby at any one time outstanding shall not exceed an amount equal to the remainder of 5% of Consolidated Tangible Net Worth, minus the outstanding amount of all Indebtedness described in Section 10.19(h), and such Indebtedness shall otherwise be permitted under this Agreement; provided that no Lien otherwise permitted under clause (h), (i), (j), (k), (l) or (n) shall be permitted if, immediately after giving effect to the incurrence thereof, an Event of Default or Unmatured Event of Default shall exist."}
-{"idx": 12, "level": 3, "span": "(a) Each of the Borrower and its Subsidiaries shall (a) conduct its businesses in compliance with the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010, and other similar anti-corruption legislation in any other applicable jurisdiction and (b) maintain policies and procedures designed to promote and achieve compliance with such laws."}
-{"idx": 12, "level": 3, "span": "(b) The Borrower and its Subsidiaries shall not directly or indirectly use the proceeds of any Credit Extension for any purpose that would breach the United States Foreign Corrupt Practices Act of 1977, the UK Bribery Act 2010 or similar anti-corruption legislation in any other applicable jurisdiction."}
-{"idx": 12, "level": 3, "span": "(a) Annual Audit Reports\nWithin 120 days after the end of each fiscal year, a copy of the annual audit report of the Borrower and its Subsidiaries prepared on a consolidated basis in conformity with GAAP and certified, without qualification, by independent certified public accountants of recognized national standing. Such annual audit report shall (i) include a footnote setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal year; (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal year, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the fiscal year then ended, setting forth in each case in comparative form the"}
-{"idx": 12, "level": 3, "span": "(b) Quarterly Financial Statements\nWithin 60 days after the end of each fiscal quarter (other than the last fiscal quarter of each fiscal year), a copy of the unaudited financial statements of the Borrower and its Subsidiaries for such fiscal quarter prepared on a consolidated basis in conformity with GAAP (subject to year-end audit adjustments and the absence of footnotes). Such financial statements shall (i) include a schedule setting forth the amount of management fees earned by the Borrower under Management Agreements from (x) Unrestricted Subsidiaries and (y) all sources other than Unrestricted Subsidiaries during such fiscal quarter; and (ii) contain a consolidating schedule showing the consolidated balance sheets of the Borrower and its Restricted Subsidiaries, TCI and TCCI as of the end of such fiscal quarter, and the related consolidated statements of operations, stockholder’s equity and comprehensive income, and cash flows for the portion of the fiscal year then ended, setting forth in each case in comparative form the figures for the equivalent timeframe for the previous fiscal year;"}
-{"idx": 12, "level": 3, "span": "(c) Officer’s Certificate and Report\nTogether with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a Compliance Certificate signed by an Authorized Signatory dated the date of delivery of such financial statements, to the effect that no Event of Default or Unmatured Event of Default exists, or, if there is any such event, describing it and the steps, if any, being taken to cure it, and containing a computation of, and showing compliance with, each of the financial ratios and restrictions contained in this Section 10; provided that with respect to such financial ratios and restrictions, such certification shall be effective only as of the date of such financial statements;"}
-{"idx": 12, "level": 3, "span": "(d) Lease Reports\nTogether with the financial statements furnished by the Borrower under the preceding clauses (a) and (b), a report of an Authorized Signatory, relating to the Combined Fleet, dated the date of such financial statements, setting forth the Utilization Ratio and, if requested by the Administrative Agent or any Lender, the average monthly and year-to-date lease rate, in form and substance satisfactory to, and with such additional information as may be from time to time reasonably requested by, the Majority Lenders;"}
-{"idx": 12, "level": 3, "span": "(e) SEC and Other Reports\nCopies of each filing and report made by the Borrower or any Subsidiary with or to any securities exchange or the Securities and Exchange Commission, and of each communication from the Borrower or any Subsidiary to"}
-{"idx": 12, "level": 3, "span": "(f) Borrowing Base Certificate\nWithin 15 Business Days after the end of each month (and, to the extent reasonably practicable, at any other time upon request by the Administrative Agent on behalf of the Majority Lenders), a Borrowing Base Certificate executed by an Authorized Signatory as of the end of such month (or as of such other requested date with respect to any interim Borrowing Base Certificate), it being understood that any such interim Borrowing Base Certificate may, to the extent necessary, be prepared by the Borrower using good faith reasonable estimates of the information contained therein;"}
-{"idx": 12, "level": 3, "span": "(g) Container Equipment Reports\nWithin 60 days after the end of each fiscal quarter (or, in the case of the fourth fiscal quarter of a fiscal year, 120 days), a summary setting forth (i) the number and types of Container Equipment then owned by the Borrower, (ii) their aggregate Net Book Value and (iii) their aggregate original cost (or, upon the Administrative Agent’s request during the existence of an Event of Default or Unmatured Event of Default, a detailed report as of the end of each fiscal quarter, setting forth with respect to each unit of Container Equipment then owned by the Borrower and subject to a Long Term Lease its (w) serial or other identifying number, (x) in-service date, (y) Net Book Value (including totals thereof), and (z) original cost (including totals thereof)); it being understood that, unless reasonably requested by the Majority Lenders with reasonable notice, such reports shall be limited to all Revenue Generating Equipment (as defined in the Security and Intercreditor Agreement) constituting Collateral then owned by the Borrower; and"}
-{"idx": 12, "level": 3, "span": "(h) Requested Information\nPromptly from time to time, such other reports or information concerning the Borrower or the Collateral as the Administrative Agent on behalf of the Majority Lenders or any Lender may reasonably request."}
-{"idx": 12, "level": 3, "span": "(a) Default\nThe occurrence of an Event of Default or an Unmatured Event of Default;"}
-{"idx": 12, "level": 3, "span": "(b) Litigation\nThe institution of any litigation, arbitration proceeding or governmental proceeding which is material to the Borrower and its Subsidiaries taken as a whole;"}
-{"idx": 12, "level": 3, "span": "(c) Pension and Welfare Plans\nThe Borrower or any ERISA Affiliate becomes obligated or assumes liability under any “pension plan”, as such term is defined in section 3(2) of ERISA, which is subject to Title IV of ERISA (other than a multiemployer plan as defined in section 4001(a)(3) of ERISA); the occurrence of a Reportable Event with respect"}
-{"idx": 12, "level": 3, "span": "(d) Material Adverse Effect\nThe occurrence of an event which has had a Material Adverse Effect;"}
-{"idx": 12, "level": 3, "span": "(e) Change of Address\nAny change in the address or location of the principal office of the Borrower from its address set forth on Schedule 10.2;"}
-{"idx": 12, "level": 3, "span": "(f) Change of Jurisdiction of Organization\nAny change in the jurisdiction in which the Borrower is organized;"}
-{"idx": 12, "level": 3, "span": "(g) Report Regarding Representations\nAny material event or change of circumstance which would prevent the Borrower from remaking, as of any date, the representations set forth in Sections 9.6, 9.7, 9.8, 9.9, 9.10, 9.14, 9.15 and 9.16 hereof or in Section 2.2 of the Security and Intercreditor Agreement;"}
-{"idx": 12, "level": 3, "span": "(h) S&P Rating\nPromptly upon receipt by the Borrower of notice thereof, and in any event within five Business Days after any change in the S&P Rating, notice of such change; and"}
-{"idx": 12, "level": 4, "span": "(i) Other Events\nThe occurrence of such other events as the Administrative Agent or any Lender may from time to time reasonably specify;"}
-{"idx": 12, "level": 2, "span": "SECTION 11. CONDITIONS TO EFFECTIVENESS OF RESTATEMENT OF EXISTING CREDIT AGREEMENT AND OF INITIAL AND FUTURE BORROWINGS.\n11.1 Conditions to Effectiveness of Amendment and Restatement. The amendment and restatement of the Existing Credit Agreement accomplished by this Agreement shall become effective on the date specified in a written notice delivered by the Administrative Agent (the “Restatement Effective Date”) to the effect that the Administrative Agent received counterparts of this Agreement duly executed by each of the parties listed on the signature pages hereto and that all of the following conditions precedent have been satisfied:\n(a) Good Standing. The Administrative Agent shall have received certificates of good standing from the applicable public officials dated as of a current date with respect to the Borrower issued by Bermuda, the States of Nevada and California and each other state where the Borrower is qualified to do business or where, because of the nature of its respective business or properties, qualification to do business is required.\n(b) Insurance. The Administrative Agent shall have received satisfactory evidence of the existence of insurance on the property of the Borrower as required by this Agreement and the Security and Intercreditor Agreement in amounts and with insurers acceptable to the Administrative Agent and the Majority Lenders, together with evidence establishing that the Collateral Agent, for the benefit of the Administrative Agent and the Lenders, is named as a loss payee and/or additional insured, as applicable, on all related insurance policies.\n(c) Payment of Interest, Fees and Expenses. The Administrative Agent shall have received (i) (for its own account or for the account of the Lenders, as applicable) payment in full of (A) all of the accrued interest and fees that are due and payable under the Existing Credit Agreement as of the Restatement Effective Date and (B) all of the fees that are described in Section 4.6 that are due and payable on the Restatement Effective Date; and (ii) all reasonable costs and expenses (including reasonable attorneys’ fees and charges) incurred by the Administrative Agent in connection with the preparation, execution and delivery of this Agreement, to the extent then billed.\n(d) Receipt of Documents. The Administrative Agent shall have received all of the following, each duly executed, as appropriate, and dated as of the Restatement Effective Date (or such other date as shall be satisfactory to the Administrative Agent), in form and substance satisfactory to the Administrative Agent, and each (except for the Notes, of which only the originals shall be signed) in sufficient number of signed counterparts to provide one for each Lender:\n(i) Notes. A Note for the account of each Lender that has requested a Note prior to the Restatement Effective Date.\n(ii) Resolutions; Consents. Copies, duly certified by the secretary or an assistant secretary of the Borrower, of (x) resolutions of the financing committee of the Borrower’s board of directors authorizing or ratifying the execution and delivery of this Agreement, the Notes and the other Loan Documents, and authorizing the borrowings by the Borrower hereunder, (y) all documents evidencing other necessary corporate action and (z) all approvals, licenses or consents, if any, required in connection with the consummation of the transactions contemplated by this Agreement, the Notes and the other Loan Documents, or a statement that no such approvals, licenses or consents are so required.\n(iii) Incumbency. A certificate of the secretary or an assistant secretary of the Borrower certifying the names of the Borrower’s officers authorized to sign this Agreement, the Notes and all other Loan Documents to be delivered hereunder, together with the true signatures of such officers.\n(iv) Waivers, Consents and Amendments. Copies of all waivers and consents of all necessary or appropriate parties, in each case as may be reasonably required by the Lenders in connection with the transactions herein contemplated.\n(v) Termination of Subordination Agreement. A termination of the Amended and Restated Subordination Agreement dated as of June 24, 1994 executed and delivered by the Borrower in favor of the lenders party to the TCI Credit Agreement (as defined in Section 11.1(g)).\n(vi) Opinion Letters. Favorable opinion letters of (A) Intermodal Finance Law P.C., counsel to the Borrower, (B) Appleby (Bermuda) Limited, special Bermuda counsel to the Borrower, and (C) Mayer Brown LLP, New York counsel to the Administrative Agent, each covering such matters, in such form and having such content, as shall be reasonably acceptable to the Administrative Agent and its counsel.\n(vii) Organizational Documents. A certificate of the secretary or assistant secretary of the Borrower certifying as to and attaching the memorandum of association (including the certificate of incorporation of the Borrower) and bye-laws of the Borrower, including all amendments or restatements thereto, as in effect on the Restatement Effective Date.\n(viii) Closing Certificate. A certificate of an Authorized Signatory of the Borrower certifying (w) that all representations and warranties of the Borrower in this Agreement and the other Loan Documents are true and correct on the Restatement Effective Date, (x) that no Event of Default or Unmatured Event of Default exists or will result from the transactions contemplated to occur on the proposed Restatement Effective Date, (y) that since the date of the Audited Financial Statements, no event has occurred which has had a Material Adverse Effect and (z) the current S&P Rating.\n(e) Financing Statements. The Administrative Agent shall have received evidence that all action has been taken with respect to the filing of Uniform Commercial Code financing statements and continuation statements necessary to perfect and maintain the Liens of the Collateral Agent under the Security and Intercreditor Agreement and the other Loan Documents in the appropriate jurisdictions.\n(f) No Material Adverse Change. There shall not have occurred a material adverse change since December 31, 2015 in the business, assets, liabilities (actual or contingent), operations, condition (financial or otherwise) or prospects of the Borrower and its Subsidiaries taken as a whole or in the facts and information regarding such entities as represented to the Restatement Effective Date.\n(g) TCI Credit Agreement. The Administrative Agent shall have received evidence that the lenders and the administrative agent under the Seventh Amended and Restated Credit Agreement dated as of November 9, 2011 (the “TCI Credit Agreement”) among TCI, the lenders party thereto, and Bank of America, N.A., as administrative agent, have assigned their rights and obligations under such Credit Agreement and received in full all amounts owed to them thereunder (from the assignee or TCI or both).\n(h) Rating. The Borrower shall have obtained an S&P Rating of at least BBB for the credit facility evidenced by this Agreement.\n(i) Projections. The Administrative Agent shall have received projected financial statements for the Borrower through December 31, 2019.\n(j) Other. The Administrative Agent and the Lenders shall have received such other documents, certifications or information as the Administrative Agent or any Lender may reasonably request.\nWithout limiting the generality of the provisions of the last paragraph of Section 13.3(e), for purposes of determining compliance with the conditions specified in this Section 11.1, each Lender that has signed this Agreement shall be deemed to have consented to, approved or accepted, and to be satisfied with, each document or other matter required thereunder to be consented to or approved by or acceptable or satisfactory to a Lender unless the Administrative Agent shall have received notice from such Lender prior to the proposed Restatement Effective Date specifying its objection thereto.\n11.2 All Credit Extensions. The obligation of each Lender to make any Loan and of each Issuer to issue each Letter of Credit is subject to the following further conditions precedent that:\n(a) Default. Before and after giving effect to such Credit Extension, no Event of Default or Unmatured Event of Default shall have occurred and be continuing.\n(b) Insurance. The Borrower shall be in compliance with all of its obligations under Section 10.6.\n(c) Representations and Warranties. Before and after giving effect to such Credit Extension, the representations and warranties in Section 9, and in any other agreement or certification given by the Borrower or any Subsidiary or any officer thereof pursuant to this Agreement, shall be true and correct in all material respects as though made on the date of such Credit Extension. The Borrower further agrees that all of its representations and warranties set forth in the Security and Intercreditor Agreement shall be deemed to be representations and warranties made pursuant to Section 9, as though set forth therein for all purposes, including for purposes of this Section 11.2(c), provided that the representations and warranties set forth in Section 2.2 of the Security and Intercreditor Agreement may also be subject to a report regarding representations and warranties pursuant to Section 10.2(f) (subject to the limitations set forth in the proviso set forth in Section 10.2).\n(d) Request for Borrowing or Issuance Request. The Administrative Agent shall have received a Loan Request in accordance with Section 2.4 or an Issuance Request in accordance with Section 5.1.\n(e) Certification. The Borrower shall have delivered to the Administrative Agent a certificate of the Borrower, signed on the Borrower’s behalf by its Authorized Signatory, as to the matters set out in Sections 11.2(a), (b) and (c). Each request for a Credit Extension, and the acceptance by the Borrower of the proceeds of any Borrowing, shall constitute a certification required by this clause (e) that on the date of such Credit Extension (both immediately before and after giving effect thereto) the statements made in Sections 11.2(a), (b) and (c) are true and correct.\n(f) Borrowing Base Certificate. The Borrower shall have delivered to the Administrative Agent a duly completed and executed Borrowing Base Certificate (which may be the most recent Borrowing Base Certificate delivered by the Borrower pursuant to Section 10.1(f) or this Section 11.2(f)) demonstrating (a) that such Borrowing Base is sufficient to cover such Credit Extension after giving effect to such Credit Extension and (b) the effect of such Credit Extension on the Borrowing Base."}
-{"idx": 12, "level": 3, "span": "(a) Good Standing\nThe Administrative Agent shall have received certificates of good standing from the applicable public officials dated as of a current date with respect to the Borrower issued by Bermuda, the States of Nevada and California and each other state where the Borrower is qualified to do business or where, because of the nature of its respective business or properties, qualification to do business is required."}
-{"idx": 12, "level": 3, "span": "(b) Insurance\nThe Administrative Agent shall have received satisfactory evidence of the existence of insurance on the property of the Borrower as required by this Agreement and the Security and Intercreditor Agreement in amounts and with insurers acceptable to the Administrative Agent and the Majority Lenders, together with evidence establishing that the Collateral Agent, for the benefit of the Administrative Agent and the Lenders, is named as a loss payee and/or additional insured, as applicable, on all related insurance policies."}
-{"idx": 12, "level": 3, "span": "(c) Payment of Interest, Fees and Expenses\nThe Administrative Agent shall have received (i) (for its own account or for the account of the Lenders, as applicable) payment in full of (A) all of the accrued interest and fees that are due and payable under the Existing Credit Agreement as of the Restatement Effective Date and (B) all of the fees that are described in Section 4.6 that are due and payable on the Restatement Effective Date; and (ii) all reasonable costs and expenses (including reasonable attorneys’ fees and charges) incurred by the Administrative Agent in connection with the preparation, execution and delivery of this Agreement, to the extent then billed."}
-{"idx": 12, "level": 3, "span": "(d) Receipt of Documents\nThe Administrative Agent shall have received all of the following, each duly executed, as appropriate, and dated as of the Restatement Effective Date (or such other date as shall be satisfactory to the Administrative Agent), in form and substance satisfactory to the Administrative Agent, and each (except for the Notes, of which only the originals shall be signed) in sufficient number of signed counterparts to provide one for each Lender:"}
-{"idx": 12, "level": 4, "span": "(i) Notes\nA Note for the account of each Lender that has requested a Note prior to the Restatement Effective Date."}
-{"idx": 12, "level": 4, "span": "(ii) Resolutions; Consents\nCopies, duly certified by the secretary or an assistant secretary of the Borrower, of (x) resolutions of the financing committee of the Borrower’s board of directors authorizing or ratifying the execution and delivery of this Agreement, the Notes and the other Loan Documents, and authorizing the borrowings by the Borrower hereunder, (y) all documents evidencing other necessary corporate action and (z) all approvals, licenses or consents, if any, required in connection with the consummation of the transactions contemplated by this Agreement, the Notes and the other Loan Documents, or a statement that no such approvals, licenses or consents are so required."}
-{"idx": 12, "level": 4, "span": "(iii) Incumbency\nA certificate of the secretary or an assistant secretary of the Borrower certifying the names of the Borrower’s officers authorized to sign this Agreement, the Notes and all other Loan Documents to be delivered hereunder, together with the true signatures of such officers."}
-{"idx": 12, "level": 4, "span": "(iv) Waivers, Consents and Amendments\nCopies of all waivers and consents of all necessary or appropriate parties, in each case as may be reasonably required by the Lenders in connection with the transactions herein contemplated."}
-{"idx": 12, "level": 4, "span": "(v) Termination of Subordination Agreement\nA termination of the Amended and Restated Subordination Agreement dated as of June 24, 1994 executed and delivered by the Borrower in favor of the lenders party to the TCI Credit Agreement (as defined in Section 11.1(g))."}
-{"idx": 12, "level": 4, "span": "(vi) Opinion Letters\nFavorable opinion letters of (A) Intermodal Finance Law P.C., counsel to the Borrower, (B) Appleby (Bermuda) Limited, special Bermuda counsel to the Borrower, and (C) Mayer Brown LLP, New York counsel to the Administrative Agent, each covering such matters, in such form and having such content, as shall be reasonably acceptable to the Administrative Agent and its counsel."}
-{"idx": 12, "level": 4, "span": "(vii) Organizational Documents\nA certificate of the secretary or assistant secretary of the Borrower certifying as to and attaching the memorandum of association (including the certificate of incorporation of the Borrower) and bye-laws of the Borrower, including all amendments or restatements thereto, as in effect on the Restatement Effective Date."}
-{"idx": 12, "level": 4, "span": "(viii) Closing Certificate\nA certificate of an Authorized Signatory of the Borrower certifying (w) that all representations and warranties of the Borrower in this Agreement and the other Loan Documents are true and correct on the Restatement Effective Date, (x) that no Event of Default or Unmatured Event of Default exists or will result from the transactions contemplated to occur on the proposed Restatement Effective Date, (y) that since the date of the Audited Financial Statements, no event has occurred which has had a Material Adverse Effect and (z) the current S&P Rating."}
-{"idx": 12, "level": 3, "span": "(e) Financing Statements\nThe Administrative Agent shall have received evidence that all action has been taken with respect to the filing of Uniform Commercial Code financing statements and continuation statements necessary to perfect and maintain the Liens of the Collateral Agent under the Security and Intercreditor Agreement and the other Loan Documents in the appropriate jurisdictions."}
-{"idx": 12, "level": 3, "span": "(f) No Material Adverse Change\nThere shall not have occurred a material adverse change since December 31, 2015 in the business, assets, liabilities (actual or contingent), operations, condition (financial or otherwise) or prospects of the Borrower and its Subsidiaries taken as a whole or in the facts and information regarding such entities as represented to the Restatement Effective Date."}
-{"idx": 12, "level": 3, "span": "(g) TCI Credit Agreement\nThe Administrative Agent shall have received evidence that the lenders and the administrative agent under the Seventh Amended and Restated Credit Agreement dated as of November 9, 2011 (the “TCI Credit Agreement”) among TCI, the lenders party thereto, and Bank of America, N.A., as administrative agent, have assigned their rights and obligations under such Credit Agreement and received in full all amounts owed to them thereunder (from the assignee or TCI or both)."}
-{"idx": 12, "level": 3, "span": "(h) Rating\nThe Borrower shall have obtained an S&P Rating of at least BBB for the credit facility evidenced by this Agreement."}
-{"idx": 12, "level": 4, "span": "(i) Projections\nThe Administrative Agent shall have received projected financial statements for the Borrower through December 31, 2019."}
-{"idx": 12, "level": 3, "span": "(j) Other\nThe Administrative Agent and the Lenders shall have received such other documents, certifications or information as the Administrative Agent or any Lender may reasonably request."}
-{"idx": 12, "level": 3, "span": "(a) Default\nBefore and after giving effect to such Credit Extension, no Event of Default or Unmatured Event of Default shall have occurred and be continuing."}
-{"idx": 12, "level": 3, "span": "(b) Insurance\nThe Borrower shall be in compliance with all of its obligations under Section 10.6."}
-{"idx": 12, "level": 3, "span": "(c) Representations and Warranties\nBefore and after giving effect to such Credit Extension, the representations and warranties in Section 9, and in any other agreement or certification given by the Borrower or any Subsidiary or any officer thereof pursuant to this Agreement, shall be true and correct in all material respects as though made on the date of such Credit Extension. The Borrower further agrees that all of its representations and warranties set forth in the Security and Intercreditor Agreement shall be deemed to be representations and warranties made pursuant to Section 9, as though set forth therein for all purposes, including for purposes of this Section 11.2(c), provided that the representations and warranties set forth in Section 2.2 of the Security and Intercreditor Agreement may also be subject to a report regarding representations and warranties pursuant to Section 10.2(f) (subject to the limitations set forth in the proviso set forth in Section 10.2)."}
-{"idx": 12, "level": 3, "span": "(d) Request for Borrowing or Issuance Request\nThe Administrative Agent shall have received a Loan Request in accordance with Section 2.4 or an Issuance Request in accordance with Section 5.1."}
-{"idx": 12, "level": 3, "span": "(e) Certification\nThe Borrower shall have delivered to the Administrative Agent a certificate of the Borrower, signed on the Borrower’s behalf by its Authorized Signatory, as to the matters set out in Sections 11.2(a), (b) and (c). Each request for a Credit Extension, and the acceptance by the Borrower of the proceeds of any Borrowing, shall constitute a certification required by this clause (e) that on the date of such Credit Extension (both immediately before and after giving effect thereto) the statements made in Sections 11.2(a), (b) and (c) are true and correct."}
-{"idx": 12, "level": 3, "span": "(f) Borrowing Base Certificate\nThe Borrower shall have delivered to the Administrative Agent a duly completed and executed Borrowing Base Certificate (which may be the most recent Borrowing Base Certificate delivered by the Borrower pursuant to Section 10.1(f) or this Section 11.2(f)) demonstrating (a) that such Borrowing Base is sufficient to cover such Credit Extension after giving effect to such Credit Extension and (b) the effect of such Credit Extension on the Borrowing Base."}
-{"idx": 12, "level": 2, "span": "SECTION 12. EVENTS OF DEFAULT AND REMEDIES.\n12.1 Events of Default. Each of the following shall constitute an Event of Default under this Agreement:\n(a) Non-Payment. Default in the payment, when due, (i) of any principal of any Loan or Reimbursement Obligation; or (ii) of any interest on any Loan or Reimbursement Obligation or any fee or other amount payable hereunder and the continuance thereof for five days.\n(b) Non-Payment of other Indebtedness. Default in the payment when due, whether by acceleration or otherwise (subject to any applicable grace period), of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above).\n(c) Default or Acceleration of other Indebtedness. Any event or condition (other than any event described in Section 12.1(b) above) shall occur which results in the acceleration of the maturity of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above) or enables the holder or holders of such other Indebtedness or any trustee or agent for such holders (any required notice of default having been given and any applicable grace period having expired) to accelerate the maturity of such other Indebtedness.\n(d) Other Obligations. Default in the payment when due, whether by acceleration or otherwise, or in the performance or observance of (i) (subject to any applicable grace period) any obligation or agreement of the Borrower or any Restricted Subsidiary to or with any Lender (other than any obligation or agreement of the Borrower hereunder or under any Note or described in Section 12.1(b) or 12.1(c)) in excess of $5,000,000 individually or in the aggregate, and not arising from clerical oversight or being contested in good faith and with adequate reserves in accordance with GAAP, or (ii) (subject to any applicable grace period) any material obligation or agreement of the Borrower or any Restricted Subsidiary to or with any other Person (other than (x) any such material obligation or agreement constituting or related to Indebtedness, (y) accounts payable arising in the ordinary course of business or (z) any material obligation or agreement of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary), except only to the extent that the existence of any such default is being contested by the Borrower or such Restricted Subsidiary, as the case may be, in good faith and by appropriate proceedings and the Borrower or such Restricted Subsidiary shall have set aside on its books such reserves or other appropriate provisions therefor as may be required by GAAP.\n(e) Insolvency. The Borrower or any of its Restricted Subsidiaries becomes insolvent, or generally fails to pay, or admits in writing its inability to pay, its debts as they mature, or applies for, consents to, or acquiesces in the appointment of a trustee, receiver or other custodian for the Borrower or such Restricted Subsidiary or a substantial part of the property of the Borrower or such Restricted Subsidiary, or makes a general assignment for the benefit of creditors; or, in the absence of such application, consent or acquiescence, a trustee, receiver or other custodian is appointed for the Borrower or any of its Restricted Subsidiaries or for a substantial part of the property of the Borrower or any of its Restricted Subsidiaries and is not discharged within 60 days; or any proceeding under any Debtor Relief Law is instituted by or against the Borrower or any of its Restricted Subsidiaries and, if instituted against the Borrower or any of its Restricted Subsidiaries, is consented to or acquiesced in by the Borrower or such Restricted Subsidiary or remains for 60 days undismissed; or any warrant of attachment is issued against any substantial part of the property of the Borrower or any of its Restricted Subsidiaries which is not released within 60 days of service.\n(f) Pension Plans. A Termination Event occurs with respect to any Pension Plan if, at the time such Termination Event occurs, such Pension Plan’s then “vested liabilities” (as defined in section 3(25) of ERISA) would exceed the then value of such Pension Plan’s assets by an amount greater than 3% of Consolidated Tangible Net Worth as of such date and the Majority Lenders reasonably believe that such Termination Event may result in material liability to the Borrower.\n(g) Specific Defaults. Failure by the Borrower to comply with or perform any covenant set forth in Section 10.2(a), 10.5, 10.11 through 10.16, 10.19, 10.20, 10.21, 10.24, 10.25, 10.26, 10.27, 10.28, 10.29 or 10.30.\n(h) Other Defaults. Default in the performance of any of the Borrower’s agreements herein set forth (and not constituting an Event of Default under any of the other clauses of this Section 12.1) and continuance of such default for 30 days after the earlier of (a) the date upon which an Authorized Signatory of the Borrower or any Restricted Subsidiary knew or reasonably should have known of such default or (b) the date upon which notice thereof is given to the Borrower by the Administrative Agent or any Lender.\n(i) Obligations Under other Loan Documents. Default (subject to any applicable grace period) in the performance of any of the Borrower’s agreements set forth in the Security and Intercreditor Agreement or any other Loan Document (and not constituting an Event of Default under any of the other clauses of this Section 12.1).\n(j) Representations and Warranties. Any representation, warranty, certification or statement of fact made by the Borrower herein or in any other Loan Document is untrue in any material respect on the date made, or any schedule, statement, report, notice, certificate or other writing furnished by the Borrower to the Lenders is untrue in any material respect on the date as of which the facts set forth therein are stated or certified, or any certification made or deemed made by the Borrower to the Lenders is untrue in any material respect on or as of the date made or deemed made.\n(k) TCIL Change of Control. Any TCIL Change of Control shall occur.\n(l) Litigation. There shall be entered against the Borrower or any Restricted Subsidiary one or more judgments or decrees in excess of the greater of (x) $1,000,000 and (y) 3% of the Consolidated Tangible Net Worth in the aggregate at any one time outstanding (excluding any judgments or decrees (i) that shall have been outstanding less than 60 calendar days from the entry thereof or (ii) for and to the extent which the Borrower or such Restricted Subsidiary is insured and with respect to which the insurer has assumed responsibility therefor in writing or for and to the extent which such Person is otherwise indemnified if the terms of such indemnification are satisfactory to the Majority Lenders), and either (A) enforcement proceedings shall have been commenced by any creditor upon such judgment or order or (B) there shall be any period of 15 consecutive days during which a stay of enforcement of such judgment or order, by reason of a pending appeal or otherwise, shall not be in effect.\n(m) Security and Intercreditor Agreement; Intercreditor Collateral Agreement. There shall have occurred an Event of Default under, and as defined in, the Security and\nIntercreditor Agreement, or a breach by the Borrower of any of its obligations under the Intercreditor Collateral Agreement.\n(n) Impairment of Security, etc. Any Loan Document, or any Lien granted thereunder, shall (except in accordance with its terms), in whole or in part, terminate, cease to be effective or cease to be the legally valid, binding and enforceable obligation of any Person party thereto; the Borrower or any other Person shall, directly or indirectly, contest in any manner such effectiveness, validity, binding nature or enforceability; or any Lien securing any Liabilities shall, in whole or in part, cease to be a perfected first priority Lien, subject only to those exceptions expressly permitted by such Loan Document.\n12.2 Remedies. If any Event of Default described in Section 12.1 shall exist, the Administrative Agent may, or upon request of the Majority Lenders, shall (a) declare all or a portion of the Commitments to be terminated and/or all or a portion of the Loans and other Liabilities to be due and payable, whereupon to the extent so declared the Commitments shall immediately terminate and/or the outstanding Loans and other Liabilities shall become immediately due and payable, all without notice of any kind (except that if an event described in Section 12.1(e) occurs, the Commitments shall immediately terminate and all outstanding Loans and other Liabilities shall become immediately due and payable without declaration or notice of any kind) and/or (b) demand that the Borrower immediately deliver to the Administrative Agent Cash Collateral in an amount equal to all Letter of Credit Outstandings. The Administrative Agent shall promptly advise the Borrower of any such declaration, but failure to do so shall not impair the effect of such declaration. Without limiting the foregoing provisions of this Section 12.2, if an Event of Default exists, the Administrative Agent may exercise all rights and remedies available upon an Event of Default pursuant to any Loan Document and applicable law."}
-{"idx": 12, "level": 3, "span": "(a) Non-Payment\nDefault in the payment, when due, (i) of any principal of any Loan or Reimbursement Obligation; or (ii) of any interest on any Loan or Reimbursement Obligation or any fee or other amount payable hereunder and the continuance thereof for five days."}
-{"idx": 12, "level": 3, "span": "(b) Non-Payment of other Indebtedness\nDefault in the payment when due, whether by acceleration or otherwise (subject to any applicable grace period), of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above)."}
-{"idx": 12, "level": 3, "span": "(c) Default or Acceleration of other Indebtedness\nAny event or condition (other than any event described in Section 12.1(b) above) shall occur which results in the acceleration of the maturity of any Indebtedness of, or guaranteed by, the Borrower or any Restricted Subsidiary having a principal amount, individually or in the aggregate, in excess of $5,000,000 (other than (i) any Indebtedness of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary and (ii) the Indebtedness described in clause (a) above) or enables the holder or holders of such other Indebtedness or any trustee or agent for such holders (any required notice of default having been given and any applicable grace period having expired) to accelerate the maturity of such other Indebtedness."}
-{"idx": 12, "level": 3, "span": "(d) Other Obligations\nDefault in the payment when due, whether by acceleration or otherwise, or in the performance or observance of (i) (subject to any applicable grace period) any obligation or agreement of the Borrower or any Restricted Subsidiary to or with any Lender (other than any obligation or agreement of the Borrower hereunder or under any Note or described in Section 12.1(b) or 12.1(c)) in excess of $5,000,000 individually or in the aggregate, and not arising from clerical oversight or being contested in good faith and with adequate reserves in accordance with GAAP, or (ii) (subject to any applicable grace period) any material obligation or agreement of the Borrower or any Restricted Subsidiary to or with any other Person (other than (x) any such material obligation or agreement constituting or related to Indebtedness, (y) accounts payable arising in the ordinary course of business or (z) any material obligation or agreement of any Restricted Subsidiary to the Borrower or to any other Restricted Subsidiary), except only to the extent that the existence of any such default is being contested by the Borrower or such Restricted Subsidiary, as the case may be, in good faith and by appropriate proceedings and the Borrower or such Restricted Subsidiary shall have set aside on its books such reserves or other appropriate provisions therefor as may be required by GAAP."}
-{"idx": 12, "level": 3, "span": "(e) Insolvency\nThe Borrower or any of its Restricted Subsidiaries becomes insolvent, or generally fails to pay, or admits in writing its inability to pay, its debts as they mature, or applies for, consents to, or acquiesces in the appointment of a trustee, receiver or other custodian for the Borrower or such Restricted Subsidiary or a substantial part of the property of the Borrower or such Restricted Subsidiary, or makes a general assignment for the benefit of creditors; or, in the absence of such application, consent or acquiescence, a trustee, receiver or other custodian is appointed for the Borrower or any of its Restricted Subsidiaries or for a substantial part of the property of the Borrower or any of its Restricted Subsidiaries and is not discharged within 60 days; or any proceeding under any Debtor Relief Law is instituted by or against the Borrower or any of its Restricted Subsidiaries and, if instituted against the Borrower or any of its Restricted Subsidiaries, is consented to or acquiesced in by the Borrower or such Restricted Subsidiary or remains for 60 days undismissed; or any warrant of attachment is issued against any substantial part of the property of the Borrower or any of its Restricted Subsidiaries which is not released within 60 days of service."}
-{"idx": 12, "level": 3, "span": "(f) Pension Plans\nA Termination Event occurs with respect to any Pension Plan if, at the time such Termination Event occurs, such Pension Plan’s then “vested liabilities” (as defined in section 3(25) of ERISA) would exceed the then value of such Pension Plan’s assets by an amount greater than 3% of Consolidated Tangible Net Worth as of such date and the Majority Lenders reasonably believe that such Termination Event may result in material liability to the Borrower."}
-{"idx": 12, "level": 3, "span": "(g) Specific Defaults\nFailure by the Borrower to comply with or perform any covenant set forth in Section 10.2(a), 10.5, 10.11 through 10.16, 10.19, 10.20, 10.21, 10.24, 10.25, 10.26, 10.27, 10.28, 10.29 or 10.30."}
-{"idx": 12, "level": 3, "span": "(h) Other Defaults\nDefault in the performance of any of the Borrower’s agreements herein set forth (and not constituting an Event of Default under any of the other clauses of this Section 12.1) and continuance of such default for 30 days after the earlier of (a) the date upon which an Authorized Signatory of the Borrower or any Restricted Subsidiary knew or reasonably should have known of such default or (b) the date upon which notice thereof is given to the Borrower by the Administrative Agent or any Lender."}
-{"idx": 12, "level": 4, "span": "(i) Obligations Under other Loan Documents\nDefault (subject to any applicable grace period) in the performance of any of the Borrower’s agreements set forth in the Security and Intercreditor Agreement or any other Loan Document (and not constituting an Event of Default under any of the other clauses of this Section 12.1)."}
-{"idx": 12, "level": 3, "span": "(j) Representations and Warranties\nAny representation, warranty, certification or statement of fact made by the Borrower herein or in any other Loan Document is untrue in any material respect on the date made, or any schedule, statement, report, notice, certificate or other writing furnished by the Borrower to the Lenders is untrue in any material respect on the date as of which the facts set forth therein are stated or certified, or any certification made or deemed made by the Borrower to the Lenders is untrue in any material respect on or as of the date made or deemed made."}
-{"idx": 12, "level": 3, "span": "(k) TCIL Change of Control\nAny TCIL Change of Control shall occur."}
-{"idx": 12, "level": 3, "span": "(l) Litigation\nThere shall be entered against the Borrower or any Restricted Subsidiary one or more judgments or decrees in excess of the greater of (x) $1,000,000 and (y) 3% of the Consolidated Tangible Net Worth in the aggregate at any one time outstanding (excluding any judgments or decrees (i) that shall have been outstanding less than 60 calendar days from the entry thereof or (ii) for and to the extent which the Borrower or such Restricted Subsidiary is insured and with respect to which the insurer has assumed responsibility therefor in writing or for and to the extent which such Person is otherwise indemnified if the terms of such indemnification are satisfactory to the Majority Lenders), and either (A) enforcement proceedings shall have been commenced by any creditor upon such judgment or order or (B) there shall be any period of 15 consecutive days during which a stay of enforcement of such judgment or order, by reason of a pending appeal or otherwise, shall not be in effect."}
-{"idx": 12, "level": 3, "span": "(m) Security and Intercreditor Agreement; Intercreditor Collateral Agreement\nThere shall have occurred an Event of Default under, and as defined in, the Security and"}
-{"idx": 12, "level": 3, "span": "(n) Impairment of Security, etc\nAny Loan Document, or any Lien granted thereunder, shall (except in accordance with its terms), in whole or in part, terminate, cease to be effective or cease to be the legally valid, binding and enforceable obligation of any Person party thereto; the Borrower or any other Person shall, directly or indirectly, contest in any manner such effectiveness, validity, binding nature or enforceability; or any Lien securing any Liabilities shall, in whole or in part, cease to be a perfected first priority Lien, subject only to those exceptions expressly permitted by such Loan Document."}
-{"idx": 12, "level": 2, "span": "SECTION 13. ADMINISTRATIVE AGENT.\n13.1 Appointment and Authority. Each of the Lenders and the Issuers hereby irrevocably appoints Bank of America to act on its behalf as the Administrative Agent hereunder and under the other Loan Documents and authorizes the Administrative Agent to take such actions on its behalf and to exercise such powers as are delegated to the Administrative Agent by the terms hereof or thereof, together with such actions and powers as are reasonably incidental thereto. The provisions of this Section are solely for the benefit of the Administrative Agent, the Lenders and the Issuers, and the Borrower shall not have rights as a third party beneficiary of any of such provisions. It is understood and agreed that the use of the term “agent” (or any similar term) herein or in any other Loan Document with reference to the Administrative Agent is not intended to connote any fiduciary or other implied (or express) obligations arising under agency doctrine of any applicable law. Instead, such term is used as a matter of market custom, and is intended to create or reflect only an administrative relationship between contracting parties.\n13.2 Non-Reliance on Administrative Agent. Each Lender and the Issuers acknowledges that it has, independently and without reliance upon the Administrative Agent or any other Lender or any of their Lender-Related Parties and based on such documents and information as it has deemed appropriate, made its own credit analysis and decision to enter into this Agreement. Each Lender and each Issuer also acknowledges that it will, independently and without reliance upon the Administrative Agent or any other Lender or any of their Lender-Related Parties and based on such documents and information as it shall from time to time deem appropriate, continue to make its own decisions in taking or not taking action under or based upon this Agreement, any other Loan Document or any related agreement or any document furnished hereunder or thereunder.\n13.3 Exculpatory Provisions. The Administrative Agent shall not have any duties or obligations except those expressly set forth herein and in the other Loan Documents, and its duties hereunder shall be administrative in nature. Without limiting the generality of the foregoing, the Administrative Agent:\n(a) shall not be subject to any fiduciary or other implied duties, regardless of whether an Event of Default or an Unmatured Event of Default has occurred and is continuing;\n(b) shall not have any duty to take any discretionary action or exercise any discretionary powers, except discretionary rights and powers expressly contemplated hereby or by the other Loan Documents that the Administrative Agent is required to exercise as directed in writing by the Majority Lenders (or such other number or percentage of the Lenders as shall be expressly provided for herein or in the other Loan Documents), provided that the Administrative Agent shall not be required to take any action that, in its opinion or the opinion of its counsel, may expose the Administrative Agent to liability or that is contrary to any Loan Document or applicable law, including for the avoidance of doubt any action that may be in violation of the automatic stay under any Debtor Relief Law or that may effect a forfeiture, modification or termination of property of a Defaulting Lender in violation of any Debtor Relief Law;\n(c) shall not, except as expressly set forth herein and in the other Loan Documents, have any duty to disclose, and shall not be liable for the failure to disclose, any information relating to the Borrower or any of its Related Parties that is communicated to or obtained by the Person serving as the Administrative Agent or any of its Affiliates in any capacity;\n(d) shall not be liable for any action taken or not taken by it (i) with the consent or at the request of the Majority Lenders (or such other number or percentage of the Lenders as shall be necessary, or as the Administrative Agent shall believe in good faith shall be necessary, under the circumstances as provided in Sections 15.2 and 12.2) or (ii) in the absence of its own gross negligence or willful misconduct as determined by a court of\ncompetent jurisdiction by final and nonappealable judgment. The Administrative Agent shall be deemed not to have knowledge of any Event of Default or Unmatured Event of Default unless and until notice describing such Event of Default or Unmatured Event of Default is given to the Administrative Agent in writing by the Borrower, a Lender or an Issuer; and\n(e) shall not be responsible for or have any duty to ascertain or inquire into (i) any statement, warranty or representation made in or in connection with this Agreement or any other Loan Document, (ii) the contents of any certificate, report or other document delivered hereunder or thereunder or in connection herewith or therewith, (iii) the performance or observance of any of the covenants, agreements or other terms or conditions set forth herein or therein or the occurrence of any Event of Default or an Unmatured Event of Default, (iv) the validity, enforceability, effectiveness or genuineness of this Agreement, any other Loan Document or any other agreement, instrument or document or (v) the satisfaction of any condition set forth in Section 11 or elsewhere herein, other than to confirm receipt of items expressly required to be delivered to the Administrative Agent.\n13.4 Rights as a Lender. The Person serving as the Administrative Agent hereunder shall have the same rights and powers in its capacity as a Lender as any other Lender and may exercise the same as though it were not the Administrative Agent and the term “Lender” or “Lenders” shall, unless otherwise expressly indicated or unless the context otherwise requires, include the Person serving as the Administrative Agent hereunder in its individual capacity. Such Person and its Affiliates may accept deposits from, lend money to, own securities of, act as the financial advisor or in any other advisory capacity for and generally engage in any kind of business with the Borrower or any Subsidiary or other Affiliate thereof as if such Person were not the Administrative Agent hereunder and without any duty to account therefor to the Lenders.\n13.5 Reliance by Administrative Agent. The Administrative Agent shall be entitled to rely upon, and shall not incur any liability for relying upon, any notice, request, certificate, consent, statement, instrument, document or other writing (including any electronic message, Internet or intranet website posting or other distribution) believed by it to be genuine and to have been signed, sent or otherwise authenticated by the proper Person. The Administrative Agent also may rely upon any statement made to it orally or by telephone and believed by it to have been made by the proper Person, and shall not incur any liability for relying thereon. In determining compliance with any condition hereunder to the making of a Loan, or the issuance, extension, renewal or increase of a Letter of Credit, that by its terms must be fulfilled to the satisfaction of a Lender or an Issuer, the Administrative Agent may presume that such condition is satisfactory to such Lender or such Issuer unless the Administrative Agent shall have received notice to the contrary from such Lender or such Issuer prior to the making of such Loan or the issuance of such Letter of Credit. The Administrative Agent may consult with legal counsel (who may be counsel for the Borrower), independent\naccountants and other experts selected by it, and shall not be liable for any action taken or not taken by it in accordance with the advice of any such counsel, accountants or experts.\n13.6 Resignation of Administrative Agent. (0) The Administrative Agent may at any time give notice of its resignation to the Lenders, the Issuers and the Borrower. Upon receipt of any such notice of resignation, the Majority Lenders shall have the right, in consultation with the Borrower, to appoint a successor, which shall be a bank with an office in the United States, or an Affiliate of any such bank with an office in the United States. If no such successor shall have been so appointed by the Majority Lenders and shall have accepted such appointment within 30 days after the retiring Administrative Agent gives notice of its resignation (or such earlier day as shall be agreed by the Required Lenders) (the “Resignation Effective Date”), then the retiring Administrative Agent may (but shall not be obligated to) on behalf of the Lenders and the Issuers, appoint a successor Administrative Agent meeting the qualifications set forth above; provided that in no event shall any such successor Administrative Agent be a Defaulting Lender. Whether or not a successor has been appointed, such resignation shall become effective in accordance with such notice on the Resignation Effective Date.\n(a) If the Person serving as Administrative Agent is a Defaulting Lender pursuant to clause (d) of the definition thereof, the Majority Lenders may, to the extent permitted by applicable law, by notice in writing to the Borrower and such Person remove such Person as Administrative Agent and, in consultation with the Borrower, appoint a successor. If no such successor shall have been so appointed by the Majority Lenders and shall have accepted such appointment within 30 days (or such earlier day as shall be agreed by the Required Lenders) (the “Removal Effective Date”), then such removal shall nonetheless become effective in accordance with such notice on the Removal Effective Date.\n(b) With effect from the Resignation Effective Date or the Removal Effective Date (as applicable) (1) the retiring or removed Administrative Agent shall be discharged from its duties and obligations hereunder and under the other Loan Documents (except that in the case of any collateral security held by the Administrative Agent on behalf of the Lenders or the Issuers under any of the Loan Documents, the retiring or removed Administrative Agent shall continue to hold such collateral security until such time as a successor Administrative Agent is appointed) and (2) except for any indemnity payments or other amounts then owed to the retiring or removed Administrative Agent, all payments, communications and determinations provided to be made by, to or through the Administrative Agent shall instead be made by or to each Lender and each Issuer directly, until such time, if any, as the Majority Lenders appoint a successor Administrative Agent as provided for above. Upon the acceptance of a successor’s appointment as Administrative Agent hereunder, such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring (or removed) Administrative Agent (other than as provided in Section 2.7 and other than any rights to indemnity payments or other amounts\nowed to the retiring or removed Administrative Agent as of the Resignation Effective Date or the Removal Effective Date, as applicable), and the retiring or removed Administrative Agent shall be discharged from all of its duties and obligations hereunder or under the other Loan Documents (if not already discharged therefrom as provided above in this Section). The fees payable by the Borrower to a successor Administrative Agent shall be the same as those payable to its predecessor unless otherwise agreed between the Borrower and such successor. After the retiring or removed Administrative Agent’s resignation or removal hereunder and under the other Loan Documents, the provisions of this Section and Section 15.5 shall continue in effect for the benefit of such retiring or removed Administrative Agent, its sub-agents and their respective Lender-Related Parties in respect of any actions taken or omitted to be taken by any of them while the retiring or removed Administrative Agent was acting as Administrative Agent.\n(c) Any resignation by Bank of America as Administrative Agent pursuant to this Section shall also constitute its resignation as Issuer. If Bank of America resigns as Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit outstanding as of the effective date of its resignation as an Issuer and all Letter of Credit Outstandings with respect thereto, including the right to require the Lenders to make Alternate Base Rate Loans or fund risk participations in unpaid and outstanding Reimbursement Obligations pursuant to Sections 5.4 and 5.5. Upon the appointment of a successor Issuer hereunder, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, (ii) the retiring Issuer shall be discharged from all of its duties and obligations hereunder or under the other Loan Documents, and (iii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit.\n13.7 Delegation of Duties. The Administrative Agent may perform any and all of its duties and exercise its rights and powers hereunder or under any other Loan Document by or through any one or more sub agents appointed by the Administrative Agent. The Administrative Agent and any such sub agent may perform any and all of its duties and exercise its rights and powers by or through their respective Lender-Related Parties. The exculpatory provisions of this Section shall apply to any such sub agent and to the Lender-Related Parties of the Administrative Agent and any such sub agent, and shall apply to their respective activities in connection with the syndication of the credit facilities provided for herein as well as activities as Administrative Agent. The Administrative Agent shall not be responsible for the negligence or misconduct of any sub-agent except to the extent that a court of competent jurisdiction determines in a final and non appealable judgment that the Administrative Agent acted with gross negligence or willful misconduct in the selection of such sub-agent.\n13.8 No other Duties, Etc. Anything herein to the contrary notwithstanding, none of the Joint Lead Arrangers, Book Runner, Syndication Agent or Documentation Agent listed on the cover page hereof shall have any powers, duties or responsibilities under this Agreement or any of the other Loan Documents, except in its capacity, as applicable, as the Administrative Agent, a Lender or an Issuer hereunder.\n13.9 Funding Reliance.\n(a) Unless the Administrative Agent shall have received notice from a Lender prior to the proposed date of any Borrowing of Eurodollar Rate Loans (or, in the case of any Borrowing of Alternate Base Rate Loans, prior to 10:30 a.m. on the date of such Borrowing) that such Lender will not make available to the Administrative Agent such Lender’s share of such Borrowing, the Administrative Agent may assume that such Lender has made such share available on such date in accordance with Section 2.4(c) (or, in the case of a Borrowing of Alternate Base Rate Loans, that such Lender has made such share available in accordance with and at the time required by Section 2.4(c)) and may, in reliance upon such assumption, make available to the Borrower a corresponding amount. In such event, if a Lender has not in fact made its share of the applicable Borrowing available to the Administrative Agent, then the applicable Lender and the Borrower severally agree to pay to the Administrative Agent forthwith on demand such corresponding amount in immediately available funds with interest thereon, for each day from the date such amount is made available to the Borrower to the date of payment to the Administrative Agent, at (i) in the case of a payment to be made by such Lender, the greater of the Federal Funds Rate and a rate determined by the Administrative Agent in accordance with banking industry rules on interbank compensation and (ii) in the case of a payment to be made by the Borrower, the interest rate applicable to Alternate Base Rate Loans. If the Borrower and such Lender shall pay such interest to the Administrative Agent for the same or an overlapping period, the Administrative Agent shall promptly remit to the Borrower the amount of such interest paid by the Borrower for such period. If such Lender pays its share of the applicable Borrowing to the Administrative Agent, then the amount so paid shall constitute such Lender’s Loan included in such Borrowing. Any payment by the Borrower shall be without prejudice to any claim the Borrower may have against a Lender that shall have failed to make such payment to the Administrative Agent.\n(b) Unless the Administrative Agent shall have received notice from the Borrower prior to the date on which any payment is due to the Administrative Agent for the account of the Lenders or the Issuers hereunder that the Borrower will not make such payment, the Administrative Agent may assume that the Borrower has made such payment on such date in accordance herewith and may, in reliance upon such assumption, distribute to the Lenders or the Issuers, as the case may be, the amount due. In such event, if the Borrower has not in fact made such payment, then each of the Lenders or the Issuers, as the\ncase may be, severally agrees to repay to the Administrative Agent forthwith on demand the amount so distributed to such Lender or such Issuer, in immediately available funds with interest thereon, for each day from the date such amount is distributed to it to the date of payment to the Administrative Agent, at the greater of the Federal Funds Rate and a rate determined by the Administrative Agent in accordance with banking industry rules on interbank compensation.\n(c) A notice of the Administrative Agent to any Lender or the Borrower with respect to any amount owing under this Section 13.9 shall be conclusive, absent manifest error.\n13.10 Administrative Agent may File Proofs of Claim. In case of the pendency of any proceeding under any Debtor Relief Law or other judicial proceeding relative to the Borrower or any Subsidiary, the Administrative Agent (irrespective of whether the principal of any Loan or Reimbursement Obligation shall then be due and payable as herein expressed or by declaration or otherwise and irrespective of whether the Administrative Agent shall have made any demand on the Borrower) shall be entitled and empowered, by intervention in such proceeding or otherwise:\n(a) to file and prove a claim for the whole amount of the principal and interest owing and unpaid in respect of the Loans, Reimbursement Obligations and all other Liabilities that are owing and unpaid and to file such other documents as may be necessary or advisable in order to have the claims of the Lenders, the Issuers and the Administrative Agent (including any claim for the reasonable compensation, expenses, disbursements and advances of the Lenders, the Issuers and the Administrative Agent and their respective agents and counsel and all other amounts due the Lenders, the Issuers and the Administrative Agent under Sections 4.3, 4.4, 4.5, 4.6 and 15.5) allowed in such judicial proceeding; and\n(b) to collect and receive any monies or other property payable or deliverable on any such claims and to distribute the same;\nand any custodian, receiver, assignee, trustee, liquidator, sequestrator or other similar official in any such judicial proceeding is hereby authorized by each Lender and each Issuer to make such payments to the Administrative Agent and, in the event that the Administrative Agent shall consent to the making of such payments directly to the Lenders and the Issuers, to pay to the Administrative Agent any amount due for the reasonable compensation, expenses, disbursements and advances of the Administrative Agent and its agents and counsel, and any other amounts due the Administrative Agent under Sections 4.5, 4.6 and 15.5.\nNothing contained herein shall be deemed to authorize the Administrative Agent to authorize or consent to or accept or adopt on behalf of any Lender or any Issuer any plan of reorganization, arrangement, adjustment or composition affecting the Liabilities or the rights of any Lender or to\nauthorize the Administrative Agent to vote in respect of the claim of any Lender in any such proceeding."}
-{"idx": 12, "level": 3, "span": "(a) shall not be subject to any fiduciary or other implied duties, regardless of whether an Event of Default or an Unmatured Event of Default has occurred and is continuing;"}
-{"idx": 12, "level": 3, "span": "(b) shall not have any duty to take any discretionary action or exercise any discretionary powers, except discretionary rights and powers expressly contemplated hereby or by the other Loan Documents that the Administrative Agent is required to exercise as directed in writing by the Majority Lenders (or such other number or percentage of the Lenders as shall be expressly provided for herein or in the other Loan Documents), provided that the Administrative Agent shall not be required to take any action that, in its opinion or the opinion of its counsel, may expose the Administrative Agent to liability or that is contrary to any Loan Document or applicable law, including for the avoidance of doubt any action that may be in violation of the automatic stay under any Debtor Relief Law or that may effect a forfeiture, modification or termination of property of a Defaulting Lender in violation of any Debtor Relief Law;"}
-{"idx": 12, "level": 3, "span": "(c) shall not, except as expressly set forth herein and in the other Loan Documents, have any duty to disclose, and shall not be liable for the failure to disclose, any information relating to the Borrower or any of its Related Parties that is communicated to or obtained by the Person serving as the Administrative Agent or any of its Affiliates in any capacity;"}
-{"idx": 12, "level": 3, "span": "(d) shall not be liable for any action taken or not taken by it (i) with the consent or at the request of the Majority Lenders (or such other number or percentage of the Lenders as shall be necessary, or as the Administrative Agent shall believe in good faith shall be necessary, under the circumstances as provided in Sections 15.2 and 12.2) or (ii) in the absence of its own gross negligence or willful misconduct as determined by a court of"}
-{"idx": 12, "level": 3, "span": "(e) shall not be responsible for or have any duty to ascertain or inquire into (i) any statement, warranty or representation made in or in connection with this Agreement or any other Loan Document, (ii) the contents of any certificate, report or other document delivered hereunder or thereunder or in connection herewith or therewith, (iii) the performance or observance of any of the covenants, agreements or other terms or conditions set forth herein or therein or the occurrence of any Event of Default or an Unmatured Event of Default, (iv) the validity, enforceability, effectiveness or genuineness of this Agreement, any other Loan Document or any other agreement, instrument or document or (v) the satisfaction of any condition set forth in Section 11 or elsewhere herein, other than to confirm receipt of items expressly required to be delivered to the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(a) If the Person serving as Administrative Agent is a Defaulting Lender pursuant to clause (d) of the definition thereof, the Majority Lenders may, to the extent permitted by applicable law, by notice in writing to the Borrower and such Person remove such Person as Administrative Agent and, in consultation with the Borrower, appoint a successor\nIf no such successor shall have been so appointed by the Majority Lenders and shall have accepted such appointment within 30 days (or such earlier day as shall be agreed by the Required Lenders) (the “Removal Effective Date”), then such removal shall nonetheless become effective in accordance with such notice on the Removal Effective Date."}
-{"idx": 12, "level": 3, "span": "(b) With effect from the Resignation Effective Date or the Removal Effective Date (as applicable) (1) the retiring or removed Administrative Agent shall be discharged from its duties and obligations hereunder and under the other Loan Documents (except that in the case of any collateral security held by the Administrative Agent on behalf of the Lenders or the Issuers under any of the Loan Documents, the retiring or removed Administrative Agent shall continue to hold such collateral security until such time as a successor Administrative Agent is appointed) and (2) except for any indemnity payments or other amounts then owed to the retiring or removed Administrative Agent, all payments, communications and determinations provided to be made by, to or through the Administrative Agent shall instead be made by or to each Lender and each Issuer directly, until such time, if any, as the Majority Lenders appoint a successor Administrative Agent as provided for above\nUpon the acceptance of a successor’s appointment as Administrative Agent hereunder, such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring (or removed) Administrative Agent (other than as provided in Section 2.7 and other than any rights to indemnity payments or other amounts"}
-{"idx": 12, "level": 3, "span": "(c) Any resignation by Bank of America as Administrative Agent pursuant to this Section shall also constitute its resignation as Issuer\nIf Bank of America resigns as Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit outstanding as of the effective date of its resignation as an Issuer and all Letter of Credit Outstandings with respect thereto, including the right to require the Lenders to make Alternate Base Rate Loans or fund risk participations in unpaid and outstanding Reimbursement Obligations pursuant to Sections 5.4 and 5.5. Upon the appointment of a successor Issuer hereunder, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, (ii) the retiring Issuer shall be discharged from all of its duties and obligations hereunder or under the other Loan Documents, and (iii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit."}
-{"idx": 12, "level": 3, "span": "(a) Unless the Administrative Agent shall have received notice from a Lender prior to the proposed date of any Borrowing of Eurodollar Rate Loans (or, in the case of any Borrowing of Alternate Base Rate Loans, prior to 10:30 a.m\non the date of such Borrowing) that such Lender will not make available to the Administrative Agent such Lender’s share of such Borrowing, the Administrative Agent may assume that such Lender has made such share available on such date in accordance with Section 2.4(c) (or, in the case of a Borrowing of Alternate Base Rate Loans, that such Lender has made such share available in accordance with and at the time required by Section 2.4(c)) and may, in reliance upon such assumption, make available to the Borrower a corresponding amount. In such event, if a Lender has not in fact made its share of the applicable Borrowing available to the Administrative Agent, then the applicable Lender and the Borrower severally agree to pay to the Administrative Agent forthwith on demand such corresponding amount in immediately available funds with interest thereon, for each day from the date such amount is made available to the Borrower to the date of payment to the Administrative Agent, at (i) in the case of a payment to be made by such Lender, the greater of the Federal Funds Rate and a rate determined by the Administrative Agent in accordance with banking industry rules on interbank compensation and (ii) in the case of a payment to be made by the Borrower, the interest rate applicable to Alternate Base Rate Loans. If the Borrower and such Lender shall pay such interest to the Administrative Agent for the same or an overlapping period, the Administrative Agent shall promptly remit to the Borrower the amount of such interest paid by the Borrower for such period. If such Lender pays its share of the applicable Borrowing to the Administrative Agent, then the amount so paid shall constitute such Lender’s Loan included in such Borrowing. Any payment by the Borrower shall be without prejudice to any claim the Borrower may have against a Lender that shall have failed to make such payment to the Administrative Agent."}
-{"idx": 12, "level": 3, "span": "(b) Unless the Administrative Agent shall have received notice from the Borrower prior to the date on which any payment is due to the Administrative Agent for the account of the Lenders or the Issuers hereunder that the Borrower will not make such payment, the Administrative Agent may assume that the Borrower has made such payment on such date in accordance herewith and may, in reliance upon such assumption, distribute to the Lenders or the Issuers, as the case may be, the amount due\nIn such event, if the Borrower has not in fact made such payment, then each of the Lenders or the Issuers, as the"}
-{"idx": 12, "level": 3, "span": "(c) A notice of the Administrative Agent to any Lender or the Borrower with respect to any amount owing under this Section 13.9 shall be conclusive, absent manifest error."}
-{"idx": 12, "level": 3, "span": "(a) to file and prove a claim for the whole amount of the principal and interest owing and unpaid in respect of the Loans, Reimbursement Obligations and all other Liabilities that are owing and unpaid and to file such other documents as may be necessary or advisable in order to have the claims of the Lenders, the Issuers and the Administrative Agent (including any claim for the reasonable compensation, expenses, disbursements and advances of the Lenders, the Issuers and the Administrative Agent and their respective agents and counsel and all other amounts due the Lenders, the Issuers and the Administrative Agent under Sections 4.3, 4.4, 4.5, 4.6 and 15.5) allowed in such judicial proceeding; and"}
-{"idx": 12, "level": 3, "span": "(b) to collect and receive any monies or other property payable or deliverable on any such claims and to distribute the same;"}
-{"idx": 12, "level": 2, "span": "SECTION 14. RESTATEMENT OF EXISTING CREDIT AGREEMENT.\n14.1 Restatement; Reallocation.\n(a) Effective on the Restatement Effective Date (i) the Existing Credit Agreement shall be deemed to be restated in the form hereof (except such provisions thereof which by their terms survive any termination thereof (without duplicating the obligations of the Borrower under this Agreement)), (ii) each “Letter of Credit” outstanding under the Existing Credit Agreement shall be deemed to be a Letter of Credit hereunder and (iii) the Commitments of the Lenders shall be reallocated in accordance with the terms hereof and each Lender shall have a direct or participation share equal to its Percentage of all outstanding Credit Extensions (including each of the Letters of Credit referred to in clause (ii) above). The Borrower, the Administrative Agent and the Original Lenders hereby agree that the Borrower will pay, on the Restatement Effective Date, all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to the Original Lenders under the Existing Credit Agreement.\n(b) To facilitate the reallocation described in clause (a) above, on the Restatement Effective Date, (i) all revolving loans under the Existing Credit Agreement shall be deemed to be Loans hereunder, (ii) each Lender that is a party to the Existing Credit Agreement shall transfer to the Administrative Agent an amount equal to the excess, if any, of such Lender’s Percentage of all outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date) over the amount of all of such Lender’s loans under the Existing Credit Agreement, (iii) the Administrative Agent shall apply the funds received from the Lenders pursuant to clause (ii) above, first, on behalf of the Lenders (pro rata according to the amount of the loans each is required to purchase to achieve the reallocation described in clause (a)), to purchase from each Exiting Lender the loans of such Exiting Lender under the Existing Credit Agreement (and, if applicable, to purchase from any Original Lender that is a party hereto but which has loans under the Existing Credit Agreement in excess of such Lender’s Percentage of all then-outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date), a portion of such loans equal to such excess), second, to pay to each Original Lender all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to such Original Lender under the Existing Credit Agreement (whether or not\notherwise then due) and, third, as the Borrower shall direct, and (iv) the Borrower shall select new Interest Periods to apply to all Loans hereunder (or, to the extent the Borrower fails to do so, such Loans shall become Alternate Base Rate Loans).\n14.2 Deletion of Lenders. On the Restatement Effective Date, each Exiting Lender shall cease to be a “Lender” under and for all purposes of the Existing Credit Agreement as amended and restated by this Agreement and shall have no rights or obligations thereunder, except for (a) rights to receive payment of indemnities, reimbursements and other similar amounts from the Borrower (including rights under Section 15.5 of the Existing Credit Agreement), and (b) obligations to indemnify, reimburse or make payment to the Administrative Agent, any Lender or the Borrower with respect to actions, failures to act, conditions, circumstances or events on or prior to the date of such effectiveness.\n14.3 Non-Recourse to Original Lenders; No Warranty or Representations; Independent Credit Analysis. The payments to any of the Original Lenders and the borrowings from any other Original Lender specified in Section 14.1 shall be without recourse to the Administrative Agent, any of the Original Lenders, any of their respective Affiliates or any of their respective officers, directors, agents or employees."}
-{"idx": 12, "level": 3, "span": "(a) Effective on the Restatement Effective Date (i) the Existing Credit Agreement shall be deemed to be restated in the form hereof (except such provisions thereof which by their terms survive any termination thereof (without duplicating the obligations of the Borrower under this Agreement)), (ii) each “Letter of Credit” outstanding under the Existing Credit Agreement shall be deemed to be a Letter of Credit hereunder and (iii) the Commitments of the Lenders shall be reallocated in accordance with the terms hereof and each Lender shall have a direct or participation share equal to its Percentage of all outstanding Credit Extensions (including each of the Letters of Credit referred to in clause (ii) above)\nThe Borrower, the Administrative Agent and the Original Lenders hereby agree that the Borrower will pay, on the Restatement Effective Date, all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to the Original Lenders under the Existing Credit Agreement."}
-{"idx": 12, "level": 3, "span": "(b) To facilitate the reallocation described in clause (a) above, on the Restatement Effective Date, (i) all revolving loans under the Existing Credit Agreement shall be deemed to be Loans hereunder, (ii) each Lender that is a party to the Existing Credit Agreement shall transfer to the Administrative Agent an amount equal to the excess, if any, of such Lender’s Percentage of all outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date) over the amount of all of such Lender’s loans under the Existing Credit Agreement, (iii) the Administrative Agent shall apply the funds received from the Lenders pursuant to clause (ii) above, first, on behalf of the Lenders (pro rata according to the amount of the loans each is required to purchase to achieve the reallocation described in clause (a)), to purchase from each Exiting Lender the loans of such Exiting Lender under the Existing Credit Agreement (and, if applicable, to purchase from any Original Lender that is a party hereto but which has loans under the Existing Credit Agreement in excess of such Lender’s Percentage of all then-outstanding Loans hereunder (including any Loans requested by the Borrower on the Restatement Effective Date), a portion of such loans equal to such excess), second, to pay to each Original Lender all interest, fees and other amounts (including amounts payable pursuant to Section 7.5 of the Existing Credit Agreement, assuming for such purpose that the loans under the Existing Credit Agreement are being prepaid rather than reallocated on the Restatement Effective Date) owed to such Original Lender under the Existing Credit Agreement (whether or not"}
-{"idx": 12, "level": 2, "span": "SECTION 15. GENERAL.\n15.1 No Waiver; Cumulative Remedies; Enforcement. No failure by any Lender, any Issuer or the Administrative Agent to exercise, and no delay by any such Person in exercising, any right, remedy, power or privilege hereunder or under any other Loan Document shall operate as a waiver thereof; nor shall any single or partial exercise of any right, remedy, power or privilege hereunder preclude any other or further exercise thereof or the exercise of any other right, remedy, power or privilege. The rights, remedies, powers and privileges herein provided, and provided under each other Loan Document, are cumulative and not exclusive of any rights, remedies, powers and privileges provided by law.\n15.2 Waivers and Amendments.\n(a) Generally. Except as otherwise specifically provided for in this Agreement, no amendment, modification or waiver of, or consent with respect to, any provision of this Agreement, the Notes or any other Loan Document shall in any event be effective unless the same shall be in writing and signed and delivered by the Majority Lenders and acknowledged by the Administrative Agent, and then any such amendment, modification, waiver or consent shall be effective only in the specific instance and for the specific purpose for which given; provided that no amendment, waiver or consent shall:\n(i) unless consented to by each Lender affected thereby, (A) increase or extend a Commitment of any Lender or subject any Lender to any additional\nobligation, (B) reduce the principal of, or interest on, any Loan or any fee or other Liability payable hereunder or (C) postpone any date fixed for any payment of principal of, or interest on, any Loan or any fee or other Liability hereunder,\n(ii) unless consented to by each Lender, (A) waive any condition specified in Section 11.1, (B) change the Percentages or the aggregate unpaid principal amount of the Loans, or the number of Lenders which shall be required to take action hereunder, or the definition of “Majority Lenders” or (C) change any provision of this Section 15.2 or\n(iii) unless consented to by Lenders having aggregate Percentages of 66 2/3% or more, amend any provision of this Agreement that would affect the amount of the Borrowing Base in a manner adverse to the Lenders. No provision of this Agreement (including Section 13) or of any other Loan Document which relates to the rights or duties of the Administrative Agent shall be amended, modified or waived without the written consent of the Administrative Agent, and no provision of this Agreement or any other Loan Document relating to the rights or duties of any Issuer in its capacity as such shall be amended, modified or waived without the written consent of such Issuer.\nNotwithstanding anything to the contrary herein, no Defaulting Lender shall have any right to approve or disapprove any amendment, waiver or consent hereunder (and any amendment, waiver or consent which by its terms requires the consent of all Lenders or each affected Lender may be effected with the consent of the applicable Lenders other than Defaulting Lenders), except that (x) the Commitment of any Defaulting Lender may not be increased or extended without the consent of such Lender and (y) any waiver, amendment or modification requiring the consent of all Lenders or each affected Lender that by its terms affects any Defaulting Lender disproportionately adversely relative to other affected Lenders shall require the consent of such Defaulting Lender.\n(b) Most Favored Lending Status. If at any time the Borrower is a party to any agreement, instrument or other document relating to Indebtedness of the Borrower that has an aggregate principal amount of at least $20,000,000 (any such agreement, instrument or other document, or amendment, restatement, supplement or other modification thereto, a “More Favorable Lending Agreement”), which agreement, instrument or other document includes any financial covenant (whether affirmative or negative and whether maintenance or incurrence) that is more restrictive on the Borrower than the financial covenants of this Agreement or that is not provided for in this Agreement (any such covenant, a “More Favorable Provision”), then the Borrower shall promptly, and in any event within five Business Days after becoming party to such More Favorable Lending Agreement, notify the Administrative Agent (which shall promptly advise each Lender) of such More Favorable\nLending Agreement. Such notice shall include a verbatim statement of each More Favorable Provision in such More Favorable Lending Agreement. Thereupon, unless waived in writing by the Majority Lenders within five Business Days after the Administrative Agent’s receipt of such notice, each such More Favorable Provision, including any subsequent loosening thereof (but not to levels less restrictive than those that would otherwise be in effect if it were not for the operation of this Section 15.2(b)), shall be deemed incorporated by reference in this Agreement as if set forth fully herein, mutatis mutandis, effective as of the date when such More Favorable Provision (or loosening thereof in accordance with the foregoing parenthetical, as applicable) became effective under such More Favorable Lending Agreement (any More Favorable Provision incorporated herein or subsequently loosened, as applicable, an “Incorporated Provision”). No Incorporated Provision may be waived, amended or modified without the written consent of the Majority Lenders. Thereafter, upon the request of the Majority Lenders, the Borrower and the Majority Lenders shall enter into an amendment to this Agreement evidencing the incorporation of such Incorporated Provision substantially as provided for in such More Favorable Lending Agreement; provided that no such amendment shall in any way be required to make any Incorporated Provision effective. Each Incorporated Provision shall (i) remain unchanged herein notwithstanding any subsequent waiver, amendment or other modification of the More Favorable Lending Agreement giving rise to such Incorporated Provision (except to the extent that an amendment or other modification results in such provision being more restrictive than such Incorporated Provision or less restrictive but only to the extent that such loosening would not fall below the levels that would otherwise be in effect if it were not for the operation of this Section 15.2(b), in which case such Incorporated Provision shall be amended or modified to become equally restrictive or less restrictive, as applicable) and (ii) be deemed deleted from this Agreement at such time as the applicable More Favorable Lending Agreement is fully terminated and no amounts are outstanding thereunder so long as, at the time of such termination, no Event of Default or Unmatured Event of Default exists.\n15.3 Notices.\n(a) Notices Generally. Except as otherwise expressly provided herein, any notice hereunder to the Borrower, the Administrative Agent, any Issuer or any Lender shall be in writing (including facsimile communication) and shall be given (i) if to the Borrower or the Administrative Agent, at its address or facsimile number set forth on Schedule 10.2, and (ii) if to any Lender or any Issuer, at its address or facsimile number set forth in its Administrative Questionnaire or, in each case, at such other address or facsimile number as the recipient may, by written notice, designate as its address or facsimile number for purposes of notices hereunder. All such notices shall be deemed to be given when transmitted by facsimile, when personally delivered or, in the case of a mailed notice, when sent by registered or certified mail, postage prepaid, in each case addressed as specified in this Section 15.3;\nprovided that notices to the Administrative Agent under Section 2, Section 6 and this Section 15.3 shall not be effective until actually received by the Administrative Agent.\n(b) Electronic Communications. Notices and other communications to the Lenders and the Issuers hereunder may be delivered or furnished by electronic communication (including e-mail, FpML messaging, and Internet or intranet websites) pursuant to procedures approved by the Administrative Agent, provided that the foregoing shall not apply to notices to any Lender or any Issuer pursuant to Section 2 if such Lender or such Issuer, as applicable, has notified the Administrative Agent that it is incapable of receiving notices under such Article by electronic communication. The Administrative Agent, the Issuers or the Borrower may each, in its discretion, agree to accept notices and other communications to it hereunder by electronic communications pursuant to procedures approved by it, provided that approval of such procedures may be limited to particular notices or communications.\nUnless the Administrative Agent otherwise prescribes, (i) notices and other communications sent to an e-mail address shall be deemed received upon the sender’s receipt of an acknowledgement from the intended recipient (such as by the “return receipt requested” function, as available, return e-mail or other written acknowledgement), and (ii) notices or communications posted to an Internet or intranet website shall be deemed received upon the deemed receipt by the intended recipient at its e-mail address as described in the foregoing clause (i) of notification that such notice or communication is available and identifying the website address therefor; provided that if such notice or other communication is not sent during the normal business hours of the recipient, such notice or communication shall be deemed to have been sent at the opening of business on the next business day for the recipient.\n(c) The Platform. The Borrower hereby acknowledges that the Administrative Agent and/or the Joint Lead Arrangers may, but shall not be obligated to, make available to the Lenders and the Issuers materials and/or information provided by or on behalf of the Borrower hereunder (collectively, “Borrower Materials”) by posting the Borrower Materials on IntraLinks, Syndtrak, ClearPar or a substantially similar electronic transmission system (the “Platform”). THE PLATFORM IS PROVIDED “AS IS” AND “AS AVAILABLE”. THE ADMINISTRATIVE AGENT PARTIES (AS DEFINED BELOW) DO NOT WARRANT THE ACCURACY OR COMPLETENESS OF THE BORROWER MATERIALS OR THE ADEQUACY OF THE PLATFORM, AND EXPRESSLY DISCLAIM LIABILITY FOR ERRORS IN OR OMISSIONS FROM THE BORROWER MATERIALS. NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OF THIRD PARTY RIGHTS OR FREEDOM FROM VIRUSES OR OTHER CODE DEFECTS, IS MADE BY ANY ADMINISTRATIVE AGENT PARTY IN CONNECTION WITH THE BORROWER\nMATERIALS OR THE PLATFORM. In no event shall the Administrative Agent or any of its Lender-Related Parties (collectively, the “Administrative Agent Parties”) have any liability to the Borrower, any Lender, any Issuer or any other Person for losses, claims, damages, liabilities or expenses of any kind (whether in tort, contract or otherwise) arising out of the Borrower’s or the Administrative Agent’s transmission of Borrower Materials or notices through the Platform, through any other electronic platform or electronic messaging service or through the Internet.\n(d) Reliance by the Administrative Agent, the Issuers and the Lenders. The Administrative Agent, the Issuers and the Lenders shall be entitled to rely and act upon any notices (including telephonic notices, Loan Requests, and Issuance Requests) purportedly given by or on behalf of the Borrower even if (i) such notices were not made in a manner specified herein, were incomplete or were not preceded or followed by any other form of notice specified herein, or (ii) the terms thereof, as understood by the recipient, varied from any confirmation thereof. The Borrower shall indemnify the Administrative Agent, each Issuer, each Lender and the Lender-Related Parties of each of them from all losses, costs, expenses and liabilities resulting from the reliance by such Person on each notice purportedly given by or on behalf of the Borrower. All telephonic notices to and other telephonic communications with the Administrative Agent may be recorded by the Administrative Agent, and each of the parties hereto hereby consents to such recording.\n15.4 USA Patriot Act Notice. Each of the Administrative Agent and the Lenders hereby notify the Borrower that pursuant to the requirements of the USA Patriot Act (Title III of Pub.L. 107-56 (signed into law October 26, 2001)) (the “Act”), it is required to obtain, verify and record information that identifies the Borrower, which information includes the name and address of the Borrower and other information that will allow the Administrative Agent or the Lenders, as applicable, to identify the Borrower in accordance with the Act. The Borrower shall, promptly following a request by the Administrative Agent or any Lender, provide all documentation and other information that the Administrative Agent or such Lender requests in order to comply with its ongoing obligations under applicable “know your customer” and anti-money laundering rules and regulations, including the Act.\n15.5 Expenses; Indemnity; Damage Waiver.\n(a) The Borrower shall pay (i) all reasonable out of pocket expenses incurred by the Administrative Agent and its Affiliates (including the reasonable fees, charges and disbursements of counsel for the Administrative Agent (including the reasonable fees, charges and disbursements of in-house counsel, provided such fees and expenses are set forth in reasonable and appropriate detail) and of local counsel, if any, who may be retained by such counsel)), in connection with the syndication of the credit facilities provided for herein, the preparation, negotiation, execution, delivery and administration of this\nAgreement and the other Loan Documents or any amendments, modifications or waivers of the provisions hereof or thereof (whether or not the transactions contemplated hereby or thereby shall be consummated), (ii) all reasonable out of pocket expenses incurred by each Issuer in connection with the issuance, amendment, renewal or extension of any Letter of Credit or any demand for payment thereunder, (iii) all out of pocket expenses incurred by the Administrative Agent, any Lender or any Issuer (including the fees, charges and disbursements of any counsel for the Administrative Agent, any Lender or any Issuer (including reasonable fees, charges and disbursements of in-house counsel of the Administrative Agent, such Lender or such Issuer, provided such fees, charges and disbursements are set forth in reasonable and appropriate detail)) in connection with the enforcement or protection of its rights (A) in connection with this Agreement and the other Loan Documents, including its rights under this Section, or (B) in connection with the Loans made or Letters of Credit issued hereunder, including all such out of pocket expenses incurred during any workout, restructuring or negotiations in respect of such Loans or Letters of Credit, and (iv) any civil penalty or fine assessed by OFAC against, and all reasonable costs and expenses (including counsel fees and disbursements) incurred in connection with defense thereof, by the Administrative Agent or any Lender as a result of conduct of the Borrower that violates a sanction enforced by OFAC.\n(b) The Borrower shall indemnify the Administrative Agent (and any subagent thereof), each Lender, each Issuer and each Lender-Related Party of any of the foregoing Persons (each such Person, an “Indemnitee”) against, and hold each Indemnitee harmless from, any and all losses, claims, damages, liabilities and related expenses (including the fees, charges and disbursements of any counsel for any Indemnitee (including the fees and time charges and disbursements for in-house counsel to such Indemnitee, provided such fees and time charges are set forth in reasonable detail)), incurred by any Indemnitee or asserted against any Indemnitee by any Person (including the Borrower but excluding such Indemnitee and its Lender-Related Parties) arising out of, in connection with, or as a result of (i) the execution or delivery of this Agreement, any other Loan Document or any agreement or instrument contemplated hereby or thereby, the performance by the parties hereto of their respective obligations hereunder or thereunder, the consummation of the transactions contemplated hereby or thereby, or, in the case of the Administrative Agent (and any sub-agent thereof) and its Lender-Related Parties only, the administration of this Agreement and the other Loan Documents, (ii) any Loan or Letter of Credit or the use or proposed use of the proceeds therefrom (including any refusal by any 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), (iii) any actual or alleged presence or release of Hazardous Materials on or from any property owned or operated by the Borrower or any of its Subsidiaries, or any other liability under any Environmental Law related in any way to the Borrower or any of its Subsidiaries, or (iv) any actual or prospective claim,\nlitigation, investigation or proceeding relating to any of the foregoing, whether based on contract, tort or any other theory, whether brought by a third party or by the Borrower, and regardless of whether any Indemnitee is a party thereto; provided that such indemnity shall not, as to any Indemnitee, be available to the extent that such losses, claims, damages, liabilities or related expenses (x) are determined by a court of competent jurisdiction by final and nonappealable judgment to have resulted from the gross negligence or willful misconduct of such Indemnitee or (y) result from a claim brought by the Borrower against an Indemnitee for breach in bad faith of such Indemnitee’s obligations hereunder or under any other Loan Document, if the Borrower has obtained a final and nonappealable judgment in its favor on such claim as determined by a court of competent jurisdiction.\n(c) To the extent that the Borrower for any reason fails to indefeasibly pay any amount required under clause (a) or (b) above to be paid by it to the Administrative Agent (or any sub-agent thereof), any Issuer or any Lender-Related Party of any of the foregoing, each Lender severally agrees to pay to the Administrative Agent (or any such sub-agent), such Issuer or such Lender-Related Party, as the case may be, such Lender’s pro rata share (determined as of the time that the applicable unreimbursed expense or indemnity payment is sought based on each Lender’s Percentage at such time) of such unpaid amount (including any such unpaid amount in respect of a claim asserted by such Lender), provided, further, that the unreimbursed expense or indemnified loss, claim, damage, liability or related expense, as the case may be, was incurred by or asserted against the Administrative Agent (or any such sub-agent) or any Issuer in its capacity as such, or against any Lender-Related Party of any of the foregoing acting for the Administrative Agent (or any such sub-agent) or any Issuer in connection with such capacity. The obligations of the Lenders under this clause (c) are several and not joint.\n(d) To the fullest extent permitted by applicable law, the Borrower shall not assert, and hereby waives, and acknowledges that no other Person shall have, any claim against any Indemnitee, on any theory of liability, for special, indirect, consequential or punitive damages (as opposed to direct or actual damages) arising out of, in connection with, or as a result of, this Agreement, any other Loan Document or any agreement or instrument contemplated hereby, the transactions contemplated hereby or thereby, any Loan or Letter of Credit or the use of the proceeds thereof. No Indemnitee referred to in clause (b) above shall be liable for any damages arising from the use by unintended recipients of any information or other materials distributed by it through telecommunications, electronic or other information transmission systems in connection with this Agreement or the other Loan Documents or the transactions contemplated hereby or thereby.\n(e) All amounts due under this Section shall be payable on demand.\n(f) The agreements in this Section and the indemnity provisions in Section 15.3(d) shall survive the resignation of the Administrative Agent and Bank of America in its capacity as an Issuer, the replacement of any Lender, the termination of the Commitments and the repayment, satisfaction or discharge of all the other obligations of the Borrower under this Agreement and the other Loan Documents.\n15.6 Governing Law; Entire Agreement. THIS AGREEMENT AND EACH NOTE SHALL BE GOVERNED BY, AND CONSTRUED IN ACCORDANCE WITH, THE LAWS OF THE STATE OF NEW YORK. All obligations of the Borrower and rights of the Lenders and the Administrative Agent expressed herein, in the Notes or in any other Loan Document shall be in addition to and not in limitation of those provided by applicable law. This Agreement, the Notes and the other Loan Documents constitute the entire understanding among the parties hereto with respect to the subject matter hereof and supersede any prior agreements, written or oral, with respect thereto.\n15.7 Successors and Assigns. This Agreement shall be binding upon the Borrower, the Lenders, the Issuers and the Administrative Agent and their respective successors and assigns, and shall inure to the benefit of the Borrower, the Lenders, the Issuers and the Administrative Agent and the respective successors and assigns of the Lenders, the Issuers and the Administrative Agent. The Borrower shall not assign its rights or duties hereunder without the consent of the Administrative Agent and all of the Lenders, and the rights of sale and assignment and transfer of the Loans are subject to Section 15.8.\n15.8 Assignments and Participations.\n(a) Any Lender may at any time assign to one or more Eligible Assignees all or a portion of its rights and obligations under this Agreement (including all or a portion of its Commitments and the Loans (including participations in Letters of Credit) at the time owing to it); provided that\n(i) except in the case of an assignment (x) of the entire remaining amount of the assigning Lender’s Commitments and the Loans at the time owing to it or (y) to a Lender or an Affiliate of a Lender, the aggregate amount of the Commitment of such Lender (which for this purpose includes Loans outstanding thereunder) or, if the Commitments are not then in effect, the principal outstanding balance of the Loans of the assigning Lender subject to each such assignment, determined as of the date the Assignment and Assumption with respect to such assignment is delivered to the Administrative Agent or, if “Trade Date” is specified in the Assignment and Assumption, as of the Trade Date, shall not be less than $10,000,000 unless each of the Administrative Agent and, so long as no Event of Default has occurred and is continuing, the Borrower otherwise consents (each such consent not to be unreasonably withheld or delayed); provided that, except in the case of an assignment\nof the entire remaining amount of the assigning Lender’s Commitments and the Loans at the time owing to it no such assignment shall leave the assigning Lender with Commitments of less than $10,000,000;\n(ii) each partial assignment shall be made as an assignment of a proportionate part of all the assigning Lender’s rights and obligations under this Agreement with respect to the Loans or the Commitments assigned;\n(iii) any assignment of a Commitment must be approved by the Administrative Agent and the Issuers unless the Person that is the proposed assignee is itself a Lender (whether or not the proposed assignee would otherwise qualify as an Eligible Assignee); and\n(iv) the parties to each assignment shall execute and deliver to the Administrative Agent an Assignment and Assumption, together with a processing and recordation fee in the amount, if any, required as set forth in Schedule 15.8, and the Eligible Assignee, if it shall not be a Lender, shall deliver to the Administrative Agent an Administrative Questionnaire.\nAny attempted assignment and delegation not made in accordance with this Section 15.8 shall be null and void.\nSubject to acceptance and recording thereof by the Administrative Agent pursuant to clause (b) below, from and after the effective date specified in each Assignment and Assumption, the Eligible Assignee thereunder shall be a party to this Agreement and, to the extent of the interest assigned by such Assignment and Assumption, have the rights and obligations of a Lender under this Agreement, and the assigning Lender thereunder shall, to the extent of the interest assigned by such Assignment and Assumption, be released from its obligations under this Agreement (and, in the case of an Assignment and Assumption covering all of the assigning Lender’s rights and obligations under this Agreement, such Lender shall cease to be a party hereto) but shall continue to be entitled to the benefits of Sections 7.1, 7.5, 7.8 and 15.5 with respect to facts and circumstances occurring prior to the effective date of such assignment; provided that except to the extent otherwise expressly agreed by the affected parties, no assignment by a Defaulting Lender will constitute a waiver or release of any claim of any party hereunder arising from such Lender having been a Defaulting Lender. If requested by the assignee Lender, the Borrower (at its expense) shall execute and deliver a Note to the assignee Lender. Any assignment or transfer by a Lender of rights or obligations under this Agreement that does not comply with this subsection shall be treated for purposes of this Agreement as a sale by such Lender of a participation in such rights and obligations in accordance with clause (c) below.\n(b) The Administrative Agent, acting solely for this purpose as an agent of the Borrower, shall maintain at the Administrative Agent’s Office a copy of each Assignment\nand Assumption delivered to it (or the equivalent thereof in electronic form) and a register for the recordation of the names and addresses of the Lenders, and the Commitments of, and principal amounts (and stated interest) of the Loans and Reimbursement Obligations owing to, each Lender pursuant to the terms hereof from time to time (the “Register”). The entries in the Register shall be conclusive, and the Borrower, the Administrative Agent and the Lenders may treat each Person whose name is recorded in the Register pursuant to the terms hereof as a Lender hereunder for all purposes of this Agreement. The Register shall be available for inspection by each of the Borrower, the Lenders and the Issuers at any reasonable time and from time to time upon reasonable prior notice.\n(c) Any Lender may at any time, without the consent of, or notice to, the Borrower or the Administrative Agent, sell participations to any Person (other than a natural Person, or a holding company, investment vehicle or trust for, or owned and operated for the primary benefit of, a natural Person), a Defaulting Lender, a Disqualified Person, the Borrower or any of the Borrower’s Affiliates or Subsidiaries) (each, a “Participant”) in all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it); provided that (i) such Lender’s obligations under this Agreement shall remain unchanged, (ii) such Lender shall remain solely responsible to the other parties hereto for the performance of such obligations, (iii) such Participant shall be bound by Section 15.17 and (iv) the Borrower, the Administrative Agent, the Lenders and the Issuers shall continue to deal solely and directly with such Lender in connection with such Lender’s rights and obligations under this Agreement. Notwithstanding anything to the contrary herein, a Lender may not enter into any agreement or arrangement with the Borrower or any of the Borrower’s Affiliates or Subsidiaries that would have an economic effect substantially similar to an assignment or a participation of all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it). For the avoidance of doubt, each Lender shall be responsible for the indemnity under Section 15.5(c) without regard to the existence of any participation.\n(d) Any agreement or instrument pursuant to which a Lender sells such a participation shall provide that such Lender shall retain the sole right to enforce this Agreement and to approve any amendment, modification or waiver of any provision of this Agreement; provided that such agreement or instrument may provide that such Lender will not, without the consent of the Participant, agree to any amendment, waiver or other modification described in the proviso to Section 15.2 that affects such Participant. Subject to clause (e) below, the Borrower agrees that each Participant shall be entitled to the benefits of Sections 7.1, 7.5 and 7.8 to the same extent as if it were a Lender and had acquired its interest by assignment pursuant to clause (a) above. To the extent permitted by law, each\nParticipant also shall be entitled to the benefits of Section 6.4 as though it were a Lender, provided such Participant agrees to be subject to Section 6.5 as though it were a Lender.\n(e) A Participant shall not be entitled to receive any greater payment under Section 7.1 or 7.8 than the applicable Lender would have been entitled to receive with respect to the participation sold to such Participant, unless the sale of the participation to such Participant is made with the Borrower’s prior written consent. A Participant that is organized under the laws of a jurisdiction other than the United States shall not be entitled to the benefits of Section 7.8 unless the Borrower is notified of the participation sold to such Participant and such Participant agrees, for the benefit of the Borrower, to comply with the last paragraph of Section 7.8 as though it were a Lender.\n(f) Any Lender may at any time pledge or assign a security interest in all or any portion of its rights under this Agreement (including under its Note, if any) to secure obligations of such Lender, including any pledge or assignment to secure obligations to a Federal Reserve Bank; provided that no such pledge or assignment shall release such Lender from any of its obligations hereunder or substitute any such pledgee or assignee for such Lender as a party hereto.\n(g) Notwithstanding anything to the contrary contained herein, any Lender (a “Granting Lender”) may grant to a special purpose funding vehicle identified as such in writing from time to time by the Granting Lender to the Administrative Agent and the Borrower (an “SPC”) the option to provide all or any part of any Loan that such Granting Lender would otherwise be obligated to make pursuant to this Agreement; provided that (i) nothing herein shall constitute a commitment by any SPC to fund any Loan, and (ii) if an SPC elects not to exercise such option or otherwise fails to make all or any part of such Loan, the Granting Lender shall be obligated to make such Loan pursuant to the terms hereof or, if it fails to do so, to make such payment to the Administrative Agent as is required under Section 13.9(b). Each party hereto hereby agrees that (i) neither the grant to any SPC nor the exercise by any SPC of such option shall increase the costs or expenses or otherwise increase or change the obligations of the Borrower under this Agreement (including its obligations under Section 7.1), (ii) no SPC shall be liable for any indemnity or similar payment obligation under this Agreement for which a Lender would be liable and (iii) the Granting Lender shall for all purposes, including the approval of any amendment, waiver or other modification of any provision of any Loan Document, remain the lender of record hereunder. The making of a Loan by an SPC hereunder shall utilize the Commitment of the Granting Lender to the same extent, and as if, such Loan were made by such Granting Lender. In furtherance of the foregoing, each party hereto hereby agrees (which agreement shall survive the termination of this Agreement) that, prior to the date that is one year and one day after the payment in full of all outstanding commercial paper or other senior debt of any SPC, it will not institute against, or join any other Person in instituting against, such\nSPC any bankruptcy, reorganization, arrangement, insolvency, or liquidation proceeding under the laws of the United States or any State thereof. Notwithstanding anything to the contrary contained herein, any SPC may (i) with notice to, but without prior consent of the Borrower and the Administrative Agent and with the payment of a processing fee in the amount of $3,500, assign all or any portion of its right to receive payment with respect to any Loan to the Granting Lender and (ii) subject to Section 15.17, disclose on a confidential basis any non-public information relating to its funding of Loans to any rating agency, commercial paper dealer or provider of any surety or guarantee or credit or liquidity enhancement to such SPC.\n(h) Notwithstanding anything to the contrary contained herein, if at any time Bank of America assigns all of its Commitments and Loans pursuant to clause (a) above, Bank of America may, upon 30 days’ notice to the Borrower and the Lenders, resign as an Issuer. In the event of any such resignation as an Issuer, and if there are no other Issuers at the time of such resignation, the Borrower shall be entitled to appoint from among the Lenders willing to serve in such capacity a successor Issuer hereunder; provided that no failure by the Borrower to appoint any such successor shall affect the resignation of Bank of America as an Issuer. If Bank of America resigns as an Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit issued by it that are outstanding as of the effective date of its resignation as an Issuer and all Reimbursement Obligations with respect thereto (including the right to require the Lenders to make Loans that are Alternate Base Rate Loans or fund risk participations in Letters of Credit pursuant to Section 5.4). Upon the appointment of a successor Issuer, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, as the case may be, and (ii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, issued by Bank of America that are outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit.\n(i) Certain Additional Payments. In connection with any assignment of rights and obligations of any Defaulting Lender hereunder, no such assignment shall be effective unless and until, in addition to the other conditions thereto set forth herein, the parties to the assignment shall make such additional payments to the Administrative Agent in an aggregate amount sufficient, upon distribution thereof as appropriate (which may be outright payment, purchases by the assignee of participations or subparticipations, or other compensating actions, including funding, with the consent of the Borrower and the Administrative Agent, the applicable pro rata share of Loans previously requested but not funded by the Defaulting Lender, to each of which the applicable assignee and assignor hereby irrevocably consent), to (x) pay and satisfy in full all payment liabilities then owed by such Defaulting Lender to the Administrative Agent, any Issuer or any Lender hereunder\n(and interest accrued thereon) and (y) acquire (and fund as appropriate) its full pro rata share of all Loans and participations in Letters of Credit in accordance with its Percentage. Notwithstanding the foregoing, in the event that any assignment of rights and obligations of any Defaulting Lender hereunder shall become effective under applicable law without compliance with the provisions of this paragraph, then the assignee of such interest shall be deemed to be a Defaulting Lender for all purposes of this Agreement until such compliance occurs.\n15.9 Survival. The obligations of the Borrower under Sections 7 and 15.5, and the obligations of the Lenders under Section 15.5(c), shall in each case survive any termination of this Agreement, the payment in full of all Liabilities and the termination of all Commitments. The representations and warranties made by the Borrower in this Agreement and in each other Loan Document shall survive the execution and delivery of this Agreement and each such other Loan Document.\n15.10 Effect of Amendment and Restatement.\n(a) This Agreement is an amendment and restatement of the terms and provisions of the Existing Credit Agreement. Neither the execution and delivery of this Agreement by the Borrower or any Lender, nor any of the terms or provisions contained herein, shall be construed (a) to be a payment on or with respect to the Indebtedness outstanding under the Existing Credit Agreement or (b) to release, terminate or otherwise adversely affect all or any part of any Lien heretofore granted to or retained by the Collateral Agent with respect to any Collateral. Without limiting the foregoing, the Borrower hereby ratifies and confirms the grant of security interest pursuant to, and all other terms and provisions of, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and each other Collateral Document.\n(b) The Borrower confirms to the Administrative Agent and the Lenders that (i) each Collateral Document continues in full force and effect on the Restatement Effective Date after giving effect to this Agreement and is the legal, valid and binding obligation of the Borrower, enforceable against the Borrower in accordance with its terms, subject to bankruptcy, insolvency and similar laws affecting the enforceability of creditors’ rights generally and to general principles of equity; (ii) the obligations and liabilities secured under each Collateral Document include all obligations and liabilities of the Borrower under this Agreement; and (iii) each reference in the Collateral Documents to the “Credit Agreement” or the “Member Bank Credit Agreement” or similar terms shall, on and after the Restatement Effective Date, be deemed to be a reference to this Agreement.\n(c) When counterparts executed by all the parties shall have been lodged with the Administrative Agent (or, in the case of any Lender as to which an executed counterpart shall not have been so lodged, the Administrative Agent shall have received facsimile or\nother written confirmation from such Lender) and all of the conditions set forth in Section 11 shall have been satisfied, this Agreement shall become effective as of the date hereof, and at such time the Administrative Agent shall notify the Borrower and each Lender.\n(d) The Borrower, the Lenders that are party to the Existing Agreement and Bank of America, N.A., as administrative agent under the Existing Agreement, acknowledge and agree that upon the effectiveness of this Agreement on the Effective Date, the Existing Agreement shall terminate and be of no further force or effect (except that any provision thereof which by its terms survives termination thereof shall continue in full force and effect for the benefit of the applicable party or parties), all without any other action by any Person.\n15.11 Severability. If any provision of this Agreement or the other Loan Documents is held to be illegal, invalid or unenforceable, (a) the legality, validity and enforceability of the remaining provisions of this Agreement and the other Loan Documents shall not be affected or impaired thereby and (b) the parties shall endeavor in good faith negotiations to replace the illegal, invalid or unenforceable provisions with valid provisions the economic effect of which comes as close as possible to that of the illegal, invalid or unenforceable provisions. The invalidity of a provision in a particular jurisdiction shall not invalidate or render unenforceable such provision in any other jurisdiction. Without limiting the foregoing provisions of this Section 15.11, if and to the extent that the enforceability of any provision in this Agreement relating to Defaulting Lenders shall be limited by any Debtor Relief Law, as determined in good faith by the Administrative Agent or an Issuer, as applicable, then such provision shall be deemed to be in effect only to the extent not so limited.\n15.12 Execution in Counterparts, Effectiveness, etc. This Agreement may be executed by the parties hereto in several counterparts, each of which shall be deemed to be an original, but all such counterparts shall constitute together but one and the same Agreement. Delivery of a counterpart hereof, or a signature page hereto, by facsimile or in a .pdf or similar file shall be effective as delivery of a manually-executed original counterpart hereof.\n15.13 Investment. Each Lender represents and warrants that: (a) it is acquiring any Note to be issued to it hereunder for its own account as a result of making a loan in the ordinary course of its commercial banking business and not with a view to the public distribution or sale thereof, nor with any present intention of selling or distributing such Note, but subject, nevertheless, to possible assignments or participations thereof pursuant to Section 15.8 and to any legal or administrative requirement that the disposition of such Lender’s property at all times be within its control, and (b) in good faith it has not and will not rely upon any margin stock (as such term is defined in Regulation U of the FRB) as collateral in the making and maintaining of its Loans.\n15.14 Other Transactions. Nothing contained herein shall preclude the Administrative Agent or any other Lender from engaging in any transaction, in addition to those contemplated by\nthis Agreement or any other Loan Document, with the Borrower or any of its Affiliates in which the Borrower or such Affiliate is not restricted hereby from engaging with any other Person.\n15.15 Forum Selection and Consent to Jurisdiction. SUBJECT TO ANY CONTRARY PROVISION IN THE SECURITY AND INTERCREDITOR AGREEMENT RELATING TO FORUM SELECTION BY THE COLLATERAL AGENT WITH RESPECT TO ACTIONS BROUGHT THEREUNDER BY THE COLLATERAL AGENT, ANY LITIGATION BASED HEREON, OR ARISING OUT OF, UNDER OR IN CONNECTION WITH THIS AGREEMENT OR ANY OTHER LOAN DOCUMENT OR ANY COURSE OF CONDUCT, COURSE OF DEALING, STATEMENTS (WHETHER VERBAL OR WRITTEN) OR ACTIONS OF THE ADMINISTRATIVE AGENT, ANY ISSUER, ANY LENDER OR THE BORROWER SHALL BE BROUGHT AND MAINTAINED EXCLUSIVELY IN THE COURTS OF THE STATE OF NEW YORK OR IN THE UNITED STATES DISTRICT COURT FOR THE SOUTHERN DISTRICT OF NEW YORK; PROVIDED THAT ANY SUIT SEEKING ENFORCEMENT AGAINST ANY COLLATERAL OR OTHER PROPERTY MAY BE BROUGHT, AT THE ADMINISTRATIVE AGENT’S OPTION, IN THE COURTS OF ANY JURISDICTION WHERE SUCH COLLATERAL OR OTHER PROPERTY MAY BE FOUND. THE BORROWER HEREBY EXPRESSLY AND IRREVOCABLY SUBMITS TO THE JURISDICTION OF THE COURTS OF THE STATE OF NEW YORK AND OF THE UNITED STATES DISTRICT COURT FOR THE SOUTHERN DISTRICT OF NEW YORK FOR THE PURPOSE OF ANY SUCH LITIGATION AS SET FORTH ABOVE AND IRREVOCABLY AGREES TO BE BOUND BY ANY JUDGMENT RENDERED THEREBY IN CONNECTION WITH SUCH LITIGATION. THE BORROWER FURTHER IRREVOCABLY CONSENTS TO THE SERVICE OF PROCESS BY REGISTERED MAIL, POSTAGE PREPAID, OR BY PERSONAL SERVICE WITHIN OR WITHOUT THE STATE OF NEW YORK. THE BORROWER HEREBY EXPRESSLY AND IRREVOCABLY WAIVES, TO THE FULLEST EXTENT PERMITTED BY LAW, ANY OBJECTION WHICH IT MAY NOW OR HEREAFTER HAVE TO THE LAYING OF VENUE OF ANY SUCH LITIGATION BROUGHT IN ANY SUCH COURT REFERRED TO ABOVE AND ANY CLAIM THAT ANY SUCH LITIGATION HAS BEEN BROUGHT IN AN INCONVENIENT FORUM. TO THE EXTENT THAT THE BORROWER HAS OR HEREAFTER MAY ACQUIRE ANY IMMUNITY FROM JURISDICTION OF ANY COURT OR FROM ANY LEGAL PROCESS (WHETHER THROUGH SERVICE OR NOTICE, ATTACHMENT PRIOR TO JUDGMENT, ATTACHMENT IN AID OF EXECUTION OR OTHERWISE) WITH RESPECT TO ITSELF OR ITS PROPERTY, THE BORROWER HEREBY IRREVOCABLY WAIVES SUCH IMMUNITY IN RESPECT OF ITS OBLIGATIONS UNDER THIS AGREEMENT AND THE OTHER LOAN DOCUMENTS.\n15.16 Waiver of Jury Trial. THE ADMINISTRATIVE AGENT, THE ISSUERS, THE LENDERS AND THE BORROWER HEREBY KNOWINGLY, VOLUNTARILY AND INTENTIONALLY WAIVE ANY RIGHTS THEY MAY HAVE TO A TRIAL BY JURY IN RESPECT OF ANY LITIGATION BASED HEREON, OR ARISING OUT OF, UNDER OR IN"}
-{"idx": 12, "level": 2, "span": "CONNECTION WITH THIS AGREEMENT OR ANY OTHER LOAN DOCUMENT OR ANY COURSE OF CONDUCT, COURSE OF DEALING, STATEMENTS (WHETHER VERBAL OR WRITTEN) OR ACTIONS OF THE ADMINISTRATIVE AGENT, THE ISSUERS, THE LENDERS OR THE BORROWER. THE BORROWER ACKNOWLEDGES AND AGREES THAT IT HAS RECEIVED FULL AND SUFFICIENT CONSIDERATION FOR THIS PROVISION (AND EACH OTHER PROVISION OF EACH OTHER LOAN DOCUMENT TO WHICH IT IS A PARTY) AND THAT THIS PROVISION IS A MATERIAL INDUCEMENT FOR THE ADMINISTRATIVE AGENT, THE ISSUERS AND THE LENDERS ENTERING INTO THIS AGREEMENT AND EACH OTHER LOAN DOCUMENT.\n15.17 Treatment of Certain Information; Confidentiality. Each of the Administrative Agent, each Lender and each Issuer agrees to maintain the confidentiality of the Information (as defined below), except that Information may be disclosed (a) to its Affiliates and to its and its Affiliates’ Lender-Related Parties (it being understood that the Persons to whom such disclosure is made will be informed of the confidential nature of such Information and instructed to keep such Information confidential), (b) to the extent required or requested by any regulatory authority purporting to have jurisdiction over it and its Lender-Related Parties (including any self-regulatory authority, such as the National Association of Insurance Commissioners), (c) to the extent required by applicable laws or regulations or by any subpoena or similar legal process, (d) to any other party hereto, (e) in connection with the exercise of any remedies hereunder or under any other Loan Document or any action or proceeding relating to this Agreement or any other Loan Document or the enforcement of rights hereunder or thereunder, (f) subject to an agreement containing provisions substantially the same as those of this Section, to (i) any Eligible Assignee of or Participant in, or any prospective Eligible Assignee of or Participant in, any of its rights or obligations under this Agreement or (ii) any actual or prospective party (or its Lender-Related Parties) to any swap, derivative or other transaction under which payments are to be made by reference to the Borrower and its obligations, this Agreement or payments hereunder, (g) on a confidential basis to (i) any rating agency in connection with rating the Borrower or its Subsidiaries or the credit facilities provided hereunder or (ii) the CUSIP Service Bureau or any similar agency in connection with the issuance and monitoring of CUSIP numbers or other market identifiers with respect to the credit facilities provided hereunder, (h) with the consent of the Borrower or (i) to the extent such Information (i) becomes publicly available other than as a result of a breach of this Section or (ii) becomes available to the Administrative Agent, any Lender, any Issuer or any of their respective Affiliates on a nonconfidential basis from a source other than the Borrower. In addition, the Administrative Agent and the Lenders may disclose the existence of this Agreement and information about this Agreement to market data collectors, similar service providers to the lending industry and service providers to the Agents and the Lenders in connection with the administration of this Agreement, the other Loan Documents, and the Commitments.\nFor purposes of this Section, “Information” means all information of a non-public, confidential and proprietary nature received from the Borrower or any Subsidiary relating to the\nBorrower or any Subsidiary or any of their respective businesses, other than any such information that is available to the Administrative Agent, any Lender or any Issuer on a nonconfidential basis prior to disclosure by the Borrower or any Subsidiary. Any Person required to maintain the confidentiality of Information as provided in this Section shall be considered to have complied with its obligation to do so if such Person has exercised the same degree of care to maintain the confidentiality of such Information as such Person would accord to its own confidential information.\nThe Administrative Agent, the Lenders and the Issuers acknowledge that (a) the Information may include material non-public information concerning the Borrower or a Subsidiary, as the case may be, (b) it has developed compliance procedures regarding the use of material non-public information and (c) it will handle such material non-public information in accordance with applicable law, including Federal and state securities laws.\n15.18 Interest Rate Limitation. Notwithstanding anything to the contrary contained in any Loan Document, the interest paid or agreed to be paid under the Loan Documents shall not exceed the maximum rate of non-usurious interest permitted by applicable law (the “Maximum Rate”). If the Administrative Agent or any Lender shall receive interest in an amount that exceeds the Maximum Rate, the excess interest shall be applied to the principal of the Loans or, if it exceeds such unpaid principal, refunded to the Borrower. In determining whether the interest contracted for, charged, or received by the Administrative Agent or a Lender exceeds the Maximum Rate, such Person may, to the extent permitted by applicable law, (a) characterize any payment that is not principal as an expense, fee, or premium rather than interest, (b) exclude voluntary prepayments and the effects thereof, and (c) amortize, prorate, allocate, and spread in equal or unequal parts the total amount of interest throughout the contemplated term of the obligations hereunder.\n15.19 Payments Set Aside. To the extent that any payment by or on behalf of the Borrower is made to the Administrative Agent, any Issuer or any Lender, or the Administrative Agent, any Issuer or any Lender exercises its right of setoff, and such payment or the proceeds of such setoff or any part thereof is subsequently invalidated, declared to be fraudulent or preferential, set aside or required (including pursuant to any settlement entered into by the Administrative Agent, such Issuer or such Lender in its discretion) to be repaid to a trustee, receiver or any other party, in connection with any proceeding under any Debtor Relief Law or otherwise, then (a) to the extent of such recovery, the obligation or part thereof originally intended to be satisfied shall be revived and continued in full force and effect as if such payment had not been made or such setoff had not occurred, and (b) each Lender and each Issuer severally agrees to pay to the Administrative Agent upon demand its applicable share (without duplication) of any amount so recovered from or repaid by the Administrative Agent, plus interest thereon from the date of such demand to the date such payment is made at a rate per annum equal to the Federal Funds Rate from time to time in effect. The obligations of the Lenders and the Issuers under clause (b) of the preceding sentence shall survive the payment in full of the Liabilities and the termination of this Agreement.\n15.20 No Advisory or Fiduciary Responsibility. In connection with all aspects of each transaction contemplated hereby (including in connection with any amendment, waiver or other modification hereof or of any other Loan Document), the Borrower acknowledges and agrees that: (i) (A) the arranging and other services regarding this Agreement provided by the Administrative Agent and the Joint Lead Arrangers are arm’s-length commercial transactions between the Borrower and its Affiliates, on the one hand, and the Administrative Agent and the Joint Lead Arrangers, on the other hand, (B) the Borrower has consulted its own legal, accounting, regulatory and tax advisors to the extent it has deemed appropriate, and (C) the Borrower is capable of evaluating, and understands and accepts, the terms, risks and conditions of the transactions contemplated hereby and by the other Loan Documents; (ii) (A) each of the Administrative Agent and the Joint Lead Arrangers is and has been acting solely as a principal and, except as expressly agreed in writing by the relevant parties, has not been, is not, and will not be acting as an advisor, agent or fiduciary for the Borrower or any of its Affiliates, or any other Person and (B) neither the Administrative Agent nor any Joint Lead Arranger has any obligation to the Borrower or any of its Affiliates with respect to the transactions contemplated hereby except those obligations expressly set forth herein and in the other Loan Documents; and (iii) the Administrative Agent and the Joint Lead Arrangers and their respective Affiliates may be engaged in a broad range of transactions that involve interests that differ from those of the Borrower and its Affiliates, and neither the Administrative Agent nor the Joint Lead Arrangers has any obligation to disclose any of such interests to the Borrower or its Affiliates. To the fullest extent permitted by law, the Borrower hereby waives and releases any claims that it may have against the Administrative Agent the Joint Lead Arrangers with respect to any breach or alleged breach of agency or fiduciary duty in connection with any aspect of any transaction contemplated hereby.\n15.21 Electronic Execution of Assignments and Certain Other Documents. The words “execute,” “execution,” “signed,” “signature,” and words of like import in or related to any document to be signed in connection with this Agreement and the transactions contemplated hereby (including Assignment and Assumptions, amendments or other modifications, Loan Requests, waivers and consents) shall be deemed to include electronic signatures, the electronic matching of assignment terms and contract formations on electronic platforms approved by the Administrative Agent, or the keeping of records in electronic form, each of which shall be of the same legal effect, validity or enforceability as a manually executed signature or the use of a paper-based recordkeeping system, as the case may be, to the extent and as provided for in any applicable law, including the Federal Electronic Signatures in Global and National Commerce Act, the New York State Electronic Signatures and Records Act, or any other similar state laws based on the Uniform Electronic Transactions Act; provided that notwithstanding anything contained herein to the contrary, the Administrative Agent is under no obligation to accept electronic signatures in any form or in any format unless expressly agreed to by the Administrative Agent pursuant to procedures approved by it; provided, further that if a Lender requests an original Note, such Lender shall be under no obligation to accept an electronic signature on such Note.\n15.22 Acknowledgement and Consent to Bail-In of EEA Financial Institutions. Notwithstanding anything to the contrary in any Loan Document or in any other agreement, arrangement or understanding among any the parties hereto, each party hereto acknowledges that any liability of any Lender that is an EEA Financial Institution arising under any Loan Document, to the extent such liability is unsecured, may be subject to the write-down and conversion powers of an EEA Resolution Authority and agrees and consents to, and acknowledges and agrees to be bound by, (a) the application of any Write-Down and Conversion Powers by an EEA Resolution Authority to any such liabilities arising hereunder that may be payable to it by any Lender that is an EEA Financial Institution; and (b) the effects of any Bail-in Action on any such liability, including, if applicable (i) a reduction in full or in part or cancellation of any such liability; (ii) a conversion of all, or a portion of, such liability into shares or other instruments of ownership in such EEA Financial Institution, its parent undertaking, or a bridge institution that may be issued to it or otherwise conferred on it, and that such shares or other instruments of ownership will be accepted by it in lieu of any rights with respect to any such liability under this Agreement or any other Loan Document; or (iii) the variation of the terms of such liability in connection with the exercise of the write-down and conversion powers of any EEA Resolution Authority."}
-{"idx": 12, "level": 3, "span": "[Remainder of page intentionally left blank]\nIN WITNESS WHEREOF, the parties hereto have caused this Agreement to be executed by their respective officers thereunto duly authorized as of the day and year first above written."}
-{"idx": 12, "level": 2, "span": "TRITON CONTAINER INTERNATIONAL LIMITED\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "BANK OF AMERICA, N.A.\n, as Administrative Agent\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "BANK OF AMERICA, N.A.\n, as a Lender and as an Issuer\nBy:\nName: Matthew N. Walt\nTitle: Vice President"}
-{"idx": 12, "level": 3, "span": "MUFG UNION BANK, N.A.\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "SUNTRUST BANK\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 2, "span": "WELLS FARGO BANK, N.A.,\nBy:\nName:\nTitle:"}
-{"idx": 12, "level": 3, "span": "(a) Generally\nExcept as otherwise specifically provided for in this Agreement, no amendment, modification or waiver of, or consent with respect to, any provision of this Agreement, the Notes or any other Loan Document shall in any event be effective unless the same shall be in writing and signed and delivered by the Majority Lenders and acknowledged by the Administrative Agent, and then any such amendment, modification, waiver or consent shall be effective only in the specific instance and for the specific purpose for which given; provided that no amendment, waiver or consent shall:"}
-{"idx": 12, "level": 4, "span": "(i) unless consented to by each Lender affected thereby, (A) increase or extend a Commitment of any Lender or subject any Lender to any additional"}
-{"idx": 12, "level": 4, "span": "(ii) unless consented to by each Lender, (A) waive any condition specified in Section 11.1, (B) change the Percentages or the aggregate unpaid principal amount of the Loans, or the number of Lenders which shall be required to take action hereunder, or the definition of “Majority Lenders” or (C) change any provision of this Section 15.2 or"}
-{"idx": 12, "level": 4, "span": "(iii) unless consented to by Lenders having aggregate Percentages of 66 2/3% or more, amend any provision of this Agreement that would affect the amount of the Borrowing Base in a manner adverse to the Lenders\nNo provision of this Agreement (including Section 13) or of any other Loan Document which relates to the rights or duties of the Administrative Agent shall be amended, modified or waived without the written consent of the Administrative Agent, and no provision of this Agreement or any other Loan Document relating to the rights or duties of any Issuer in its capacity as such shall be amended, modified or waived without the written consent of such Issuer."}
-{"idx": 12, "level": 3, "span": "(b) Most Favored Lending Status\nIf at any time the Borrower is a party to any agreement, instrument or other document relating to Indebtedness of the Borrower that has an aggregate principal amount of at least $20,000,000 (any such agreement, instrument or other document, or amendment, restatement, supplement or other modification thereto, a “More Favorable Lending Agreement”), which agreement, instrument or other document includes any financial covenant (whether affirmative or negative and whether maintenance or incurrence) that is more restrictive on the Borrower than the financial covenants of this Agreement or that is not provided for in this Agreement (any such covenant, a “More Favorable Provision”), then the Borrower shall promptly, and in any event within five Business Days after becoming party to such More Favorable Lending Agreement, notify the Administrative Agent (which shall promptly advise each Lender) of such More Favorable"}
-{"idx": 12, "level": 3, "span": "(a) Notices Generally\nExcept as otherwise expressly provided herein, any notice hereunder to the Borrower, the Administrative Agent, any Issuer or any Lender shall be in writing (including facsimile communication) and shall be given (i) if to the Borrower or the Administrative Agent, at its address or facsimile number set forth on Schedule 10.2, and (ii) if to any Lender or any Issuer, at its address or facsimile number set forth in its Administrative Questionnaire or, in each case, at such other address or facsimile number as the recipient may, by written notice, designate as its address or facsimile number for purposes of notices hereunder. All such notices shall be deemed to be given when transmitted by facsimile, when personally delivered or, in the case of a mailed notice, when sent by registered or certified mail, postage prepaid, in each case addressed as specified in this Section 15.3;"}
-{"idx": 12, "level": 3, "span": "(b) Electronic Communications\nNotices and other communications to the Lenders and the Issuers hereunder may be delivered or furnished by electronic communication (including e-mail, FpML messaging, and Internet or intranet websites) pursuant to procedures approved by the Administrative Agent, provided that the foregoing shall not apply to notices to any Lender or any Issuer pursuant to Section 2 if such Lender or such Issuer, as applicable, has notified the Administrative Agent that it is incapable of receiving notices under such Article by electronic communication. The Administrative Agent, the Issuers or the Borrower may each, in its discretion, agree to accept notices and other communications to it hereunder by electronic communications pursuant to procedures approved by it, provided that approval of such procedures may be limited to particular notices or communications."}
-{"idx": 12, "level": 3, "span": "(c) The Platform\nThe Borrower hereby acknowledges that the Administrative Agent and/or the Joint Lead Arrangers may, but shall not be obligated to, make available to the Lenders and the Issuers materials and/or information provided by or on behalf of the Borrower hereunder (collectively, “Borrower Materials”) by posting the Borrower Materials on IntraLinks, Syndtrak, ClearPar or a substantially similar electronic transmission system (the “Platform”). THE PLATFORM IS PROVIDED “AS IS” AND “AS AVAILABLE”. THE ADMINISTRATIVE AGENT PARTIES (AS DEFINED BELOW) DO NOT WARRANT THE ACCURACY OR COMPLETENESS OF THE BORROWER MATERIALS OR THE ADEQUACY OF THE PLATFORM, AND EXPRESSLY DISCLAIM LIABILITY FOR ERRORS IN OR OMISSIONS FROM THE BORROWER MATERIALS. NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OF THIRD PARTY RIGHTS OR FREEDOM FROM VIRUSES OR OTHER CODE DEFECTS, IS MADE BY ANY ADMINISTRATIVE AGENT PARTY IN CONNECTION WITH THE BORROWER"}
-{"idx": 12, "level": 3, "span": "(d) Reliance by the Administrative Agent, the Issuers and the Lenders\nThe Administrative Agent, the Issuers and the Lenders shall be entitled to rely and act upon any notices (including telephonic notices, Loan Requests, and Issuance Requests) purportedly given by or on behalf of the Borrower even if (i) such notices were not made in a manner specified herein, were incomplete or were not preceded or followed by any other form of notice specified herein, or (ii) the terms thereof, as understood by the recipient, varied from any confirmation thereof. The Borrower shall indemnify the Administrative Agent, each Issuer, each Lender and the Lender-Related Parties of each of them from all losses, costs, expenses and liabilities resulting from the reliance by such Person on each notice purportedly given by or on behalf of the Borrower. All telephonic notices to and other telephonic communications with the Administrative Agent may be recorded by the Administrative Agent, and each of the parties hereto hereby consents to such recording."}
-{"idx": 12, "level": 3, "span": "(a) The Borrower shall pay (i) all reasonable out of pocket expenses incurred by the Administrative Agent and its Affiliates (including the reasonable fees, charges and disbursements of counsel for the Administrative Agent (including the reasonable fees, charges and disbursements of in-house counsel, provided such fees and expenses are set forth in reasonable and appropriate detail) and of local counsel, if any, who may be retained by such counsel)), in connection with the syndication of the credit facilities provided for herein, the preparation, negotiation, execution, delivery and administration of this"}
-{"idx": 12, "level": 3, "span": "(b) The Borrower shall indemnify the Administrative Agent (and any subagent thereof), each Lender, each Issuer and each Lender-Related Party of any of the foregoing Persons (each such Person, an “Indemnitee”) against, and hold each Indemnitee harmless from, any and all losses, claims, damages, liabilities and related expenses (including the fees, charges and disbursements of any counsel for any Indemnitee (including the fees and time charges and disbursements for in-house counsel to such Indemnitee, provided such fees and time charges are set forth in reasonable detail)), incurred by any Indemnitee or asserted against any Indemnitee by any Person (including the Borrower but excluding such Indemnitee and its Lender-Related Parties) arising out of, in connection with, or as a result of (i) the execution or delivery of this Agreement, any other Loan Document or any agreement or instrument contemplated hereby or thereby, the performance by the parties hereto of their respective obligations hereunder or thereunder, the consummation of the transactions contemplated hereby or thereby, or, in the case of the Administrative Agent (and any sub-agent thereof) and its Lender-Related Parties only, the administration of this Agreement and the other Loan Documents, (ii) any Loan or Letter of Credit or the use or proposed use of the proceeds therefrom (including any refusal by any 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), (iii) any actual or alleged presence or release of Hazardous Materials on or from any property owned or operated by the Borrower or any of its Subsidiaries, or any other liability under any Environmental Law related in any way to the Borrower or any of its Subsidiaries, or (iv) any actual or prospective claim,"}
-{"idx": 12, "level": 3, "span": "(c) To the extent that the Borrower for any reason fails to indefeasibly pay any amount required under clause (a) or (b) above to be paid by it to the Administrative Agent (or any sub-agent thereof), any Issuer or any Lender-Related Party of any of the foregoing, each Lender severally agrees to pay to the Administrative Agent (or any such sub-agent), such Issuer or such Lender-Related Party, as the case may be, such Lender’s pro rata share (determined as of the time that the applicable unreimbursed expense or indemnity payment is sought based on each Lender’s Percentage at such time) of such unpaid amount (including any such unpaid amount in respect of a claim asserted by such Lender), provided, further, that the unreimbursed expense or indemnified loss, claim, damage, liability or related expense, as the case may be, was incurred by or asserted against the Administrative Agent (or any such sub-agent) or any Issuer in its capacity as such, or against any Lender-Related Party of any of the foregoing acting for the Administrative Agent (or any such sub-agent) or any Issuer in connection with such capacity\nThe obligations of the Lenders under this clause (c) are several and not joint."}
-{"idx": 12, "level": 3, "span": "(d) To the fullest extent permitted by applicable law, the Borrower shall not assert, and hereby waives, and acknowledges that no other Person shall have, any claim against any Indemnitee, on any theory of liability, for special, indirect, consequential or punitive damages (as opposed to direct or actual damages) arising out of, in connection with, or as a result of, this Agreement, any other Loan Document or any agreement or instrument contemplated hereby, the transactions contemplated hereby or thereby, any Loan or Letter of Credit or the use of the proceeds thereof\nNo Indemnitee referred to in clause (b) above shall be liable for any damages arising from the use by unintended recipients of any information or other materials distributed by it through telecommunications, electronic or other information transmission systems in connection with this Agreement or the other Loan Documents or the transactions contemplated hereby or thereby."}
-{"idx": 12, "level": 3, "span": "(e) All amounts due under this Section shall be payable on demand."}
-{"idx": 12, "level": 3, "span": "(f) The agreements in this Section and the indemnity provisions in Section 15.3(d) shall survive the resignation of the Administrative Agent and Bank of America in its capacity as an Issuer, the replacement of any Lender, the termination of the Commitments and the repayment, satisfaction or discharge of all the other obligations of the Borrower under this Agreement and the other Loan Documents."}
-{"idx": 12, "level": 3, "span": "(a) Any Lender may at any time assign to one or more Eligible Assignees all or a portion of its rights and obligations under this Agreement (including all or a portion of its Commitments and the Loans (including participations in Letters of Credit) at the time owing to it); provided that"}
-{"idx": 12, "level": 4, "span": "(i) except in the case of an assignment (x) of the entire remaining amount of the assigning Lender’s Commitments and the Loans at the time owing to it or (y) to a Lender or an Affiliate of a Lender, the aggregate amount of the Commitment of such Lender (which for this purpose includes Loans outstanding thereunder) or, if the Commitments are not then in effect, the principal outstanding balance of the Loans of the assigning Lender subject to each such assignment, determined as of the date the Assignment and Assumption with respect to such assignment is delivered to the Administrative Agent or, if “Trade Date” is specified in the Assignment and Assumption, as of the Trade Date, shall not be less than $10,000,000 unless each of the Administrative Agent and, so long as no Event of Default has occurred and is continuing, the Borrower otherwise consents (each such consent not to be unreasonably withheld or delayed); provided that, except in the case of an assignment"}
-{"idx": 12, "level": 4, "span": "(ii) each partial assignment shall be made as an assignment of a proportionate part of all the assigning Lender’s rights and obligations under this Agreement with respect to the Loans or the Commitments assigned;"}
-{"idx": 12, "level": 4, "span": "(iii) any assignment of a Commitment must be approved by the Administrative Agent and the Issuers unless the Person that is the proposed assignee is itself a Lender (whether or not the proposed assignee would otherwise qualify as an Eligible Assignee); and"}
-{"idx": 12, "level": 4, "span": "(iv) the parties to each assignment shall execute and deliver to the Administrative Agent an Assignment and Assumption, together with a processing and recordation fee in the amount, if any, required as set forth in Schedule 15.8, and the Eligible Assignee, if it shall not be a Lender, shall deliver to the Administrative Agent an Administrative Questionnaire."}
-{"idx": 12, "level": 3, "span": "(b) The Administrative Agent, acting solely for this purpose as an agent of the Borrower, shall maintain at the Administrative Agent’s Office a copy of each Assignment"}
-{"idx": 12, "level": 3, "span": "(c) Any Lender may at any time, without the consent of, or notice to, the Borrower or the Administrative Agent, sell participations to any Person (other than a natural Person, or a holding company, investment vehicle or trust for, or owned and operated for the primary benefit of, a natural Person), a Defaulting Lender, a Disqualified Person, the Borrower or any of the Borrower’s Affiliates or Subsidiaries) (each, a “Participant”) in all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it); provided that (i) such Lender’s obligations under this Agreement shall remain unchanged, (ii) such Lender shall remain solely responsible to the other parties hereto for the performance of such obligations, (iii) such Participant shall be bound by Section 15.17 and (iv) the Borrower, the Administrative Agent, the Lenders and the Issuers shall continue to deal solely and directly with such Lender in connection with such Lender’s rights and obligations under this Agreement\nNotwithstanding anything to the contrary herein, a Lender may not enter into any agreement or arrangement with the Borrower or any of the Borrower’s Affiliates or Subsidiaries that would have an economic effect substantially similar to an assignment or a participation of all or a portion of such Lender’s rights and/or obligations under this Agreement (including all or a portion of its Commitments and/or Loans (including such Lender’s participations in Letters of Credit) owing to it). For the avoidance of doubt, each Lender shall be responsible for the indemnity under Section 15.5(c) without regard to the existence of any participation."}
-{"idx": 12, "level": 3, "span": "(d) Any agreement or instrument pursuant to which a Lender sells such a participation shall provide that such Lender shall retain the sole right to enforce this Agreement and to approve any amendment, modification or waiver of any provision of this Agreement; provided that such agreement or instrument may provide that such Lender will not, without the consent of the Participant, agree to any amendment, waiver or other modification described in the proviso to Section 15.2 that affects such Participant\nSubject to clause (e) below, the Borrower agrees that each Participant shall be entitled to the benefits of Sections 7.1, 7.5 and 7.8 to the same extent as if it were a Lender and had acquired its interest by assignment pursuant to clause (a) above. To the extent permitted by law, each"}
-{"idx": 12, "level": 3, "span": "(e) A Participant shall not be entitled to receive any greater payment under Section 7.1 or 7.8 than the applicable Lender would have been entitled to receive with respect to the participation sold to such Participant, unless the sale of the participation to such Participant is made with the Borrower’s prior written consent\nA Participant that is organized under the laws of a jurisdiction other than the United States shall not be entitled to the benefits of Section 7.8 unless the Borrower is notified of the participation sold to such Participant and such Participant agrees, for the benefit of the Borrower, to comply with the last paragraph of Section 7.8 as though it were a Lender."}
-{"idx": 12, "level": 3, "span": "(f) Any Lender may at any time pledge or assign a security interest in all or any portion of its rights under this Agreement (including under its Note, if any) to secure obligations of such Lender, including any pledge or assignment to secure obligations to a Federal Reserve Bank; provided that no such pledge or assignment shall release such Lender from any of its obligations hereunder or substitute any such pledgee or assignee for such Lender as a party hereto."}
-{"idx": 12, "level": 3, "span": "(g) Notwithstanding anything to the contrary contained herein, any Lender (a “Granting Lender”) may grant to a special purpose funding vehicle identified as such in writing from time to time by the Granting Lender to the Administrative Agent and the Borrower (an “SPC”) the option to provide all or any part of any Loan that such Granting Lender would otherwise be obligated to make pursuant to this Agreement; provided that (i) nothing herein shall constitute a commitment by any SPC to fund any Loan, and (ii) if an SPC elects not to exercise such option or otherwise fails to make all or any part of such Loan, the Granting Lender shall be obligated to make such Loan pursuant to the terms hereof or, if it fails to do so, to make such payment to the Administrative Agent as is required under Section 13.9(b)\nEach party hereto hereby agrees that (i) neither the grant to any SPC nor the exercise by any SPC of such option shall increase the costs or expenses or otherwise increase or change the obligations of the Borrower under this Agreement (including its obligations under Section 7.1), (ii) no SPC shall be liable for any indemnity or similar payment obligation under this Agreement for which a Lender would be liable and (iii) the Granting Lender shall for all purposes, including the approval of any amendment, waiver or other modification of any provision of any Loan Document, remain the lender of record hereunder. The making of a Loan by an SPC hereunder shall utilize the Commitment of the Granting Lender to the same extent, and as if, such Loan were made by such Granting Lender. In furtherance of the foregoing, each party hereto hereby agrees (which agreement shall survive the termination of this Agreement) that, prior to the date that is one year and one day after the payment in full of all outstanding commercial paper or other senior debt of any SPC, it will not institute against, or join any other Person in instituting against, such"}
-{"idx": 12, "level": 3, "span": "(h) Notwithstanding anything to the contrary contained herein, if at any time Bank of America assigns all of its Commitments and Loans pursuant to clause (a) above, Bank of America may, upon 30 days’ notice to the Borrower and the Lenders, resign as an Issuer\nIn the event of any such resignation as an Issuer, and if there are no other Issuers at the time of such resignation, the Borrower shall be entitled to appoint from among the Lenders willing to serve in such capacity a successor Issuer hereunder; provided that no failure by the Borrower to appoint any such successor shall affect the resignation of Bank of America as an Issuer. If Bank of America resigns as an Issuer, it shall retain all the rights, powers, privileges and duties of an Issuer hereunder with respect to all Letters of Credit issued by it that are outstanding as of the effective date of its resignation as an Issuer and all Reimbursement Obligations with respect thereto (including the right to require the Lenders to make Loans that are Alternate Base Rate Loans or fund risk participations in Letters of Credit pursuant to Section 5.4). Upon the appointment of a successor Issuer, (i) such successor shall succeed to and become vested with all of the rights, powers, privileges and duties of the retiring Issuer, as the case may be, and (ii) the successor Issuer shall issue letters of credit in substitution for the Letters of Credit, if any, issued by Bank of America that are outstanding at the time of such succession or make other arrangements satisfactory to Bank of America to effectively assume the obligations of Bank of America with respect to such Letters of Credit."}
-{"idx": 12, "level": 4, "span": "(i) Certain Additional Payments\nIn connection with any assignment of rights and obligations of any Defaulting Lender hereunder, no such assignment shall be effective unless and until, in addition to the other conditions thereto set forth herein, the parties to the assignment shall make such additional payments to the Administrative Agent in an aggregate amount sufficient, upon distribution thereof as appropriate (which may be outright payment, purchases by the assignee of participations or subparticipations, or other compensating actions, including funding, with the consent of the Borrower and the Administrative Agent, the applicable pro rata share of Loans previously requested but not funded by the Defaulting Lender, to each of which the applicable assignee and assignor hereby irrevocably consent), to (x) pay and satisfy in full all payment liabilities then owed by such Defaulting Lender to the Administrative Agent, any Issuer or any Lender hereunder"}
-{"idx": 12, "level": 3, "span": "(a) This Agreement is an amendment and restatement of the terms and provisions of the Existing Credit Agreement\nNeither the execution and delivery of this Agreement by the Borrower or any Lender, nor any of the terms or provisions contained herein, shall be construed (a) to be a payment on or with respect to the Indebtedness outstanding under the Existing Credit Agreement or (b) to release, terminate or otherwise adversely affect all or any part of any Lien heretofore granted to or retained by the Collateral Agent with respect to any Collateral. Without limiting the foregoing, the Borrower hereby ratifies and confirms the grant of security interest pursuant to, and all other terms and provisions of, the Security and Intercreditor Agreement, the Intercreditor Collateral Agreement and each other Collateral Document."}
-{"idx": 12, "level": 3, "span": "(b) The Borrower confirms to the Administrative Agent and the Lenders that (i) each Collateral Document continues in full force and effect on the Restatement Effective Date after giving effect to this Agreement and is the legal, valid and binding obligation of the Borrower, enforceable against the Borrower in accordance with its terms, subject to bankruptcy, insolvency and similar laws affecting the enforceability of creditors’ rights generally and to general principles of equity; (ii) the obligations and liabilities secured under each Collateral Document include all obligations and liabilities of the Borrower under this Agreement; and (iii) each reference in the Collateral Documents to the “Credit Agreement” or the “Member Bank Credit Agreement” or similar terms shall, on and after the Restatement Effective Date, be deemed to be a reference to this Agreement."}
-{"idx": 12, "level": 3, "span": "(c) When counterparts executed by all the parties shall have been lodged with the Administrative Agent (or, in the case of any Lender as to which an executed counterpart shall not have been so lodged, the Administrative Agent shall have received facsimile or"}
-{"idx": 12, "level": 3, "span": "(d) The Borrower, the Lenders that are party to the Existing Agreement and Bank of America, N.A., as administrative agent under the Existing Agreement, acknowledge and agree that upon the effectiveness of this Agreement on the Effective Date, the Existing Agreement shall terminate and be of no further force or effect (except that any provision thereof which by its terms survives termination thereof shall continue in full force and effect for the benefit of the applicable party or parties), all without any other action by any Person."}
-{"idx": 13, "level": 0, "span": "FIRST AMENDMENT AGREEMENT\nThis FIRST AMENDMENT to the Credit Agreement referred to below, dated as of April 7, 2017 (this “First Amendment”), by and among COTIVITI CORPORATION, a Delaware corporation as a borrower (the “Top Borrower”), COTIVITI DOMESTIC HOLDINGS, INC., a Delaware corporation (a “Borrower” and together with the Top Borrower, the “Borrowers”), COTIVITI INTERMEDIATE HOLDINGS, INC., a Delaware corporation (“Holdings”), certain subsidiaries of the Top Borrower, as Subsidiary Guarantors, the Lenders under the Credit Agreement immediately prior to the First Amendment Effective Date (as defined below) party hereto, each Consenting Lender (as defined below), the Replacement Lender (as defined below) and JPMORGAN CHASE BANK, N.A., as administrative agent and collateral agent (in such capacity, the “Administrative Agent”). Capitalized terms not otherwise defined in this First Amendment have the same meanings as specified in the Credit Agreement (as defined below), as amended by this First Amendment."}
-{"idx": 13, "level": 1, "span": "RECITALS\nWHEREAS, the Borrowers, Holdings, the several Lenders (as defined in the Credit Agreement) from time to time party thereto and the Administrative Agent, have entered into that certain Amended and Restated First Lien Credit Agreement, dated as of September 28, 2016 (together with all exhibits and schedules attached thereto, as amended, restated, amended and restated, supplemented or otherwise modified prior to the date hereof, the “Credit Agreement”);\nWHEREAS, the Borrowers, the undersigned Lenders (including the Replacement Lender (if applicable)) and the Administrative Agent have agreed to amend the Credit Agreement as hereinafter set forth;\nWHEREAS, each Initial Term B Lender under the Credit Agreement immediately prior to the First Amendment Effective Date (collectively, the “Existing Term Lenders”) that executes and delivers a consent to this First Amendment in the form of the “Term Lender Consent” attached hereto as Annex I (a “Term Lender Consent”) and selects Option A thereunder (the “Continuing Term Lenders”) thereby agrees to the terms and conditions of this First Amendment;\nWHEREAS, each Existing Term Lender that executes and delivers a Term Lender Consent and selects Option B thereunder (the “Non-Continuing Term Lenders” and, together with the Continuing Term Lenders, the “Consenting Term Lenders”) thereby agrees to the terms and conditions of this First Amendment and agrees that it shall execute, or shall be deemed to have executed, a counterpart of the Master Assignment and Assumption Agreement substantially in the form attached hereto as Annex II (a “Master Assignment”) and shall in accordance therewith sell all of its existing Initial Term B Loans as specified in the applicable Master Assignment, as further set forth in this First Amendment;\nWHEREAS, each Existing Term Lender that fails to execute and return a Term Lender Consent by 12:00 p.m. (New York City time), on March 31, 2017 (the “Consent Deadline”) (each, a “Non-Consenting Term Lender”) shall, in accordance with Section 2.19(b) of the Credit Agreement, assign and delegate (or be deemed to assign and delegate), without recourse (in accordance with Section 9.05(b) of the Credit Agreement), all of its interests, rights and obligations under the Credit Agreement and the related Loan Documents in respect of its existing Initial Term B Loans to the Replacement Lender (if any), which shall assume such obligations as specified in the Master Assignment, as further set forth in this First Amendment;\nWHEREAS, each Loan Party party hereto (collectively, the “Reaffirming Parties”, and each, a “Reaffirming Party”) expects to realize substantial direct and indirect benefits as a result of this First Amendment becoming effective and the consummation of the transactions contemplated hereby and agrees\nto reaffirm its obligations pursuant to the Credit Agreement, the Collateral Documents, and the other Loan Documents to which it is a party; and\nNOW, THEREFORE, in consideration of the covenants and agreements contained herein, as well as other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the parties hereto agree as follows:"}
-{"idx": 13, "level": 2, "span": "SECTION 1.\n\t\t\tAmendments to Credit Agreement. The Credit Agreement is, effective as of the First Amendment Effective Date (as defined below), and subject to the satisfaction (or waiver) of the conditions precedent set forth in Section 3 below, hereby amended as follows:"}
-{"idx": 13, "level": 3, "span": "(a)\n\t\t\tDefinitions. Section 1.01 of the Credit Agreement is hereby amended by adding the following new definitions thereto in proper alphabetical order:\n“First Amendment” means that certain First Amendment to Credit Agreement, dated as of April 7, 2017, among the Borrowers, Holdings, the Subsidiary Guarantors, the Administrative Agent and the Lenders party thereto.\n“First Amendment Effective Date” shall mean April 7, 2017."}
-{"idx": 13, "level": 3, "span": "(b)\n\t\t\tAlternate Base Rate. The definition of “Alternate Base Rate” in Section 1.01 of the Credit Agreement is hereby amended and restated in its entirety as follows:\n“Alternate Base Rate” means, for any day, a rate per annum equal to the highest of (a) the NYFRB Rate in effect on such day plus 0.50%, (b) to the extent ascertainable, the Published LIBO Rate (which rate shall be calculated based upon an Interest Period of one month and shall be determined on a daily basis) plus 1.00%, (c) the Prime Rate and (d) solely with respect to the Initial Term B Loans prior to the First Amendment Effective Date, 1.75% per annum. Any change in the Alternate Base Rate due to a change in the Prime Rate, the NYFRB Rate or the Published LIBO Rate, as the case may be, shall be effective from and including the effective date of such change in the Prime Rate, the NYFRB Rate or the Published LIBO Rate, as the case may be."}
-{"idx": 13, "level": 3, "span": "(c)\n\t\t\tApplicable Rate. Clause (a) of the definition of “Applicable Rate” in Section 1.01 of the Credit Agreement is hereby amended and restated in its entirety as follows:\n“Applicable Rate” means, for any day, (a)(x) at any time prior to the First Amendment Effective Date, with respect to any Initial Term B Loan, subject to the last paragraph of this definition, a percentage per annum equal to 1.75% for ABR Loans and 2.75% for LIBO Rate Loans, and (y) from and after the First Amendment Effective Date, with respect to any Initial Term B Loan, subject to the last paragraph of this definition, a percentage per annum equal to 1.50% for ABR Loans and 2.50% for LIBO Rate Loans."}
-{"idx": 13, "level": 3, "span": "(d)\n\t\t\tLIBO Rate. Clause (a) of the proviso in the definition of “LIBO Rate” in Section 1.01 of the Credit Agreement is hereby amended and restated in its entirety as follows:\n“; provided that, (a) in no event shall the LIBO Rate (x) solely with respect to the Initial Term B Loans at any time prior to the First Amendment Effective Date, be less than 0.75% per annum and (y) solely with respect to (1) the Initial Term A Loans, (2) the Initial Revolving Loans and (3) after and from the First Amendment Effective Date, the Initial Term B Loans, be less than 0.00% per annum”\n(e)\n\t\t\tSection 2.12(f) of the Credit Agreement is hereby amended by replacing the words “the Closing Date” with the words “the First Amendment Effective Date” in each instance where such term appears."}
-{"idx": 13, "level": 3, "span": "(e)\nSection 2.12(f) of the Credit Agreement is hereby amended by replacing the words “the Closing Date” with the words “the First Amendment Effective Date” in each instance where such term appears."}
-{"idx": 13, "level": 2, "span": "SECTION 2.\n\t\t\tContinuation of Existing Term Loans; Non-Consenting Lenders; Other Terms and Agreements."}
-{"idx": 13, "level": 3, "span": "(a)\n\t\t\tContinuing Lenders. Each Existing Term Lender selecting Option A on the Term Lender Consent hereby consents and agrees to this First Amendment."}
-{"idx": 13, "level": 3, "span": "(b)\n\t\t\tNon-Continuing Term Lenders. Each Existing Term Lender selecting Option B on the Term Lender Consent hereto hereby consents and agrees (subject to the effectiveness of the assignment referred to in the following clause (ii)) to (i) this First Amendment and (ii) sell the entire principal amount of its existing Initial Term B Loans via an assignment on the First Amendment Effective Date pursuant to the Master Assignment. By executing a Term Lender Consent and selecting Option B, each Non-Continuing Term Lender shall be deemed to have executed a counterpart to the Master Assignment to give effect, solely upon the consent and acceptance by the Replacement Lender, to the assignment described in the immediately preceding sentence."}
-{"idx": 13, "level": 3, "span": "(c)\n\t\t\tNon-Consenting Term Lenders. The Top Borrower hereby gives notice to each Non-Consenting Term Lender that, upon receipt of Lender Consents from Lenders holding more than 50% of the aggregate outstanding principal amount of the Initial Term B Loans immediately prior to the First Amendment Effective Date, if such Non-Consenting Term Lender has not executed and delivered a Term Lender Consent on or prior to the Consent Deadline, such Non-Consenting Term Lender shall, pursuant to Section 2.19(b) of the Credit Agreement, execute or be deemed to have executed a counterpart of the Master Assignment and shall in accordance therewith sell its Existing Terms Loans as specified in the Master Assignment. Pursuant to the Master Assignment, each Non-Consenting Term Lender shall sell and assign the entire outstanding principal amount of its Existing Term Loans as set forth in Schedule I to the Master Assignment, as such Schedule is completed by the Administrative Agent on or prior to the First Amendment Effective Date, to JPMorgan Chase Bank, N.A., as assignee (in such capacity the “Replacement Lender”) under such Master Assignment, solely upon the consent and acceptance by the Replacement Lender. The Replacement Lender shall be deemed to have consented to this First Amendment with respect to such purchased Initial Term B Loans at the time of such assignment."}
-{"idx": 13, "level": 2, "span": "SECTION 3.\n\t\t\tConditions of Effectiveness. The effectiveness of this First Amendment (including the amendments contained in Section 1 and agreements contained in Section 2) are subject to the satisfaction (or waiver) of the following conditions (the date of satisfaction of such conditions being referred to herein as the “First Amendment Effective Date”):\n(a)\n\t\t\tThis First Amendment shall have been duly executed by the Borrowers, Holdings, the Subsidiary Guarantors and the Administrative Agent (which may include a copy transmitted by facsimile or other electronic method), and delivered to the Administrative Agent, and the Lenders under the Credit Agreement consisting of Lenders holding more than 50% of the aggregate outstanding principal amount of the Initial Term B Loans immediately prior to the First Amendment Effective Date."}
-{"idx": 13, "level": 3, "span": "(b)\n\t\t\tThe Administrative Agent shall have received a certificate signed by a Responsible Officer of the Top Borrower as to the matters set forth in paragraphs (d) and (e) of this Section 3;\n(c)\n\t\t\tThe Administrative Agent shall have received (i) a certificate of each Loan Party, dated the First Amendment Effective Date and executed by a secretary, assistant secretary or other Responsible Officer thereof, which shall (A) certify that either (x) (i) attached thereto is a true and complete copy of the\ncertificate or articles of incorporation, formation or organization of such Loan Party certified by the relevant authority of its jurisdiction of organization and that such certificate or, if applicable, such articles of incorporation, formation or organization of such Loan Party attached thereto have not been amended, repealed, modified or restated (except as attached thereto) since the date reflected thereon or (ii) the certificate or articles of incorporation, formation or organization of such Loan Party delivered on the Closing Date to the Administrative Agent have not been amended, repealed, modified or restated and are in full force and effect, (y) (i) attached thereto is a true and correct copy of the by-laws or operating, management, partnership or similar agreement of such Loan Party, together with all amendments thereto as of the Closing Date and such by-laws or operating, management, partnership or similar agreement are in full force and effect or (ii) if applicable, the by-laws or operating, management, partnership or similar agreement of such Loan Party, together with all amendments thereto delivered on the Closing Date have not been amended, repealed, modified or restated and are in full force and effect and (z) attached thereto is a true and complete copy of the resolutions or written consent, as applicable, of its board of directors, board of managers, sole member or other applicable governing body authorizing the execution and delivery of this First Amendment and any related Loan Documents, which resolutions or consent have not been modified, rescinded or amended (other than as attached thereto) and are in full force and effect, and (B) identify by name and title and bear the signatures of the officers, managers, directors or authorized signatories of such Loan Party authorized to sign this First Amendment or any of such other Loan Documents to which such Loan Party is a party on the Closing Date and (ii) a good standing (or equivalent) certificate as of a recent date for such Loan Party from the relevant authority of its jurisdiction of organization.\n(d)\n\t\t\tNo Default or Event of Default has occurred and is continuing both before and immediately after giving effect to the transactions contemplated hereby;"}
-{"idx": 13, "level": 3, "span": "(c)\nThe Administrative Agent shall have received (i) a certificate of each Loan Party, dated the First Amendment Effective Date and executed by a secretary, assistant secretary or other Responsible Officer thereof, which shall (A) certify that either (x) (i) attached thereto is a true and complete copy of the"}
-{"idx": 13, "level": 3, "span": "(d)\nNo Default or Event of Default has occurred and is continuing both before and immediately after giving effect to the transactions contemplated hereby;"}
-{"idx": 13, "level": 3, "span": "(e)\n\t\t\tThe representations and warranties of the Borrowers and each of the Guarantors set forth in Section 4 of this First Amendment are true and correct;"}
-{"idx": 13, "level": 3, "span": "(f)\n\t\t\tAll fees and expenses required to be paid in connection with this First Amendment or pursuant to that certain engagement letter, dated as of March 28, 2017 (the “Engagement Letter”), by and among the Top Borrower and the Repricing Arrangers (as defined below) and any fee letter entered into by the Top Borrower and any party thereto shall have been paid in full in cash or will be paid in full in cash on the First Amendment Effective Date, including, without limitation, all reasonable and documented out-of-pocket expenses incurred by the Repricing Arrangers, the Administrative Agent and their respective Affiliates in connection with the execution and delivery of this First Amendment."}
-{"idx": 13, "level": 3, "span": "(g)\n\t\t\tThe Replacement Lender, if any, shall have executed and delivered the Master Assignment contemplated by Section 2 above and all conditions to the consummation of the assignments in accordance with Section 2 above shall have been satisfied and such assignments shall have been consummated."}
-{"idx": 13, "level": 3, "span": "(h)\n\t\t\tThe Borrowers shall have, substantially concurrently with the effectiveness of this First Amendment, paid to each Non-Consenting Term Lender all accrued interest, fees and other amounts payable to such Non-Consenting Term Lender under any Loan Document with respect to the Initial Term B Loans assigned by such Non-Consenting Term Lender under Section 2(c) above (other than principal and all other amounts paid to such Non-Consenting Term Lender under Section 2 above), if any, then due and owing to such Non-Consenting Term Lender under the Credit Agreement and the other Loan Documents (immediately prior to the effectiveness of this First Amendment)."}
-{"idx": 13, "level": 3, "span": "(a)\nThis First Amendment shall have been duly executed by the Borrowers, Holdings, the Subsidiary Guarantors and the Administrative Agent (which may include a copy transmitted by facsimile or other electronic method), and delivered to the Administrative Agent, and the Lenders under the Credit Agreement consisting of Lenders holding more than 50% of the aggregate outstanding principal amount of the Initial Term B Loans immediately prior to the First Amendment Effective Date."}
-{"idx": 13, "level": 2, "span": "SECTION 4.\n\t\t\tRepresentations and Warranties. To induce the other parties hereto to enter into this First Amendment, each Loan Party represents and warrants to each of the Lenders and the Administrative Agent that, as of the First Amendment Effective Date:\n(a)\n\t\t\tThis First Amendment has been duly authorized, executed and delivered by each Loan Party party hereto and constitutes, and the Credit Agreement, as amended by this First Amendment constitutes, its legal, valid and binding obligation, enforceable against each such Loan Party in accordance with its terms, subject to the Legal Representations;\n(b)\n\t\t\tThe representations and warranties of Holdings, the Borrowers and the Subsidiary Guarantors set forth in Article 3 of the Credit Agreement (as amended by this First Amendment) and the other Loan Documents are true and correct in all material respects on and as of the First Amendment Effective Date (immediately after giving effect to this First Amendment), except to the extent that such representations and warranties specifically refer to an earlier date or specified period, in which case they shall be true and correct in all material respects as of such earlier date or for such specified period; and\n(c)\n\t\t\tAfter giving effect to this First Amendment and the transactions contemplated hereby, no Default or Event of Default has occurred and is continuing."}
-{"idx": 13, "level": 2, "span": "SECTION 5.\n\t\t\tTop Borrower’s Consent. For purposes of Section 9.05 of the Credit Agreement, the Top Borrower hereby consents to any assignee of the Replacement Lender (in each case otherwise being an Eligible Assignee) becoming a Term Lender in connection with the syndication of the Initial Term B Loans acquired by the Replacement Lender pursuant to Section 2 hereof, to the extent the inclusion of such assignee in the syndicate (and the amount of any assignment allocated thereto) has been disclosed in writing to and agreed by the Top Borrower prior to the First Amendment Effective Date."}
-{"idx": 13, "level": 2, "span": "SECTION 6.\n\t\t\tEffects on Loan Documents. Except as specifically amended herein or contemplated hereby, all Loan Documents shall continue to be in full force and effect and are hereby in all respects ratified and confirmed. The execution, delivery and effectiveness of this First Amendment shall not operate as a waiver of any right, power or remedy of any Lender or the Administrative Agent under any of the Loan Documents, nor constitute a waiver of any provision of the Loan Documents or in any way limit, impair or otherwise affect the rights and remedies of the Lenders or the Administrative Agent under the Loan Documents. Holdings, the Borrowers and each of the Subsidiary Guarantors acknowledges and agrees that, on and after the First Amendment Effective Date, this First Amendment shall constitute a Loan Document for all purposes of the Amended Credit Agreement. On and after the First Amendment Effective Date, each reference in the Amended Credit Agreement to “this Agreement”, “hereunder”, “hereof”, “herein” or words of like import referring to the Credit Agreement, and each reference in the other Loan Documents to “Credit Agreement”, “thereunder”, “thereof” or words of like import referring to the Credit Agreement shall mean and be a reference to the Credit Agreement as amended by this First Amendment, and this First Amendment and the Credit Agreement as amended by this First Amendment shall be read together and construed as a single instrument. Nothing herein shall be deemed to entitle Holdings, the Borrowers nor the Subsidiary Guarantors to a further consent to, or a further waiver, amendment, modification or other change of, any of the terms, conditions, obligations, covenants or agreements contained in the Credit Agreement as amended by this First Amendment or any other Loan Document in similar or different circumstances."}
-{"idx": 13, "level": 3, "span": "(a)\nThis First Amendment has been duly authorized, executed and delivered by each Loan Party party hereto and constitutes, and the Credit Agreement, as amended by this First Amendment constitutes, its legal, valid and binding obligation, enforceable against each such Loan Party in accordance with its terms, subject to the Legal Representations;"}
-{"idx": 13, "level": 3, "span": "(b)\nThe representations and warranties of Holdings, the Borrowers and the Subsidiary Guarantors set forth in Article 3 of the Credit Agreement (as amended by this First Amendment) and the other Loan Documents are true and correct in all material respects on and as of the First Amendment Effective Date (immediately after giving effect to this First Amendment), except to the extent that such representations and warranties specifically refer to an earlier date or specified period, in which case they shall be true and correct in all material respects as of such earlier date or for such specified period; and"}
-{"idx": 13, "level": 3, "span": "(c)\nAfter giving effect to this First Amendment and the transactions contemplated hereby, no Default or Event of Default has occurred and is continuing."}
-{"idx": 13, "level": 2, "span": "SECTION 7.\n\t\t\tIndemnification. The Borrowers hereby confirm that the indemnification provisions set forth in Section 9.03 of the Credit Agreement as amended by this First Amendment shall apply to this First Amendment and the transactions contemplated hereby."}
-{"idx": 13, "level": 2, "span": "SECTION 8.\n\t\t\tRepricing Arrangers. The Borrowers and the Lenders party hereto agree that JPMorgan Chase Bank, N.A., SunTrust Robinson Humphrey, Inc., Goldman Sachs Bank USA, Barclays Bank PLC, Citigroup Global Markets Inc., Credit Suisse Securities (USA) LLC, Morgan Stanley Senior Funding, Inc. and Royal Bank of Canada (each a “Repricing Arranger”) shall be entitled to the privileges, indemnification, immunities and other benefits afforded to the Arrangers under the Credit Agreement as\namended by this First Amendment and (b) except as otherwise agreed to in writing by the Top Borrower and each such Repricing Arranger, each Repricing Arranger shall have no duties, responsibilities or liabilities with respect to this First Amendment, the Credit Agreement as amended by this First Amendment or any other Loan Document (other than, for the avoidance of doubt, any duties, responsibilities or liabilities set forth in this First Amendment, the Credit Agreement or the Engagement Letter)."}
-{"idx": 13, "level": 2, "span": "SECTION 9.\n\t\t\tAmendments; Execution in Counterparts; Severability.\n(a)\n\t\t\tThis First Amendment may not be amended nor may any provision hereof be waived except pursuant to a writing signed by Holdings, each Borrower, each of the Subsidiary Guarantors, the Lenders party hereto and the Administrative Agent; and\n(b)\n\t\t\tTo the extent any provision of this First Amendment is prohibited by or invalid under the applicable law of any jurisdiction, such provision shall be ineffective only to the extent of such prohibition or invalidity and only in such jurisdiction, without prohibiting or invalidating such provision in any other jurisdiction or the remaining provisions of this First Amendment in any jurisdiction."}
-{"idx": 13, "level": 2, "span": "SECTION 10.\n\t\t\tReaffirmation. Each of the Reaffirming Parties, as party to the Credit Agreement and certain of the Collateral Documents and the other Loan Documents, in each case as amended, supplemented or otherwise modified from time to time, hereby (i) acknowledges and agrees that all of its obligations under the Credit Agreement, the Collateral Documents and the other Loan Documents to which it is a party are reaffirmed and remain in full force and effect on a continuous basis, (ii) reaffirms (A) each Lien granted by it to the Administrative Agent for the benefit of the Secured Parties and (B) any guaranties made by it pursuant to any Loan Guaranty, (iii) acknowledges and agrees that the grants of security interests by it contained in the Security Agreement and any other Collateral Document shall remain, in full force and effect after giving effect to the First Amendment, and (iv) agrees that the Obligations include, among other things and without limitation, the payment of any principal or interest on the Initial Term B Loans under the Credit Agreement as amended by this First Amendment. Nothing contained in this First Amendment shall be construed as substitution or novation of the obligations outstanding under the Credit Agreement or the other Loan Documents, which shall remain in full force and effect, except to any extent modified hereby."}
-{"idx": 13, "level": 3, "span": "(a)\nThis First Amendment may not be amended nor may any provision hereof be waived except pursuant to a writing signed by Holdings, each Borrower, each of the Subsidiary Guarantors, the Lenders party hereto and the Administrative Agent; and"}
-{"idx": 13, "level": 3, "span": "(b)\nTo the extent any provision of this First Amendment is prohibited by or invalid under the applicable law of any jurisdiction, such provision shall be ineffective only to the extent of such prohibition or invalidity and only in such jurisdiction, without prohibiting or invalidating such provision in any other jurisdiction or the remaining provisions of this First Amendment in any jurisdiction."}
-{"idx": 13, "level": 2, "span": "SECTION 11.\n\t\t\tAdministrative Agent. The Borrowers acknowledge and agree that JPMorgan Chase Bank, N.A., in its capacity as administrative agent under the Credit Agreement, will serve as Administrative Agent under the Credit Agreement as amended by this First Amendment."}
-{"idx": 13, "level": 2, "span": "SECTION 12.\n\t\t\tGoverning Law; Waiver of Jury Trial; Jurisdiction. THIS FIRST AMENDMENT AND ANY CLAIM, CONTROVERSY OR DISPUTE ARISING UNDER OR RELATED TO THIS FIRST AMENDMENT, WHETHER IN TORT, CONTRACT (AT LAW OR IN EQUITY) OR OTHERWISE, SHALL BE GOVERNED BY, AND CONSTRUED AND INTERPRETED IN ACCORDANCE WITH, THE LAWS OF THE STATE OF NEW YORK. The provisions of Sections 9.10(b), 9.10(c), 9.10(d) and 9.11 of the Credit Agreement are incorporated herein by reference, mutatis mutandis."}
-{"idx": 13, "level": 2, "span": "SECTION 13.\n\t\t\tHeadings. Section headings in this First Amendment are included herein for convenience of reference only, are not part of this First Amendment and are not to affect the construction of, or to be taken into consideration in interpreting, this First Amendment."}
-{"idx": 13, "level": 2, "span": "SECTION 14.\n\t\t\tCounterparts. This First Amendment may be executed by one or more of the parties hereto on any number of separate counterparts, and all of said counterparts taken together shall be\ndeemed to constitute one and the same instrument. Signatures delivered by facsimile or PDF or other electronic means shall have the same force and effect as manual signatures delivered in person."}
-{"idx": 13, "level": 2, "span": "[Remainder of page intentionally left blank.]"}
-{"idx": 13, "level": 2, "span": "[Signature Page to Amendment]"}
-{"idx": 13, "level": 2, "span": "[Signature Page to Amendment]"}
-{"idx": 13, "level": 1, "span": "ANNEX I"}
-{"idx": 13, "level": 2, "span": "INITIAL TERM B LENDER CONSENT TO"}
-{"idx": 13, "level": 2, "span": "FIRST AMENDMENT TO CREDIT AGREEMENT"}
-{"idx": 13, "level": 3, "span": "PROCEDURE FOR INITIAL TERM B LENDERS:\nThe above-named Initial Term B Lender elects to:\nOPTION A – CONSENT TO AMENDMENT AND CONTINUATION OF EXISTING INITIAL TERM B LOANS: ☐ Consent and agree to this First Amendment and agree to continue as an Initial Term B Lender with respect to its entire outstanding principal amount of Initial Term B Loans under the Credit Agreement after giving effect to the First Amendment, or a lower principal amount as reasonably determined by the Lead Arranger.\nOPTION B – CONSENT TO AMENDMENT ONLY: ☐ Consent to the First Amendment and agree to sell and assign its entire outstanding principal amount of Initial Term B Loans under the Credit Agreement after giving effect to the First Amendment, or a lower principal amount as reasonably determined by the Lead Arranger, to the Replacement Lender pursuant to the Master Assignment."}
-{"idx": 13, "level": 1, "span": "Annex I"}
-{"idx": 13, "level": 1, "span": "ANNEX II"}
-{"idx": 13, "level": 2, "span": "FORM OF MASTER ASSIGNMENT AND ASSUMPTION AGREEMENT"}
-{"idx": 13, "level": 2, "span": "FOR COTIVITI CORPORATION."}
-{"idx": 13, "level": 1, "span": "CREDIT AGREEMENT\nThis Assignment and Assumption (the “Assignment and Assumption”) is dated as of the Effective Date set forth below and is entered into by and between each Assignor identified in Section 1 below (each, an “Assignor”) and JPMorgan Chase Bank, N.A. (the “Assignee”). Capitalized terms used but not defined herein shall have the meanings given to them in the First Lien Credit Agreement identified below (as amended, restated, amended and restated, supplemented or otherwise modified from time to time, the “First Lien Credit Agreement”), receipt of a copy of which is hereby acknowledged by the Assignee. The Standard Terms and Conditions set forth in Annex I attached hereto are hereby agreed to and incorporated herein by reference and made a part of this Assignment and Assumption as if set forth herein in full.\nFor an agreed consideration, each Assignor hereby irrevocably sells and assigns to the Assignee, and the Assignee hereby irrevocably purchases and assumes from each Assignor, subject to and in accordance with the Standard Terms and Conditions and the First Lien Credit Agreement, as of the Effective Date inserted by the Administrative Agent as contemplated below, (i) all of the applicable Assignor’s rights and obligations in its capacity as a Term Lender under the First Lien Credit Agreement and any other documents or instruments delivered pursuant thereto to the extent related to the principal amount of Initial Term B Loans identified opposite such Assignor’s name in the table set out in Section 6 below under the caption “Aggregate Amount of Initial Term B Loans held immediately prior to the First Amendment Effective Date” and (ii) to the extent permitted to be assigned under applicable Requirements of Law, all claims, suits, causes of action and any other right of the applicable Assignor (in its capacity as a Term Lender) against any Person, whether known or unknown, arising under or in connection with the First Lien Credit Agreement, any other documents or instruments delivered pursuant thereto or the loan transactions governed thereby or in any way based on or related to any of the foregoing, including contract claims, tort claims, malpractice claims, statutory claims and all other claims at law or in equity related to the rights and obligations sold and assigned pursuant to clause (i) above (the rights and obligations sold and assigned pursuant to clauses (i) and (ii) above being referred to herein collectively as the “Assigned Interest”). Upon the assignment by each Assignor of all of such Assignor’s rights and obligations under the First Lien Credit Agreement immediately prior to the First Amendment Effective Date pursuant to this Assignment and Assumption, such Assignor shall cease to be a party thereto but shall continue to be entitled to the benefits of Sections 2.15, 2.16, 2.17 and 9.03 of the First Lien Credit Agreement with respect to facts and circumstances occurring on or prior to the Effective Date identified below and subject to its obligations hereunder and under Section 9.13 of the First Lien Credit Agreement. Such sale and assignment is (i) subject to acceptance and recording thereof in the Register by the Administrative Agent pursuant to Section 9.05(b)(v) of the First Lien Credit Agreement, (ii) without recourse to the applicable Assignor and (iii) except as expressly provided in this Assignment and Assumption, without representation or warranty by the applicable Assignor.\nBy purchasing the Assigned Interest, the Assignee agrees that, for purposes of that certain First Amendment to Credit Agreement dated as of April 7, 2017 (the “First Amendment”), by and among the Borrowers, Holdings, certain subsidiaries of the Top Borrower, the Required Lenders, the Replacement Lender and the Consenting Lenders referred to therein, the Administrative Agent, it shall be deemed to have consented and agreed to the First Amendment."}
-{"idx": 13, "level": 2, "span": "A-II-1"}
-{"idx": 13, "level": 5, "span": "Effective Date\n: [ ]\n\t\t\n7.THE PARTIES HERETO ACKNOWLEDGE THAT ANY ASSIGNMENT TO ANY DISQUALIFIED INSTITUTION WITHOUT OBTAINING THE REQUIRED CONSENT OF THE TOP BORROWER OR, TO THE EXTENT THE TOP BORROWER’S CONSENT IS REQUIRED UNDER SECTION 9.05 OF THE FIRST LIEN CREDIT AGREEMENT, TO ANY OTHER PERSON, SHALL BE NULL AND VOID, AND, IN THE EVENT OF ANY SUCH ASSIGNMENT (AND ANY ASSIGNMENT TO ANY AFFILIATE OF ANY DISQUALIFIED INSTITUTION (OTHER THAN A BONA FIDE DEBT FUND)), ANY BORROWER SHALL BE ENTITLED TO PURSUE THE REMEDIES DESCRIBED IN SECTION 9.05 OF THE FIRST LIEN CREDIT AGREEMENT.\n\t\t"}
-{"idx": 13, "level": 5, "span": "[Signature Page Follows]"}
-{"idx": 13, "level": 1, "span": "ANNEX II-1\n3.General Provisions. This Assignment and Assumption shall be binding upon, and inure to the benefit of, the parties hereto and their respective successors and permitted assigns. This Assignment and Assumption may be executed in any number of counterparts, which together shall constitute one instrument. Delivery of an executed counterpart of a signature page of this Assignment and Assumption by facsimile or by email as a “.pdf” or “.tif” attachment shall be effective as delivery of a manually executed counterpart of this Assignment and Assumption. This Assignment and Assumption shall be construed in accordance with and governed by the laws of the State of New York."}
-{"idx": 13, "level": 1, "span": "ANNEX II-2"}
-{"idx": 14, "level": 0, "span": "DESIGNATION OF AGENT AGREEMENT\nThis Designation of Agent Agreement (\"Agreement\") is entered effective as of Feburary 23, 2017 by and between Aralez Pharmaceuticals US Inc. (\"Contractor\"), a corporation duly organized and existing under the laws of Pennsylvania with its principal office located at 400 Alexander Park, Princeton, NJ 08540, AstraZeneca Pharmaceuticals LP (\"Agent\"), a corporation duly organized and existing under the laws of Delaware with its principal office located at 1800 Concord Pike, Wilmington, DE 19803 and the United States Government, represented by the Department of Veterans Affairs (the \"Government\").\nWHEREAS, effective October 31, 2016, assets, rights, and interests (\"Purchased Assets\") that are necessary for Contractor to sell and market the pharmaceutical product containing metoprolol succinate as the active pharmaceutical ingredient and distributed under the brand name Toprol-XL® National Drug Codes that are listed in Attachment \"A\" to this Agreement (the \"Product\") were acquired by Aralez Pharmaceuticals Trading DAC;\nWHEREAS, the Government, Contractor, and Agent have entered into a Novation Agreement with an effective date of February 23, 2017, pursuant to which the Government has approved and recognized the Contractor as successor in interest to the VA National Contract No. VA797P-16-C-0035 (the \"VA National Contract\");\nWHEREAS, under a Supply Agreement, dated as of October 31, 2016 (the \"Supply Agreement\") with a term of at least ten years, AstraZeneca AB, a corporate affiliate of Agent, will continue to manufacture and supply the Product that the Contractor will market and sell under the VA National Contract; and\nWHEREAS, under a Transitional Services Agreement, dated as of October 31, 2016 (\"TSA\"), AstraZeneca AB has agreed to perform certain services for a period of time following the transfer of the Purchased Assets to facilitate the transition of the supply, sale, and distribution of the Product.\nNOW THEREFORE, in consideration of the foregoing and in accordance with the mutual agreements and understandings set forth below, Contractor hereby designates Agent as a designated agent for certain limited purposes relating to the VA National Contract.\n1. Designation. The Contractor hereby designates Agent to act as designated agent for the purposes of:\na. Supplying the Product to the Pharmaceutical Prime Vendor Contractors listed in Attachment \"B\" of this Agreement (\"PPV Contractors\") in accordance with the terms of and for the periods prescribed in the Supply Agreement; and\nb. Processing and administering discounts and chargebacks in connection with wholesaler sales of the Product in accordance with the terms of and for the periods prescribed in the VA National Contract and the TSA.\n2. Ordering. The parties understand that the PPV Contractors are responsible for the following activities:\na. Receiving and filling Government orders for the purchase of the Product under the VA National Contract;\nb. Invoicing and billing the Government for such purchases; and\nc. Receiving payment for such purchases from the Government.\n3. Construction and Order of Precedence. Nothing in this Agreement is intended to or shall be construed to add to or alter the rights and obligations set forth in the Supply Agreement and the TSA. In the event of any inconsistency between the provisions of this Agreement and the provisions of the Supply Agreement or the TSA, the provisions of the Supply Agreement or the TSA, as applicable, shall govern. In the event of any inconsistency between the provisions of this Agreement, the Supply Agreement, or the TSA and the VA National Contract, the provisions of the VA National Contract shall govern; provided, however, that the Agent's obligations will not extend beyond those specifically enumerated in the Supply Agreement or the TSA.\n4. No liability to Agent. Nothing in this Agreement shall give rise to any Government liability to Agent under the VA National Contract.\n5. Identity of Contractor. Contractor shall remain the contractor for all purposes under the VA National Contract, and shall ensure that Agent performs its functions as agent in a manner consistent with the terms of the VA National Contract. The Government's recognition of Agent under this Agreement shall not be construed as a waiver of any rights of the Government against Contractor under the VA National Contract.\n6. Expiration of Agreement. This Agreement shall remain in effect until the Government's receipt of Contractor's or Agent's written cancellation of the designation.\n7. Recognition of designation. The Government and the Contractor, by their respective authorized representatives, hereby recognize AstraZeneca Pharmaceuticals LP as designated agent for the limited purposes stated in this Agreement.\nIN WITNESS WHEREOF, the parties have caused this Agreement to be duly executed by their respective authorized representatives."}
-{"idx": 14, "level": 1, "span": "[Signature Page Follows]"}
-{"idx": 14, "level": 2, "span": "1. Designation\nThe Contractor hereby designates Agent to act as designated agent for the purposes of:"}
-{"idx": 14, "level": 2, "span": "2. Ordering\nThe parties understand that the PPV Contractors are responsible for the following activities:"}
-{"idx": 14, "level": 2, "span": "3. Construction and Order of Precedence\nNothing in this Agreement is intended to or shall be construed to add to or alter the rights and obligations set forth in the Supply Agreement and the TSA. In the event of any inconsistency between the provisions of this Agreement and the provisions of the Supply Agreement or the TSA, the provisions of the Supply Agreement or the TSA, as applicable, shall govern. In the event of any inconsistency between the provisions of this Agreement, the Supply Agreement, or the TSA and the VA National Contract, the provisions of the VA National Contract shall govern; provided, however, that the Agent's obligations will not extend beyond those specifically enumerated in the Supply Agreement or the TSA."}
-{"idx": 14, "level": 2, "span": "4. No liability to Agent\nNothing in this Agreement shall give rise to any Government liability to Agent under the VA National Contract."}
-{"idx": 14, "level": 2, "span": "5. Identity of Contractor\nContractor shall remain the contractor for all purposes under the VA National Contract, and shall ensure that Agent performs its functions as agent in a manner consistent with the terms of the VA National Contract. The Government's recognition of Agent under this Agreement shall not be construed as a waiver of any rights of the Government against Contractor under the VA National Contract."}
-{"idx": 14, "level": 2, "span": "6. Expiration of Agreement\nThis Agreement shall remain in effect until the Government's receipt of Contractor's or Agent's written cancellation of the designation."}
-{"idx": 14, "level": 2, "span": "7. Recognition of designation\nThe Government and the Contractor, by their respective authorized representatives, hereby recognize AstraZeneca Pharmaceuticals LP as designated agent for the limited purposes stated in this Agreement."}
-{"idx": 14, "level": 1, "span": "ATTACHMENT “A”"}
-{"idx": 14, "level": 1, "span": "Toprol-XL National Drug Codes (NDCs)"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1092-05"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1094-05"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1088-05"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1090-05"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1094-35"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1094-05"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1092-35"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1092-05"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1090-35"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1090-05"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1088-35"}
-{"idx": 14, "level": 1, "span": "NDC 00186-1088-05"}
-{"idx": 14, "level": 1, "span": "ATTACHMENT \"B\""}
-{"idx": 14, "level": 1, "span": "VA PHARMACEUTICAL PRIME VENDOR (PPV) CONTRACTOR"}
-{"idx": 14, "level": 1, "span": "McKesson Corporation"}
-{"idx": 14, "level": 1, "span": "One Postal Street, 29th Floor"}
-{"idx": 14, "level": 1, "span": "San Francisco, CA 94101"}
-{"idx": 14, "level": 1, "span": "POC: Mr. Paul Flach"}
-{"idx": 14, "level": 1, "span": "Vice President Government & National Accounts"}
-{"idx": 14, "level": 1, "span": "Phone: [***]"}
-{"idx": 14, "level": 1, "span": "DOD PHARMACEUTICAL PRIME VENDOR (PPV) CONTRACTORS"}
-{"idx": 14, "level": 1, "span": "NOVATION AGREEMENT\nAstraZeneca Pharmaceuticals LP (\"Transferor\"), a Delaware limited partnership and subsidiary of AstraZeneca AB; Aralez Pharmaceuticals US Inc. (\"Transferee\"), a company duly organized and existing under the laws of Delaware and corporate affiliate of Aralez Pharmaceuticals Trading DAC (\"APTD\"); and the United States of America (\"Government\") enter into this Agreement as of October 31, 2016.\n(a) The parlies agree to the following facts:\n(1) The Government, represented by various Contracting Officers of Department of Veterans Affairs (\"VA\"), has entered into VA National Contract No. VA797P-16-C-0035 (\"VA National Contract\") with the Transferor. The term \"the VA National Contract\" as used in this Agreement, includes any and all orders under the VA National Contract made between the Government and the Transferor before the effective date of this Agreement (whether or not performance and payment have been completed and releases executed if the Government or the Transferor has any remaining rights, duties, or obligations). Included in the term \"the VA National Contract\" are also all modifications made tinder the terms and conditions of the VA National Contract between the Government and the Transferee, on or after the effective date of this Agreement.\n(2) As of the date of this Agreement, all assets, rights, and interests of the Transferor required for the Transferee to market and sell Toprol XL® in the United States, including sales under the VA National Contract have been transferred to the APTD, a corporate affiliate of the Transferee, by virtue of an Asset Purchase Agreement dated October 3, 2016. The transfer of assets includes contracts, regulatory approvals, regulatory documentation, product records, domain names, promotional materials, and inventory. Under a ten-year Supply Agreement, AstraZeneca AB will continue to manufacture and supply product that the Transferee will market and sell in the United States, including sales under the VA National Contract.\n(3) The Transferee has acquired rights to all the assets of the Transferor involved in performance of the VA National Contract Agreement by virtue of the above transfer and intra-company agreements between APTD and the Transferee.\n(4) The Transferee has assumed all obligations and liabilities of the Transferor under the VA National Contract by virtue of the above transfer and an intra-company agreements between APTD and the Transferee.\nConfidential / Exempt From Disclosure Under FOIA\n(5) The Transferee is in a position to fully perform all obligations that may exist under the VA National Contract.\n(6) It is consistent with the Government's interest to recognize the Transferee as the successor party to the VA National Contract.\n(7) Evidence of the above transfer has been filed with the Government.\n(b) In consideration of these facts, the parties agree that by this Agreement—\n(1) The Transferor confirms the transfer to the Transferee, and waives any claims and rights against the Government that it now has or may have in the future in connection with the VA National Contract.\n(2) The Transferee agrees to be bound by and to perform the VA National Contract in accordance with the conditions contained in the VA National Contract. The Transferee also assumes all obligations and liabilities of, and all claims against, the Transferor under the VA National Contract as if the Transferee were the original party to the VA National Contract.\n(3) The Transferee ratifies all previous actions taken by the Transferor with respect to the VA National Contract, with the same force and effect as if the action had been taken by the Transferee.\n(4) The Government recognizes the Transferee as the Transferor's successor in interest in and to the VA National Contract. The Transferee by this Agreement becomes entitled to all rights, titles, and interests of the Transferor in and to the VA National Contract as if the Transferee were the original party to the VA National Contract. Following the effective date of this Agreement, the term “Contractor,” as used in the VA National Contract, shall refer to the Transferee.\n(5) Except as expressly provided in this Agreement, nothing in it shall be construed as a waiver of any rights of the VA against the Transferor.\n(6) All payments and reimbursements previously made by the Government to the Transferor, and all other previous actions taken by the under the VA National Contract, shall be considered to have discharged those parts of the Government's obligations under the VA National Contract. All payments and reimbursements made by the Government after the date of this Agreement in the name of or to the Transferor shall have the same force and effect as if\nConfidential / Exempt From Disclosure Under FOIA\nmade to the Transferee, and shall constitute a complete discharge of the Government's obligations under the VA National Contract, to the extent of the amounts paid or reimbursed.\n(7) The Transferor and the Transferee agree that the Government is not obligated to pay or reimburse either of them for, or otherwise give effect to, any costs, taxes, or other expenses, or any related increases, directly or indirectly arising out of or resulting from the transfer of this Agreement, other than those that the Government in the absence of this transfer or Agreement would have been obligated to pay or reimburse under the terms of the contracts.\n(8) The Transferor guarantees payment of all liabilities and the performance of all obligations that the Transferee—\n(i) Assumes under this Agreement; or\n(ii) May undertake in the future should the VA National Contract be modified under their terms and conditions. The Transferor waives notice of, and consents to, any such future modifications.\n(9) The VA National Contract shall remain in full force and effect, except as modified by this Agreement. Each party has executed this Agreement as of the day and year first above written."}
-{"idx": 14, "level": 4, "span": "(a) The parlies agree to the following facts:"}
-{"idx": 14, "level": 5, "span": "(1) The Government, represented by various Contracting Officers of Department of Veterans Affairs (\"VA\"), has entered into VA National Contract No\nVA797P-16-C-0035 (\"VA National Contract\") with the Transferor. The term \"the VA National Contract\" as used in this Agreement, includes any and all orders under the VA National Contract made between the Government and the Transferor before the effective date of this Agreement (whether or not performance and payment have been completed and releases executed if the Government or the Transferor has any remaining rights, duties, or obligations). Included in the term \"the VA National Contract\" are also all modifications made tinder the terms and conditions of the VA National Contract between the Government and the Transferee, on or after the effective date of this Agreement."}
-{"idx": 14, "level": 5, "span": "(2) As of the date of this Agreement, all assets, rights, and interests of the Transferor required for the Transferee to market and sell Toprol XL® in the United States, including sales under the VA National Contract have been transferred to the APTD, a corporate affiliate of the Transferee, by virtue of an Asset Purchase Agreement dated October 3, 2016\nThe transfer of assets includes contracts, regulatory approvals, regulatory documentation, product records, domain names, promotional materials, and inventory. Under a ten-year Supply Agreement, AstraZeneca AB will continue to manufacture and supply product that the Transferee will market and sell in the United States, including sales under the VA National Contract."}
-{"idx": 14, "level": 5, "span": "(3) The Transferee has acquired rights to all the assets of the Transferor involved in performance of the VA National Contract Agreement by virtue of the above transfer and intra-company agreements between APTD and the Transferee."}
-{"idx": 14, "level": 5, "span": "(4) The Transferee has assumed all obligations and liabilities of the Transferor under the VA National Contract by virtue of the above transfer and an intra-company agreements between APTD and the Transferee."}
-{"idx": 14, "level": 5, "span": "(5) The Transferee is in a position to fully perform all obligations that may exist under the VA National Contract."}
-{"idx": 14, "level": 5, "span": "(6) It is consistent with the Government's interest to recognize the Transferee as the successor party to the VA National Contract."}
-{"idx": 14, "level": 5, "span": "(7) Evidence of the above transfer has been filed with the Government."}
-{"idx": 14, "level": 4, "span": "(b) In consideration of these facts, the parties agree that by this Agreement—"}
-{"idx": 14, "level": 5, "span": "(1) The Transferor confirms the transfer to the Transferee, and waives any claims and rights against the Government that it now has or may have in the future in connection with the VA National Contract."}
-{"idx": 14, "level": 5, "span": "(2) The Transferee agrees to be bound by and to perform the VA National Contract in accordance with the conditions contained in the VA National Contract\nThe Transferee also assumes all obligations and liabilities of, and all claims against, the Transferor under the VA National Contract as if the Transferee were the original party to the VA National Contract."}
-{"idx": 14, "level": 5, "span": "(3) The Transferee ratifies all previous actions taken by the Transferor with respect to the VA National Contract, with the same force and effect as if the action had been taken by the Transferee."}
-{"idx": 14, "level": 5, "span": "(4) The Government recognizes the Transferee as the Transferor's successor in interest in and to the VA National Contract\nThe Transferee by this Agreement becomes entitled to all rights, titles, and interests of the Transferor in and to the VA National Contract as if the Transferee were the original party to the VA National Contract. Following the effective date of this Agreement, the term “Contractor,” as used in the VA National Contract, shall refer to the Transferee."}
-{"idx": 14, "level": 5, "span": "(5) Except as expressly provided in this Agreement, nothing in it shall be construed as a waiver of any rights of the VA against the Transferor."}
-{"idx": 14, "level": 5, "span": "(6) All payments and reimbursements previously made by the Government to the Transferor, and all other previous actions taken by the under the VA National Contract, shall be considered to have discharged those parts of the Government's obligations under the VA National Contract\nAll payments and reimbursements made by the Government after the date of this Agreement in the name of or to the Transferor shall have the same force and effect as if"}
-{"idx": 14, "level": 5, "span": "(7) The Transferor and the Transferee agree that the Government is not obligated to pay or reimburse either of them for, or otherwise give effect to, any costs, taxes, or other expenses, or any related increases, directly or indirectly arising out of or resulting from the transfer of this Agreement, other than those that the Government in the absence of this transfer or Agreement would have been obligated to pay or reimburse under the terms of the contracts."}
-{"idx": 14, "level": 5, "span": "(8) The Transferor guarantees payment of all liabilities and the performance of all obligations that the Transferee—"}
-{"idx": 14, "level": 5, "span": "(i) Assumes under this Agreement; or"}
-{"idx": 14, "level": 5, "span": "(ii) May undertake in the future should the VA National Contract be modified under their terms and conditions\nThe Transferor waives notice of, and consents to, any such future modifications."}
-{"idx": 14, "level": 5, "span": "(9) The VA National Contract shall remain in full force and effect, except as modified by this Agreement\nEach party has executed this Agreement as of the day and year first above written."}
-{"idx": 14, "level": 1, "span": "[Signature Page Follows]"}
-{"idx": 14, "level": 1, "span": "Table of Contents"}
-{"idx": 14, "level": 1, "span": "SECTION B - CONTINUATION OF SF 1449 BLOCKS"}
-{"idx": 14, "level": 1, "span": "CONTINUATION OF STANDARD FORM 1449: SCHEDULE OF SUPPLIES/SERVICES\nPlease be advised the following are included in the solicitation and are highlighted here.\nProposals may be delivered to Department of Veterans Affairs, National Acquisition Center, National Contract Service (003A4C), 1st Avenue, 1 Block North of Cermak Road, Building 37, Hines, IL 60141. Proposals will also be accepted in Microsoft Word or PDF form via e-mail to [***] with either a scanned (pdf) copy of the signed SF1449 or a digitally signed copy of the SF 1449. Offerors are not required to submit an original proposal if an electronic proposal was received; however a hard copy of the SF 1449 (only) with an original signature is required no later than 10 days after the posted due date and time if an electronic proposal is submitted. Please note that faxed proposals are not acceptable and will be rejected. Reference FAR 52.212-1(f) regarding timeliness of submission of offers.\nIf the offeror is not the manufacturer of the offered items, the offeror shall submit either: (1) A letter of commitment from the manufacturer to the offeror which will assure the offeror of a source of supply sufficient to satisfy the Government's requirements for the contract period, OR (2) evidence that the offeror will have an uninterrupted source of supply from which to satisfy the Government's requirements for the contract period. \"Manufacturer'' is defined as the entity that measures, mixes, weighs, and compounds the active and inactive ingredients into a capsule or tablet. This requirement shall be met before contract award. Offers that fail to meet this requirement before contract award shall be rejected and shall receive no further consideration. (See Addendum 52.212-1– Instruction to Offerors.\nAward will be made in the aggregate for all line items for the base year, including all four option years. To be considered for award, offerors must propose a price for line items 1, 2a or 2b, 3, 4a or 4b, 5, 6a or 6b, 7, and 8a or 8b for the base year and each option year. Proposals that fail to include a price for the base year and each of the four option years for line items 1, 2a or 2b, 3, 4a or 4b, 5, 6a or 6b, 7, and 8a or 8b shall be rejected and shall receive no further consideration."}
-{"idx": 14, "level": 1, "span": "(Refer to Schedule of Supplies for package size details and estimates)"}
-{"idx": 14, "level": 1, "span": "SCOPE OF CONTRACT"}
-{"idx": 14, "level": 2, "span": "1. INTRODUCTION"}
-{"idx": 14, "level": 2, "span": "1.1 "}
-{"idx": 14, "level": 4, "span": "Background. All Ordering Activities under the Department of Veterans Affairs and all Ordering Activities under the Department of Defense (DOD) acquire their pharmaceutical requirements through their respective Pharmaceutical Prime Vendor Programs (PPV), hereafter referred to as the VA PPV Program and DOD PPV Program or jointly as PPV Programs. The PPV Programs are separate contracts which establish the fees for the distribution of pharmaceutical products that are distributed through the PPV Programs on Federal Government (i.e., Federal Supply Schedules, National Standardization) contracts. A contract resulting from this solicitation establishes the VA National Contract prices for the products listed in the schedule of supplies that will be distributed through the PPV Programs. Section 2.1, \"Government Participants\" lists the PPV Program participants that will be authorized users of the contract resulting from this solicitation. The successful contractor shall be required to be compliant with Pedigree Laws in any of the 50 United States and territories.\n\t\t"}
-{"idx": 14, "level": 2, "span": "1.2 "}
-{"idx": 14, "level": 4, "span": "Purpose and Objectives. The purpose of this solicitation is to establish a supply source that will provide the drugs listed in the schedule for purchase through the PPV Programs. The total annual estimated usage for VA, Federal Health Care Center (FHCC), State Veterans Homes - Option 2 (SVH), DOD, Indian Health Service (IHS), and Bureau of Prisons (BOP) appears on the Schedule of Supplies section of this Solicitation. The objective of such a contract is to ensure availability and consistency of product for nationwide usage and to obtain volume-based, committed use pricing.\n\t\t"}
-{"idx": 14, "level": 2, "span": "1.3 "}
-{"idx": 14, "level": 4, "span": "Government Purchase Compliance. VA, FHCC, SVH (Option 2), DOD, IHS, and BOP will purchase their requirements for the strengths of the drugs listed in the schedule through the PPV Programs except when: (1) the contracted items is/are unavailable to meet the needs of the Government, or (2) an alternate is requested by the prescribing healthcare provider. In the event that either 1 or 2 applies, these instances will be considered exceptions to section C.2 – 52.216-21, Requirements. VA's PPV contract has ordering lock-out procedures in place to support VA contract compliance and to prevent purchases of non-contract products. DOD manages compliance through individual facility tracking reports.\n\t\t"}
-{"idx": 14, "level": 2, "span": "1.4 "}
-{"idx": 14, "level": 4, "span": "Contract Effective Date. The contract effective date shall be 120 days (or sooner upon mutual agreement) after the date of contract award. Before the contract effective date, the PPVs will begin placing orders with the contractor for delivery to multiple PPV distribution centers for distribution to the Government participants under this contract. The contractor shall ensure that sufficient inventory of contract items awarded under this solicitation is available, and that chargeback agreements with the PPVs have been executed sufficiently in advance of the contract effective date to permit the PPVs to begin timely distribution of Government orders by the contract effective date. The current PPVs are listed as attachments \"A\" and \"B\" of this solicitation. The current PPVs may change and the contractor will be notified of any changes in PPV contractors during the term of the contract resulting from this solicitation. Payment terms, time and place of delivery to PPV distribution centers and other businessto-business agreement terms shall be agreed upon between the PPV contractors and the contractor awarded a contract from this solicitation. Within 15 days from receipt of award, the Contracting Officer shall be notified by the contractor awarded a contract from this solicitation if any business-to-businessagreements cannot be reached with the PPVs. Failure or refusal to reach agreement with the PPVs shall constitute sufficient cause for terminating the contract under Federal Acquisition Regulation Part 52.212-4(m), Contract Terms and Conditions-Commercial Items, Termination for Cause.\n\t\t"}
-{"idx": 14, "level": 2, "span": "1.5 "}
-{"idx": 14, "level": 4, "span": "Contract Duration. The contract(s) resulting hereunder will be in effect for one (1) year with four (4) one-year pre-priced option periods that may be exercised by the Government unilaterally.\n\t\t"}
-{"idx": 14, "level": 2, "span": "2. EXTENT OF OBLIGATION"}
-{"idx": 14, "level": 2, "span": "2.1 "}
-{"idx": 14, "level": 4, "span": "Government Participants. The contractor shall provide the products specified in the schedule at the prices awarded herein for the facilities/agencies below:\n\t\t\nAll Department of Veterans Affairs (VA) facilities\nAll Ordering Activities under the Department of Defense (DOD) Pharmaceutical Prime Vendor Program\nIndian Health Service (IHS) facilities\nAll Bureau of Prisons (BOP) facilities\nFederal Health Care Center (FHCC)\nAll Option 2 State Veteran Homes (See paragraph 2.2 State Veteran Homes)\nA database of all facilities authorized to use the VA PPV Program may be downloaded from the National Acquisition Center's web site at http://www.va.gov/oal/business/nc/ppv.asp. The database identifies each state veteran home as option 1 or 2. A database for all facilities authorized to use the DOD PPV Program may be downloaded from the DOD's website at https://www.medicaI.dla.mil/Portal/PrimeVendor/PvPharm/PharmPvOverview.aspx."}
-{"idx": 14, "level": 2, "span": "2.2 "}
-{"idx": 14, "level": 4, "span": "State Veteran Homes (SVH's). There are numerous State Veteran Homes (SVHs) that have entered into sharing agreements with VA Medical Centers (VAMCs). The SVHs with sharing agreements that participate in the VA PPV Program are identified as being one of two types: Option 1 or Option 2.\n\t\t"}
-{"idx": 14, "level": 1, "span": "Option 1: \nThe SVH orders pharmaceuticals directly from the VA PPV and pays the VA PPV for all items purchased. An Option 1 SVH is not eligible for national contract prices awarded under this solicitation unless it is specifically named in the scope of contract or added after award by mutual agreement.\n\t\t"}
-{"idx": 14, "level": 1, "span": "Option 2: \nThe VAMC authorizes the SVH's order, and the VAMC makes payment to the VA PPV for all pharmaceuticals ordered by the SVH. An Option 2 SVH is eligible for the national contract prices awarded under this solicitation.\n\t\t"}
-{"idx": 14, "level": 2, "span": "2.3 "}
-{"idx": 14, "level": 4, "span": "Consolidated Mail Out Patient Pharmacies (CMOPs) (VA ONLY). Many drugs are prescribed and mailed directly to patients' homes in three-month or 90-day supply and VA CMOPs may place an initial order with the VA PPV contractor for up to 30% of the estimated annual contract quantities immediately upon the contract effective date. An initial order of up to 30% of the estimated annual contract quantities may be placed by the VA PPV contractor with the contractor awarded a contract under this solicitation to fulfill the CMOP 30% initial order requirements.\n\t\t"}
-{"idx": 14, "level": 2, "span": "2.4 "}
-{"idx": 14, "level": 4, "span": "Estimated Quantities. The quantities in the schedule reflect the combined usage of all VA (inclusive of FHCC and SVH), DOD, IHS, and BOP activities currently participating in the PPV Programs. These estimated annual requirements do not include those of any other Government agency, including those currently participating in the VA PPV Program (e.g. ICE, Option 1 State Veteran's Homes). The estimated usage cited in the Schedule is the Government's total estimated usage for the strengths listed. There is no expressed or implied guarantee that the estimated quantity will be purchased under this contract. Actual quantities purchased may exceed or be less than those represented.\n\t\t"}
-{"idx": 14, "level": 2, "span": "3. PRODUCT REGISTRATION\nProduct information pertaining to all items offered under this solicitation, including the offeror's unique National Drug Code(s) (NDC), must be submitted to First Data Bank, RxNorm, and Medispan prior to the effective date of contract performance. A New Product Submission Form can be obtained by contacting First Data Bank at (800) 633-3453, extension 566, or via email at http://www.fdbhealth.com/solutions/manufacturer-relations/. RxNorm information can be obtained at http://www.nlm.nih.gov/research/umls/rxnorm/. Medispan information can be obtained at http://www.medispan.com/drug-information-products/."}
-{"idx": 14, "level": 2, "span": "4. NATIONAL CONTRACT ITEM BACKORDERS\nA contract awarded under this solicitation will be the Government's primary source of supply. (See FAR 52.216-21 Requirements) The Government's ability to provide quality healthcare to its patient population is severely impaired when a national contract product is not available due to backorders. The purpose of this clause is to provide guidance to the awarded contractor regarding a temporary solution to national contract item backorders that may be implemented in lieu of the Government terminating the contract for cause. However, consideration of this clause shall not waive any of the Government's rights to terminate the contract for cause in accordance with FAR 52.212-4(m). For purposes of this contract, a backorder occurs when the PPVs issue an order with the contractor awarded a contract for the products in this solicitation, and the complete order quantity is not delivered to the PPVs within 15 days after receipt of order. This includes initial CMOP orders (see section 2.3). If a national contract item is backordered by the PPVs, the VA National Acquisition Center (VANAC) contracting officer will investigate the backorder to determine if the national contract contractor bears responsibility for the backorder. The awarded contractor shall inform the VANAC contracting officer within 4 calendar days after a backorder occurs. In addition to informing the contracting officer of the backorder, the contractor shall provide an estimated date when the backorder will be shipped, and may propose a solution to satisfy the Government's needs for the contract items until the backorder is resolved. The Government reserves the right to accept or reject any possible solutions that the contractor may propose to alleviate a national contract backorder situation. If the contracting officer determines that the contractor bears responsibility for the backorder, and the contractor is not able to provide a solution that is acceptable to the Government, (i.e., acceptable solution to the backorder, in lieu of Termination for Cause), the parties agree that the Government may buy against the contractor by acquiring the same or similar items from another source and billing the contractor for any excess procurement costs. In other words, if the government must purchase product from another vendor because of a national contract backorder, the contractor will issue credit or\nreimburse the Government for the difference between the purchase price and the contract price. After a backorder incident occurs for which the Contractor is responsible, the Government's decision to enter into a buy-against agreement described above will not deprive the Government of its right under Clause 52.212-4 (m) to terminate the contract for a breach of the buy-against agreement, for a subsequent contractor-caused backorder, or for any other sufficient cause."}
-{"idx": 14, "level": 2, "span": "5. PACKAGING REQUIREMENTS\nOfferors must state the exact name of the drug being supplied as it will appear on the label. Offerors shall also provide a unique 11-digit NDC number for all items offered; the NDC number must be specific to the offering company and to the drug being supplied. All bottles of 100 tablets or less must have a child resistant closure. All tablets/capsules must be compatible with automated dispensing units (Baxter ATC Canisters, Opitfill, etc.) Glass bottles are not acceptable. Items are identified in the Schedule of Supplies and in Attachment C."}
-{"idx": 14, "level": 2, "span": "6. BAR CODING\nAll pharmaceutical products provided under this contract shall include bar code labeling at the unit-of use package level. The bar code labeling must be in a linear format that conforms to all GS1-128 (formerly EAN.UCC) or Health Industry Business Communication Council (HIBCC) Health Industry Bar Code (HIBC) supplier labeling standards. The bar code symbology must comply with all GSI or HIBCC parameters including, but not limited to: symbology type or encoded pattern, bar and space dimensions and tolerances, and allowable ratio of wide to narrow elements.\nThe bar code may be any linear bar code symbology such as GS1-128 (formerly EAN.UCC), GSl DataBar (formerly RSS), or Universal Product Code (if the UPC contains the National Drug Code or NDC). The bar code must encode the NDC, either alone or within the GS1 data structure (Global Trade Item Number (GTIN)).\nThe bar code printing must be American National Standards Institute (ANSl)/lnternational Organization for Standardization (ISO)/IEC Quality Grade C or better. Manufacturers and packagers must ensure that production runs include an initial verification check, as well as routine audits to ensure the bar code is printed clearly and consistently to meet the quality standard of Grade C or better. Contractors shall be responsible for ensuring that bar code labels meet the quality requirements specified in this clause prior to shipping pharmaceutical products to any Government Prime Vendor under this contract.\nThe bar code must be on the outside container or wrapper of the medication as well as on the immediate container, unless the bar code is readily visible and machine-readable through the outside container or wrapper. When the bar code is not easily machine-readable through the over wrap, the over wrap should contain the bar code.\nIf applicable, the bar code must go on each cell of a blister pack. Furthermore, the bar code must remain intact under normal conditions of use; thus it should not be printed across the perforations of a blister pack.\nWhen applicable to the symbology used, bar codes shall be surrounded by sufficient quiet zone so that the bar code can be scanned correctly. Bar code placement shall minimize curvature of the bar code. For example, bar codes should be placed in \"ladder orientation\" on vials or bottles to minimize curvature of the bar code. Bar code labeling shall not be placed solely on outer packaging.\nIt is recommended that bar code labeling also include the lot number and expiration date. If two separate distinctive bar codes are used, one for NDC and the other for lot number/expiration date; the lot number and expiration date bar code must not be in close proximity to the NDC barcode or in a format that may be confused with the NDC bar code. When applicable, all Healthcare Distribution Management Association (HDMA) guidelines shall be followed."}
-{"idx": 14, "level": 2, "span": "7. THERAPEUTIC EQUIVALENCE\nOnly products that have received under the Federal Food, Drug and Cosmetic Act a therapeutic equivalence code of \"A\" by the Food and Drug Administration will be considered, unless all drugs in the family group are \"B\" rated. In that case, no award will be made other than to the innovator unless the non-innovator vendor submits acceptable data demonstrating bioequivalence."}
-{"idx": 14, "level": 2, "span": "8. NATIONAL DRUG CODES\nOfferors shall provide a separate and distinct eleven-digit National Drug Code (NDC) Number unique to the offeror (e.g., 00012-3456-78) for each product proposed, in the space provided following each item in block 20 of the SF1449, \"Schedule of Supplies and Prices\" of the solicitation. The first five numbers of the eleven-digit NDC number for each product proposed shall identify the offeror. Offers that fail to provide the information required by this clause by the solicitation closing date shall be rejected and shall receive no further consideration."}
-{"idx": 14, "level": 2, "span": "9. DRUG APPLICATION\nBy signing this solicitation, the offeror certifies that it has on file (if any of the following are required by FDA for the offered drugs) an FDA approved New Drug Application (NDA), an approved abbreviated NDA (ANDA), or a Biologic License approval, as appropriate for the items offered in response to the solicitation."}
-{"idx": 14, "level": 2, "span": "10. RECALLS\nIf a drug recall is initiated for any drug provided under this contract, regardless of whether it is a voluntary recall by the manufacturer or a recall required by the U.S. Food and Drug Administration (FDA); or, if FDA withdraws their approval to manufacture any drug that is included on this contract, the following action shall immediately be taken by the contractor:\nForward two copies of the recall notification along with any pertinent information to:\nChief, Pharmaceutical Division (003A4C4)"}
-{"idx": 14, "level": 4, "span": "VA National Acquisition Center"}
-{"idx": 14, "level": 4, "span": "National Contract Service\n1st Ave., 1 Block North of Cermak Rd., Bldg. 37\nP.O. Box 76, Hines, IL 60141\nFax Number [***]\nDeputy Chief Consultant (M/S119D)"}
-{"idx": 14, "level": 4, "span": "VHA Pharmacy Benefits Management Services\n1st Ave., 1 Block North of Cermak Rd., Bldg. 37, Rm 139\nHines, IL 60141\nFax Number [***]\nManager, Product Recall Office"}
-{"idx": 14, "level": 4, "span": "National Center for Patient Safety"}
-{"idx": 14, "level": 4, "span": "Veterans Health Administration\n24 Frank Lloyd Wright Drive, Lobby M\nAnn Arbor, Ml 48106\n[***]\nPhone Number: [***]\nAll Government Prime Vendors that were sent shipments of the affected product(s)."}
-{"idx": 14, "level": 2, "span": "11. COVERED DRUGS\nShould a covered drug be proposed and awarded as a result of this solicitation, the awarded prices shall meet the requirements of Public Law 102-585, Section 603, the Veterans Healthcare Act of 1992, (38 U.S.C. 8126) and shall apply to all Government participants listed in section 2.1 of the Scope of Contract, regardless of whether the participant is covered under the law. Therefore, prices for the base year and all option years shall not exceed the annually established Federal Ceiling Price (FCP) plus the [***] Cost Recovery Fee (CRF).\nAttention is directed to the fact that although Public Law 102-585, Section 603 applies to covered drugs, competitively negotiated and awarded prices for the base year and any option years exercised by the government will govern unless the annually established FCP results in a price lower than competitively awarded contract prices. In this instance, the contract will be modified bilaterally to reflect the lower annually established FCP plus the [***] CRF.\nBoth parties understand the VA National Contract Service will obtain FCPs from the VA Pharmacy Benefits Management (PBM). The parties agree the FCP will be calculated pursuant to the requirements of Public Law 102-585, Section 603, which includes the contractor's Master Agreement, and Pharmaceutical Pricing Agreement, and any relevant VA Dear Manufacturer Letters.\nContractors submitting a proposal for a covered drug are required to complete the following clause:"}
-{"idx": 14, "level": 1, "span": "MASTER AGREEMENTS AND PHARMACEUTICAL PRICING AGREEMENTS\nIn compliance with Public Law 102-585, Section 603, The Veterans Healthcare Act of 1992, offerors of covered drug products (including biologics) must state below whether they currently have a Master Agreement (MA) and a Pharmaceutical Pricing Agreement (PPA) in place with the Department of Veterans Affairs (VA).\n_X__ YES, Offeror has a MA and PPA in place with the VA______ NO, Offeror does not have a MA and PPA in place with the VA.\nIf the answer to the above is \"No\" and if the prospective contractor is offering covered drug products (including biologics that fall within 21 CFR 600.3), contractor must submit and execute a MA and PPA with its offer. No offer of covered drugs submitted by a manufacturer will be considered for award unless and until the manufacturer has on file with VA's National Acquisition Center an executed MA and PPA."}
-{"idx": 14, "level": 2, "span": "12. COST RECOVERY FEE AND SUBMISSION OF QUARTERLY SALES REPORTS\n(a) Quarterly Sales Reports. The Contractor shall report all contract sales under this contract and submit collected Cost Recovery Fees as follows:\n(1) The Contractor shall accurately report the dollar value, in U.S. dollars and rounded to the nearest whole dollar, of all sales made under this contract by calendar quarter (January 1-March 31, April 1-June 30, July 1-September 30, and October 1-December 31). Reported sales must include all sales made to all authorized contract users, whether shipped directly to the users or through Prime Vendor contractors. The report shall reflect sales by contract line item and shall segment sales by the Department of Veterans Affairs (VA) and Other Government Agencies (OGA). A Cost Recovery Fee equivalent to [***] shall be collected from all contract users. The [***] Cost Recovery Fee shall be imbedded in the awarded contract prices, and offers submitted in response to this solicitation shall include the Cost Recovery Fee in every line item price offered. The reported contract sales shall include the cost recovery fee and each quarterly report shall show the total cost recovery fee amount collected on the reported sales. The Contractor shall maintain a consistent accounting method of sales reporting, based on the Contractor's established commercial accounting practice.\n(2) Contract sales reports are due to the VA contracting officer within 60 calendar days following the completion of each reporting quarter or completion of the contract, whichever occurs first. A report is required even when no billings or invoices are issued or no orders are received during the contract period.\n(3) The sales report signed by an authorized representative of the contractor shall be sent by mail or email to the Contracting Officer. Mailed reports shall be sent to the address listed below. Emailed reports shall be sent to [***]."}
-{"idx": 14, "level": 4, "span": "Department of Veterans Affairs\nNational Acquisition Center (049A1N2)\nP.O. Box 76\nFirst Avenue, 1 Block North of Cermak, Bldg. 37\nHines, IL 60141\n(4) In addition to the submission of quarterly sales reports due to the contracting officer within 60 days after the end of each reporting quarter, contractors shall provide copies of sales reports simultaneously with contractor's cost recovery fee payment submissions via facsimile, to the attention of C.R. Agent Cashier, fax: [***].\n(b) Cost Recovery Fee. The [***] Cost Recovery Fee amount collected and due shall be paid either electronically or by check, and shall be addressed to the \"Department of Veterans Affairs\". When the Contractor has multiple national contracts, the fee may be consolidated into one check. Consolidated payments for multiple contracts shall identify each contract number included, dollar amount remitted for each contract number, and reporting quarter.\nTo ensure that the payment is credited properly, the contractor shall identify the check or electronic transmission as a \"Cost Recovery Fee\" and include a copy of the applicable Sales Report. The Cost Recovery Fee payment is due to the Fiscal Division at the same time the sales report is due to the\ncontracting officer, i.e., within 60 calendar days following the completion of each reporting quarter or completion of the contract.\nCost Recovery Fee payments shall not be combined with any Industrial Fund Fee payments. Contractors shall remit separately any Industrial Fund Fee payments in support of any of the Contractor's Federal Supply Schedule contracts.\nCost recovery fee payments made electronically shall include the following information:\nReceiving Bank Name: [***]"}
-{"idx": 14, "level": 4, "span": "(4) In addition to the submission of quarterly sales reports due to the contracting officer within 60 days after the end of each reporting quarter, contractors shall provide copies of sales reports simultaneously with contractor's cost recovery fee payment submissions via facsimile, to the attention of C.R\nAgent Cashier, fax: [***]."}
-{"idx": 14, "level": 3, "span": "(b) Cost Recovery Fee\nThe [***] Cost Recovery Fee amount collected and due shall be paid either electronically or by check, and shall be addressed to the \"Department of Veterans Affairs\". When the Contractor has multiple national contracts, the fee may be consolidated into one check. Consolidated payments for multiple contracts shall identify each contract number included, dollar amount remitted for each contract number, and reporting quarter."}
-{"idx": 14, "level": 4, "span": "Receiving Bank Contact: [***]\nContact Phone: [***]\nReceiving Bank City, State: [***]\nReceiving Bank Routing/Transit Number: [***]\nReceiving Bank Capability: [***]"}
-{"idx": 14, "level": 4, "span": "Receiving Account Number: [***]\n820 ACH Format used by Receiving Bank: [***]\nContract Number(s): (Contractor shall insert the contract number, which will be assigned by the VA contracting officer at time of award.)\n\t\t\nCost recovery fee payments made in check form shall be made to the attention of \"Department of Veterans Affairs\" and mailed to the following address:\nFiscal Division (901A)\nAttn: C.R. Agent Cashier\nP.O. Box 7005\nHines, IL 60141\n(c) The Government reserves the right to inspect without further notice, such records of the Contractor as pertain to sales under any contract resulting from this solicitation. Willful failure or refusal to furnish the required reports, or falsification thereof, shall constitute sufficient cause for terminating the contract under FAR 52.212-4(m), Contract Terms and Conditions - Commercial Items, Termination for Cause.\n(d) Failure to remit the full amount of the Cost Recovery Fee within 60 calendar days after the end of the applicable reporting period constitutes a contract debt to the United States Government under the terms of Federal Acquisition Regulation (FAR) Subpart 32.6. The Government may exercise all rights under the Debt Collection Improvement Act of 1996, including withholding or setting off payments and interest on the debt (see FAR clause 52.232-17, Interest). Should the Contractor fail to submit the required sales reports, falsify them, or fail to timely pay the Cost Recovery Fee, the Government shall have, in addition to the rights and remedies described in this clause, all other rights and remedies permitted by Federal law and statutes."}
-{"idx": 14, "level": 3, "span": "(c) The Government reserves the right to inspect without further notice, such records of the Contractor as pertain to sales under any contract resulting from this solicitation\nWillful failure or refusal to furnish the required reports, or falsification thereof, shall constitute sufficient cause for terminating the contract under FAR 52.212-4(m), Contract Terms and Conditions - Commercial Items, Termination for Cause."}
-{"idx": 14, "level": 3, "span": "(d) Failure to remit the full amount of the Cost Recovery Fee within 60 calendar days after the end of the applicable reporting period constitutes a contract debt to the United States Government under the terms of Federal Acquisition Regulation (FAR) Subpart 32.6\nThe Government may exercise all rights under the Debt Collection Improvement Act of 1996, including withholding or setting off payments and interest on the debt (see FAR clause 52.232-17, Interest). Should the Contractor fail to submit the required sales reports, falsify them, or fail to timely pay the Cost Recovery Fee, the Government shall have, in addition to the rights and remedies described in this clause, all other rights and remedies permitted by Federal law and statutes."}
-{"idx": 14, "level": 3, "span": "(a) Quarterly Sales Reports\nThe Contractor shall report all contract sales under this contract and submit collected Cost Recovery Fees as follows:"}
-{"idx": 14, "level": 4, "span": "(1) The Contractor shall accurately report the dollar value, in U.S\ndollars and rounded to the nearest whole dollar, of all sales made under this contract by calendar quarter (January 1-March 31, April 1-June 30, July 1-September 30, and October 1-December 31). Reported sales must include all sales made to all authorized contract users, whether shipped directly to the users or through Prime Vendor contractors. The report shall reflect sales by contract line item and shall segment sales by the Department of Veterans Affairs (VA) and Other Government Agencies (OGA). A Cost Recovery Fee equivalent to [***] shall be collected from all contract users. The [***] Cost Recovery Fee shall be imbedded in the awarded contract prices, and offers submitted in response to this solicitation shall include the Cost Recovery Fee in every line item price offered. The reported contract sales shall include the cost recovery fee and each quarterly report shall show the total cost recovery fee amount collected on the reported sales. The Contractor shall maintain a consistent accounting method of sales reporting, based on the Contractor's established commercial accounting practice."}
-{"idx": 14, "level": 4, "span": "(2) Contract sales reports are due to the VA contracting officer within 60 calendar days following the completion of each reporting quarter or completion of the contract, whichever occurs first\nA report is required even when no billings or invoices are issued or no orders are received during the contract period."}
-{"idx": 14, "level": 4, "span": "(3) The sales report signed by an authorized representative of the contractor shall be sent by mail or email to the Contracting Officer\nMailed reports shall be sent to the address listed below. Emailed reports shall be sent to [***]."}
-{"idx": 14, "level": 2, "span": "13. MANUFACTURING FACILITIES/PLACE OF PERFORMANCE\n1. The U.S. Food and Drug Administration (FDA) is the Government agency responsible for providing and enforcing pharmaceutical current Good Manufacturing Practices (GMP) standards for human drugs, pharmaceutical products, biologicals, medical devices, chemical products, medical cylinder oxygen, reagents, diagnostics, test kits and sets included in this solicitation. Only offers from companies that have an acceptable GMP status on record with the FDA for the facilities identified by the offeror in Paragraph 8 below will be considered for award. The FDA will evaluate a prospective offeror for VA procurements only if the offeror has had a qualifying GMP inspection within the previous two years. Before a contract can be awarded, any successful offeror's manufacturing facilities shall have a current acceptable GMP status with FDA, or shall have had an acceptable report from the last FDA facility inspection on record. In the absence of a current GMP evaluation, an offeror is required to include with its proposal documentation on the acceptable outcome of a FDA facility inspection that occurred more than two years prior to submission of the offer.\n2. For any Nutritional/Dietary Supplements offered, documentation of clinical studies that were performed on the offered products pertaining to the therapeutic treatment of patients may be required by the Department of Veterans Affairs National Acquisition Center (VANAC) as a quality assurance measurement. Offerors of Nutritional/Dietary Supplements will be required to adhere to published FDA GMP standards after January 1, 2008.\n3. If at any time during the life of the contract, the contractor's facility or the source from which the contractor obtains any of the products offered on this contract is informed in a FDA \"warning letter\" that it fails to meet FDA current Good Manufacturing Practices (GMPs) (21 CFR Part 210 and 211), and/or a facility's unacceptable FDA GMP status is communicated to the VANAC, the Contracting Officer will apply the procedures outlined in Paragraph 4 of this clause.\n4. The VANAC Contracting officer will review the contractor's (or its source's) unacceptable GMP status with appropriate VHA clinical staff and will either: 1) instruct the contractor to stop the shipment of products listed on this contract that were manufactured and/or packaged in a facility with unacceptable GMP status, or 2) authorize the contractor to continue to supply such contract products for 90 days from the date when unacceptable GMP status was communicated to VANAC, provided that the products have not been subjected to a consumer-level recall. An additional 90 days may be authorized at the discretion of the VANAC Contracting Officer. Contractors are cautioned that products that were manufactured and /or packaged in a facility with unacceptable GMP status and then shipped without written authorization from the VANAC Contracting Officer shall be returned to the contractor at the contractor's risk and expense. The contractor shall have corrected all significant GMP deficiencies or have an acceptable plan with the FDA for the correction of such deficiencies which led to unacceptable status by the end of the 90-day authorization period and any extensions of such period granted by the VANAC Contracting Officer. Additionally, the contractor is responsible for keeping the VANAC Contracting Officer informed of all corrections made and shall provide the VANAC Contracting Officer with: 1) written documentation of the correction plan, 2) Notification from FDA of acceptance of plan, and 3) a copy of any reinspection requests and subsequent reinspection reports, when they are available. If FDA's evaluation of contractor's (or its source's) compliance efforts and/or re-inspection of the non-compliant facility does not result in an acceptable rating by FDA within 90 days from the date when unacceptable GMP status was communicated to VANAC, or by the end of a VANAC Contracting\nOfficer's authorization period (whichever is the greater period of time), the contract may be terminated for cause in accordance with FAR Clause 52.212-4(m). The contractor's (or its source's) failure to correct the GMP deficiencies in a timely manner shall not constitute or give rise to any \"excusable delays\" pursuant to FAR Clause 52.212-4(f). (Nothing in this clause shall be read as limiting the recognized grounds upon which a Contracting Officer may terminate this contract or delete products pursuant to the applicable clause contained in the contract.)\n5. The contractor shall use only the FDA-inspected manufacturing facilities provided in Paragraph 8, below, for the duration of the contract, unless substitution of manufacturing facilities is approved by the VANAC Contracting Officer. In case of any manufacturing facility relocation or substitution of manufacturing facilities, the contractor shall notify the VANAC Contracting Officer of the change, and the contractor shall request approval from the VANAC Contracting Officer to supply the contracted products from the new location. If the change is approved by the VANAC Contracting Officer after an inquiry to FDA for GMP status of the new location, approval will be provided by means of a formal contract modification.\n6. If the products are to be manufactured at more than one location, each manufacturing facility and each facility address shall be listed along with the products manufactured at the facility. Subcontractors (i.e., packagers, labelers, etc.) that participate in the production of the products offered on this solicitation shall also be listed along with their addresses. All facilities described in this paragraph and listed below shall be substantially in compliance with applicable FDA GMP standards prior to contract award.\n7. Offeror shall identify below or by attachment (if additional space is needed), the products offered on this solicitation (products shall be identified by product name and by solicitation item number); whether the offeror manufactures the products; and/or whether the offeror is a distributor of the products offered. \"Manufacturer\" is defined as the entity that measures, mixes, weighs, and compounds the active and inactive ingredients into a capsule or tablet.\n8. If the finished products to be offered are of foreign manufacture, the complete name and address of the manufacturer shall be provided below. The offeror is also required to check the box below that is applicable to its offer. Please note that the information required below must be the name and address of the manufacturing facility, rather than the address of the foreign headquarters, distributor or agent."}
-{"idx": 14, "level": 2, "span": "1. The U.S\nFood and Drug Administration (FDA) is the Government agency responsible for providing and enforcing pharmaceutical current Good Manufacturing Practices (GMP) standards for human drugs, pharmaceutical products, biologicals, medical devices, chemical products, medical cylinder oxygen, reagents, diagnostics, test kits and sets included in this solicitation. Only offers from companies that have an acceptable GMP status on record with the FDA for the facilities identified by the offeror in Paragraph 8 below will be considered for award. The FDA will evaluate a prospective offeror for VA procurements only if the offeror has had a qualifying GMP inspection within the previous two years. Before a contract can be awarded, any successful offeror's manufacturing facilities shall have a current acceptable GMP status with FDA, or shall have had an acceptable report from the last FDA facility inspection on record. In the absence of a current GMP evaluation, an offeror is required to include with its proposal documentation on the acceptable outcome of a FDA facility inspection that occurred more than two years prior to submission of the offer."}
-{"idx": 14, "level": 2, "span": "2. For any Nutritional/Dietary Supplements offered, documentation of clinical studies that were performed on the offered products pertaining to the therapeutic treatment of patients may be required by the Department of Veterans Affairs National Acquisition Center (VANAC) as a quality assurance measurement\nOfferors of Nutritional/Dietary Supplements will be required to adhere to published FDA GMP standards after January 1, 2008."}
-{"idx": 14, "level": 2, "span": "3. If at any time during the life of the contract, the contractor's facility or the source from which the contractor obtains any of the products offered on this contract is informed in a FDA \"warning letter\" that it fails to meet FDA current Good Manufacturing Practices (GMPs) (21 CFR Part 210 and 211), and/or a facility's unacceptable FDA GMP status is communicated to the VANAC, the Contracting Officer will apply the procedures outlined in Paragraph 4 of this clause."}
-{"idx": 14, "level": 2, "span": "4. The VANAC Contracting officer will review the contractor's (or its source's) unacceptable GMP status with appropriate VHA clinical staff and will either: 1) instruct the contractor to stop the shipment of products listed on this contract that were manufactured and/or packaged in a facility with unacceptable GMP status, or 2) authorize the contractor to continue to supply such contract products for 90 days from the date when unacceptable GMP status was communicated to VANAC, provided that the products have not been subjected to a consumer-level recall\nAn additional 90 days may be authorized at the discretion of the VANAC Contracting Officer. Contractors are cautioned that products that were manufactured and /or packaged in a facility with unacceptable GMP status and then shipped without written authorization from the VANAC Contracting Officer shall be returned to the contractor at the contractor's risk and expense. The contractor shall have corrected all significant GMP deficiencies or have an acceptable plan with the FDA for the correction of such deficiencies which led to unacceptable status by the end of the 90-day authorization period and any extensions of such period granted by the VANAC Contracting Officer. Additionally, the contractor is responsible for keeping the VANAC Contracting Officer informed of all corrections made and shall provide the VANAC Contracting Officer with: 1) written documentation of the correction plan, 2) Notification from FDA of acceptance of plan, and 3) a copy of any reinspection requests and subsequent reinspection reports, when they are available. If FDA's evaluation of contractor's (or its source's) compliance efforts and/or re-inspection of the non-compliant facility does not result in an acceptable rating by FDA within 90 days from the date when unacceptable GMP status was communicated to VANAC, or by the end of a VANAC Contracting"}
-{"idx": 14, "level": 2, "span": "5. The contractor shall use only the FDA-inspected manufacturing facilities provided in Paragraph 8, below, for the duration of the contract, unless substitution of manufacturing facilities is approved by the VANAC Contracting Officer\nIn case of any manufacturing facility relocation or substitution of manufacturing facilities, the contractor shall notify the VANAC Contracting Officer of the change, and the contractor shall request approval from the VANAC Contracting Officer to supply the contracted products from the new location. If the change is approved by the VANAC Contracting Officer after an inquiry to FDA for GMP status of the new location, approval will be provided by means of a formal contract modification."}
-{"idx": 14, "level": 2, "span": "6. If the products are to be manufactured at more than one location, each manufacturing facility and each facility address shall be listed along with the products manufactured at the facility\nSubcontractors (i.e., packagers, labelers, etc.) that participate in the production of the products offered on this solicitation shall also be listed along with their addresses. All facilities described in this paragraph and listed below shall be substantially in compliance with applicable FDA GMP standards prior to contract award."}
-{"idx": 14, "level": 2, "span": "7. Offeror shall identify below or by attachment (if additional space is needed), the products offered on this solicitation (products shall be identified by product name and by solicitation item number); whether the offeror manufactures the products; and/or whether the offeror is a distributor of the products offered\n\"Manufacturer\" is defined as the entity that measures, mixes, weighs, and compounds the active and inactive ingredients into a capsule or tablet."}
-{"idx": 14, "level": 2, "span": "8. If the finished products to be offered are of foreign manufacture, the complete name and address of the manufacturer shall be provided below\nThe offeror is also required to check the box below that is applicable to its offer. Please note that the information required below must be the name and address of the manufacturing facility, rather than the address of the foreign headquarters, distributor or agent."}
-{"idx": 14, "level": 1, "span": "( X ) OFFEROR IS THE MANUFACTURER (AT THE FOLLOWING LOCATIONS) OF THE PRODUCTS OFFERED ON THIS SOLICITATION."}
-{"idx": 14, "level": 1, "span": "( ) OFFEROR IS A DISTRIBUTOR OF THE PRODUCTS OFFERED ON THIS SOLICITATION."}
-{"idx": 14, "level": 1, "span": "THE PRODUCTS WILL BE MANUFACTURED BY THE FOLLOWING COMPANY AT THE FOLLOWING LOCATIONS:"}
-{"idx": 14, "level": 1, "span": "PHARMACEUTICALS - PARENTERALS"}
-{"idx": 14, "level": 1, "span": "Solicitation Item # &\n\n\t\t\t\t\t\n\t\t\t\t\t\tProduct Name\nLocation and Owner of Facility where ingredients are measured, weighed, mixed and compounded (Facility Owner Name, Address, City, County, State and Zip Code)Point of Contact including Phone #"}
-{"idx": 14, "level": 1, "span": "PHARMACEUTICALS - PARENTERALS, STERILIZATION"}
-{"idx": 14, "level": 1, "span": "Solicitation Item # &\n\n\t\t\t\t\t\n\t\t\t\t\t\tProduct Name\nSterilization and Owner Location (Facility Owner Name, Address, City, County, State and Zip Code)Point of Contact Including Phone #"}
-{"idx": 14, "level": 1, "span": "TABLETS, CAPSULES AND PILLS"}
-{"idx": 14, "level": 1, "span": "OTHER PHARMACEUTICAL PRODUCTS"}
-{"idx": 14, "level": 1, "span": "(Solutions, syrups, mixtures, powders, ointments, pastes, creams, etc.)"}
-{"idx": 14, "level": 1, "span": "Solicitation Item # &\n\n\t\t\t\t\t\n\t\t\t\t\t\tProduct Name\nLocation and Owner of Facility where Ingredients are measured, weighed, mixed and compounded (Facility Owner Name, Address, City, County, State and Zip CodePoint of Contact Including Phone #"}
-{"idx": 14, "level": 1, "span": "PACKAGING"}
-{"idx": 14, "level": 1, "span": "PACKING"}
-{"idx": 14, "level": 2, "span": "14. INCORPORATION OF DOCUMENTS\nThe following documents are hereby incorporated by reference and made a part of this solicitation. The designation \"USP\" and \"NF\" shall be considered interchangeable when monographs for ingredients or preparations are transferred from one official compendium to the other. For ingredients or preparations which no longer appear in the latest revision of the USP or NF, the previous volume shall apply. Ingredients or preparations for which monographs appear for the first time in the Official Compendia shall comply with the applicable monographs unless the word \"modified\" appears as part of the item name. The requirements that an item or ingredient comply with test standards and requirements of the USP or the NF does not delete any other applicable portions of the compendia, such as, but not limited to, General Notices. Thus, for USP/NF items, alternative test methods are permitted.\nAMERICAN CHEMICAL SOCIETY (ACS), Reagent Chemicals, American Chemical Society Specifications. (Copies are available from Applies Publications, American Chemical Society, Washington, DC 20036.\nU.S. DEPARTMENT OF HEALTH, EDUCATION AND WELFARE, FOOD AND DRUG ADMINISTRATION (FDA). Federal Food, Drug, and Cosmetic Act and Regulations promulgated thereunder. (Copies are available from Superintendent of Documents, U.S. Government Printing Office, Washington, DC 20204).\nU.S. PHARMACOPOEIAL CONVENTION, INC. (USP/NF). Pharmacopoeia of the United States. (Copies are available from Mack Publishing Company, Easton, PA 18042)."}
-{"idx": 14, "level": 1, "span": "SECTION C - CONTRACT CLAUSES"}
-{"idx": 14, "level": 1, "span": "C.1 52.212-4 CONTRACT TERMS AND CONDITIONS–COMMERCIAL ITEMS (MAY 2015) (MAY 5, 2011 DEVIATION)"}
-{"idx": 14, "level": 3, "span": "(a) Inspection/Acceptance "}
-{"idx": 14, "level": 4, "span": "(TAILORED). Products will be ordered by the Government through Government Prime Vendor contracts. The Government's inspection rights become effective upon receipt at the Government ordering facility. The Government reserves the right to inspect or test any supplies or services that have been tendered for acceptance, at the Government's discretion. The contractor shall tender for acceptance only those items that conform to the requirements of this contract. The Government may require repair or replacement of nonconforming supplies or reperformance of nonconforming services at no increase in contract price. If repair/replacement or reperformance will not correct the defects or is not possible, the Government may seek an equitable price reduction or adequate consideration for acceptance of nonconforming supplies or services. The Government must exercise its post-acceptance rights-\n\t\t\n(1) Within a reasonable time after the defect was discovered or should have been discovered; and\n(2) Before any substantial change occurs in the condition of the item, unless the change is due to the defect in the item."}
-{"idx": 14, "level": 4, "span": "(1) Within a reasonable time after the defect was discovered or should have been discovered; and"}
-{"idx": 14, "level": 4, "span": "(2) Before any substantial change occurs in the condition of the item, unless the change is due to the defect in the item."}
-{"idx": 14, "level": 3, "span": "(b) "}
-{"idx": 14, "level": 4, "span": "(DEVIATION) Reserved.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(c) Changes. \nChanges in the terms and conditions of this contract may be made only by written agreement of the parties.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(d) Disputes "}
-{"idx": 14, "level": 4, "span": "(DEVIATION). This contract is subject to the Contract Disputes Act of 1978, as amended (41\n\t\t\nU.S.C. 601-613). Failure of the parties to this contract to reach agreement on any request for equitable adjustment, claim, appeal or action arising under or relating to this contract shall be a dispute to be resolved in accordance with the clause at FAR 52.233-1, Disputes, which is incorporated herein by reference. The Contractor shall proceed diligently with performance of this contract, pending final resolution of any dispute arising under the contract. The Civilian Board of Contract Appeals has jurisdiction over any disputes arising under this contract. Also, a dispute arising between a Contractor and any authorized Government Prime Vendor(s) does not give rise to a \"claim\" under the Disputes Clause, FAR 52.233-1."}
-{"idx": 14, "level": 3, "span": "(e) Definitions. \nThe clause at FAR 52.202-1, Definitions, is incorporated herein by reference.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(f) Excusable delays. \nThe Contractor shall be liable for default unless nonperformance is caused by an occurrence beyond the reasonable control of the Contractor and without its fault or negligence such as, acts of God or the public enemy, acts of the Government in either its sovereign or contractual capacity, fires, floods, epidemics, quarantine restrictions, strikes, unusually severe weather, and delays of common carriers. The Contractor shall notify the Contracting Officer in writing as soon as it is reasonably possible after the commencement of any excusable delay, setting forth the full particulars in connection therewith, shall remedy such occurrence with all reasonable dispatch, and shall promptly give written notice to the Contracting Officer of the cessation of such occurrence.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(g) "}
-{"idx": 14, "level": 4, "span": "(DEVIATION) Reserved.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(h) Patent indemnity. \nThe Contractor shall indemnify the Government and its officers, employees and agents against liability, including costs, for actual or alleged direct or contributory infringement of, or inducement to infringe, any United States or foreign patent, trademark or copyright, arising out of the performance of this contract, provided the Contractor is reasonably notified of such claims and proceedings.\n\t\t"}
-{"idx": 14, "level": 4, "span": "(i) Payment "}
-{"idx": 14, "level": 4, "span": "(DEVIATION). Payment for the items awarded on this contract will be made by the Government at the awarded prices directly to the Government Prime Vendor Contractors upon delivery by the Prime Vendor Contractors to Government ordering facilities.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(j) Risk of loss "}
-{"idx": 14, "level": 4, "span": "(TAILORED). Unless the contract specifically provides otherwise, risk of loss or damage to the supplies provided under this contract shall remain with the Contractor until, and shall pass to the Government upon delivery of supplies to the Government facility. Risk of loss does not pass to the Government upon delivery by the contractor to any Government contracted VA Prime Vendor contractor.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(k) Taxes. \nThe contract price includes all applicable Federal, State, and local taxes and duties.\n\t\t"}
-{"idx": 14, "level": 4, "span": "(I) Termination for the Government's convenience. \nThe Government reserves the right to terminate this contract, or any part hereof, for its sole convenience. In the event of such termination, the Contractor shall immediately stop all work hereunder and shall immediately cause any and all of its suppliers and subcontractors to cease work. Subject to the terms of this contract, the Contractor shall be paid a percentage of the contract price reflecting the percentage of the work performed prior to the notice of termination, plus reasonable charges the Contractor can demonstrate to the satisfaction of the Government using its standard record keeping system, have resulted from the termination. The Contractor shall not be required to comply with the cost accounting standards or contract cost principles for this purpose. This paragraph does not give the Government any right to audit the Contractor's records. The Contractor shall not be paid for any work performed or costs incurred which reasonably could have been avoided.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(m) Termination for cause. \nThe Government may terminate this contract, or any part hereof, for cause in the event of any default by the Contractor, or if the Contractor fails to comply with any contract terms and conditions, or fails to provide the Government, upon request, with adequate assurances of future performance. In the event of termination for cause, the Government shall not be liable to the Contractor for any amount for supplies or services not accepted, and the Contractor shall be liable to the Government for any and all rights and remedies provided by law. If it is determined that the Government improperly terminated this contract for default, such termination shall be deemed a termination for convenience.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(n) Title. \nUnless specified elsewhere in this contract, title to items furnished under this contract shall pass to the Government upon acceptance, regardless of when or where the Government takes physical possession.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(o) Warranty. \nThe Contractor warrants and implies that the items delivered hereunder are merchantable and fit for use for the particular purpose described in this contract.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(p) Limitation of liability "}
-{"idx": 14, "level": 4, "span": "(TAILORED). Except as otherwise provided by an express or implied warranty, the Contractor will not be liable in a breach of warranty action to the Government for consequential damages resulting from any defect or deficiencies in accepted items.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(q) Other compliances. \nThe Contractor shall comply with all applicable Federal, State and local laws, executive orders, rules and regulations applicable to its performance under this contract.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(r) Compliance with laws unique to Government contracts. \nCompliance with laws unique to Government contracts. The Contractor agrees to comply with 31 U.S.C. 1352 relating to limitations on the use of appropriated funds to influence certain Federal contracts; 18 U.S.C. 431 relating to officials not to benefit; 40 U.S.C. chapter 37, Contract Work Hours and Safety Standards; 41 U.S.C. chapter 87, Kickbacks; 41 U.S.C. 4712 and 10 U.S.C. 2409 relating to whistleblower protections; 49 U.S.C. 40118, Fly American; and 41 U.S.C. chapter 21 relating to procurement integrity.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(s) Order of precedence. \nAny inconsistencies in this solicitation or contract shall be resolved by giving precedence in the following order:\n\t\t\n(1) The schedule of supplies/services.\n(2) The Assignments, Disputes, Payments, Invoice, Other Compliances, and Compliance with Laws Unique to Government Contracts paragraphs of this clause.\n(3) The clause at 52.212-5.\n(4) Addenda to this solicitation or contract, including any license agreements for computer software.\n(5) Solicitation provisions if this is a solicitation.\n(6) Other paragraphs of this clause.\n(7) The Standard Form 1449.\n(8) Other documents, exhibits, and attachments\n(9) The specification."}
-{"idx": 14, "level": 4, "span": "(1) The schedule of supplies/services."}
-{"idx": 14, "level": 4, "span": "(2) The Assignments, Disputes, Payments, Invoice, Other Compliances, and Compliance with Laws Unique to Government Contracts paragraphs of this clause."}
-{"idx": 14, "level": 4, "span": "(3) The clause at 52.212-5."}
-{"idx": 14, "level": 4, "span": "(4) Addenda to this solicitation or contract, including any license agreements for computer software."}
-{"idx": 14, "level": 4, "span": "(5) Solicitation provisions if this is a solicitation."}
-{"idx": 14, "level": 4, "span": "(6) Other paragraphs of this clause."}
-{"idx": 14, "level": 4, "span": "(7) The Standard Form 1449."}
-{"idx": 14, "level": 4, "span": "(8) Other documents, exhibits, and attachments"}
-{"idx": 14, "level": 4, "span": "(9) The specification."}
-{"idx": 14, "level": 3, "span": "(t) System for Award Management (SAM).\n(1) Unless exempted by an addendum to this contract, the Contractor is responsible during performance and through final payment of any contract for the accuracy and completeness of the data within the SAM database, and for any liability resulting from the Government's reliance on inaccurate or incomplete data. To remain registered in the SAM database after the initial registration, the Contractor is required to review and update on an annual basis from the date of initial registration or subsequent updates its information in the SAM database to ensure it is current, accurate and complete. Updating information in the SAM does not alter the terms and conditions of this contract and is not a substitute for a properly executed contractual document.\n(2)(i) If a Contractor has legally changed its business name, \"doing business as\" name, or division name (whichever is shown on the contract), or has transferred the assets used in performing the contract, but has not completed the necessary requirements regarding novation and change-of-name agreements in FAR subpart 42.12, the Contractor shall provide the responsible Contracting Officer a minimum of one business day's written notification of its intention to (A) change the name in the SAM database; (B) comply with the requirements of subpart 42.12; and (C) agree in writing to the timeline and procedures specified by the responsible Contracting Officer. The Contractor must provide with the notification sufficient documentation to support the legally changed name.\n(ii) If the Contractor fails to comply with the requirements of paragraph (t)(2)(i) of this clause, or fails to perform the agreement at paragraph (t)(2)(i)(C) of this clause, and, in the absence of a properly executed novation or change-of-name agreement, the SAM information that shows the Contractor to be other than the Contractor indicated in the contract will be considered to be incorrect information within the meaning of the \"Suspension of Payment\" paragraph of the electronic funds transfer (EFT) clause of this contract.\n(3) The Contractor shall not change the name or address for EFT payments or manual payments, as appropriate, in the SAM record to reflect an assignee for the purpose of assignment of claims (see Subpart 32.8, Assignment of Claims). Assignees shall be separately registered in the SAM database. Information provided to the Contractor's SAM record that indicates payments, including those made by\nEFT, to an ultimate recipient other than that Contractor will be considered to be incorrect information within the meaning of the \"Suspension of payment\" paragraph of the EFT clause of this contract.\n(4) Offerors and Contractors may obtain information on registration and annual confirmation requirements via SAM accessed through https://www.acquisition.gov."}
-{"idx": 14, "level": 4, "span": "(1) Unless exempted by an addendum to this contract, the Contractor is responsible during performance and through final payment of any contract for the accuracy and completeness of the data within the SAM database, and for any liability resulting from the Government's reliance on inaccurate or incomplete data\nTo remain registered in the SAM database after the initial registration, the Contractor is required to review and update on an annual basis from the date of initial registration or subsequent updates its information in the SAM database to ensure it is current, accurate and complete. Updating information in the SAM does not alter the terms and conditions of this contract and is not a substitute for a properly executed contractual document."}
-{"idx": 14, "level": 4, "span": "(ii) If the Contractor fails to comply with the requirements of paragraph (t)(2)(i) of this clause, or fails to perform the agreement at paragraph (t)(2)(i)(C) of this clause, and, in the absence of a properly executed novation or change-of-name agreement, the SAM information that shows the Contractor to be other than the Contractor indicated in the contract will be considered to be incorrect information within the meaning of the \"Suspension of Payment\" paragraph of the electronic funds transfer (EFT) clause of this contract."}
-{"idx": 14, "level": 4, "span": "(3) The Contractor shall not change the name or address for EFT payments or manual payments, as appropriate, in the SAM record to reflect an assignee for the purpose of assignment of claims (see Subpart 32.8, Assignment of Claims)\nAssignees shall be separately registered in the SAM database. Information provided to the Contractor's SAM record that indicates payments, including those made by"}
-{"idx": 14, "level": 4, "span": "(4) Offerors and Contractors may obtain information on registration and annual confirmation requirements via SAM accessed through https://www.acquisition.gov."}
-{"idx": 14, "level": 3, "span": "(u) Unauthorized Obligations.\n(1) Except as stated in paragraph (u)(2) of this clause, when any supply or service acquired under this contract is subject to any End User License Agreement (EULA), Terms of Service (TOS), or similar legal instrument or agreement, that includes any clause requiring the Government to indemnify the Contractor or any person or entity for damages, costs, fees, or any other loss or liability that would create an Anti-Deficiency Act violation (31 U.S.C. 1341), the following shall govern:\n(i) Any such clause is unenforceable against the Government.\n(ii) Neither the Government nor any Government authorized end user shall be deemed to have agreed to such clause by virtue of it appearing in the EULA, TOS, or similar legal instrument or agreement. If the EULA, TOS, or similar legal instrument or agreement is invoked through an \"I agree\" click box or other comparable mechanism (e.g., \"click-wrap\" or \"browse-wrap\" agreements), execution does not bind the Government or any Government authorized end user to such clause.\n(iii) Any such clause is deemed to be stricken from the EULA, TOS, or similar legal instrument or agreement.\n(2) Paragraph (u)(1) of this clause does not apply to indemnification by the Government that is expressly authorized by statute and specifically authorized under applicable agency regulations and procedures."}
-{"idx": 14, "level": 4, "span": "(1) Except as stated in paragraph (u)(2) of this clause, when any supply or service acquired under this contract is subject to any End User License Agreement (EULA), Terms of Service (TOS), or similar legal instrument or agreement, that includes any clause requiring the Government to indemnify the Contractor or any person or entity for damages, costs, fees, or any other loss or liability that would create an Anti-Deficiency Act violation (31 U.S.C\n1341), the following shall govern:"}
-{"idx": 14, "level": 4, "span": "(i) Any such clause is unenforceable against the Government."}
-{"idx": 14, "level": 4, "span": "(ii) Neither the Government nor any Government authorized end user shall be deemed to have agreed to such clause by virtue of it appearing in the EULA, TOS, or similar legal instrument or agreement\nIf the EULA, TOS, or similar legal instrument or agreement is invoked through an \"I agree\" click box or other comparable mechanism (e.g., \"click-wrap\" or \"browse-wrap\" agreements), execution does not bind the Government or any Government authorized end user to such clause."}
-{"idx": 14, "level": 4, "span": "(iii) Any such clause is deemed to be stricken from the EULA, TOS, or similar legal instrument or agreement."}
-{"idx": 14, "level": 4, "span": "(2) Paragraph (u)(1) of this clause does not apply to indemnification by the Government that is expressly authorized by statute and specifically authorized under applicable agency regulations and procedures."}
-{"idx": 14, "level": 4, "span": "(v) Incorporation by reference. \nThe Contractor's representations and certifications, including those completed electronically via the System for Award Management (SAM), are incorporated by reference into the contract.\n\t\t"}
-{"idx": 14, "level": 1, "span": "ADDENDUM to FAR 52.212-4 CONTRACT TERMS AND CONDITIONS--COMMERCIAL ITEMS\nClauses that are incorporated by reference (by Citation Number, Title, and Date), have the same force and effect as if they were given in full text. Upon request, the Contracting Officer will make their full text available.\nThe following clauses are incorporated into 52.212-4 as an addendum to this contract :"}
-{"idx": 14, "level": 2, "span": "1. Ordering. \nThis solicitation provides for award(s) of contract(s) in support of VA's standardization program. Products awarded on the resultant contract(s) will be distributed through Government Prime Vendor contract (s). Order placement for supplies awarded will be made by Government Prime Vendor contractor(s) to the awarded contractor(s) and, any supplies to be furnished under this contract shall be ordered by issuance of delivery orders by the individuals or facilities directly to Prime Vendor contractor(s). Government Prime Vendor contractor(s) will accept orders and payment for the contracted item(s) on behalf of the contractor. Such orders may be issued from the effective date of the contract through the expiration date of the final option period exercised. All delivery orders are subject to the terms and conditions of this contract. In the event of conflict between a delivery order or task order and this contract, the contract shall control.\n\t\t"}
-{"idx": 14, "level": 2, "span": "2. Delivery. \nDelivery order requirements such as product quantities, time and place of delivery, and method of delivery for product(s) awarded on resultant contract(s) will be determined between the awarded contractor(s) and Government Prime Vendor contractors.\n\t\t"}
-{"idx": 14, "level": 2, "span": "3. Chargeback Arrangements. \nChargeback arrangements/agreements shall be coordinated between the Government Prime Vendor contractors and the successful contractor(s). The government will not become involved in this area nor will the Government assume any responsibility for any monies involved with such arrangements.\n\t\t"}
-{"idx": 14, "level": 1, "span": "C.2 52.203-99 PROHIBITION ON CONTRACTING WITH ENTITIES THAT REQUIRE CERTAIN INTERNAL CONFIDENTIALITY AGREEMENTS (DEVIATION) (FEB 2015)\n(a) The Contractor shall not require employees or contractors seeking to report fraud, waste, or abuse to sign or comply with internal confidentiality agreements or statements prohibiting or otherwise restricting such employees or subcontractors from lawfully reporting such waste, fraud, or abuse to a designated investigative or law enforcement representative of a Federal department or agency authorized to receive such information.\n(b) The contractor shall notify employees that the prohibitions and restrictions of any internal confidentiality agreements covered by this clause are no longer in effect.\n(c) The prohibition in paragraph (a) of this clause does not contravene requirements applicable to Standard Form 312, Form 4414, or any other form issued by a Federal department or agency governing the nondisclosure of classified information.\n(d)(1) In accordance with section 743 of Division E, Title VII, of the Consolidated and Further Continuing Resolution Appropriations Act, 2015 (Pub. L. 113-235), use of funds appropriated (or otherwise made available) under that or any other Act may be prohibited, if the Government determines that the Contractor is not in compliance with the provisions of this clause.\n(2) The Government may seek any available remedies in the event the contractor fails to comply with the provisions of this clause."}
-{"idx": 14, "level": 3, "span": "(a) The Contractor shall not require employees or contractors seeking to report fraud, waste, or abuse to sign or comply with internal confidentiality agreements or statements prohibiting or otherwise restricting such employees or subcontractors from lawfully reporting such waste, fraud, or abuse to a designated investigative or law enforcement representative of a Federal department or agency authorized to receive such information."}
-{"idx": 14, "level": 3, "span": "(b) The contractor shall notify employees that the prohibitions and restrictions of any internal confidentiality agreements covered by this clause are no longer in effect."}
-{"idx": 14, "level": 3, "span": "(c) The prohibition in paragraph (a) of this clause does not contravene requirements applicable to Standard Form 312, Form 4414, or any other form issued by a Federal department or agency governing the nondisclosure of classified information."}
-{"idx": 14, "level": 4, "span": "(2) The Government may seek any available remedies in the event the contractor fails to comply with the provisions of this clause."}
-{"idx": 14, "level": 1, "span": "C.3 52.204-18 COMMERCIAL AND GOVERNMENT ENTITY CODE MAINTENANCE (JUL 2015)\n(a) Definition. As used in this clause-\n\"Commercial and Government Entity (CAGE) code\" means-\n(1) An identifier assigned to entities located in the United States or its outlying areas by the Defense Logistics Agency (DLA) Contractor and Government Entity (CAGE) Branch to identify a commercial or government entity, or\n(2) An identifier assigned by a member of the North Atlantic Treaty Organization (NATO) or by the NATO Support Agency (NSPA) to entities located outside the United States and its outlying areas that the DLA Contractor and Government Entity (CAGE) Branch records and maintains in the CAGE master file. This type of code is known as an NCAGE code.\n(b) Contractors shall ensure that the CAGE code is maintained throughout the life of the contract. For contractors registered in the System for Award Management (SAM), the DLA Contractor and Government Entity (CAGE) Branch shall only modify data received from SAM in the CAGE master file if the contractor initiates those changes via update of its SAM registration. Contractors undergoing a novation or change-of-name agreement shall notify the contracting officer in accordance with subpart 42.12. The contractor shall communicate any change to the CAGE code to the contracting officer within 30 days after the change, so that a modification can be issued to update the CAGE code on the contract.\n(c) Contractors located in the United States or its outlying areas that are not registered in SAM shall submit written change requests to the DLA Contractor and Government Entity (CAGE) Branch. Requests for changes shall be provided on a DD Form 2051, Request for Assignment of a Commercial and Government Entity (CAGE) Code, to the address shown on the back of the DD Form 2051. Change requests to the CAGE master file are accepted from the entity identified by the code.\n(d) Contractors located outside the United States and its outlying areas that are not registered in SAM shall contact the appropriate National Codification Bureau or NSPA to request CAGE changes. Points of contact for National Codification Bureaus and NSPA, as well as additional information on obtaining NCAGE codes, are available at http://www.dlis.dla.mil/nato/ObtainCAGE.asp.\n(e) Additional guidance for maintaining CAGE codes is available at http://www.dlis.dla.mil/cage welcome.asp."}
-{"idx": 14, "level": 3, "span": "(a) Definition\nAs used in this clause-"}
-{"idx": 14, "level": 4, "span": "(1) An identifier assigned to entities located in the United States or its outlying areas by the Defense Logistics Agency (DLA) Contractor and Government Entity (CAGE) Branch to identify a commercial or government entity, or"}
-{"idx": 14, "level": 4, "span": "(2) An identifier assigned by a member of the North Atlantic Treaty Organization (NATO) or by the NATO Support Agency (NSPA) to entities located outside the United States and its outlying areas that the DLA Contractor and Government Entity (CAGE) Branch records and maintains in the CAGE master file\nThis type of code is known as an NCAGE code."}
-{"idx": 14, "level": 3, "span": "(b) Contractors shall ensure that the CAGE code is maintained throughout the life of the contract\nFor contractors registered in the System for Award Management (SAM), the DLA Contractor and Government Entity (CAGE) Branch shall only modify data received from SAM in the CAGE master file if the contractor initiates those changes via update of its SAM registration. Contractors undergoing a novation or change-of-name agreement shall notify the contracting officer in accordance with subpart 42.12. The contractor shall communicate any change to the CAGE code to the contracting officer within 30 days after the change, so that a modification can be issued to update the CAGE code on the contract."}
-{"idx": 14, "level": 3, "span": "(c) Contractors located in the United States or its outlying areas that are not registered in SAM shall submit written change requests to the DLA Contractor and Government Entity (CAGE) Branch\nRequests for changes shall be provided on a DD Form 2051, Request for Assignment of a Commercial and Government Entity (CAGE) Code, to the address shown on the back of the DD Form 2051. Change requests to the CAGE master file are accepted from the entity identified by the code."}
-{"idx": 14, "level": 3, "span": "(d) Contractors located outside the United States and its outlying areas that are not registered in SAM shall contact the appropriate National Codification Bureau or NSPA to request CAGE changes\nPoints of contact for National Codification Bureaus and NSPA, as well as additional information on obtaining NCAGE codes, are available at http://www.dlis.dla.mil/nato/ObtainCAGE.asp."}
-{"idx": 14, "level": 3, "span": "(e) Additional guidance for maintaining CAGE codes is available at http://www.dlis.dla.mil/cage welcome.asp."}
-{"idx": 14, "level": 1, "span": "C.4 52.216-21 REQUIREMENTS (OCT 1995) (MAY 5, 2011 DEVIATION)\n(a) This is a requirements contract for the supplies or services specified and effective for the period stated, in the Schedule. The quantities of supplies or services specified in the Schedule are estimates only and are not purchased by this contract. Except as this contract may otherwise provide, if the Government's requirements do not result in orders in the quantities described as \"estimated\" or \"maximum\" in the Schedule, that fact shall not constitute the basis for an equitable price adjustment.\n(b) Delivery or performance shall be made only as authorized by orders issued through Prime Vendor contract(s) in accordance with the Ordering clause. Subject to any limitations specified in this contract, the Contractor shall deliver to the Prime Vendor contractors (s) the supplies specified in the Schedule and called for by orders issued by the Prime Vendor(s) in accordance with the Ordering clause. Prime Vendor contractor(s) may issue orders requiring delivery to multiple Prime Vendor contractor distribution centers.\n(c) Except as this contract otherwise provides, the Government shall order from the Contractor through the Prime Vendor contractor(s) all the supplies or services specified in the Schedule that are required to be purchased by the Department of Veterans Affairs and other Government agencies as specified in the Schedule.\n(d) The Government is not required to purchase from the Contractor requirements in excess of any limit on total orders under this contract.\n(e) If the Government urgently requires delivery of any quantity of an item that the Prime Vendor contractors(s) do not have available for delivery as required by the Prime Vendor contract terms, the Government may acquire the urgently required item(s) from any other available source.\n(f) Any order(s) issued by the Prime Vendor contractor(s) during the effective period of this contract and not completed within the effective period shall be completed by the Contractor within the time specified in the Prime Vendor contractor issued order. This contract shall govern the rights and obligations between the Contractor(s) of this contract, the Prime Vendor contractor(s) and the Government with respect to the order(s) to the same extent as if the order(s) were completed during the contract period, provided that, the Contractor shall not be required to make any deliveries under this contract after 15 days from the expiration date of the contract."}
-{"idx": 14, "level": 3, "span": "(a) This is a requirements contract for the supplies or services specified and effective for the period stated, in the Schedule\nThe quantities of supplies or services specified in the Schedule are estimates only and are not purchased by this contract. Except as this contract may otherwise provide, if the Government's requirements do not result in orders in the quantities described as \"estimated\" or \"maximum\" in the Schedule, that fact shall not constitute the basis for an equitable price adjustment."}
-{"idx": 14, "level": 3, "span": "(b) Delivery or performance shall be made only as authorized by orders issued through Prime Vendor contract(s) in accordance with the Ordering clause\nSubject to any limitations specified in this contract, the Contractor shall deliver to the Prime Vendor contractors (s) the supplies specified in the Schedule and called for by orders issued by the Prime Vendor(s) in accordance with the Ordering clause. Prime Vendor contractor(s) may issue orders requiring delivery to multiple Prime Vendor contractor distribution centers."}
-{"idx": 14, "level": 3, "span": "(c) Except as this contract otherwise provides, the Government shall order from the Contractor through the Prime Vendor contractor(s) all the supplies or services specified in the Schedule that are required to be purchased by the Department of Veterans Affairs and other Government agencies as specified in the Schedule."}
-{"idx": 14, "level": 3, "span": "(d) The Government is not required to purchase from the Contractor requirements in excess of any limit on total orders under this contract."}
-{"idx": 14, "level": 3, "span": "(e) If the Government urgently requires delivery of any quantity of an item that the Prime Vendor contractors(s) do not have available for delivery as required by the Prime Vendor contract terms, the Government may acquire the urgently required item(s) from any other available source."}
-{"idx": 14, "level": 3, "span": "(f) Any order(s) issued by the Prime Vendor contractor(s) during the effective period of this contract and not completed within the effective period shall be completed by the Contractor within the time specified in the Prime Vendor contractor issued order\nThis contract shall govern the rights and obligations between the Contractor(s) of this contract, the Prime Vendor contractor(s) and the Government with respect to the order(s) to the same extent as if the order(s) were completed during the contract period, provided that, the Contractor shall not be required to make any deliveries under this contract after 15 days from the expiration date of the contract."}
-{"idx": 14, "level": 1, "span": "C.5 52.217-9 OPTION TO EXTEND THE TERM OF THE CONTRACT (MAR 2000)\n(a) The Government may extend the term of this contract by written notice to the Contractor within 30 days; provided that the Government gives the Contractor a preliminary written notice of its intent to extend at least 60 days before the contract expires. The preliminary notice does not commit the Government to an extension.\n(b) If the Government exercises this option, the extended contract shall be considered to include this option clause.\n(c) The total duration of this contract, including the exercise of any options under this clause, shall not exceed five (5) years."}
-{"idx": 14, "level": 3, "span": "(a) The Government may extend the term of this contract by written notice to the Contractor within 30 days; provided that the Government gives the Contractor a preliminary written notice of its intent to extend at least 60 days before the contract expires\nThe preliminary notice does not commit the Government to an extension."}
-{"idx": 14, "level": 3, "span": "(b) If the Government exercises this option, the extended contract shall be considered to include this option clause."}
-{"idx": 14, "level": 3, "span": "(c) The total duration of this contract, including the exercise of any options under this clause, shall not exceed five (5) years."}
-{"idx": 14, "level": 1, "span": "C.6 52.252-2 CLAUSES INCORPORATED BY REFERENCE (FEB 1998)\nThis contract incorporates one or more clauses by reference, with the same force and effect as if they were given in full text. Upon request, the Contracting Officer will make their full text available. Also, the full text of a clause may be accessed electronically at this/these address(es):"}
-{"idx": 14, "level": 1, "span": "http://www.acquisition.gov/far/index.htmI"}
-{"idx": 14, "level": 1, "span": "http://www.va.gov/oal/library/vaar/"}
-{"idx": 14, "level": 1, "span": "C.7 VAAR 852.203-70 COMMERCIAL ADVERTISING (JAN 2008)\nThe bidder or offeror agrees that if a contract is awarded to him/her, as a result of this solicitation, he/she will not advertise the award of the contract in his/her commercial advertising in such a manner as to state or imply that the Department of Veterans Affairs endorses a product, project or commercial line of endeavor."}
-{"idx": 14, "level": 1, "span": "C.8 VAAR 852.203-71 DISPLAY OF DEPARTMENT OF VETERAN AFFAIRS HOTLINE POSTER (DEC 1992)\n(a) Except as provided in paragraph (c) below, the Contractor shall display prominently, in common work areas within business segments performing work under VA contracts, Department of Veterans Affairs Hotline posters prepared by the VA Office of Inspector General.\n(b) Department of Veterans Affairs Hotline posters may be obtained from the VA Office of Inspector General (53E), P.O. Box 34647, Washington, DC 20043-4647.\n(c) The Contractor need not comply with paragraph (a) above if the Contractor has established a mechanism, such as a hotline, by which employees may report suspected instances of improper conduct, and instructions that encourage employees to make such reports."}
-{"idx": 14, "level": 3, "span": "(a) Except as provided in paragraph (c) below, the Contractor shall display prominently, in common work areas within business segments performing work under VA contracts, Department of Veterans Affairs Hotline posters prepared by the VA Office of Inspector General."}
-{"idx": 14, "level": 3, "span": "(b) Department of Veterans Affairs Hotline posters may be obtained from the VA Office of Inspector General (53E), P.O\nBox 34647, Washington, DC 20043-4647."}
-{"idx": 14, "level": 3, "span": "(c) The Contractor need not comply with paragraph (a) above if the Contractor has established a mechanism, such as a hotline, by which employees may report suspected instances of improper conduct, and instructions that encourage employees to make such reports."}
-{"idx": 14, "level": 1, "span": "C.9 VAAR 852.219-9 VA SMALL BUSINESS SUBCONTRACTING PLAN MINIMUM REQUIREMENTS (DEC 2009)\n(a) This clause does not apply to small business concerns.\n(b) If the offeror is required to submit an individual subcontracting plan, the minimum goals for award of subcontracts to service-disabled veteran-owned small business concerns and veteran-owned small business concerns shall be at least commensurate with the Department's annual servicedisabled veteran-owned small business and veteran-owned small business prime contracting goals for the total dollars planned to be subcontracted.\n(c) For a commercial plan, the minimum goals for award of subcontracts to service-disabled veteranowned small business concerns and veteran-owned small businesses shall be at least commensurate with the Department's annual service-disabled veteran-owned small business and veteran-owned small business prime contracting goals for the total value of projected subcontracts to support the sales for the commercial plan.\n(d) To be credited toward goal achievements, businesses must be verified as eligible in the Vendor Information Pages database. The contractor shall annually submit a listing of service-disabled veteran-owned small businesses and veteran-owned small businesses for which credit toward goal achievement is to be applied for the review of personnel in the Office of Small and Disadvantaged Business Utilization.\n(e) The contractor may appeal any businesses determined not eligible for crediting toward goal achievements by following the procedures contained in 819.407."}
-{"idx": 14, "level": 3, "span": "(a) This clause does not apply to small business concerns."}
-{"idx": 14, "level": 3, "span": "(b) If the offeror is required to submit an individual subcontracting plan, the minimum goals for award of subcontracts to service-disabled veteran-owned small business concerns and veteran-owned small business concerns shall be at least commensurate with the Department's annual servicedisabled veteran-owned small business and veteran-owned small business prime contracting goals for the total dollars planned to be subcontracted."}
-{"idx": 14, "level": 3, "span": "(c) For a commercial plan, the minimum goals for award of subcontracts to service-disabled veteranowned small business concerns and veteran-owned small businesses shall be at least commensurate with the Department's annual service-disabled veteran-owned small business and veteran-owned small business prime contracting goals for the total value of projected subcontracts to support the sales for the commercial plan."}
-{"idx": 14, "level": 3, "span": "(d) To be credited toward goal achievements, businesses must be verified as eligible in the Vendor Information Pages database\nThe contractor shall annually submit a listing of service-disabled veteran-owned small businesses and veteran-owned small businesses for which credit toward goal achievement is to be applied for the review of personnel in the Office of Small and Disadvantaged Business Utilization."}
-{"idx": 14, "level": 3, "span": "(e) The contractor may appeal any businesses determined not eligible for crediting toward goal achievements by following the procedures contained in 819.407."}
-{"idx": 14, "level": 1, "span": "C.10 SUBCONTRACTING PLAN – MONITORING AND COMPLIANCE\nThis solicitation includes FAR 52.219-9, Small Business Subcontracting Plan, and VAAR 852.219-9, VA Small Business Subcontracting Plan Minimum Requirement. Accordingly, any contract resulting from this solicitation will include these clauses. The contractor is advised in performing contract administration functions, the CO may use the services of a support contractor(s) to assist in assessing the contractor's compliance with the plan, including reviewing the contractor's accomplishments in achieving the subcontracting goals in the plan. To that end, the support contractor(s) may require access to the contractor's business records or other proprietary data to review such business records regarding the contractor's compliance with this requirement. All support contractors conducting this review on behalf of VA will be required to sign an \"Information Protection and Non-Disclosure and Disclosure of Conflicts of Interest Agreement\" to ensure the contractor's business records or other proprietary data reviewed or obtained in the course of assisting the CO in assessing the contractor for compliance are protected to ensure information or data is not improperly disclosed or other impropriety occurs. Furthermore, if VA determines any services the support contractor(s) will perform in assessing compliance are advisory and assistance services as defined in FAR 2.101, Definitions, the support contractor(s) must also enter into an agreement with the contractor to protect proprietary information as required by FAR 9.505-4, Obtaining access to proprietary information, paragraph (b). The contractor is required to cooperate fully and make available any records as may be required to enable the CO to assess the contractor compliance with the subcontracting plan."}
-{"idx": 14, "level": 1, "span": "C.11 52.212-5 CONTRACT TERMS AND CONDITIONS REQUIRED TO IMPLEMENT STATUTES OR EXECUTIVE ORDERS--COMMERCIAL ITEMS (NOV 2015)\n(a) The Contractor shall comply with the following Federal Acquisition Regulation (FAR) clauses, which are incorporated in this contract by reference, to implement provisions of law or Executive orders applicable to acquisitions of commercial items:\n(1) 52.209-10, Prohibition on Contracting with Inverted Domestic Corporations (Nov 2015)\n(2) 52.233-3, Protest After Award (AUG 1996) (31 U.S.C. 3553).\n(3) 52.233-4, Applicable Law for Breach of Contract Claim (OCT 2004)(Public Laws 108-77 and 108-78 (19 U.S.C. 3805 note)).\n(b) The Contractor shall comply with the FAR clauses in this paragraph (b) that the Contracting Officer has indicated as being incorporated in this contract by reference to implement provisions of law or Executive orders applicable to acquisitions of commercial items:\n[Contracting Officer check as appropriate.]"}
-{"idx": 14, "level": 1, "span": " X (1) 52.203-6, Restrictions on Subcontractor Sales to the Government (Sept 2006), with Alternate I (Oct 1995) (41 U.S.C. 4704 and 10 U.S.C. 2402\n).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (2) 52.203-13, Contractor Code of Business Ethics and Conduct (Oct 2015) (41 U.S.C. 3509\n)).\n\t\t\n(3) 52.203-15, Whistleblower Protections under the American Recovery and Reinvestment Act of 2009 (June 2010) (Section 1553 of Pub. L. 111-5). (Applies to contracts funded by the American Recovery and Reinvestment Act of 2009.)"}
-{"idx": 14, "level": 4, "span": "(3) 52.203-15, Whistleblower Protections under the American Recovery and Reinvestment Act of 2009 (June 2010) (Section 1553 of Pub\nL. 111-5). (Applies to contracts funded by the American Recovery and Reinvestment Act of 2009.)"}
-{"idx": 14, "level": 1, "span": " X (4) 52.204-10\n, Reporting Executive Compensation and First-Tier Subcontract Awards (Oct 2015) (Pub.\n\t\t"}
-{"idx": 14, "level": 3, "span": "(a) The Contractor shall comply with the following Federal Acquisition Regulation (FAR) clauses, which are incorporated in this contract by reference, to implement provisions of law or Executive orders applicable to acquisitions of commercial items:"}
-{"idx": 14, "level": 4, "span": "(1) 52.209-10, Prohibition on Contracting with Inverted Domestic Corporations (Nov 2015)"}
-{"idx": 14, "level": 4, "span": "(2) 52.233-3, Protest After Award (AUG 1996) (31 U.S.C\n3553)."}
-{"idx": 14, "level": 4, "span": "(3) 52.233-4, Applicable Law for Breach of Contract Claim (OCT 2004)(Public Laws 108-77 and 108-78 (19 U.S.C\n3805 note))."}
-{"idx": 14, "level": 3, "span": "(b) The Contractor shall comply with the FAR clauses in this paragraph (b) that the Contracting Officer has indicated as being incorporated in this contract by reference to implement provisions of law or Executive orders applicable to acquisitions of commercial items:"}
-{"idx": 14, "level": 1, "span": "L. 109-282) (31 U.S.C. 6101 note).\n(5) [Reserved].\n(6) 52.204-14, Service Contract Reporting Requirements (Jan 2014) (Pub. L. 111-117, section 743 of Div. C).\n(7) 52.204-15, Service Contract Reporting Requirements for Indefinite-Delivery Contracts (Jan 2014) (Pub. L. 111-117, section 743 of Div. C)."}
-{"idx": 14, "level": 1, "span": " X (8) 52.209-6\n, Protecting the Government's Interest When Subcontracting with Contractors Debarred,\n\t\t\nSuspended, or Proposed for Debarment. (Oct 2015) (31 U.S.C. 6101 note)."}
-{"idx": 14, "level": 1, "span": " X (9) 52.209-9, Updates of Publicly Available Information Regarding Responsibility Matters (Jul 2013) (41 U.S.C. 2313\n).\n\t\t\n(10) [Reserved].\n(11)(i) 52.219-3 , Notice of HUBZone Set-Aside or Sole-Source Award (Nov 2011) (15 U.S.C. 657a).\n(ii) Alternate I (Nov 2011) of 52.219-3."}
-{"idx": 14, "level": 4, "span": "(10) [Reserved]."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Nov 2011) of 52.219-3."}
-{"idx": 14, "level": 1, "span": " X (12)(i) 52.219-4 , Notice of Price Evaluation Preference for HUBZone Small Business Concerns (OCT 2014) (if the offeror elects to waive the preference, it shall so indicate in its offer) (15 U.S.C. 657a\n).\n\t\t\n(ii) Alternate I (JAN 2011) of 52.219-4.\n(13) [Reserved]\n(14)(i) 52.219-6, Notice of Total Small Business Set-Aside (Nov 2011) (15 U.S.C. 644).\n(ii) Alternate I (Nov 2011).\n(iii) Alternate II (Nov 2011).\n(15)(i) 52.219-7, Notice of Partial Small Business Set-Aside (June 2003) (15 U.S.C. 644).\n(ii) Alternate I (Oct 1995) of 52.219-7.\n(iii) Alternate II (Mar 2004) of 52.219-7."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (JAN 2011) of 52.219-4."}
-{"idx": 14, "level": 4, "span": "(13) [Reserved]"}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Nov 2011)."}
-{"idx": 14, "level": 4, "span": "(iii) Alternate II (Nov 2011)."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Oct 1995) of 52.219-7."}
-{"idx": 14, "level": 4, "span": "(iii) Alternate II (Mar 2004) of 52.219-7."}
-{"idx": 14, "level": 1, "span": " X (16) 52.219-8, Utilization of Small Business Concerns (Oct 2014) (15 U.S.C. 637(d)(2) \nand (3)).\n\t\t\n(17)(i) 52.219-9, Small Business Subcontracting Plan (Oct 2015) (15 U.S.C. 637(d)(4)).\n(ii) Alternate I (Oct 2001) of 52.219-9."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Oct 2001) of 52.219-9."}
-{"idx": 14, "level": 1, "span": " X (iii) Alternate II (Oct 2001) of 52.219-9\n.\n\t\t\n(iv) Alternate Ill (Oct 2015) of 52.219-9.\n(18) 52.219-13, Notice of Set-Aside of Orders (Nov 2011) (15 U.S.C. 644(r)).\n(19) 52.219-14, Limitations on Subcontracting (Nov 2011) (15 U.S.C. 637(a)(14))."}
-{"idx": 14, "level": 4, "span": "(iv) Alternate Ill (Oct 2015) of 52.219-9."}
-{"idx": 14, "level": 4, "span": "(18) 52.219-13, Notice of Set-Aside of Orders (Nov 2011) (15 U.S.C\n644(r))."}
-{"idx": 14, "level": 4, "span": "(19) 52.219-14, Limitations on Subcontracting (Nov 2011) (15 U.S.C\n637(a)(14))."}
-{"idx": 14, "level": 1, "span": " X (20) 52.219-16, Liquidated Damages-Subcon-tracting Plan (Jan 1999) (15 U.S.C. 637(d)(4)(F)(i)\n).\n\t\t\n(21) 52.219-27, Notice of Service-Disabled Veteran-Owned Small Business Set-Aside (Nov 2011) (15 U.S.C. 657 f)."}
-{"idx": 14, "level": 4, "span": "(21) 52.219-27, Notice of Service-Disabled Veteran-Owned Small Business Set-Aside (Nov 2011) (15 U.S.C\n657 f)."}
-{"idx": 14, "level": 1, "span": " X (22) 52.219-28, Post Award Small Business Program Rerepresentation (Jul 2013) (15 U.S.C. 632(a)(2)\n).\n\t\t\n(23) 52.219-29, Notice of Set-Aside for Economically Disadvantaged Women-Owned Small Business (EDWOSB) Concerns (Jul 2013) (15 U.S.C. 637(m)).\n(24) 52.219-30, Notice of Set-Aside for Women-Owned Small Business (WOSB) Concerns Eligible Under the WOSB Program (Jul 2013) (15 U.S.C. 637(m))."}
-{"idx": 14, "level": 4, "span": "(23) 52.219-29, Notice of Set-Aside for Economically Disadvantaged Women-Owned Small Business (EDWOSB) Concerns (Jul 2013) (15 U.S.C\n637(m))."}
-{"idx": 14, "level": 4, "span": "(24) 52.219-30, Notice of Set-Aside for Women-Owned Small Business (WOSB) Concerns Eligible Under the WOSB Program (Jul 2013) (15 U.S.C\n637(m))."}
-{"idx": 14, "level": 1, "span": " X (25) 52.222-3\n, Convict Labor (June 2003) (E.O. 11755).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (26) 52.222-19\n, Child Labor-Cooperation with Authorities and Remedies (Jan 2014) (E.O. 13126).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (27) 52.222-21\n, Prohibition of Segregated Facilities (Apr 2015).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (28) 52.222-26\n, Equal Opportunity (Apr 2015) (E.O. 11246).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (29) 52.222-35, Equal Opportunity for Veterans (Oct 2015)(38 U.S.C. 4212\n).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (30) 52.222-36, Equal Opportunity for Workers with Disabilities (Jul 2014) (29 U.S.C. 793\n).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (31) 52.222-37\n, Employment Reports on Veterans (OCT 2015) (38 U.S.C. 4212).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (32) 52.222-40\n, Notification of Employee Rights Under the National Labor Relations Act (Dec 2010) (E.O. 13496).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (33)(i) 52.222-50, Combating Trafficking in Persons (Mar 2015) (22 U.S.C. chapter 78 \nand E.O. 13627).\n\t\t\n(ii) Alternate I (Mar 2015) of 52.222-50 (22 U.S.C. chapter 78 and E.O. 13627).\n(34) 52.222-54, Employment Eligibility Verification (OCT 2015). (Executive Order 12989). (Not applicable to the acquisition of commercially available off-the-shelf items or certain other types of commercial items as prescribed in 22.1803.)\n(35)(i) 52.223-9, Estimate of Percentage of Recovered Material Content for EPA-Designated Items (May 2008) (42 U.S.C. 6962(c)(3)(A)(ii)). (Not applicable to the acquisition of commercially available offthe-shelf items.)\n(ii) Alternate I (May 2008) of 52.223-9 (42 U.S.C. 6962(i)(2)(C)). (Not applicable to the acquisition of commercially available off-the-shelf items.)\n(36)(i) 52.223-13, Acquisition of EPEAT®-Registered Imaging Equipment (JUN 2014) (E.O.s 13423 and 13514).\n(ii) Alternate I (Oct 2015) of 52.223-13.\n(37)(i) 52.223-14, Acquisition of EPEAT®-Registered Televisions (JUN 2014) (E.O.s 13423 and 13514).\n(ii) Alternate I (Jun 2014) of 52.223-14.\n(38) 52.223-15, Energy Efficiency in Energy-Consuming Products (DEC 2007) (42 U.S.C. 8259b).\n(39)(i) 52.223-16, Acquisition of EPEAT®-Registered Personal Computer Products (OCT 2015) (E.O.s 13423 and 13514).\n(ii) Alternate I (Jun 2014) of 52.223-16."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Mar 2015) of 52.222-50 (22 U.S.C\nchapter 78 and E.O. 13627)."}
-{"idx": 14, "level": 4, "span": "(34) 52.222-54, Employment Eligibility Verification (OCT 2015)\n(Executive Order 12989). (Not applicable to the acquisition of commercially available off-the-shelf items or certain other types of commercial items as prescribed in 22.1803.)"}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (May 2008) of 52.223-9 (42 U.S.C\n6962(i)(2)(C)). (Not applicable to the acquisition of commercially available off-the-shelf items.)"}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Oct 2015) of 52.223-13."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Jun 2014) of 52.223-14."}
-{"idx": 14, "level": 4, "span": "(38) 52.223-15, Energy Efficiency in Energy-Consuming Products (DEC 2007) (42 U.S.C\n8259b)."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Jun 2014) of 52.223-16."}
-{"idx": 14, "level": 1, "span": " X (40) 52.223-18\n, Encouraging Contractor Policies to Ban Text Messaging While Driving (AUG 2011) (E.O. 13513).\n\t\t\n(41) 52.225-1, Buy American-Supplies (May 2014) (41 U.S.C. chapter 83).\n(42)(i) 52.225-3, Buy American-Free Trade Agreements-Israeli Trade Act (May 2014) (41 U.S.C. chapter 83, 19 U.S.C. 3301 note, 19 U.S.C. 2112 note, 19 U.S.C. 3805 note, 19 U.S.C. 4001 note, Pub. L. 103-182, 108-77, 108-78, 108-286, 108-302, 109-53, 109-169, 109-283, 110-138, 112-41, 112-42, and 112-43.\n(ii) Alternate I (May 2014) of 52.225-3.\n(iii) Alternate II (May 2014) of 52.225-3.\n(iv) Alternate Ill (May 2014) of 52.225-3."}
-{"idx": 14, "level": 4, "span": "(41) 52.225-1, Buy American-Supplies (May 2014) (41 U.S.C\nchapter 83)."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (May 2014) of 52.225-3."}
-{"idx": 14, "level": 4, "span": "(iii) Alternate II (May 2014) of 52.225-3."}
-{"idx": 14, "level": 4, "span": "(iv) Alternate Ill (May 2014) of 52.225-3."}
-{"idx": 14, "level": 1, "span": " X (43) 52.225-5, Trade Agreements (Nov 2013) (19 U.S.C. 2501, et seq., 19 U.S.C. 3301 \nnote).\n\t\t"}
-{"idx": 14, "level": 1, "span": " X (44) 52.225-13\n, Restrictions on Certain Foreign Purchases (June 2008) (E.O.'s, proclamations, and statutes administered by the Office of Foreign Assets Control of the Department of the Treasury).\n\t\t\n(45) 52.225-26, Contractors Performing Private Security Functions Outside the United States (Jul 2013) (Section 862, as amended, of the National Defense Authorization Act for Fiscal Year 2008; 10 U.S.C. 2302 Note).\n(46) 52.226-4, Notice of Disaster or Emergency Area Set-Aside (Nov 2007) (42 U.S.C. 5150).\n(47) 52.226-5, Restrictions on Subcontracting Outside Disaster or Emergency Area (Nov 2007) (42 U.S.C. 5150).\n(48) 52.232-29, Terms for Financing of Purchases of Commercial Items (Feb 2002) (41 U.S.C. 4505, 10 U.S.C. 2307(f)).\n(49) 52.232-30, Installment Payments for Commercial Items (Oct 1995) (41 U.S.C. 4505, 10 U.S.C. 2307(f)).\n(50) 52.232-33, Payment by Electronic Funds Transfer-System for Award Management (Jul 2013) (31 U.S.C. 3332).\n(51) 52.232-34, Payment by Electronic Funds Transfer-Other than System for Award Management (Jul 2013) (31 U.S.C. 3332).\n(52) 52.232-36, Payment by Third Party (May 2014) (31 U.S.C. 3332).\n(53) 52.239-1, Privacy or Security Safeguards (Aug 1996) (5 U.S.C. 552a).\n(54)(i) 52.247-64, Preference for Privately Owned U.S.-Flag Commercial Vessels (Feb 2006) (46 U.S.C. Appx. 1241(b) and 10 U.S.C. 2631).\n(ii) Alternate I (Apr 2003) of 52.247-64.\n(c) The Contractor shall comply with the FAR clauses in this paragraph (c), applicable to commercial services, that the Contracting Officer has indicated as being incorporated in this contract by reference to implement provisions of law or Executive orders applicable to acquisitions of commercial items:\n[Contracting Officer check as appropriate.]\n(1) 52.222-17, Nondisplacement of Qualified Workers (May 2014)(E.O. 13495).\n(2) 52.222-41, Service Contract Labor Standards (May 2014) (41 U.S.C. chapter 67).\n(3) 52.222-42, Statement of Equivalent Rates for Federal Hires (May 2014) (29 U.S.C. 206 and 41 U.S.C. chapter 67).\n(4) 52.222-43, Fair Labor Standards Act and Service Contract Labor Standards-Price Adjustment\n(Multiple Year and Option Contracts) (May 2014) (29 U.S.C. 206 and 41 U.S.C. chapter 67).\n(5) 52.222-44, Fair Labor Standards Act and Service Contract Labor Standards-Price Adjustment (May 2014) (29 U.S.C. 206 and 41 U.S. C. chapter 67).\n(6) 52.222-51, Exemption from Application of the Service Contract Labor Standards to Contracts for Maintenance, Calibration, or Repair of Certain Equipment-Requirements (May 2014) (41 U.S.C. chapter 67).\n(7) 52.222-53, Exemption from Application of the Service Contract Labor Standards to Contracts for Certain Services-Requirements (May 2014) (41 U.S.C. chapter 67).\n(8) 52.222-55, Minimum Wages Under Executive Order 13658 (Dec 2014)(E.O. 13658).\n(9) 52.226-6, Promoting Excess Food Donation to Nonprofit Organizations (May 2014) (42 U.S.C. 1792).\n(10) 52.237-11, Accepting and Dispensing of $1 Coin (Sept 2008) (31 U.S.C. 5112(p)(1)).\n(d) Comptroller General Examination of Record. The Contractor shall comply with the provisions of this paragraph (d) if this contract was awarded using other than sealed bid, is in excess of the simplified acquisition threshold, and does not contain the clause at 52.215-2, Audit and Records-Negotiation.\n(1) The Comptroller General of the United States, or an authorized representative of the Comptroller General, shall have access to and right to examine any of the Contractor's directly pertinent records involving transactions related to this contract.\n(2) The Contractor shall make available at its offices at all reasonable times the records, materials, and other evidence for examination, audit, or reproduction, until 3 years after final payment under this contract or for any shorter period specified in FAR Subpart 4.7, Contractor Records Retention, of the other clauses of this contract. If this contract is completely or partially terminated, the records relating\nto the work terminated shall be made available for 3 years after any resulting final termination settlement. Records relating to appeals under the disputes clause or to litigation or the settlement of claims arising under or relating to this contract shall be made available until such appeals, litigation, or claims are finally resolved.\n(3) As used in this clause, records include books, documents, accounting procedures and practices, and other data, regardless of type and regardless of form. This does not require the Contractor to create or maintain any record that the Contractor does not maintain in the ordinary course of business or pursuant to a provision of law.\n(e)(1) Notwithstanding the requirements of the clauses in paragraphs (a), (b), (c), and (d) of this clause, the Contractor is not required to flow down any FAR clause, other than those in this paragraph (e)(1) in a subcontract for commercial items. Unless otherwise indicated below, the extent of the flow down shall be as required by the clause-\n(i) 52.203-13, Contractor Code of Business Ethics and Conduct (Oct 2015) (41 U.S.C. 3509).\n(ii) 52.219-8, Utilization of Small Business Concerns (Oct 2014) (15 U.S.C. 637(d)(2) and (3)), in all subcontracts that offer further subcontracting opportunities. If the subcontract (except subcontracts to small business concerns) exceeds $700,000 ($1.5 million for construction of any public facility), the subcontractor must include 52.219-8 in lower tier subcontracts that offer subcontracting opportunities.\n(iii) 52.222-17, Nondisplacement of Qualified Workers (May 2014) (E.O. 13495). Flow down required in accordance with paragraph (I) of FAR clause 52.222-17.\n(iv) 52.222-21, Prohibition of Segregated Facilities (Apr 2015)\n(v) 52.222-26, Equal Opportunity (Apr 2015) (E.O. 11246).\n(vi) 52.222-35, Equal Opportunity for Veterans (Oct 2015) (38 U.S.C. 4212).\n(vii) 52.222-36, Equal Opportunity for Workers with Disabilities (Jul 2014) (29 U.S.C. 793).\n(viii) 52.222-37, Employment Reports on Veterans (Oct 2015) (38 U.S.C. 4212)\n(ix) 52.222-40, Notification of Employee Rights Under the National Labor Relations Act (Dec 2010) (E.O. 13496). Flow down required in accordance with paragraph (f) of FAR clause 52.222-40.\n(x) 52.222-41, Service Contract Labor Standards (May 2014) (41 U.S.C. chapter 67).\n(xi)"}
-{"idx": 14, "level": 4, "span": "(45) 52.225-26, Contractors Performing Private Security Functions Outside the United States (Jul 2013) (Section 862, as amended, of the National Defense Authorization Act for Fiscal Year 2008; 10 U.S.C\n2302 Note)."}
-{"idx": 14, "level": 4, "span": "(46) 52.226-4, Notice of Disaster or Emergency Area Set-Aside (Nov 2007) (42 U.S.C\n5150)."}
-{"idx": 14, "level": 4, "span": "(47) 52.226-5, Restrictions on Subcontracting Outside Disaster or Emergency Area (Nov 2007) (42 U.S.C\n5150)."}
-{"idx": 14, "level": 4, "span": "(48) 52.232-29, Terms for Financing of Purchases of Commercial Items (Feb 2002) (41 U.S.C\n4505, 10 U.S.C. 2307(f))."}
-{"idx": 14, "level": 4, "span": "(49) 52.232-30, Installment Payments for Commercial Items (Oct 1995) (41 U.S.C\n4505, 10 U.S.C. 2307(f))."}
-{"idx": 14, "level": 4, "span": "(50) 52.232-33, Payment by Electronic Funds Transfer-System for Award Management (Jul 2013) (31 U.S.C\n3332)."}
-{"idx": 14, "level": 4, "span": "(51) 52.232-34, Payment by Electronic Funds Transfer-Other than System for Award Management (Jul 2013) (31 U.S.C\n3332)."}
-{"idx": 14, "level": 4, "span": "(52) 52.232-36, Payment by Third Party (May 2014) (31 U.S.C\n3332)."}
-{"idx": 14, "level": 4, "span": "(53) 52.239-1, Privacy or Security Safeguards (Aug 1996) (5 U.S.C\n552a)."}
-{"idx": 14, "level": 4, "span": "(ii) Alternate I (Apr 2003) of 52.247-64."}
-{"idx": 14, "level": 3, "span": "(c) The Contractor shall comply with the FAR clauses in this paragraph (c), applicable to commercial services, that the Contracting Officer has indicated as being incorporated in this contract by reference to implement provisions of law or Executive orders applicable to acquisitions of commercial items:"}
-{"idx": 14, "level": 4, "span": "(1) 52.222-17, Nondisplacement of Qualified Workers (May 2014)(E.O\n13495)."}
-{"idx": 14, "level": 4, "span": "(2) 52.222-41, Service Contract Labor Standards (May 2014) (41 U.S.C\nchapter 67)."}
-{"idx": 14, "level": 4, "span": "(3) 52.222-42, Statement of Equivalent Rates for Federal Hires (May 2014) (29 U.S.C\n206 and 41 U.S.C. chapter 67)."}
-{"idx": 14, "level": 4, "span": "(4) 52.222-43, Fair Labor Standards Act and Service Contract Labor Standards-Price Adjustment"}
-{"idx": 14, "level": 4, "span": "(5) 52.222-44, Fair Labor Standards Act and Service Contract Labor Standards-Price Adjustment (May 2014) (29 U.S.C\n206 and 41 U.S. C. chapter 67)."}
-{"idx": 14, "level": 4, "span": "(6) 52.222-51, Exemption from Application of the Service Contract Labor Standards to Contracts for Maintenance, Calibration, or Repair of Certain Equipment-Requirements (May 2014) (41 U.S.C\nchapter 67)."}
-{"idx": 14, "level": 4, "span": "(7) 52.222-53, Exemption from Application of the Service Contract Labor Standards to Contracts for Certain Services-Requirements (May 2014) (41 U.S.C\nchapter 67)."}
-{"idx": 14, "level": 4, "span": "(8) 52.222-55, Minimum Wages Under Executive Order 13658 (Dec 2014)(E.O\n13658)."}
-{"idx": 14, "level": 4, "span": "(9) 52.226-6, Promoting Excess Food Donation to Nonprofit Organizations (May 2014) (42 U.S.C\n1792)."}
-{"idx": 14, "level": 4, "span": "(10) 52.237-11, Accepting and Dispensing of $1 Coin (Sept 2008) (31 U.S.C\n5112(p)(1))."}
-{"idx": 14, "level": 3, "span": "(d) Comptroller General Examination of Record\nThe Contractor shall comply with the provisions of this paragraph (d) if this contract was awarded using other than sealed bid, is in excess of the simplified acquisition threshold, and does not contain the clause at 52.215-2, Audit and Records-Negotiation."}
-{"idx": 14, "level": 4, "span": "(1) The Comptroller General of the United States, or an authorized representative of the Comptroller General, shall have access to and right to examine any of the Contractor's directly pertinent records involving transactions related to this contract."}
-{"idx": 14, "level": 4, "span": "(2) The Contractor shall make available at its offices at all reasonable times the records, materials, and other evidence for examination, audit, or reproduction, until 3 years after final payment under this contract or for any shorter period specified in FAR Subpart 4.7, Contractor Records Retention, of the other clauses of this contract\nIf this contract is completely or partially terminated, the records relating"}
-{"idx": 14, "level": 4, "span": "(3) As used in this clause, records include books, documents, accounting procedures and practices, and other data, regardless of type and regardless of form\nThis does not require the Contractor to create or maintain any record that the Contractor does not maintain in the ordinary course of business or pursuant to a provision of law."}
-{"idx": 14, "level": 4, "span": "(i) 52.203-13, Contractor Code of Business Ethics and Conduct (Oct 2015) (41 U.S.C\n3509)."}
-{"idx": 14, "level": 4, "span": "(ii) 52.219-8, Utilization of Small Business Concerns (Oct 2014) (15 U.S.C\n637(d)(2) and (3)), in all subcontracts that offer further subcontracting opportunities. If the subcontract (except subcontracts to small business concerns) exceeds $700,000 ($1.5 million for construction of any public facility), the subcontractor must include 52.219-8 in lower tier subcontracts that offer subcontracting opportunities."}
-{"idx": 14, "level": 4, "span": "(iii) 52.222-17, Nondisplacement of Qualified Workers (May 2014) (E.O\n13495). Flow down required in accordance with paragraph (I) of FAR clause 52.222-17."}
-{"idx": 14, "level": 4, "span": "(iv) 52.222-21, Prohibition of Segregated Facilities (Apr 2015)"}
-{"idx": 14, "level": 4, "span": "(v) 52.222-26, Equal Opportunity (Apr 2015) (E.O\n11246)."}
-{"idx": 14, "level": 4, "span": "(vi) 52.222-35, Equal Opportunity for Veterans (Oct 2015) (38 U.S.C\n4212)."}
-{"idx": 14, "level": 4, "span": "(vii) 52.222-36, Equal Opportunity for Workers with Disabilities (Jul 2014) (29 U.S.C\n793)."}
-{"idx": 14, "level": 4, "span": "(viii) 52.222-37, Employment Reports on Veterans (Oct 2015) (38 U.S.C\n4212)"}
-{"idx": 14, "level": 4, "span": "(ix) 52.222-40, Notification of Employee Rights Under the National Labor Relations Act (Dec 2010) (E.O\n13496). Flow down required in accordance with paragraph (f) of FAR clause 52.222-40."}
-{"idx": 14, "level": 4, "span": "(x) 52.222-41, Service Contract Labor Standards (May 2014) (41 U.S.C\nchapter 67)."}
-{"idx": 14, "level": 4, "span": "(5) [Reserved]."}
-{"idx": 14, "level": 4, "span": "(6) 52.204-14, Service Contract Reporting Requirements (Jan 2014) (Pub\nL. 111-117, section 743 of Div. C)."}
-{"idx": 14, "level": 4, "span": "(7) 52.204-15, Service Contract Reporting Requirements for Indefinite-Delivery Contracts (Jan 2014) (Pub\nL. 111-117, section 743 of Div. C)."}
-{"idx": 14, "level": 4, "span": "(A) 52.222-50, Combating Trafficking in Persons (Mar 2015) (22 U.S.C. chapter 78 and E.O 13627).\n(B) Alternate I (Mar 2015) of 52.222-50 (22 U.S.C. chapter 78 and E.O 13627).\n(xii) 52.222-51, Exemption from Application of the Service Contract Labor Standards to Contracts for Maintenance, Calibration, or Repair of Certain Equipment-Requirements (May 2014) (41 U.S.C. chapter 67).\n(xiii) 52.222-53, Exemption from Application of the Service Contract Labor Standards to Contracts for Certain Services-Requirements (May 2014) (41 U.S.C. chapter 67).\n(xiv) 52.222-54, Employment Eligibility Verification (OCT 2015) (E.O. 12989).\n(xv) 52.222-55, Minimum Wages Under Executive Order 13658 (Dec 2014) (Executive Order 13658).\n(xvi) 52.225-26, Contractors Performing Private Security Functions Outside the United States (Jul 2013) (Section 862, as amended, of the National Defense Authorization Act for Fiscal Year 2008; 10 U.S.C. 2302 Note).\n(xvii) 52.226-6, Promoting Excess Food Donation to Nonprofit Organizations (May 2014) (42 U.S.C. 1792). Flow down required in accordance with paragraph (e) of FAR clause 52.226-6.\n(xviii) 52.247-64, Preference for Privately Owned U.S.-Flag Commercial Vessels (Feb 2006) (46 U.S.C. Appx. 1241(b) and 10 U.S.C. 2631). Flow down required in accordance with paragraph (d) of FAR clause 52.247-64.\n(2) While not required, the contractor may include in its subcontracts for commercial items a minimal number of additional clauses necessary to satisfy its contractual obligations."}
-{"idx": 14, "level": 4, "span": "C.12 MANDATORY WRITTEN DISCLOSURES\nMandatory written disclosures required by FAR clause 52.203-13 to the Department of Veterans Affairs, Office of Inspector General (OIG) must be made electronically through the VA OIG Hotline at http://www.va.gov/oig/contacts/hotline.asp and clicking on \"FAR clause 52.203-13 Reporting\". If you experience difficulty accessing the website, call the Hotline at 1-800-488-8244 for further instructions."}
-{"idx": 14, "level": 4, "span": "(B) Alternate I (Mar 2015) of 52.222-50 (22 U.S.C\nchapter 78 and E.O 13627)."}
-{"idx": 14, "level": 4, "span": "(xii) 52.222-51, Exemption from Application of the Service Contract Labor Standards to Contracts for Maintenance, Calibration, or Repair of Certain Equipment-Requirements (May 2014) (41 U.S.C\nchapter 67)."}
-{"idx": 14, "level": 4, "span": "(xiii) 52.222-53, Exemption from Application of the Service Contract Labor Standards to Contracts for Certain Services-Requirements (May 2014) (41 U.S.C\nchapter 67)."}
-{"idx": 14, "level": 4, "span": "(xiv) 52.222-54, Employment Eligibility Verification (OCT 2015) (E.O\n12989)."}
-{"idx": 14, "level": 4, "span": "(xv) 52.222-55, Minimum Wages Under Executive Order 13658 (Dec 2014) (Executive Order 13658)."}
-{"idx": 14, "level": 4, "span": "(xvi) 52.225-26, Contractors Performing Private Security Functions Outside the United States (Jul 2013) (Section 862, as amended, of the National Defense Authorization Act for Fiscal Year 2008; 10 U.S.C\n2302 Note)."}
-{"idx": 14, "level": 4, "span": "(xvii) 52.226-6, Promoting Excess Food Donation to Nonprofit Organizations (May 2014) (42 U.S.C\n1792). Flow down required in accordance with paragraph (e) of FAR clause 52.226-6."}
-{"idx": 14, "level": 4, "span": "(xviii) 52.247-64, Preference for Privately Owned U.S.-Flag Commercial Vessels (Feb 2006) (46 U.S.C\nAppx. 1241(b) and 10 U.S.C. 2631). Flow down required in accordance with paragraph (d) of FAR clause 52.247-64."}
-{"idx": 14, "level": 4, "span": "(2) While not required, the contractor may include in its subcontracts for commercial items a minimal number of additional clauses necessary to satisfy its contractual obligations."}
diff --git a/scripts/level_loop/freeze.py b/scripts/level_loop/freeze.py
index 71cb3e5..2ab6f0e 100755
--- a/scripts/level_loop/freeze.py
+++ b/scripts/level_loop/freeze.py
@@ -39,9 +39,16 @@
STATE_PATH = DATA / "level_freeze" / "state.json"
FROZEN_DIR = DATA / "level_freeze" / "frozen"
NODES_JSONL = DATA / "parse_doc2dict_with_config_nodes.jsonl"
+SOT_JSONL = DATA / "parse_source_of_truth.jsonl"
PARSER_SRC = REPO / "scripts" / "parse_doc2dict_with_config.py"
CONFIG_SRC = REPO / "src" / "clause_extract" / "agreement_config.py"
+# Reconstruction-faithfulness gate (per docs/DECISIONS.md §10).
+# BLOCKING — below the bar the freeze is refused. Word coverage measures
+# whether concat-of-spans recovers the source's unique words; failing this
+# means the parser dropped real content.
+_RECON_FAIL_BAR_PCT = 90.0 # word coverage < this -> freeze refused
+
console = Console()
@@ -294,6 +301,215 @@ def _check_monkey_patches(parser_src: str) -> list[str]:
return out
+# ---------------------------------------------------------------------------
+# Reconstruction-faithfulness measurement (non-blocking warning)
+#
+# The parser's only goal is to slice the source HTML such that concatenating
+# the spans for one idx in JSONL line order reconstructs the source. We
+# measure that with two metrics matching scripts/measure_reconstruction.py:
+#
+# word_coverage_pct(idx) =
+# |source_words ∩ reconstructed_words| / |source_words| × 100
+#
+# char_ratio_pct(idx) =
+# len(reconstructed_norm) / len(source_norm) × 100
+#
+# where the normaliser lowercases and collapses whitespace. The freeze
+# itself does NOT block on low coverage — see task_rules/freeze_command.md
+# for why this is informational. The bars come from docs/DECISIONS.md §10.
+# ---------------------------------------------------------------------------
+
+
+def _normalize_text(text: str) -> str:
+ """Lowercase + whitespace-collapse for word-set / char-len comparison."""
+ return " ".join((text or "").lower().split())
+
+
+def _read_sot_span_clean(idx: int) -> str | None:
+ """Read parse_source_of_truth.jsonl[idx].span_clean. None if missing."""
+ if not SOT_JSONL.exists():
+ return None
+ for line in SOT_JSONL.read_text().splitlines():
+ if not line.strip():
+ continue
+ try:
+ rec = json.loads(line)
+ except json.JSONDecodeError:
+ continue
+ if rec.get("idx") == idx:
+ return rec.get("span_clean") or ""
+ return None
+
+
+# Envelope-marker patterns in source-of-truth. The parser intentionally
+# drops the SEC EDGAR envelope (the `` wrapper containing the
+# exhibit number) from the JSONL — but the bs4 source-of-truth dump still
+# carries the envelope text. To measure agreement-content coverage fairly,
+# we strip the envelope's tokens from the source-of-truth side before
+# the word-set comparison. These patterns match the FIRST envelope-like
+# section near the start of the source.
+_ENVELOPE_TOKEN_PATTERNS: list[_re.Pattern[str]] = [
+ # `exhibit` keyword (the envelope marker word).
+ _re.compile(r"^exhibit$"),
+ # Pure decimal-numeric tokens like "10", "10.", "10.25" — these are
+ # the exhibit number portion of the envelope marker. We only treat
+ # them as envelope tokens (and exclude them) when they appear in the
+ # FIRST ~500 chars of the source (the envelope region).
+ _re.compile(r"^\d+(?:\.\d+)*\.?$"),
+ # File-identifier tokens like "ex_10-25.htm", "arlz_ex10_1",
+ # "svra-ex1012_101.htm" — these are the SEC filing's internal HTML
+ # file name, appearing in the envelope.
+ _re.compile(r"^[a-z][a-z0-9]*[_\-]ex[\d_\-.]*(?:\.htm[a-z]?)?$"),
+ _re.compile(r"^ex[_\-]\d+[\d_\-.]*(?:\.htm[a-z]?)?$"),
+]
+
+# Confidential-treatment marker — sometimes appears right after envelope.
+# Not the agreement body. Strip just the marker tokens, not the surrounding
+# context (which may carry real content).
+_CONFIDENTIAL_MARKER_TOKENS = frozenset({
+ "confidential", "treatment", "requested",
+})
+
+
+def _envelope_region_chars(text: str) -> int:
+ """Return the byte offset where the envelope region likely ends.
+
+ The envelope sits in the leading ~500 chars of `span_clean`. We use a
+ conservative window: the first 600 chars OR up to the first non-trivial
+ paragraph, whichever is shorter.
+ """
+ cap = min(len(text), 600)
+ return cap
+
+
+# A "punctuation-only" token has no alphanumeric character. These carry
+# no semantic content for reconstruction comparison (they're things like
+# `,`, `.`, `;`, `("`, `”)`, run-on underscores from form lines). We drop
+# them from BOTH source and reconstruction word-sets before comparing.
+_HAS_ALNUM_RE = _re.compile(r"[a-z0-9]")
+
+
+def _is_punct_only(tok: str) -> bool:
+ """True if `tok` is pure punctuation/symbols (no letters or digits)."""
+ return not _HAS_ALNUM_RE.search(tok)
+
+
+def _strip_envelope_tokens_from_source(text: str) -> set[str]:
+ """Tokenize `text` and return the word-set with envelope/filing
+ metadata tokens and pure-punctuation tokens removed."""
+ norm = _normalize_text(text)
+ tokens = norm.split()
+ if not tokens:
+ return set()
+ # Identify which tokens fall in the envelope region (the leading
+ # portion of the source). We compute a running char offset for each
+ # token and check against `_envelope_region_chars`.
+ env_end = _envelope_region_chars(norm)
+ running = 0
+ in_envelope: list[bool] = []
+ for tok in tokens:
+ in_envelope.append(running < env_end)
+ running += len(tok) + 1 # +1 for the space separator after join
+ out: set[str] = set()
+ for tok, is_env in zip(tokens, in_envelope, strict=True):
+ # Drop pure punctuation/symbol tokens — no semantic content.
+ if _is_punct_only(tok):
+ continue
+ # Globally drop "confidential treatment requested" marker tokens —
+ # they're filing metadata wherever they appear (e.g. page headers).
+ if tok in _CONFIDENTIAL_MARKER_TOKENS:
+ continue
+ # In the envelope region, drop tokens matching envelope-marker
+ # shapes. Outside, keep them (so e.g. "1.01" appearing in body
+ # text as a section number is still in the source word set).
+ if is_env:
+ if any(p.match(tok) for p in _ENVELOPE_TOKEN_PATTERNS):
+ continue
+ out.add(tok)
+ return out
+
+
+def _reconstruction_words(text: str) -> set[str]:
+ """Tokenize reconstructed text and return the word-set, mirroring the
+ source-side normalization (drop pure-punctuation tokens)."""
+ norm = _normalize_text(text)
+ return {tok for tok in norm.split() if not _is_punct_only(tok)}
+
+
+def _measure_reconstruction(idx: int, records: list[dict]) -> dict | None:
+ """Compute word coverage + char ratio for one idx. None if no SoT row.
+
+ Two normalization steps applied vs the raw inputs (see
+ `task_rules/freeze_command.md` "Reconstruction gate"):
+
+ 1. Records are concatenated with a single space between spans, so
+ tokens at record boundaries don't fuse with each other. Without
+ this, a subsection marker like "(g)" at the start of one record
+ can glue onto the trailing word of the previous record's body.
+ 2. Envelope-marker tokens are stripped from the source side. The
+ parser correctly drops the SEC `` envelope (e.g.
+ "EXHIBIT 10.25") from the JSONL output; the source-of-truth
+ dump still contains it. Without stripping, we'd penalize the
+ parser for the very metadata it's required to drop.
+ """
+ source = _read_sot_span_clean(idx)
+ if source is None:
+ return None
+ # Join spans with a space separator so boundary tokens stay separated.
+ reconstructed = " ".join((r.get("span") or "") for r in records)
+ source_norm = _normalize_text(source)
+ recon_norm = _normalize_text(reconstructed)
+ source_words = _strip_envelope_tokens_from_source(source)
+ recon_words = _reconstruction_words(reconstructed)
+ if not source_words:
+ return None
+ inter = source_words & recon_words
+ word_cov = len(inter) / len(source_words) * 100
+ char_ratio = (len(recon_norm) / len(source_norm) * 100) if source_norm else 0.0
+ missing = source_words - recon_words
+ return {
+ "word_coverage_pct": word_cov,
+ "char_ratio_pct": char_ratio,
+ "n_source_words": len(source_words),
+ "n_missing_words": len(missing),
+ "sample_missing": sorted(missing)[:8],
+ }
+
+
+def _check_reconstruction(idx: int, records: list[dict]) -> list[str]:
+ """Return a list of human-readable violations from the reconstruction gate.
+
+ Empty list = passes (or no source-of-truth available). Non-empty = the
+ freeze should be refused. Word coverage below `_RECON_FAIL_BAR_PCT` is
+ the bar: any source word not appearing in the concat of spans means
+ real content was dropped by the parser.
+ """
+ m = _measure_reconstruction(idx, records)
+ if m is None:
+ console.print(
+ " [dim]reconstruction: no source-of-truth row available for "
+ f"idx={idx} (skipping check)[/dim]"
+ )
+ return []
+ wc = m["word_coverage_pct"]
+ cr = m["char_ratio_pct"]
+ if wc >= _RECON_FAIL_BAR_PCT:
+ console.print(
+ f" reconstruction OK: word_coverage={wc:.1f}% "
+ f"char_ratio={cr:.1f}% (≥ {_RECON_FAIL_BAR_PCT:.0f}% bar)"
+ )
+ return []
+ return [
+ (
+ f"reconstruction word_coverage={wc:.1f}% < "
+ f"{_RECON_FAIL_BAR_PCT:.0f}% bar. "
+ f"char_ratio={cr:.1f}%, missing {m['n_missing_words']} of "
+ f"{m['n_source_words']} unique source words. "
+ f"sample missing: {m['sample_missing']}"
+ )
+ ]
+
+
def validate_records(records: list[dict]) -> list[str]:
"""Return a list of human-readable rubric violations for `records`.
@@ -310,8 +526,8 @@ def validate_records(records: list[dict]) -> list[str]:
n_l0 = sum(1 for r in records if r.get("level") == 0)
if n_l0 == 0:
violations.append(
- "rubric requires exactly one level-0 record (the agreement title + "
- "preamble); found zero. The parser likely failed to identify the "
+ "rubric requires exactly one level-0 record (the agreement title "
+ "alone); found zero. The parser likely failed to identify the "
"main agreement title."
)
elif n_l0 > 1:
@@ -322,6 +538,22 @@ def validate_records(records: list[dict]) -> list[str]:
"second 'agreement')."
)
+ # `order` must be present on every record, 0-indexed, monotonic by 1.
+ # See task_rules/level_rubric.md "JSONL record shape".
+ orders = [r.get("order") for r in records]
+ if any(o is None for o in orders):
+ violations.append(
+ "every record must carry an `order` field (0-indexed sequence "
+ "number within the idx, document order). Found record(s) without "
+ "`order` — the parser is emitting the old 3-key shape."
+ )
+ elif orders != list(range(len(orders))):
+ violations.append(
+ "`order` values must be 0, 1, 2, …, len-1 in JSONL line order. "
+ f"Got order sequence starting {orders[:8]} ending {orders[-3:]} — "
+ "non-monotonic or has gaps. See task_rules/level_rubric.md."
+ )
+
levels = [r.get("level", 0) for r in records]
max_level = max(levels) if levels else 0
if max_level > _RUBRIC_MAX_LEVEL:
@@ -426,18 +658,23 @@ def main(
# Rubric validation gate. Refuses to freeze nonsense outputs that
# would otherwise corrupt future regression checks.
violations = validate_records(records)
+ # Reconstruction-faithfulness gate. The parser's stated goal is
+ # concat-of-spans = source; failing to recover ≥90% of unique source
+ # words means content was dropped. See task_rules/freeze_command.md
+ # and docs/DECISIONS.md §10.
+ violations.extend(_check_reconstruction(idx, records))
if violations and not force:
console.print(
- f"[red]Refusing to freeze idx={idx}: rubric violations:[/red]"
+ f"[red]Refusing to freeze idx={idx}:[/red]"
)
for v in violations:
console.print(f" - {v}")
console.print(
"\nFix the parser so the output matches "
- "task_rules/level_rubric.md, then re-run freeze. Pass --force "
- "ONLY if a human has explicitly reviewed and accepted the "
- "violations (e.g. an unusual document that legitimately can't "
- "be expressed in the rubric)."
+ "task_rules/level_rubric.md AND recovers ≥90% of source words, "
+ "then re-run freeze. Pass --force ONLY if a human has explicitly "
+ "reviewed and accepted the violations (e.g. an unusual document "
+ "that legitimately can't be expressed in the rubric)."
)
raise typer.Exit(code=3)
diff --git a/scripts/level_loop/prompt.py b/scripts/level_loop/prompt.py
index d472a94..a30c682 100755
--- a/scripts/level_loop/prompt.py
+++ b/scripts/level_loop/prompt.py
@@ -173,12 +173,15 @@ def render_attempt_history(idx: int) -> tuple[int, str]:
PROMPT_TEMPLATE = """\
-# clause-extract level-tuning loop — dispatch for idx={current_idx}
+# clause-extract parser-tuning loop — dispatch for idx={current_idx}
-Your job: tune `parse_doc2dict_with_config.py` and/or
+The parser's only goal is to slice each agreement's HTML into clauses
+with hierarchy — clause text plus **nesting depth** — so that
+concatenating the spans in document order reconstructs the source
+faithfully. Your job: tune `parse_doc2dict_with_config.py` and/or
`src/clause_extract/agreement_config.py` so the parser produces
-RUBRIC-COMPLIANT output for idx={current_idx} without regressing
-already-frozen idxs.
+rubric-compliant, reconstruction-faithful output for idx={current_idx}
+without regressing already-frozen idxs.
Each dispatch handles **EXACTLY ONE idx**. After one successful
freeze + advance for idx={current_idx}, **STOP and EXIT** — the driver
@@ -191,36 +194,84 @@ def render_attempt_history(idx: int) -> tuple[int, str]:
{attempt_history}
## Source of truth (canonical)
-The level rubric, the scope rule, and the worked examples are the
-single source of truth for what a "correct" parse looks like:
+The rubric, the scope rule, and the worked examples are the single
+source of truth for what a "correct" parse looks like:
- - `task_rules/level_rubric.md` — levels 0–7, SEC-envelope drop,
- subdocument level penalty.
+ - `task_rules/level_rubric.md` — depth 0–7 rubric (read `level`
+ as nesting depth), SEC-envelope drop, subdocument depth penalty,
+ reconstruction-faithfulness bar.
- `task_rules/scope_rule.md` — STRUCTURAL agreement-vs-trailer
classification using signature-block + real-subdoc detection.
+ Document type is irrelevant (private, government, unilateral,
+ multilateral all use the same rules).
- `task_rules/examples_main_agreement.md` — flat agreement worked.
- `task_rules/examples_with_subdocs.md` — subdoc penalty up to L7.
- - `task_rules/freeze_command.md` — what the freeze validator checks.
+ - `task_rules/freeze_command.md` — what the freeze validator checks
+ (rubric, monkey-patch, AND reconstruction gates are all BLOCKING:
+ word coverage < 90% → freeze refused).
READ AT LEAST `level_rubric.md` AND `scope_rule.md` BEFORE EDITING.
The corpus's source-of-truth dump is at
-`data/auto_parse/parse_source_of_truth.jsonl` — bs4 plain text +
-raw HTML per idx. Use it to verify your parse's reconstruction.
+`data/auto_parse/parse_source_of_truth.jsonl` — bs4 plain text per
+idx in `span_clean`, raw HTML in `span_html`. Concat-of-spans from
+your parser should approximate `span_clean[idx]` for idx={current_idx}.
+
+## Scope: every kind of agreement is in scope
+
+All agreement types parse under the same rubric: private bilateral
+contracts, **government contracts and amendments** (SF-30 etc.),
+international/cross-border agreements, **unilateral instruments**
+(guaranties, options, releases, designations of agent, irrevocable
+proxies), multilateral / tri-party agreements. The structural
+patterns the parser detects (numbered Sections, lettered subsections,
+signature lines, attached subdocuments) are common to all of them.
+
+Out of scope is **non-agreement metadata only** — the SEC envelope,
+post-signature filing trailers (press releases, About-Company,
+forward-looking-statement disclaimers, contact blocks). The scope rule
+in `task_rules/scope_rule.md` filters those structurally; it does NOT
+filter by what kind of agreement the document is. Do NOT add
+document-class-specific code (`if is_government_contract`, `if
+is_unilateral`) — if a branch by document class feels needed, the
+structural rule needs fixing instead.
## Level rubric (one-screen summary — full version in level_rubric.md)
-Levels are 0-indexed depths in the agreement's structural hierarchy:
-
- - L0 = the agreement itself (EXACTLY one record per idx: title +
- preamble paragraph).
- - L1 = top-level headings + recitals: party metadata, WITNESSETH /
- WHEREAS, signature block, real-subdoc HEADERS.
- - L2 = numbered Sections ("1.", "ARTICLE 1", "Section 1.1").
- - L3 = lettered subsections ("(a)", "(b)").
- - L4 = sub-sub items ("(i)", "(A)", "(1)").
- - L5–L7 = same as L2–L4 but inside 1, 2, or 3 levels of subdoc
- nesting (each subdoc adds +1 penalty to descendants).
+Each JSONL record has four keys: `idx`, `order`, `level`, `span`.
+
+ - `order` is a 0-indexed sequence number within idx, in document
+ order. First emitted span has `order=0`, second has `order=1`,
+ etc. Monotonic per-idx, no gaps.
+ - `level` is a 0-indexed **nesting depth** into the agreement's
+ structural hierarchy.
+
+Standalone agreement (no subdocuments):
+
+ - Depth 0 = the agreement **TITLE ALONE** (exactly one record per
+ idx). The preamble is NOT depth 0 — it is depth 1.
+ - Depth 1 = every direct child of the agreement: preamble
+ paragraph, recitals block, **each top-level body clause**
+ (Article when the doc uses Article/Section nesting, otherwise
+ the numbered Section), and the signature block.
+ - Depth 2 = direct children of L1 clauses: Section under Article,
+ or lettered "(a)/(b)/(c)" subsection under a top Section.
+ - Depth 3 = direct children of L2 clauses: lettered "(a)" under
+ Section-under-Article, or roman/letter/digit "(i)/(A)/(1)"
+ items under "(a)".
+ - Depth 4+ = deeper nesting (rare in EX-10 main bodies).
+ - Subdocument penalty: each subdoc ancestor (cls=exhibit/schedule/
+ appendix/annex with descriptive title, NOT the SEC envelope)
+ adds +1 to every descendant's depth. Ceiling 7.
+
+The agreement title and the preamble paragraph are TWO records:
+title → L0 alone; preamble → L1 (one of the agreement's children).
+
+For documents with a flatter structure (a unilateral designation, a
+one-page release, a government form with numbered fields), the
+deeper depths may simply not appear — that is correct. Depths
+capture structure that exists in the source; don't synthesise depth
+that isn't there.
The SEC envelope ("EXHIBIT 10.25" with empty body, FIRST exhibit-class
section per idx) is `is_envelope=true`, kept in parquet, dropped from
@@ -355,6 +406,36 @@ def render_attempt_history(idx: int) -> tuple[int, str]:
- The current parser output above is what you start from. Read the
level distribution and the offending records FIRST, then decide.
+## Critical workflow rule: re-run the parser after EVERY edit
+
+`regress.py` and `freeze.py` both read the canonical jsonl on disk
+at `{data_dir_abs}/parse_doc2dict_with_config_nodes.jsonl`. That file
+is **only refreshed when you run the parser**. If you edit the parser
+source and skip the parser run, regress.py will compare frozen
+baselines against the OLD jsonl from the previous parser run — giving
+phantom regressions that have nothing to do with your latest edit.
+
+**The single most common dispatch failure is reading stale jsonl after
+multiple edits.** It looks like this:
+
+```
+1. Edit parser (attempt 1)
+2. Run parser ← jsonl refreshed
+3. Run regress ← REGRESSION (real)
+4. Edit parser (attempt 2)
+5. Run regress ← REGRESSION (FALSE — still reading attempt-1 jsonl)
+6. Edit parser (attempt 3)
+7. Run regress ← REGRESSION (FALSE — still reading attempt-1 jsonl)
+ ... agent gets stuck thinking the rule is fundamentally wrong
+```
+
+**Rule: every edit to `parse_doc2dict_with_config.py` or
+`agreement_config.py` MUST be followed by a parser run BEFORE any
+inspection of the jsonl, regress.py invocation, or freeze attempt.**
+The mtime check in step 4 below is the canonical guard — if the jsonl
+mtime is older than your most recent parser-source mtime, the jsonl
+is stale and any regress signal you read is a phantom.
+
## Workflow for THIS dispatch
1. Read the source-of-truth and the current output above. Decide which
@@ -380,15 +461,36 @@ def render_attempt_history(idx: int) -> tuple[int, str]:
`--limit {limit_n}` parses idxs 0..{current_idx} inclusive. `--no-truncate`
keeps full spans so the freeze captures real text.
-4. **Sanity check the parser actually emitted records for idx={current_idx}.**
- This catches the failure mode where an over-aggressive edit silently
- drops the target idx from the output — the freeze would then say "no
- records for idx={current_idx}" and the dispatch would burn an attempt.
+4. **Sanity check the parser ran AND emitted records for idx={current_idx}.**
+ Two failure modes to catch here:
+ (a) the parser run was skipped or wrote to the wrong directory, so
+ the canonical jsonl is stale relative to your parser source;
+ (b) the parser ran but your edit silently dropped the target idx
+ from the output, so the freeze would say "no records for
+ idx={current_idx}" and burn an attempt.
+
+ Verify both:
+
+ # The canonical jsonl must be NEWER than the parser source —
+ # otherwise it reflects a previous parser version and any regress
+ # signal will be a phantom.
+ python3 -c "
+import os, sys
+files = [
+ '{data_dir_abs}/parse_doc2dict_with_config_nodes.jsonl',
+ 'scripts/parse_doc2dict_with_config.py',
+ 'src/clause_extract/agreement_config.py',
+]
+pairs = sorted((os.path.getmtime(f), f) for f in files if os.path.exists(f))
+for mtime, f in pairs:
+ print(f, int(mtime))
+"
+ # The jsonl line should be LAST (largest mtime). If a source file
+ # has a newer mtime, you must re-run the parser before continuing.
- ls -la {data_dir_abs}/parse_doc2dict_with_config_nodes.jsonl
- # mtime should be <60s old
grep -c '"idx": {current_idx}' {data_dir_abs}/parse_doc2dict_with_config_nodes.jsonl
- # count must be > 0; if 0, your edit broke parsing for this idx — revert and try smaller
+ # count must be > 0; if 0, your edit broke parsing for this idx —
+ # revert and try a smaller change.
5. **Run the regression check** before freezing:
@@ -399,9 +501,32 @@ def render_attempt_history(idx: int) -> tuple[int, str]:
freeze with a regressed parser — that just wastes attempts.
6. Inspect the output for idx={current_idx} in
- `{data_dir_abs}/parse_doc2dict_with_config_nodes.jsonl`. Verify the
- levels match the rubric: exactly one level-0, no levels > 7 unless
- the document has 3+ subdocs, no SEC-filing boilerplate captured.
+ `{data_dir_abs}/parse_doc2dict_with_config_nodes.jsonl`. Verify two
+ things:
+
+ (a) **Rubric**: exactly one depth-0 record, max depth ≤ 7, no
+ envelope as first record, no SEC-filing boilerplate captured.
+
+ (b) **Reconstruction**: concat-of-spans must approximate the
+ source-of-truth. Word coverage < 90% is a HARD FAIL —
+ the freeze gate enforces this automatically. To preview
+ the check before freezing, run:
+
+ uv run scripts/level_loop/regress.py
+
+ If regress passes, word coverage is sufficient. If you
+ suspect content was dropped, inspect the output jsonl:
+
+ python3 -c "
+import json, re
+rows=[json.loads(l) for l in open('{data_dir_abs}/parse_doc2dict_with_config_nodes.jsonl') if '\"idx\": {current_idx}' in l]
+spans=' '.join(r.get('body_direct','') for r in rows)
+print(len(spans.split()), 'words in reconstruction')
+"
+
+ Find missing words in the source, locate the record(s)
+ that should have captured them, and fix the slicing.
+ Then re-run the parser and try again.
7. If correct, freeze:
@@ -409,17 +534,26 @@ def render_attempt_history(idx: int) -> tuple[int, str]:
freeze.py validates the records AND scans the parser source. It
refuses on ANY of:
- - rubric violations (0 or >1 level-0 records, max level > 7,
+ - rubric violations (0 or >1 depth-0 records, max depth > 7,
first record = SEC envelope marker, filing-trailer pattern
found in any span);
- monkey-patch hits in parser source (named blocklist constants,
trailer keyword pairs in any string literal, level-capping
arithmetic).
- If freeze rejects, READ THE DIAGNOSTIC, fix the parser source
+ freeze.py also enforces a BLOCKING reconstruction gate: if word
+ coverage for this idx is below 90%, the freeze is refused. The
+ error message includes the percentage, char ratio, count of
+ missing words, and a sample of the missing words. Use that sample
+ to localize what got dropped, fix the parser slicing, re-run the
+ parser, and try freeze again.
+
+ If freeze rejects for ANY reason (rubric, monkey-patch, or
+ reconstruction), READ THE DIAGNOSTIC, fix the parser source
accordingly (do NOT add new monkey-patches; remove the offending
- shape), re-run the parser, and try freeze again WITHIN this
- dispatch. Do NOT pass --force.
+ shape; for reconstruction, find the missing content), re-run the
+ parser, and try freeze again WITHIN this dispatch. Do NOT pass
+ --force.
8. Advance to the next idx — EXACTLY ONCE:
@@ -440,17 +574,36 @@ def render_attempt_history(idx: int) -> tuple[int, str]:
- Never edit files under `data/auto_parse/level_freeze/frozen/` by
hand.
- Never call `freeze.py --force`. Only humans force.
+- **DO NOT ASK QUESTIONS.** This is a fully autonomous dispatch — there
+ is no human to answer. When you face a judgment call, make the most
+ pragmatic choice that lets the rubric pass and the freeze advance,
+ and document your reasoning in the commit message and/or attempt
+ notes. Asking and exiting wastes a dispatch slot.
+- **doc2dict text-loss fallback.** If doc2dict has dropped content
+ the rubric expects (title/preamble missing, content past page-break
+ HRs gone, etc.), accept what is available: promote the first
+ available section as L0 and freeze. Note the truncation in your
+ commit message. Do NOT block on this — it is a known limitation
+ and downstream tooling will surface incomplete spans.
- If you cannot make the rubric pass without breaking a frozen idx,
STOP, print one line of WHY, and exit. The driver will retry with
a fresh dispatch (with your failure recorded in attempt history).
- DO NOT use phrase blocklists, trailer-keyword regexes, or level
capping. Use the structural scope rule.
+- DO NOT add document-class-specific code paths
+ (`if is_government_contract`, `if is_unilateral`, etc.). The
+ structural rules apply uniformly across agreement types; branches
+ by document class mean the rule itself needs rethinking. The parser
+ works the same for private, government, unilateral, and
+ international agreements.
- **ONE ADVANCE PER DISPATCH.** After `advance.py` succeeds for
idx={current_idx}, EXIT. Do NOT loop into another idx. The driver
is responsible for the next idx; the agent's scope is exactly one.
-- **NEVER call freeze.py or advance.py twice in one dispatch.** If
- you somehow find yourself looking at idx={current_idx}+1 after a
- successful advance, that means you should be DONE — stop now.
+- `freeze.py` may be retried within the same dispatch after fixing a
+ rejection (re-run the parser first, then re-call freeze). Do NOT
+ pass `--force`. Never call `advance.py` twice. If you find yourself
+ looking at idx={current_idx}+1 after a successful advance, you are
+ DONE — stop now.
"""
diff --git a/scripts/parse_doc2dict_with_config.py b/scripts/parse_doc2dict_with_config.py
index 1f06377..207717f 100644
--- a/scripts/parse_doc2dict_with_config.py
+++ b/scripts/parse_doc2dict_with_config.py
@@ -123,21 +123,25 @@
# Ordered most-specific first so roman "(i)" is checked before lettered "(i)".
_LEVEL_PATTERNS: list[tuple[int, re.Pattern[str]]] = [
- # Level 4: roman numeral in parens — multi-char "(ii)", "(iii)" or
+ # New rubric: numbered sections "1." sit at depth 1 (top-level body
+ # clauses are direct children of the agreement). Lettered subsections
+ # "(a)" at 2; roman/cap-letter/digit items "(i)"/"(A)"/"(1)" at 3.
+ #
+ # Depth 3: roman numeral in parens — multi-char "(ii)", "(iii)" or
# common single roman numerals "(i)", "(I)", "(v)", "(V)", "(x)", "(X)".
- (4, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
- # Level 4: uppercase letter in parens "(A)", "(B)"
- (4, re.compile(r"^\(([A-Z])\)")),
- # Level 4: digit in parens "(1)", "(2)"
- (4, re.compile(r"^\((\d+)\)")),
- # Level 3: single lowercase letter in parens "(a)", "(b)", "(c)"
- (3, re.compile(r"^\(([a-z])\)")),
- # Level 2: bare number with period ("1.", "10.", "21.")
- (2, re.compile(r"^(\d+)\.")),
- # Level 2: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
- (2, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
- # Level 2: SECTION heading ("SECTION 1.", "Section 2.3")
- (2, re.compile(r"^SECTION\s+\d+", re.IGNORECASE)),
+ (3, re.compile(r"^\(([ivx]+|[IVX]+)\)")),
+ # Depth 3: uppercase letter in parens "(A)", "(B)"
+ (3, re.compile(r"^\(([A-Z])\)")),
+ # Depth 3: digit in parens "(1)", "(2)"
+ (3, re.compile(r"^\((\d+)\)")),
+ # Depth 2: single lowercase letter in parens "(a)", "(b)", "(c)"
+ (2, re.compile(r"^\(([a-z])\)")),
+ # Depth 1: bare number with period ("1.", "10.", "21.")
+ (1, re.compile(r"^(\d+)\.")),
+ # Depth 1: ARTICLE heading ("ARTICLE I", "ARTICLE 3", "Article IV.")
+ (1, re.compile(r"^ARTICLE\s+(\d+|[IVXLCDM]+)\.?\s*$", re.IGNORECASE)),
+ # Depth 1: SECTION heading ("SECTION 1.", "Section 2.3")
+ (1, re.compile(r"^SECTION\s+\d+", re.IGNORECASE)),
]
@@ -216,20 +220,62 @@ def _is_text_leaf(d: Any) -> bool:
return isinstance(d, dict) and "text" in d and "contents" not in d
+def _is_table_node(d: Any) -> bool:
+ """A doc2dict node representing an HTML .
+
+ doc2dict stores tables as `{"table": {"preamble": ..., "data": ...,
+ "postamble": ..., "title": ..., "cleaned": ...}}` with NO `title`,
+ `class`, `contents` or `text` keys. These nodes are neither section
+ nodes nor text leaves and were previously skipped — but their
+ `preamble`/`postamble` carry real document text (often multiple
+ inline sections worth) that must be captured.
+ """
+ return (
+ isinstance(d, dict)
+ and "table" in d
+ and "text" not in d
+ and "contents" not in d
+ and "title" not in d
+ )
+
+
def _collect_table_text(node: dict[str, Any]) -> str:
- """Extract combined preamble + postamble text from a node's ``table`` key."""
+ """Extract preamble + cell data + postamble text from a table node.
+
+ Excludes the table's `title` field because doc2dict copies the
+ enclosing section's title text into it — keeping that would double-
+ count content already emitted on the parent section.
+ """
table = node.get("table")
if not isinstance(table, dict):
return ""
parts: list[str] = []
- for key in ("preamble", "postamble"):
- t = table.get(key)
- if isinstance(t, str) and t.strip():
- parts.append(t.strip())
+ pre = table.get("preamble")
+ if isinstance(pre, str) and pre.strip():
+ parts.append(pre.strip())
+ data = table.get("data")
+ if isinstance(data, list):
+ for row in data:
+ if isinstance(row, list):
+ for cell in row:
+ if isinstance(cell, str) and cell.strip():
+ parts.append(cell.strip())
+ elif isinstance(row, str) and row.strip():
+ parts.append(row.strip())
+ post = table.get("postamble")
+ if isinstance(post, str) and post.strip():
+ parts.append(post.strip())
return "\n".join(parts)
def _collect_direct_text(section: dict[str, Any]) -> str:
+ """Concat text-leaf children. Excludes text leaves that will be promoted
+ into their own section records (so they don't double-emit). A leaf is
+ promotable when its text begins with a section marker like "1.", "(a)",
+ "(i)". See `_promote_text_leaves`.
+
+ Also walks table-only children (doc2dict's HTML-table representation)
+ and pulls their preamble/data/postamble text into the parent's body."""
out: list[str] = []
contents = section.get("contents")
if isinstance(contents, dict):
@@ -237,6 +283,14 @@ def _collect_direct_text(section: dict[str, Any]) -> str:
if _is_text_leaf(child):
t = child.get("text")
if isinstance(t, str):
+ if _TEXT_LEAF_SECTION_RE.match(t):
+ # Text leaf will be promoted to its own record.
+ # Exclude here to avoid duplicate emission.
+ continue
+ out.append(t)
+ elif _is_table_node(child):
+ t = _collect_table_text(child)
+ if t:
out.append(t)
return "\n".join(out)
@@ -331,6 +385,42 @@ def _remap_depth(title: str | None, cls: str | None, tree_depth: int, *, parent_
re.IGNORECASE,
)
+# Bare subdoc identifier (no descriptive separator): "EXHIBIT 8.2",
+# "SCHEDULE 1.33", "ANNEX I". A bare identifier alone is NOT a real
+# subdoc per the canonical scope rule; but doc2dict often splits the
+# source text "SCHEDULE 1.33 CALCULATION OF LABOR COSTS" into two HTML
+# elements (the bare identifier as the schedule node, the descriptive
+# part as a predicted-header child). When the descriptive part is a
+# direct child predicted-header with all-caps text, the combined
+# parent+child IS a real subdoc — the descriptive title is just on the
+# next HTML element, not the next textual line.
+_BARE_SUBDOC_ID_RE = re.compile(
+ r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-\(\)]+\s*$",
+ re.IGNORECASE,
+)
+
+# Descriptive child header: predicted-header title that's predominantly
+# upper-case letters (descriptive subdoc name in caps), not a section
+# marker or `[***]` redaction placeholder. Used to qualify a bare
+# subdoc as a real subdoc when its first child carries the description.
+def _looks_like_descriptive_subdoc_child_title(title: str | None) -> bool:
+ if not title:
+ return False
+ stripped = title.strip()
+ if not stripped:
+ return False
+ # Strip surrounding brackets/redaction artifacts.
+ if stripped.startswith("[") and stripped.endswith("]"):
+ return False
+ # Must contain at least one uppercase letter sequence of length >= 2
+ # (i.e. a meaningful word in caps, not just punctuation/digits).
+ if not re.search(r"[A-Z]{2,}", stripped):
+ return False
+ # Section markers like "(a)", "1.", "ARTICLE 1." don't qualify.
+ if re.match(r"^\s*(?:\(\w+\)|\d+\.|SECTION\s+\d|ARTICLE\s+\w+)", stripped, re.IGNORECASE):
+ return False
+ return True
+
# Bare roman-numeral TOC page marker: "i", "ii", "iii", etc. with no body.
_TOC_PAGE_MARKER_RE = re.compile(r"^[ivxlcdm]+$")
@@ -353,12 +443,26 @@ def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool,
"""Return True if this section is a REAL subdocument (not the SEC envelope).
Matches scope_rule.md's definition: cls in subdoc classes, not envelope,
- has descriptive text beyond bare identifier. A bare identifier like
- "EXHIBIT 8.2" with NO descriptive suffix is NOT a real subdoc even if
- it has child sections — doc2dict may split a parent/child where the
- parent is just a bare label and the child is the actual content.
- Only _REAL_SUBDOC_TITLE_RE (identifier + em-dash/dash/colon + description)
- qualifies.
+ has descriptive text beyond bare identifier. Two structural patterns
+ qualify as "has descriptive text":
+
+ 1. Same-line form: title carries identifier + separator + description,
+ e.g. "SCHEDULE 1: DEFINITIONS", "EXHIBIT A — FORM OF NOTICE".
+ Detected by `_REAL_SUBDOC_TITLE_RE`.
+
+ 2. Split-form: title is just the bare identifier (e.g. "SCHEDULE
+ 1.33") AND the first direct child is a `predicted header` whose
+ title is the descriptive part on its own ("CALCULATION OF LABOR
+ COSTS, EXPENSE ALLOCATION AND RELATED MATTERS"). This happens
+ when doc2dict splits "SCHEDULE 1.33 CALCULATION OF LABOR COSTS"
+ from the source text into two HTML elements (a ``
+ identifier and a `` description). The
+ combined parent+child IS a real subdoc — the descriptive title
+ is just on the next HTML element, not the next textual line.
+
+ A bare identifier ("EXHIBIT 8.2") with NO descriptive suffix AND NO
+ descriptive child IS NOT a real subdoc (it's the SEC envelope or a
+ placeholder).
"""
if is_envelope:
return False
@@ -367,7 +471,13 @@ def _is_real_subdoc_title(title: str | None, cls: str | None, is_envelope: bool,
if not title:
return False
stripped = title.strip()
- return bool(_REAL_SUBDOC_TITLE_RE.match(stripped))
+ # Case 1: Same-line descriptive title (identifier + separator + text).
+ if _REAL_SUBDOC_TITLE_RE.match(stripped):
+ return True
+ # Case 2: Bare identifier + descriptive child header.
+ if _BARE_SUBDOC_ID_RE.match(stripped) and _looks_like_descriptive_subdoc_child_title(first_child_title):
+ return True
+ return False
def _find_signature_cutoff(rows: list[dict[str, Any]]) -> int | None:
@@ -918,6 +1028,2340 @@ def _bump_penalty(nid: int, extra: int) -> None:
return rows
+def _merge_bare_section_marker_with_child(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Merge a bare "N." or "ARTICLE N." marker record with its descriptive child.
+
+ doc2dict sometimes splits a numbered section into:
+ - parent: title="10.", empty body
+ - child: title="Retroactive Effect; …", body="All agreements…"
+ where the child carries the actual section description and body.
+ Per the rubric, this is ONE clause at depth 1: "10. Retroactive
+ Effect…". Merging keeps the JSONL clean (no orphan marker records).
+
+ The same pattern applies to ARTICLE titles:
+ - parent: cls="article", title="ARTICLE 1.", empty body
+ - child: cls="predicted header", title="DEFINITIONS", body="..."
+ These merge to one record "ARTICLE 1. DEFINITIONS" with the child's body.
+
+ Match criteria (numbered):
+ - parent.title matches `^\\d+\\.\\s*$`
+ - parent.body_direct is empty
+ - parent has exactly one direct child (in `rows`, i.e. node-id-
+ parented; not a doc2dict text leaf)
+ - child.title is non-empty and does not start with a digit marker
+
+ Match criteria (article):
+ - parent.cls == "article"
+ - parent.title matches `^ARTICLE\\s+\\w+\\.?\\s*$` (e.g. "ARTICLE 1.",
+ "ARTICLE I", "ARTICLE 13.")
+ - parent.body_direct is empty
+ - parent has exactly one direct child
+ - child.cls == "predicted header" with a descriptive title that
+ doesn't start with another section marker
+
+ On match (either form):
+ - parent.title becomes `parent.title + ' ' + child.title`
+ - parent.body_direct becomes child.body_direct
+ - child is marked `is_envelope=True` so it drops from JSONL
+ (parquet still records both for audit)
+ - child's descendants are re-parented to the merged record
+ """
+ by_node_id = {r["node_id"]: r for r in rows}
+ children_of: dict[int | None, list[dict[str, Any]]] = {}
+ for r in rows:
+ children_of.setdefault(r.get("parent_node_id"), []).append(r)
+
+ _BARE_MARKER_RE = re.compile(r"^\s*\d+\.\s*$")
+ _BARE_ARTICLE_MARKER_RE = re.compile(
+ r"^\s*ARTICLE\s+(?:\d+|[IVXLCDM]+)\.?\s*$",
+ re.IGNORECASE,
+ )
+ _HAS_MARKER_PREFIX_RE = re.compile(r"^\s*\d+\.")
+
+ for r in rows:
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ title = (r.get("title") or "").strip()
+ body = (r.get("body_direct") or "").strip()
+ if not title or body:
+ continue
+ cls = (r.get("cls") or "")
+ is_bare_numeric = bool(_BARE_MARKER_RE.match(title))
+ is_bare_article = cls == "article" and bool(_BARE_ARTICLE_MARKER_RE.match(title))
+ if not (is_bare_numeric or is_bare_article):
+ continue
+ kids = [
+ c for c in children_of.get(r["node_id"], [])
+ if not c.get("is_envelope") and c.get("scope") != "trailer"
+ ]
+ if not kids:
+ continue
+ # For bare-numeric markers ("10."): require exactly ONE child so we
+ # don't accidentally absorb sibling subsections. For ARTICLE bare
+ # markers, the article often has multiple children (descriptive
+ # header + attached schedules/exhibits as later siblings under the
+ # same article) — only the FIRST child (descriptive header) merges.
+ if is_bare_numeric and len(kids) != 1:
+ continue
+ kid = kids[0]
+ kid_title = (kid.get("title") or "").strip()
+ kid_cls = (kid.get("cls") or "")
+ if not kid_title or _HAS_MARKER_PREFIX_RE.match(kid_title):
+ continue
+ # For ARTICLE merge, the first kid must be a descriptive
+ # predicted-header (not another structural class like schedule).
+ if is_bare_article and kid_cls != "predicted header":
+ continue
+ # Merge: combine titles, take kid's body, mark kid as envelope.
+ r["title"] = f"{title} {kid_title}"
+ r["body_direct"] = kid.get("body_direct") or ""
+ r["body_direct_chars"] = len(r["body_direct"])
+ kid["is_envelope"] = True
+ # Re-parent kid's children to merged record so their lineage
+ # stays correct in the parquet view.
+ for grand in children_of.get(kid["node_id"], []):
+ grand["parent_node_id"] = r["node_id"]
+
+ return rows
+
+
+def _consolidate_real_subdocs(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Process each real subdocument per the rubric depth-assignment rule.
+
+ Per task_rules/examples_with_subdocs.md, the depth assignment is:
+
+ depth = (natural structural depth from the title down)
+ + (number of enclosing real subdocuments at that node)
+
+ A subdoc HEADER sits at its natural depth (no +1 for being a subdoc
+ itself — the header IS the boundary marker). Subdoc BODY descendants
+ absorb the +1 per enclosing subdoc level.
+
+ This pass does TWO things:
+
+ 1. **Bare-identifier rescue.** If a subdoc's title is a bare
+ identifier ("SCHEDULE 1.33") AND its first child is a
+ descriptive predicted header ("CALCULATION OF LABOR COSTS,
+ EXPENSE ALLOCATION AND RELATED MATTERS"), merge the child's
+ title into the subdoc's title and mark the child as envelope
+ so it doesn't duplicate-emit.
+
+ 2. **Nested-subdoc promotion.** When a deep descendant of a
+ subdoc bears a "SCHEDULE / EXHIBIT / APPENDIX / ANNEX N"
+ pattern (a peer subdoc that doc2dict mis-nested), promote it
+ to be a SIBLING of the enclosing subdoc (parent = enclosing
+ subdoc's parent). This handles the doc2dict pathology where
+ e.g. "SCHEDULE 5.2(b)" got buried inside "SCHEDULE 1.135"
+ because the HTML didn't structurally separate them.
+
+ 3. **Depth assignment.** Each descendant of a real subdoc gets
+ its depth set per the formula above. For descendants that
+ aren't themselves nested subdocs, that's L2 (subdoc_depth=1
+ + descendant natural depth=1 + subdoc penalty=0 once we count
+ the enclosing-subdoc count externally). The descendant
+ emission preserves doc2dict's natural grouping — we do not
+ collapse them into one body.
+
+ This step runs AFTER `_apply_scope_rule` (so we know real subdocs)
+ and BEFORE `_sort_records_by_source_position`.
+ """
+ children_of: dict[int | None, list[dict[str, Any]]] = {}
+ for r in rows:
+ children_of.setdefault(r.get("parent_node_id"), []).append(r)
+ for pid in children_of:
+ children_of[pid].sort(key=lambda r: r["node_id"])
+
+ # Identify real subdocs (using the existing test).
+ def _is_subdoc(r: dict[str, Any]) -> bool:
+ kids = children_of.get(r["node_id"], [])
+ first_child_title = kids[0]["title"] if kids else None
+ return _is_real_subdoc_title(
+ r.get("title"), r.get("cls"), r.get("is_envelope", False), first_child_title
+ )
+
+ real_subdoc_ids: set[int] = set()
+ for r in rows:
+ if _is_subdoc(r):
+ real_subdoc_ids.add(r["node_id"])
+
+ if not real_subdoc_ids:
+ return rows
+
+ by_node_id = {r["node_id"]: r for r in rows}
+
+ def _collect_descendants(nid: int) -> list[dict[str, Any]]:
+ out: list[dict[str, Any]] = []
+ for child in sorted(children_of.get(nid, []), key=lambda x: x["node_id"]):
+ out.append(child)
+ out.extend(_collect_descendants(child["node_id"]))
+ return out
+
+ # Bare-identifier rescue: merge first descriptive child into subdoc
+ # title, mark child as envelope. Track which children were merged so
+ # we don't re-process them as body descendants.
+ merged_child_ids: set[int] = set()
+ for subdoc_id in sorted(real_subdoc_ids):
+ subdoc = by_node_id[subdoc_id]
+ if subdoc.get("is_envelope"):
+ continue
+ kids = children_of.get(subdoc_id, [])
+ if not kids:
+ continue
+ first_kid = kids[0]
+ existing_title = (subdoc.get("title") or "").strip()
+ first_kid_title = (first_kid.get("title") or "").strip()
+ if (
+ _BARE_SUBDOC_ID_RE.match(existing_title)
+ and _looks_like_descriptive_subdoc_child_title(first_kid_title)
+ and first_kid["node_id"] not in real_subdoc_ids
+ ):
+ subdoc["title"] = f"{existing_title} {first_kid_title}"
+ first_kid["is_envelope"] = True
+ merged_child_ids.add(first_kid["node_id"])
+
+ # Promote nested subdoc headers: if a descendant title matches a
+ # bare or descriptive subdoc pattern, promote it to be a SIBLING of
+ # its enclosing subdoc. This handles the doc2dict pathology where
+ # e.g. "SCHEDULE 5.2(b)" appears as a deep descendant of "SCHEDULE
+ # 1.135" rather than as a sibling.
+ _PROMOTABLE_SUBDOC_RE = re.compile(
+ r"^(?:EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\(\)\-]+\s*(?:[—\-:]\s*\S.*)?$",
+ re.IGNORECASE,
+ )
+
+ for subdoc_id in sorted(real_subdoc_ids):
+ subdoc = by_node_id[subdoc_id]
+ if subdoc.get("is_envelope"):
+ continue
+ subdoc_parent_id = subdoc.get("parent_node_id")
+ for d in _collect_descendants(subdoc_id):
+ if d.get("is_envelope") or d.get("node_id") in merged_child_ids:
+ continue
+ d_title = (d.get("title") or "").strip()
+ if not d_title:
+ continue
+ if not _PROMOTABLE_SUBDOC_RE.match(d_title):
+ continue
+ # This descendant looks like its own subdoc header. Promote
+ # it: re-parent to the enclosing subdoc's parent, reset its
+ # depth to match the enclosing subdoc (it's now a peer), and
+ # mark as a real subdoc.
+ d["parent_node_id"] = subdoc_parent_id
+ d["depth"] = subdoc.get("depth", 1)
+ real_subdoc_ids.add(d["node_id"])
+ # Re-test bare-identifier rescue for the newly-promoted
+ # subdoc. The descriptive partner can be:
+ # (a) the first direct child in the doc2dict tree, OR
+ # (b) the NEXT node_id in source order (doc2dict's
+ # tree-walk can scatter descriptive partner into a
+ # cousin position when the source had them sequential).
+ promoted_kids = sorted(
+ children_of.get(d["node_id"], []),
+ key=lambda x: x["node_id"],
+ )
+ descriptive_partner: dict[str, Any] | None = None
+ if promoted_kids:
+ pk = promoted_kids[0]
+ pk_title = (pk.get("title") or "").strip()
+ if (
+ _BARE_SUBDOC_ID_RE.match(d_title)
+ and _looks_like_descriptive_subdoc_child_title(pk_title)
+ and pk["node_id"] not in real_subdoc_ids
+ ):
+ descriptive_partner = pk
+ if descriptive_partner is None and _BARE_SUBDOC_ID_RE.match(d_title):
+ # Try (b): next-node-id descriptive partner anywhere in
+ # the enclosing subdoc's subtree. Walk descendants of
+ # the enclosing subdoc in node_id order and find the
+ # first active one with a descriptive title (no body)
+ # whose node_id > d["node_id"].
+ for cand in _collect_descendants(subdoc_id):
+ if cand.get("is_envelope") or cand["node_id"] in real_subdoc_ids:
+ continue
+ if cand["node_id"] <= d["node_id"]:
+ continue
+ c_title = (cand.get("title") or "").strip()
+ c_body = (cand.get("body_direct") or "").strip()
+ if not c_title or c_body:
+ continue
+ if not _looks_like_descriptive_subdoc_child_title(c_title):
+ continue
+ descriptive_partner = cand
+ break
+ if descriptive_partner is not None:
+ d["title"] = f"{d_title} {(descriptive_partner.get('title') or '').strip()}"
+ descriptive_partner["is_envelope"] = True
+ merged_child_ids.add(descriptive_partner["node_id"])
+
+ # Rebuild children index after promotions.
+ children_of = {}
+ for r in rows:
+ children_of.setdefault(r.get("parent_node_id"), []).append(r)
+ for pid in children_of:
+ children_of[pid].sort(key=lambda r: r["node_id"])
+
+ # Adjacent-pair subdoc rescue: a bare-identifier subdoc whose
+ # IMMEDIATELY-NEXT sibling (in source order, by node_id) is a
+ # descriptive predicted header but NOT a subdoc itself absorbs the
+ # next sibling's title. The next sibling is marked envelope so it
+ # doesn't double-emit. This handles the doc2dict pathology where
+ # e.g. "SCHEDULE 5.2(b)" and "OUTLINE OF INITIAL DEVELOPMENT PLAN
+ # FOR FIRST PRODUCT" are sibling predicted headers — the actual
+ # subdoc title is "SCHEDULE 5.2(b) OUTLINE OF INITIAL DEVELOPMENT
+ # PLAN FOR FIRST PRODUCT".
+ for subdoc_id in sorted(real_subdoc_ids):
+ subdoc = by_node_id[subdoc_id]
+ if subdoc.get("is_envelope"):
+ continue
+ title = (subdoc.get("title") or "").strip()
+ if not _BARE_SUBDOC_ID_RE.match(title):
+ continue
+ parent_id = subdoc.get("parent_node_id")
+ siblings = children_of.get(parent_id, [])
+ # Find subdoc in siblings, then look at next active sibling.
+ try:
+ idx_in_siblings = next(
+ i for i, s in enumerate(siblings)
+ if s["node_id"] == subdoc_id
+ )
+ except StopIteration:
+ continue
+ for next_idx in range(idx_in_siblings + 1, len(siblings)):
+ next_sib = siblings[next_idx]
+ if next_sib.get("is_envelope"):
+ continue
+ if next_sib["node_id"] in real_subdoc_ids:
+ # Next sibling is another subdoc — don't merge.
+ break
+ next_title = (next_sib.get("title") or "").strip()
+ next_body = (next_sib.get("body_direct") or "").strip()
+ if not next_title or next_body:
+ # Skip empty-title or substantive-body siblings — they
+ # are not descriptive subdoc-title fragments.
+ break
+ if not _looks_like_descriptive_subdoc_child_title(next_title):
+ break
+ subdoc["title"] = f"{title} {next_title}"
+ next_sib["is_envelope"] = True
+ merged_child_ids.add(next_sib["node_id"])
+ break
+
+ # ([***] standalone redaction placeholders are KEPT as schedule body
+ # content per Arthur's annotation — a schedule with `[***]` body is
+ # the substantive content for redacted schedules.)
+ # Chrome footer dropping is handled at the agreement level by the
+ # scope-rule machinery (signature-page banner stripping etc.), not
+ # by phrase matching here.
+
+ # Consolidate non-subdoc descendants into ONE L2 body record per
+ # subdoc. Per Arthur's annotation (task_rules/examples_with_subdocs.md
+ # and the idx=1 expected output):
+ # - Subdoc title → L1
+ # - Subdoc body (all descendants concatenated, excluding nested
+ # subdocs and dropped chrome) → ONE L2 record per subdoc
+ #
+ # For schedules like SCHEDULE 1.33 whose only content is "[***]",
+ # the body record carries that placeholder. For EXHIBIT 8.2 INITIAL
+ # PRESS RELEASE, the body record carries the concatenated press-
+ # release text. Nested subdocs (like SCHEDULE 5.2(b) promoted out of
+ # SCHEDULE 1.135) emit at L1 separately.
+ #
+ # The consolidation also keeps records out of the boilerplate trip
+ # zone: a 200-char span starting "Forward Looking Statement..." or
+ # "MEDIA CONTACT:" would fail `freeze.py`'s structural validator,
+ # but when those phrases are buried mid-body inside a longer L2
+ # record, the validator's anchored-start check doesn't fire.
+ def _natural_depth_for(child: dict[str, Any]) -> int:
+ """Natural depth from the section marker on the child's title."""
+ title = (child.get("title") or "").strip()
+ kind = _classify_subsection_kind(title)
+ if kind == "numbered":
+ return 1
+ if kind == "lettered":
+ return 2
+ if kind == "roman":
+ return 3
+ if kind == "capletter":
+ return 4
+ if kind == "parendigit":
+ return 5
+ return 1
+
+ # For each top-level real subdoc, consolidate its body descendants.
+ for subdoc_id in sorted(real_subdoc_ids):
+ subdoc = by_node_id[subdoc_id]
+ if subdoc.get("is_envelope"):
+ continue
+ parent_id = subdoc.get("parent_node_id")
+ if parent_id is not None and parent_id in real_subdoc_ids:
+ # Not a top-level subdoc (its parent is itself a subdoc).
+ continue
+ subdoc["depth"] = 1
+ # Walk descendants and split into:
+ # - body_text_parts: concatenate into a single L2 record
+ # - section_marker_descendants: keep at natural+1 depth
+ # - nested_subdocs: handled by their own subdoc iteration
+ body_parts: list[str] = []
+ # Walk depth-first in node_id order, but stop descent at nested subdocs.
+ def _walk_for_body(nid: int) -> None:
+ for child in children_of.get(nid, []):
+ if child.get("is_envelope"):
+ # Dropped — but recurse in case an active descendant
+ # got marked envelope for unrelated reasons (e.g.
+ # bare-id rescue marked the descriptive child).
+ _walk_for_body(child["node_id"])
+ continue
+ if child["node_id"] in real_subdoc_ids:
+ # Nested subdoc — don't fold into this subdoc's body.
+ continue
+ c_title = (child.get("title") or "").strip()
+ c_body = (child.get("body_direct") or "").strip()
+ # If the descendant has a section marker, it stays as
+ # its OWN record at natural-depth + enclosing-subdoc-count.
+ if _classify_subsection_kind(c_title) is not None:
+ child["depth"] = _natural_depth_for(child) + 1
+ _walk_for_body(child["node_id"])
+ continue
+ # Otherwise fold into the body.
+ if c_title and c_body:
+ body_parts.append(f"{c_title}\n{c_body}")
+ elif c_title:
+ body_parts.append(c_title)
+ elif c_body:
+ body_parts.append(c_body)
+ # Mark as envelope so it doesn't emit separately.
+ child["is_envelope"] = True
+ _walk_for_body(child["node_id"])
+ _walk_for_body(subdoc_id)
+ # If we collected body text, append it to the subdoc's existing
+ # body. Otherwise leave subdoc body as-is.
+ if body_parts:
+ existing = (subdoc.get("body_direct") or "").strip()
+ consolidated = "\n".join([existing] + body_parts) if existing else "\n".join(body_parts)
+ # Per Arthur's annotation, subdoc title is L1 and body is L2
+ # (a child of the subdoc title). Create a separate L2 body
+ # record so the title emits alone and the body emits alone.
+ new_body_id = max((r["node_id"] for r in rows), default=-1) + 1
+ body_row = {
+ "node_id": new_body_id,
+ "parent_node_id": subdoc_id,
+ "depth": 2,
+ "doc2dict_section_key": f"_subdoc_body_{new_body_id}",
+ "cls": "promoted text leaf",
+ "title": "",
+ "standardized_title": None,
+ "n_direct_section_children": 0,
+ "body_direct_chars": len(consolidated),
+ "body_recursive_chars": len(consolidated),
+ "body_direct": consolidated,
+ "body_recursive": consolidated,
+ "subdoc_penalty": 1,
+ "is_envelope": False,
+ "scope": "agreement",
+ # Flag for the post-sort anchor step: this body row sits
+ # IMMEDIATELY after its parent subdoc record. Otherwise
+ # the source-position sort can mis-locate it (e.g. the
+ # press-release body's first words "MOMENTA PHARMACEUTICALS,
+ # INC." also appear on the cover page, causing the
+ # forward-progress search to anchor the body to the
+ # cover region).
+ "_subdoc_body_of": subdoc_id,
+ }
+ rows.append(body_row)
+ # Clear subdoc body since the body is now in the new L2 record.
+ subdoc["body_direct"] = ""
+ subdoc["body_direct_chars"] = 0
+
+ return rows
+
+
+# Marker-pattern recognition for the foreign-content splitter.
+# doc2dict's HTML tree walker can mis-attach trailing sibling content into
+# the previous sibling's body_direct (the classic "tail mis-attribution"
+# pathology — when whitespace-only or invisible-table rows between two
+# sibling sections cause the walker to absorb the next section's content
+# into the previous). This shows up structurally two ways:
+#
+# 1. Mis-parenting: a numbered "N. Title" section ends up as a SIBLING
+# of lettered "(a)/(b)/.../(z)" subsections under the same parent,
+# when those lettered subsections belong AS CHILDREN of the numbered
+# section. Fix: re-parent the lettered/roman/digit-marker siblings
+# that follow a numbered sibling into that numbered sibling.
+#
+# 2. Body-direct contamination: a section's body_direct contains a
+# lettered marker (e.g. "(g) ...") whose enumeration doesn't belong
+# to the section. The marker block (and any orphan prefix paragraph
+# before it) is foreign and belongs under a different parent — the
+# sibling section whose existing lettered children's sequence would
+# naturally continue with this letter. Fix: split the body, promote
+# the marker block as a new record under the correct parent, and
+# attach the orphan prefix to the same target parent.
+#
+# Both fixes operate on STRUCTURE (sibling order + child marker
+# enumeration), not on phrase content. No keyword blocklist; no idx
+# branches; no specific-phrase detection.
+
+# A numbered top-level section marker at title start: "13.", "10.\xa0",
+# "Section 13.2", "ARTICLE III". Anchored so partial matches inside body
+# text don't trigger.
+_NUMBERED_SECTION_TITLE_RE = re.compile(
+ r"^\s*(?:"
+ r"\d+\.\s" # "1. ", "13. "
+ r"|\d+\.\xa0" # "1.\xa0", "13.\xa0"
+ r"|SECTION\s+\d" # "SECTION 1", "Section 13.2"
+ r"|ARTICLE\s+(?:\d+|[IVXLCDM]+)"
+ r")",
+ re.IGNORECASE,
+)
+
+# Lettered subsection marker at title start: "(a)", "(b)", ..., "(z)".
+_LETTERED_SUBSECTION_TITLE_RE = re.compile(r"^\s*\(([a-z])\)")
+
+# Roman-numeral subsection marker at title start: "(i)", "(ii)", ...
+_ROMAN_SUBSECTION_TITLE_RE = re.compile(r"^\s*\(([ivx]+)\)", re.IGNORECASE)
+
+# Capital-letter subsection: "(A)", "(B)".
+_CAPLETTER_SUBSECTION_TITLE_RE = re.compile(r"^\s*\(([A-Z])\)")
+
+# Digit-in-parens: "(1)", "(2)".
+_PARENDIGIT_SUBSECTION_TITLE_RE = re.compile(r"^\s*\((\d+)\)")
+
+
+def _extract_letter_marker(title: str) -> str | None:
+ """Return the lowercase letter from a "(a)" / "(b)" / ... title, or None."""
+ if not title:
+ return None
+ m = _LETTERED_SUBSECTION_TITLE_RE.match(title)
+ if m:
+ return m.group(1).lower()
+ return None
+
+
+def _classify_subsection_kind(title: str) -> str | None:
+ """Classify a title as 'numbered', 'lettered', 'roman', 'capletter',
+ 'parendigit', or None. Used for sibling-mismatch detection."""
+ if not title:
+ return None
+ s = title.lstrip()
+ if _NUMBERED_SECTION_TITLE_RE.match(s):
+ return "numbered"
+ # Order matters: roman before lettered (since "(i)" matches both).
+ if _ROMAN_SUBSECTION_TITLE_RE.match(s):
+ return "roman"
+ if _LETTERED_SUBSECTION_TITLE_RE.match(s):
+ return "lettered"
+ if _CAPLETTER_SUBSECTION_TITLE_RE.match(s):
+ return "capletter"
+ if _PARENDIGIT_SUBSECTION_TITLE_RE.match(s):
+ return "parendigit"
+ return None
+
+
+def _reparent_lettered_subsections_to_numbered_siblings(
+ rows: list[dict[str, Any]],
+) -> list[dict[str, Any]]:
+ """Re-parent lettered/roman subsection records that are wrongly
+ siblings of a numbered top-level section.
+
+ Structural pattern this fixes (doc2dict's HTML-walker pathology):
+ parent_X
+ ├── "11. Security" (numbered)
+ ├── "12. Enforcement" (numbered)
+ ├── "(a) The Company..." (lettered — belongs to 12)
+ ├── "(b) This Agreement..." (lettered — belongs to 12)
+ ├── "13. Definitions" (numbered)
+ ├── "(a) Change in Control..." (lettered — belongs to 13)
+ ├── "(i) any person..." (roman — belongs to 13(a))
+ ├── ...
+ ├── "(f) Independent Counsel..." (lettered — belongs to 13)
+
+ Each "numbered sibling" claims all subsequent lettered/roman/etc.
+ siblings (until the NEXT numbered sibling or a non-subsection sibling)
+ as its own children. Roman/capletter/parendigit subsections that
+ immediately follow a lettered one continue to be children of that
+ lettered subsection (their original parent is still the parent of the
+ re-parented chain, so we keep the doc2dict depth ordering).
+
+ More precisely: when sweeping the children of a parent in sibling
+ order, once we encounter a "numbered" child N, every later sibling
+ classified as lettered/roman/capletter/parendigit gets re-parented to
+ N's nearest enclosing lettered subsection if any (to preserve roman
+ nesting under a lettered parent), otherwise to N itself. This is a
+ purely structural rule based on marker patterns; it does not look at
+ titles/body text content.
+ """
+ by_node_id = {r["node_id"]: r for r in rows}
+ children_of: dict[int | None, list[dict[str, Any]]] = {}
+ for r in rows:
+ children_of.setdefault(r.get("parent_node_id"), []).append(r)
+
+ # Stable sort children by node_id (doc2dict assigns node_ids in walk
+ # order which matches sibling order under each parent).
+ for pid in children_of:
+ children_of[pid].sort(key=lambda r: r["node_id"])
+
+ # Iterate over every parent and apply the rule.
+ for parent_id, kids in list(children_of.items()):
+ # Skip envelope/trailer kids — they're outside the structural
+ # rule's domain.
+ active_kids = [
+ k for k in kids
+ if not k.get("is_envelope") and k.get("scope") != "trailer"
+ ]
+ if len(active_kids) < 2:
+ continue
+ # Find indices of numbered children in active_kids order.
+ numbered_idxs = [
+ i for i, k in enumerate(active_kids)
+ if _classify_subsection_kind(k.get("title")) == "numbered"
+ ]
+ if not numbered_idxs:
+ continue
+ # For each numbered child N, claim later subsection-marker siblings.
+ # "later" = appears AFTER N in active_kids; "siblings to claim" =
+ # lettered/roman/capletter/parendigit (numbered breaks the chain).
+ # When a roman/capletter/parendigit follows a lettered, it should
+ # be re-parented to that LETTERED (preserving 2-3 depth nesting),
+ # not directly to N.
+ for ni in numbered_idxs:
+ numbered_node = active_kids[ni]
+ current_lettered: dict[str, Any] | None = None
+ for j in range(ni + 1, len(active_kids)):
+ sib = active_kids[j]
+ kind = _classify_subsection_kind(sib.get("title"))
+ if kind == "numbered":
+ break # next numbered section starts; stop claiming
+ if kind == "lettered":
+ # Re-parent to the numbered section.
+ sib["parent_node_id"] = numbered_node["node_id"]
+ current_lettered = sib
+ elif kind in {"roman", "capletter", "parendigit"}:
+ # Re-parent to the most recently seen lettered child
+ # if any, else to the numbered section directly.
+ target = current_lettered or numbered_node
+ sib["parent_node_id"] = target["node_id"]
+ else:
+ # Non-subsection sibling — leave alone, don't claim.
+ # (e.g. signature block markers, headings)
+ pass
+
+ return rows
+
+
+def _split_foreign_lettered_markers_from_body(
+ rows: list[dict[str, Any]],
+) -> list[dict[str, Any]]:
+ """Split lettered subsection markers out of a section's body_direct
+ when they don't belong to that section.
+
+ doc2dict's HTML walker can leave foreign content in a body_direct
+ field — typically a continuation paragraph from a sibling section
+ followed by a stray "(g) ..." marker that belongs to a DIFFERENT
+ parent. This shows up as:
+
+ Section S has body_direct =
+ "...continuation paragraph that doesn't start with a marker...
+ (g) "Proceeding" includes ..."
+ where Section S itself uses numbered marker "10.", and a SIBLING
+ of S — Section 13 (Definitions) — has lettered children
+ (a), (b), (c), (d), (e), (f) but is missing (g).
+
+ Structural test for "this marker is foreign":
+ - The marker letter L appears as a lettered subsection marker
+ ("(L) ...") in S's body_direct.
+ - S does NOT itself have a lettered-children sequence that would
+ naturally include L (i.e. S's existing children don't already
+ cover (a)..(L-1)).
+ - There IS a sibling section P (same parent as S, or a recent
+ ancestor sibling) whose existing lettered children DO cover
+ (a)..(L-1) and so naturally extend to (L). P is the rightful
+ owner of the foreign marker block.
+
+ On match:
+ - Strip the foreign block from S's body_direct.
+ - Emit a new lettered-subsection record under P with the marker
+ block as its title+body.
+ - Any orphan prefix paragraph in S's body_direct (text before the
+ foreign marker that doesn't start with its own marker) is also
+ foreign. Emit it as a body-continuation record under P (placed
+ BEFORE the marker block in sibling order so document concat
+ keeps source order).
+
+ All decisions are structural (sibling tree + child marker
+ enumeration). No phrase matching, no keyword blocklist, no idx
+ branches.
+ """
+ by_node_id = {r["node_id"]: r for r in rows}
+ children_of: dict[int | None, list[dict[str, Any]]] = {}
+ for r in rows:
+ children_of.setdefault(r.get("parent_node_id"), []).append(r)
+ for pid in children_of:
+ children_of[pid].sort(key=lambda r: r["node_id"])
+
+ def _has_lettered_child_letter(parent_id: int, letter: str) -> bool:
+ """True if parent_id has an active child whose marker is (letter)."""
+ for c in children_of.get(parent_id, []):
+ if c.get("is_envelope") or c.get("scope") == "trailer":
+ continue
+ cl = _extract_letter_marker(c.get("title") or "")
+ if cl == letter:
+ return True
+ return False
+
+ def _lettered_children_letters(parent_id: int) -> list[str]:
+ """Return the sorted list of single-letter markers among parent's
+ active children (lowercased)."""
+ out: list[str] = []
+ for c in children_of.get(parent_id, []):
+ if c.get("is_envelope") or c.get("scope") == "trailer":
+ continue
+ cl = _extract_letter_marker(c.get("title") or "")
+ if cl:
+ out.append(cl)
+ return sorted(set(out))
+
+ # For each row, scan body_direct for foreign lettered markers.
+ # Foreign-marker detection regex: lettered subsection at a logical
+ # start position (after sentence end, newline, or string start). The
+ # marker MUST be followed by a quote/opening-quote character OR
+ # a capitalised word — to filter out cross-references like
+ # "(d) of this Agreement" or "Section 3(a)(9) of the Exchange Act".
+ _FOREIGN_MARKER_RE = re.compile(
+ r"(?:(?<=\.)\s+|(?<=\?)\s+|(?<=!)\s+|\n\s*|^\s*)"
+ r"(\(([a-z])\)\s*"
+ r"(?:[“”‘’\"\']|[A-Z]))",
+ )
+
+ next_id = max((r["node_id"] for r in rows), default=-1) + 1
+ new_rows: list[dict[str, Any]] = list(rows)
+ appended: list[dict[str, Any]] = []
+
+ for r in list(rows):
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ body = r.get("body_direct") or ""
+ if not body or len(body) < 50:
+ continue
+ # Find lettered-marker matches in body.
+ matches = list(_FOREIGN_MARKER_RE.finditer(body))
+ if not matches:
+ continue
+ # For each match, test "foreign" structurally.
+ first_foreign_offset: int | None = None
+ target_parent_id: int | None = None
+ target_letters_seen: list[str] = []
+ for m in matches:
+ letter = m.group(2).lower()
+ marker_start = m.start(1)
+ # Test 1: does the section R itself have lettered children
+ # whose markers cover (a)..(letter-1)? If yes, this marker
+ # might be R's next child — NOT foreign (rare since doc2dict
+ # would normally promote it; but be safe).
+ r_letters = _lettered_children_letters(r["node_id"])
+ if r_letters and chr(ord(letter) - 1) in r_letters:
+ # The marker continues R's own children — leave it.
+ continue
+ # Test 2: find a sibling section P whose existing lettered
+ # children cover (a)..(letter-1), making this marker P's
+ # natural continuation. P must be a sibling of R (same
+ # parent_node_id) and appear before/around R in document
+ # order. Prefer the NEAREST preceding sibling that fits.
+ r_parent_id = r.get("parent_node_id")
+ cand_targets: list[dict[str, Any]] = []
+ # Look among all sections (any depth) whose own existing
+ # lettered children form an unbroken prefix (a)..(letter-1).
+ for cand in rows:
+ if cand is r:
+ continue
+ if cand.get("is_envelope") or cand.get("scope") == "trailer":
+ continue
+ cand_letters = _lettered_children_letters(cand["node_id"])
+ if not cand_letters:
+ continue
+ # Must include letter-1 and form an unbroken prefix
+ # (a), (b), ..., (letter-1).
+ prev_letter = chr(ord(letter) - 1)
+ if prev_letter not in cand_letters:
+ continue
+ expected_prefix = [
+ chr(ord("a") + i) for i in range(ord(prev_letter) - ord("a") + 1)
+ ]
+ if cand_letters == expected_prefix:
+ cand_targets.append(cand)
+ if not cand_targets:
+ # No structural target — leave the marker in place.
+ continue
+ # Prefer the candidate that's a sibling of R (same parent);
+ # otherwise the candidate appearing latest in document order
+ # before R (closest preceding sibling-like).
+ preferred: dict[str, Any] | None = None
+ for c in cand_targets:
+ if c.get("parent_node_id") == r_parent_id:
+ preferred = c
+ break
+ if preferred is None:
+ # Take the candidate with the highest node_id below R.
+ cand_targets.sort(key=lambda c: c["node_id"])
+ for c in cand_targets:
+ if c["node_id"] < r["node_id"]:
+ preferred = c
+ if preferred is None:
+ preferred = cand_targets[-1]
+ # If we already chose a target, ensure it's compatible.
+ if target_parent_id is not None and preferred["node_id"] != target_parent_id:
+ # Different target on this match — keep first target and
+ # stop processing further markers for this record.
+ break
+ target_parent_id = preferred["node_id"]
+ target_letters_seen.append(letter)
+ if first_foreign_offset is None:
+ first_foreign_offset = marker_start
+
+ if target_parent_id is None or first_foreign_offset is None:
+ continue
+
+ # Now split the body. The text before first_foreign_offset is
+ # an orphan-continuation paragraph that doesn't start with its
+ # own marker. Structurally it cannot be R's content because R is
+ # a numbered section whose own body would have its own marker if
+ # any substantive lettered content existed. So the prefix is
+ # ALSO foreign — it's the wrap-up of the foreign block's lettered
+ # sibling that came BEFORE the marker we matched. Move it to
+ # target_parent as a continuation record.
+ #
+ # Exception: if the prefix has its own subsection markers
+ # ("(a)/N./..."), then it's a legitimate part of R's body that
+ # _split_inline_section_markers should have split. We keep that
+ # in R to be safe — but for the simple "no own marker" case
+ # (which is the common doc2dict tail-attribution pathology) we
+ # move it.
+ prefix_text = body[:first_foreign_offset].rstrip()
+ foreign_body = body[first_foreign_offset:].strip()
+
+ # Structural check on the prefix: does it contain its own
+ # subsection marker at a logical start position? If yes, it's
+ # R's legitimate body and we keep it.
+ prefix_has_own_marker = bool(_FOREIGN_MARKER_RE.search(prefix_text)) or bool(
+ re.search(
+ r"(?:(?<=[.\s\xa0])|^)\d+\.\s*[A-Z]",
+ prefix_text,
+ )
+ )
+
+ if prefix_has_own_marker:
+ kept_body = prefix_text
+ orphan_text = ""
+ else:
+ # All of the prefix is foreign — it's a continuation paragraph
+ # belonging to the same target_parent as the marker block.
+ kept_body = ""
+ orphan_text = prefix_text
+
+ # Update R's body to the kept portion (empty when the prefix is
+ # foreign). R will have only its title.
+ r["body_direct"] = kept_body
+ r["body_direct_chars"] = len(kept_body)
+
+ # Determine the depth for the new lettered records: target's
+ # depth + 1.
+ target_row = by_node_id[target_parent_id]
+ target_depth = target_row.get("depth", 0)
+ target_penalty = target_row.get("subdoc_penalty", 0)
+ # Lettered subsections sit at target_depth + 1.
+ new_letter_depth = target_depth + 1
+
+ # The orphan-prefix paragraph attaches NOT to target_parent
+ # itself but to one of target_parent's lettered children — the
+ # one the orphan is the wrap-up of. Structural identifier: the
+ # first lettered child of target_parent that has sub-children
+ # (roman/capletter/parendigit). The orphan logically appears
+ # AFTER those sub-children in source order and is a body
+ # continuation of that lettered child.
+ #
+ # Rationale: when a lettered subsection L has deep sub-items
+ # (e.g. roman (i)-(v) under "(a) Change in Control means ..."),
+ # the typical doc structure is L's body = sub-items + wrap-up
+ # paragraph. doc2dict's HTML walker can detach that wrap-up
+ # paragraph and bury it in a sibling section's body_direct.
+ # Attaching the orphan back under L (depth = L.depth + 1)
+ # restores the original semantic.
+ #
+ # If no lettered child of target_parent has sub-children, fall
+ # back to attaching the orphan under target_parent at the
+ # lettered-sibling depth.
+ orphan_parent_id = target_parent_id
+ orphan_depth = new_letter_depth
+ if orphan_text:
+ for tc in children_of.get(target_parent_id, []):
+ if tc.get("is_envelope") or tc.get("scope") == "trailer":
+ continue
+ if _extract_letter_marker(tc.get("title") or "") is None:
+ continue
+ # Count sub-children of this lettered child.
+ grand = children_of.get(tc["node_id"], [])
+ deep_kids = [
+ g for g in grand
+ if not g.get("is_envelope") and g.get("scope") != "trailer"
+ and _classify_subsection_kind(g.get("title")) in {
+ "roman", "capletter", "parendigit"
+ }
+ ]
+ if deep_kids:
+ orphan_parent_id = tc["node_id"]
+ orphan_depth = tc.get("depth", new_letter_depth) + 1
+ break
+
+ # Re-scan foreign_body, this time relative to its own start, to
+ # build records. Use the same _FOREIGN_MARKER_RE.
+ foreign_matches = list(_FOREIGN_MARKER_RE.finditer(foreign_body))
+
+ if orphan_text:
+ # Emit as a body-continuation record. Its title is empty so
+ # the JSONL span is just the body text. Position-sort will
+ # place it correctly in document order.
+ appended.append({
+ "node_id": next_id,
+ "parent_node_id": orphan_parent_id,
+ "depth": orphan_depth,
+ "doc2dict_section_key": f"_foreign_cont_{next_id}",
+ "cls": "promoted text leaf",
+ "title": "",
+ "standardized_title": None,
+ "n_direct_section_children": 0,
+ "body_direct_chars": len(orphan_text),
+ "body_recursive_chars": len(orphan_text),
+ "body_direct": orphan_text,
+ "body_recursive": orphan_text,
+ "subdoc_penalty": target_penalty,
+ "is_envelope": False,
+ "scope": "agreement",
+ })
+ next_id += 1
+
+ # Emit each foreign-marker block as a new record.
+ for i, m in enumerate(foreign_matches):
+ mk_start = m.start(1)
+ mk_end = foreign_matches[i + 1].start(1) if i + 1 < len(foreign_matches) else len(foreign_body)
+ chunk = foreign_body[mk_start:mk_end].strip()
+ if not chunk:
+ continue
+ # Split heading from body: heading = "(L) Title text." up to first
+ # period+space, or first ~80 chars.
+ mh = re.match(
+ r"^(\([a-z]\)\s*[^.\n]{0,160}?)(?:\.\s|\.\xa0|\.$|\.\n)",
+ chunk,
+ )
+ if mh:
+ heading = mh.group(1).strip()
+ body_text = chunk[mh.end():].strip()
+ else:
+ lines = chunk.split("\n", 1)
+ heading = lines[0].strip()[:160]
+ body_text = lines[1].strip() if len(lines) > 1 else chunk[len(heading):].strip()
+ appended.append({
+ "node_id": next_id,
+ "parent_node_id": target_parent_id,
+ "depth": new_letter_depth,
+ "doc2dict_section_key": f"_foreign_marker_{next_id}",
+ "cls": "promoted text leaf",
+ "title": heading,
+ "standardized_title": None,
+ "n_direct_section_children": 0,
+ "body_direct_chars": len(body_text),
+ "body_recursive_chars": len(chunk),
+ "body_direct": body_text,
+ "body_recursive": chunk,
+ "subdoc_penalty": target_penalty,
+ "is_envelope": False,
+ "scope": "agreement",
+ })
+ next_id += 1
+
+ new_rows.extend(appended)
+ return new_rows
+
+
+def _sort_records_by_source_position(
+ rows: list[dict[str, Any]], idx: int
+) -> list[dict[str, Any]]:
+ """Stable-sort in-scope records by their first-occurrence position in
+ the source text, with a forward-progress search bias.
+
+ Why this exists: doc2dict's tree walk is not always document order.
+ For example, in the ULURU indemnification agreement (idx=0), Section 9
+ sits under a separate "(d)" predicted-header subtree that follows the
+ "10." subtree in the tree — but in the source, Section 9 obviously
+ comes before Section 10. Same kind of issue with the table-split
+ sections 14-21 (which we inject post-walk).
+
+ Forward-progress search: when locating each record in the source, we
+ start the search at the previous record's offset (minus a small
+ backtrack window). That prevents repeated short tokens like
+ "INDEMNITEE" from matching the FIRST occurrence in the preamble
+ every time — they'll match the next occurrence after the previous
+ record's position, which is the actual signature-block label.
+
+ Records whose probe is not found get the previous record's offset
+ so they stay glued to their preceding neighbour.
+
+ Note: this is a STRUCTURAL fix — it uses doc-position evidence from
+ the canonical bs4 extraction (`scripts/parse_source_of_truth.py`),
+ not phrase matching against keywords.
+ """
+ sot_text = _SOT_LOOKUP.get(idx)
+ if sot_text is None:
+ sot_text = _load_sot_span_clean(idx)
+ _SOT_LOOKUP[idx] = sot_text
+ if not sot_text:
+ return rows
+
+ # Normalize source and probes: lowercase; collapse all whitespace
+ # (including nbsp) to single space; fold curly quotes and Unicode
+ # dashes to ASCII; STRIP ALL QUOTE CHARACTERS AND WHITESPACE-NEXT-
+ # TO-QUOTES; collapse runs of space again. The quote-strip+space-
+ # collapse makes typographically-decorated text like
+ # (b) " Corporate Status " describes
+ # match a probe whose title is
+ # (b) "Corporate Status" describes
+ # by reducing both to
+ # (b) corporate status describes
+ # i.e. spaces-around-quotes inside the source no longer break the
+ # match. Quote characters themselves carry no positional signal
+ # for clause-boundary location; dropping them is safe.
+ def _typographic_fold(s: str) -> str:
+ s = s.translate(str.maketrans({
+ "‘": "'", "’": "'", "‚": "'", "′": "'",
+ "“": '"', "”": '"', "„": '"', "″": '"',
+ "‐": "-", "‑": "-", "‒": "-", "–": "-",
+ "—": "-", "―": "-", "−": "-",
+ }))
+ return s
+
+ def _strip_quotes_and_collapse(s: str) -> str:
+ # Remove ASCII quote characters and collapse whitespace.
+ s = s.replace('"', '').replace("'", '')
+ s = re.sub(r"[\s\xa0]+", " ", s).strip()
+ # Also strip whitespace immediately INSIDE parentheses (the
+ # source may have "(the " Agreement ")" after curly-quote
+ # stripping while the probe has clean "(the Agreement)").
+ s = re.sub(r"\(\s+", "(", s)
+ s = re.sub(r"\s+\)", ")", s)
+ return s
+
+ sot_norm = _strip_quotes_and_collapse(_typographic_fold(sot_text).lower())
+
+ def _normalize_probe(s: str) -> str:
+ return _strip_quotes_and_collapse(_typographic_fold(s).lower())
+
+ def _probe_candidates(rec: dict[str, Any]) -> list[str]:
+ """Build progressively-shorter probes for the record."""
+ title = (rec.get("title") or "").strip()
+ body = (rec.get("body_direct") or "").strip()
+ candidates: list[str] = []
+ # Most specific: title + body head.
+ if title and body:
+ candidates.append(_normalize_probe(f"{title} {body[:80]}"))
+ # Just the title and a body snippet.
+ if title:
+ candidates.append(_normalize_probe(title)[:60])
+ # Just a body snippet.
+ if body:
+ candidates.append(_normalize_probe(body)[:60])
+ # Filter out empties and dupes preserving order.
+ seen: set[str] = set()
+ out: list[str] = []
+ for c in candidates:
+ if c and len(c) >= 4 and c not in seen:
+ seen.add(c)
+ out.append(c)
+ return out
+
+ # Backtrack window: how far before the previous offset we allow the
+ # search to look. Small (~200 chars) so a brand-new occurrence wins
+ # over a re-find of an older string.
+ _BACKTRACK = 200
+
+ prev_offset = 0
+ indexed: list[tuple[int, int, dict[str, Any]]] = []
+ for orig_idx, r in enumerate(rows):
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ # Keep these out of the sort entirely (they're dropped from
+ # JSONL anyway). Park at -1 to stay at the front.
+ indexed.append((-1, orig_idx, r))
+ continue
+ probes = _probe_candidates(r)
+ best = -1
+ search_from = max(0, prev_offset - _BACKTRACK)
+ for probe in probes:
+ pos = sot_norm.find(probe, search_from)
+ if pos < 0:
+ # Fall back to global search if not found forward.
+ pos = sot_norm.find(probe)
+ if pos >= 0:
+ best = pos
+ break
+ if best < 0:
+ # Could not locate this record at all. Stick with previous.
+ best = prev_offset
+ else:
+ prev_offset = best
+ indexed.append((best, orig_idx, r))
+
+ indexed.sort(key=lambda t: (t[0], t[1]))
+ return [t[2] for t in indexed]
+
+
+_SOT_LOOKUP: dict[int, str] = {}
+_SOT_FILE = Path(__file__).resolve().parent.parent / "data" / "auto_parse" / "parse_source_of_truth.jsonl"
+
+
+def _load_sot_span_clean(idx: int) -> str | None:
+ """Read `span_clean` for the requested idx from the source-of-truth
+ file. Returns None if file/row missing."""
+ if not _SOT_FILE.exists():
+ return None
+ try:
+ for line in _SOT_FILE.read_text().splitlines():
+ if not line.strip():
+ continue
+ try:
+ rec = json.loads(line)
+ except json.JSONDecodeError:
+ continue
+ if rec.get("idx") == idx:
+ return rec.get("span_clean") or ""
+ except OSError:
+ return None
+ return None
+
+
+def _split_l0_title_from_preamble(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Split the L0 (agreement title) record from its preamble body.
+
+ Per task_rules/level_rubric.md: depth 0 is the agreement title alone,
+ a single record per idx with no body. The preamble paragraph
+ ("THIS INDEMNIFICATION AGREEMENT (the 'Agreement') is made…") is a
+ direct child of the agreement and belongs at depth 1.
+
+ doc2dict combines the title and the immediately-following preamble
+ text-leaf into one section with body_direct = preamble. This
+ post-processor:
+ - Finds the L0 record (depth=0, not envelope, scope=agreement)
+ - If it has non-empty body_direct, creates a new L1 record with
+ that body content (as a child of the L0)
+ - Clears body_direct on the L0 record so its emitted span is the
+ title alone
+ """
+ by_node_id = {r["node_id"]: r for r in rows}
+
+ l0: dict[str, Any] | None = None
+ for r in rows:
+ if (
+ r.get("depth") == 0
+ and not r.get("is_envelope")
+ and r.get("scope") == "agreement"
+ ):
+ l0 = r
+ break
+ if l0 is None:
+ return rows
+
+ body = (l0.get("body_direct") or "").strip()
+ if not body:
+ return rows
+
+ next_id = max((r["node_id"] for r in rows), default=-1) + 1
+ preamble_row: dict[str, Any] = {
+ "node_id": next_id,
+ "parent_node_id": l0["node_id"],
+ "depth": 1 + (l0.get("subdoc_penalty") or 0),
+ "doc2dict_section_key": f"_l0_preamble_{next_id}",
+ "cls": "promoted text leaf",
+ "title": "",
+ "standardized_title": None,
+ "n_direct_section_children": 0,
+ "body_direct_chars": len(body),
+ "body_recursive_chars": len(body),
+ "body_direct": body,
+ "body_recursive": body,
+ "subdoc_penalty": l0.get("subdoc_penalty") or 0,
+ "is_envelope": False,
+ "scope": "agreement",
+ }
+
+ # Clear the L0's body so its emitted span is title-only.
+ l0["body_direct"] = ""
+ l0["body_direct_chars"] = 0
+
+ # Insert preamble row directly after L0 in document order so its
+ # span is emitted after the title and before any later siblings.
+ out: list[dict[str, Any]] = []
+ for r in rows:
+ out.append(r)
+ if r["node_id"] == l0["node_id"]:
+ out.append(preamble_row)
+ return out
+
+
+def _split_inline_section_markers(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Split records whose body_direct contains inline section markers.
+
+ doc2dict sometimes packs multiple top-level sections into a single
+ table-preamble/postamble string. Example: section 10's body field
+ contains the verbatim text "…rights under this Agreement. 14.
+ Severability. The invalidity… 15. Modification and Waiver. … 21.
+ Governing Law… ". Without splitting, sections 14-21 appear inside
+ section 10's span — not as their own L1 records.
+
+ This post-processor:
+ 1. Finds records whose body_direct has 2+ inline "N." markers
+ (where N is a number, indicating a numbered section start).
+ 2. Splits the body at each marker.
+ 3. Keeps the leading chunk (before the first marker) on the
+ original record.
+ 4. Emits each subsequent chunk as its own promoted record at the
+ same depth as the original (or at depth=1 if the original was
+ deeper — top-level sections always sit at depth 1).
+ """
+ next_id = max((r["node_id"] for r in rows), default=-1) + 1
+
+ new_rows: list[dict[str, Any]] = []
+ for r in rows:
+ new_rows.append(r)
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ body = r.get("body_direct") or ""
+ if not body or len(body) < 200:
+ continue
+ # Look for 2+ inline section markers like "\n14. " or " 14. " or
+ # ". 14." — these indicate top-level numbered sections embedded
+ # in the body text.
+ # Use a stricter regex: number followed by period, whitespace, capital letter.
+ markers = list(re.finditer(
+ r"(?:(?<=[.\s\xa0])|^)(\d+)\.\s*[A-Z]",
+ body,
+ ))
+ if len(markers) < 2:
+ continue
+
+ # Build segments: leading-text + (marker, segment) pairs.
+ segments: list[tuple[int, int, int]] = [] # (start, end, marker_num)
+ for i, m in enumerate(markers):
+ seg_start = m.start()
+ seg_end = markers[i + 1].start() if i + 1 < len(markers) else len(body)
+ num = int(m.group(1))
+ segments.append((seg_start, seg_end, num))
+
+ # Validate marker numbering is monotonic (1,2,3 or 14,15,16,...)
+ nums = [s[2] for s in segments]
+ if not all(nums[i + 1] - nums[i] == 1 for i in range(len(nums) - 1)):
+ continue
+
+ first_start = segments[0][0]
+ leading = body[:first_start].rstrip()
+ # Update original record's body
+ r["body_direct"] = leading
+ r["body_direct_chars"] = len(leading)
+
+ # Determine depth for new records: L1 (top-level body clause)
+ # plus the original's subdoc_penalty.
+ subdoc_penalty = r.get("subdoc_penalty") or 0
+ new_depth = 1 + subdoc_penalty
+
+ for seg_start, seg_end, num in segments:
+ seg_text = body[seg_start:seg_end].strip()
+ if not seg_text:
+ continue
+ # Split heading from body: heading = "N. Title."
+ m_head = re.match(
+ r"^(\d+\.\s*[^.\n]*?)(?:\.\s|\.\xa0|\.$)",
+ seg_text,
+ )
+ if m_head:
+ heading = m_head.group(1).strip()
+ body_text = seg_text[m_head.end():].strip()
+ else:
+ # Fall back: first line is heading
+ lines = seg_text.split("\n", 1)
+ heading = lines[0].strip()[:120]
+ body_text = lines[1].strip() if len(lines) > 1 else seg_text[len(heading):].strip()
+
+ new_rows.append({
+ "node_id": next_id,
+ "parent_node_id": r.get("parent_node_id"),
+ "depth": new_depth,
+ "doc2dict_section_key": f"_inline_{next_id}",
+ "cls": "promoted text leaf",
+ "title": heading,
+ "standardized_title": None,
+ "n_direct_section_children": 0,
+ "body_direct_chars": len(body_text),
+ "body_recursive_chars": len(seg_text),
+ "body_direct": body_text,
+ "body_recursive": seg_text,
+ "subdoc_penalty": subdoc_penalty,
+ "is_envelope": False,
+ "scope": "agreement",
+ })
+ next_id += 1
+
+ return new_rows
+
+
+def _split_inline_nm_section_markers(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Split records whose body_direct contains inline N.M section markers.
+
+ Numbered subsections like 1.1, 1.2, ..., 13.14 appear in Article
+ bodies as inline markers. doc2dict frequently packs them all into
+ the parent Article's body_direct (because the HTML doesn't split
+ them as separate elements). Per the rubric, numbered subsections
+ under Articles are L2 records.
+
+ Structural pattern: a body containing 2+ markers shaped
+ `\\d+\\.\\d+\\s+...` at logical positions (after sentence break,
+ paragraph break, or string start), forming a monotonic sequence
+ (1.1, 1.2, 1.3, ... ; or 13.6, 13.7, 13.8, ... within a single
+ Article body).
+
+ Detection accepts a starting N.M and following markers must continue
+ in sequence: monotonically increasing second number, with the first
+ number constant (N.1, N.2, ... within Article N's body).
+
+ On match:
+ - Keep the leading chunk (before the first N.M marker) on the
+ original record.
+ - Emit each chunk as a new L2 record (depth = original_depth + 1,
+ the L1 Article body's L2 children) with subdoc_penalty inherited.
+ """
+ next_id = max((r["node_id"] for r in rows), default=-1) + 1
+
+ # N.M marker: digit(s).digit(s) followed by whitespace+\xa0, then
+ # quote or capitalized letter. Anchored to logical start positions
+ # to avoid false positives in body text like "Section 4.1(b)".
+ _NM_MARKER_RE = re.compile(
+ r"(?:(?<=[.\s\xa0])|^)"
+ r"(\d+)\.(\d+)\s*[\xa0\s]+"
+ r"(?=[\"“”‘’A-Z])"
+ )
+
+ new_rows: list[dict[str, Any]] = []
+ for r in rows:
+ new_rows.append(r)
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ body = r.get("body_direct") or ""
+ if not body or len(body) < 200:
+ continue
+
+ matches = list(_NM_MARKER_RE.finditer(body))
+ if len(matches) < 2:
+ continue
+
+ # Filter to a coherent monotonic sequence: require same first
+ # number AND monotonically-increasing second number with gap 1.
+ # Find the longest monotonic run starting from a valid pivot.
+ # Strategy: group by first number, take the longest run where
+ # second numbers form 1,2,3,... or M,M+1,M+2,...
+ best_run: list[re.Match[str]] = []
+ i = 0
+ while i < len(matches):
+ run = [matches[i]]
+ n0 = int(matches[i].group(1))
+ m0 = int(matches[i].group(2))
+ j = i + 1
+ while j < len(matches):
+ n_j = int(matches[j].group(1))
+ m_j = int(matches[j].group(2))
+ # Continue the run if same N AND M increments by 1.
+ if n_j == n0 and m_j == m0 + (j - i):
+ run.append(matches[j])
+ j += 1
+ else:
+ break
+ if len(run) > len(best_run):
+ best_run = run
+ i = j if j > i else i + 1
+
+ if len(best_run) < 2:
+ continue
+
+ # Build segments from the best_run.
+ segments: list[tuple[int, int, str]] = [] # (start, end, "N.M")
+ for k, m in enumerate(best_run):
+ seg_start = m.start()
+ seg_end = best_run[k + 1].start() if k + 1 < len(best_run) else len(body)
+ marker_str = f"{m.group(1)}.{m.group(2)}"
+ segments.append((seg_start, seg_end, marker_str))
+
+ first_start = segments[0][0]
+ leading = body[:first_start].rstrip()
+ r["body_direct"] = leading
+ r["body_direct_chars"] = len(leading)
+
+ # Determine depth: original depth + 1 (numbered subsections
+ # are L2 when under an L1 Article).
+ original_depth = r.get("depth", 1)
+ subdoc_penalty = r.get("subdoc_penalty") or 0
+ new_depth = original_depth + 1
+
+ for seg_start, seg_end, marker_str in segments:
+ seg_text = body[seg_start:seg_end].strip()
+ if not seg_text:
+ continue
+ # Split heading from body: heading = "N.M Title" up to first
+ # period+whitespace boundary. For definitions like
+ # "1.1 \"Term\" shall have the meaning...", the heading is
+ # the full first sentence.
+ m_head = re.match(
+ r"^(\d+\.\d+\s*[^.\n]*?)(?:\.\s|\.\xa0|\.$|\.\n)",
+ seg_text,
+ )
+ if m_head:
+ heading = m_head.group(1).strip()
+ body_text = seg_text[m_head.end():].strip()
+ else:
+ lines = seg_text.split("\n", 1)
+ heading = lines[0].strip()[:200]
+ body_text = lines[1].strip() if len(lines) > 1 else seg_text[len(heading):].strip()
+
+ new_rows.append({
+ "node_id": next_id,
+ "parent_node_id": r.get("parent_node_id"),
+ "depth": new_depth,
+ "doc2dict_section_key": f"_inline_nm_{next_id}",
+ "cls": "promoted text leaf",
+ "title": heading,
+ "standardized_title": None,
+ "n_direct_section_children": 0,
+ "body_direct_chars": len(body_text),
+ "body_recursive_chars": len(seg_text),
+ "body_direct": body_text,
+ "body_recursive": seg_text,
+ "subdoc_penalty": subdoc_penalty,
+ "is_envelope": False,
+ "scope": "agreement",
+ })
+ next_id += 1
+
+ return new_rows
+
+
+def _rescue_cover_preamble_block(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Rescue a cover-page preamble block when the L0 title appears twice.
+
+ SEC EX-10 filings sometimes carry a cover-page block:
+ EXHIBIT 10.1 ← envelope (dropped)
+ LICENSE AND OPTION AGREEMENT ← cover-page title duplicate (dropped)
+ BY AND BETWEEN ← cover-preamble line
+ MOMENTA PHARMACEUTICALS,INC. ← party 1
+ AND ← separator
+ CSL BEHRING RECOMBINANT... ← party 2
+ DATED AS OF JANUARY 4, 2017 ← date
+ TABLE OF CONTENTS ← TOC (dropped)
+ LICENSE AND OPTION AGREEMENT ← L0 title (actual agreement start)
+
+ Per Arthur's annotation, the BY AND BETWEEN block (parties + date) is
+ the cover-page preamble — a descriptive identifier of the agreement
+ that mirrors the title context. It belongs at L1 as a cover-preamble
+ record (a direct child of the agreement).
+
+ Detection (purely structural, no phrase matching):
+ 1. Find the L0 title record (depth=0, not envelope, scope=agreement).
+ 2. Find any earlier-node-id record with the SAME title text — that
+ marks the cover-page title duplicate position.
+ 3. Between the cover-duplicate and the L0 title, find consecutive
+ predicted-header records whose titles are descriptive single-
+ line text (all-caps party names, "BY AND BETWEEN", "AND",
+ "DATED AS OF ...") and NO body content.
+ 4. Concatenate their titles into one L1 record with span =
+ "BY AND BETWEEN\\n\\nAND\\n\\n DATED AS OF ...".
+ Insert as a child of the L0 title with depth = 1.
+ 5. The original records remain in the parquet via their existing
+ is_envelope=True/scope=agreement flags; only the synthetic
+ concatenated record emits to JSONL.
+
+ Filters (drop from the cover block):
+ - TABLE OF CONTENTS (matches the structural TOC pattern).
+ - The duplicate L0 title itself.
+ - Any record with a body (only title-only records qualify as
+ cover-preamble lines).
+
+ No-op when:
+ - No L0 title found.
+ - L0 title appears only once in records.
+ - No qualifying predicted-header records between the duplicate
+ and the L0 title.
+ """
+ l0: dict[str, Any] | None = None
+ for r in rows:
+ if (
+ r.get("depth") == 0
+ and not r.get("is_envelope")
+ and r.get("scope") == "agreement"
+ ):
+ l0 = r
+ break
+ if l0 is None:
+ return rows
+
+ l0_title = (l0.get("title") or "").strip()
+ if not l0_title:
+ return rows
+ l0_node_id = l0["node_id"]
+
+ # Find the cover-title duplicate: an earlier-node-id record with the
+ # same title text. We look at ALL records (envelope or not) because
+ # the cover duplicate is typically already marked is_envelope=True.
+ cover_dup: dict[str, Any] | None = None
+ for r in rows:
+ if r["node_id"] >= l0_node_id:
+ continue
+ r_title = (r.get("title") or "").strip()
+ if r_title == l0_title:
+ cover_dup = r
+ break
+ if cover_dup is None:
+ return rows
+
+ # Collect candidate cover-preamble lines: records with node_id
+ # between cover_dup and l0, with non-empty title, empty body, and
+ # NOT a TOC. Walk records by node_id order.
+ _TOC_TITLE_RE = re.compile(r"^\s*TABLE\s+OF\s+CONTENTS\b", re.IGNORECASE)
+ candidates: list[dict[str, Any]] = []
+ for r in rows:
+ if r["node_id"] <= cover_dup["node_id"]:
+ continue
+ if r["node_id"] >= l0_node_id:
+ break
+ title = (r.get("title") or "").strip()
+ body = (r.get("body_direct") or "").strip()
+ if not title or body:
+ continue
+ if _TOC_TITLE_RE.match(title):
+ continue
+ # Skip title-text duplicates (shouldn't happen but be safe).
+ if title == l0_title:
+ continue
+ candidates.append(r)
+
+ if not candidates:
+ return rows
+
+ # Concatenate candidate titles into one cover-preamble span.
+ cover_span = "\n".join((c.get("title") or "").strip() for c in candidates)
+ if not cover_span:
+ return rows
+
+ # Build the synthetic L1 cover-preamble record. Insert right after
+ # the L0 title in document order so its span emits between the
+ # title and any other L1 children.
+ next_id = max((r["node_id"] for r in rows), default=-1) + 1
+ cover_row: dict[str, Any] = {
+ "node_id": next_id,
+ "parent_node_id": l0_node_id,
+ "depth": 1 + (l0.get("subdoc_penalty") or 0),
+ "doc2dict_section_key": f"_cover_preamble_{next_id}",
+ "cls": "promoted text leaf",
+ "title": "",
+ "standardized_title": None,
+ "n_direct_section_children": 0,
+ "body_direct_chars": len(cover_span),
+ "body_recursive_chars": len(cover_span),
+ "body_direct": cover_span,
+ "body_recursive": cover_span,
+ "subdoc_penalty": l0.get("subdoc_penalty") or 0,
+ "is_envelope": False,
+ "scope": "agreement",
+ # Marker so the pre-title position drop preserves this record
+ # even though its content is positioned BEFORE the L0 title in
+ # the source text. This is the rubric-sanctioned exception for
+ # cover-page preamble blocks.
+ "_cover_preamble": True,
+ }
+
+ # Insert the synthetic record directly after the L0 title.
+ out: list[dict[str, Any]] = []
+ for r in rows:
+ out.append(r)
+ if r["node_id"] == l0_node_id:
+ out.append(cover_row)
+ return out
+
+
+def _drop_pre_title_cover_records(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Drop filing-cover records that appear BEFORE the L0 agreement title.
+
+ SEC EDGAR filings sometimes carry a registrant cover-page sequence:
+ EXHIBIT 10.25 <- envelope (already dropped)
+ ULURU Inc. <- cover-page registrant name (this fix)
+ INDEMNIFICATION AGREEMENT <- L0 title
+
+ The registrant short-name record (and any other empty-body record
+ sandwiched between the envelope and the L0 title) is filing metadata,
+ not agreement content. doc2dict's tree walker promotes it as a real
+ section because the HTML wraps it in its own block element.
+
+ Structural rule: any in-scope record whose node-id is LESS than the
+ L0 title's node-id and which has an empty body is filing metadata —
+ a registrant short-name, exhibit-number echo, or similar one-liner
+ that sits in the cover-page region. Mark such records as
+ ``is_envelope=True`` so they're kept in the parquet (audit) but
+ dropped from the JSONL (rubric output).
+
+ This applies only when an L0 title exists. The rule is depth-agnostic
+ and content-agnostic — no company-name or phrase matching. The "empty
+ body" predicate distinguishes a cover-page label (no body text) from
+ a real agreement record (which always has body content or markers).
+ """
+ l0: dict[str, Any] | None = None
+ for r in rows:
+ if (
+ r.get("depth") == 0
+ and not r.get("is_envelope")
+ and r.get("scope") == "agreement"
+ ):
+ l0 = r
+ break
+ if l0 is None:
+ return rows
+
+ l0_node_id = l0["node_id"]
+ for r in rows:
+ if r is l0:
+ continue
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ # Records walked BEFORE the L0 title (smaller node_id) with no body
+ # are cover-page filing metadata. The envelope itself is already
+ # excluded by the is_envelope check above.
+ if r["node_id"] >= l0_node_id:
+ continue
+ body = (r.get("body_direct") or "").strip()
+ title = (r.get("title") or "").strip()
+ if body:
+ continue
+ if not title:
+ # Empty record — already gets skipped by the JSONL emitter.
+ continue
+ # Mark as envelope so JSONL drops it; parquet still records the
+ # row via all_section_records.
+ r["is_envelope"] = True
+ return rows
+
+
+def _drop_pre_title_position_records(rows: list[dict[str, Any]]) -> list[dict[str, Any]]:
+ """Drop in-scope records that appear BEFORE the L0 agreement title in
+ sorted document-order.
+
+ Per the title-as-root rule (level_rubric.md): any clause that cannot be
+ placed as a descendant of the agreement title is not part of the
+ agreement. Records whose source-text position precedes the L0 title are
+ by definition pre-title — they cannot descend from a title that doesn't
+ yet exist at that point in the document.
+
+ This catches structurally-disjoint pre-title content that
+ `_drop_pre_title_cover_records` misses because the records have:
+ - node_id GREATER than the L0 (so the node-id heuristic doesn't fire), OR
+ - non-empty body (so the empty-body heuristic doesn't fire).
+
+ Canonical example: a TABLE OF CONTENTS block whose entries
+ ("1. DEFINITIONS\\n1\\nARTICLE", "2. LICENSES\\n14\\nARTICLE", ...) are
+ promoted text leaves that doc2dict parents to the SEC envelope node.
+ Their node-ids exceed the L0's, but their source-text positions are
+ inside the TOC region — i.e. BEFORE the L0 title. Per the rubric, they
+ are pre-title and must be dropped.
+
+ Runs AFTER `_sort_records_by_source_position`, which has already placed
+ each record at its source-text position. Any record now appearing before
+ the L0 in the sorted list is pre-title.
+ """
+ l0_idx: int | None = None
+ for i, r in enumerate(rows):
+ if (
+ r.get("depth") == 0
+ and not r.get("is_envelope")
+ and r.get("scope") == "agreement"
+ ):
+ l0_idx = i
+ break
+ if l0_idx is None:
+ return rows
+
+ for i in range(l0_idx):
+ r = rows[i]
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ # Already excluded from JSONL.
+ continue
+ if r.get("_cover_preamble"):
+ # Synthetic cover-preamble record (Defect 1 / `_rescue_cover_preamble_block`).
+ # Its content is positioned BEFORE the L0 title in the source
+ # but the rubric explicitly admits it as a cover-page L1 child
+ # of the agreement. Don't drop.
+ continue
+ # Mark as envelope so JSONL drops it; parquet still records the row.
+ r["is_envelope"] = True
+ # Also move any preserved cover-preamble records to sit IMMEDIATELY
+ # after the L0 title. Their natural sorted position is before L0
+ # (since their content precedes L0 in the source), but per the
+ # rubric they emit as the agreement's first L1 child.
+ l0_record = rows[l0_idx]
+ cover_preamble_records = [
+ r for r in rows[:l0_idx]
+ if r.get("_cover_preamble") and not r.get("is_envelope")
+ ]
+ if cover_preamble_records:
+ cover_ids = {r["node_id"] for r in cover_preamble_records}
+ out: list[dict[str, Any]] = []
+ for r in rows:
+ if r["node_id"] in cover_ids:
+ continue
+ out.append(r)
+ if r["node_id"] == l0_record["node_id"]:
+ out.extend(cover_preamble_records)
+ return out
+ return rows
+
+
+# Single-letter "(i)" marker — ambiguous between Roman numeral 1 and the
+# alphabetical letter "i" (between "h" and "j"). Disambiguation requires
+# sibling context: see _reclassify_letter_i_to_alphabetical.
+_SINGLE_LETTER_I_TITLE_RE = re.compile(r"^\s*\([iI]\)")
+
+
+def _reclassify_letter_i_to_alphabetical(
+ rows: list[dict[str, Any]],
+) -> list[dict[str, Any]]:
+ """Reclassify "(i)" records from Roman-numeral to alphabetical when
+ the surrounding sibling sequence is alphabetical (h)-(i)-(j).
+
+ doc2dict and `_LEVEL_PATTERNS` treat "(i)" as a Roman numeral by
+ default (it is, in most contexts: under an "(a)" letter, "(i)" is
+ the first Roman item). But "(i)" is ALSO the alphabetical letter
+ between "(h)" and "(j)". The disambiguation is purely contextual:
+
+ - If the IMMEDIATELY PRECEDING and IMMEDIATELY FOLLOWING active
+ siblings (in node_id order, under the same parent or the same
+ flat letter-sequence) bear lettered markers "(h)" and "(j)",
+ then this "(i)" is alphabetical — peer of its lettered siblings.
+ - If the preceding sibling is "(vii)" or "(viii)" or similar
+ Roman context, "(i)" is Roman — child of its lettered parent.
+
+ Structural fix: when "(i)" is identified as alphabetical, re-parent
+ it to be a sibling of "(h)" (i.e. set its parent_node_id to "(h)"'s
+ parent) and adjust its depth to match "(h)"'s depth.
+
+ Operates on the marker SEQUENCE, not the marker shape alone.
+ """
+ by_node_id = {r["node_id"]: r for r in rows}
+
+ # Build a list of all active records with their letter-or-roman
+ # classification, in node_id order. We use a flat scan because the
+ # tree parenting can be wrong (doc2dict pathology) — the SOURCE
+ # sequence (h)/(i)/(j) is what matters.
+ actives = [
+ r for r in rows
+ if not r.get("is_envelope") and r.get("scope") != "trailer"
+ ]
+ actives.sort(key=lambda r: r["node_id"])
+
+ # Identify each candidate "(i)" record and check sibling context.
+ for idx_i, r in enumerate(actives):
+ title = (r.get("title") or "").strip()
+ if not _SINGLE_LETTER_I_TITLE_RE.match(title):
+ continue
+ # Determine the previous and next active record with a
+ # lettered/roman marker (skip non-marker neighbours like prose
+ # or section headers).
+ prev_marker = None
+ for j in range(idx_i - 1, -1, -1):
+ prev_title = (actives[j].get("title") or "").strip()
+ prev_kind = _classify_subsection_kind(prev_title)
+ if prev_kind in {"lettered", "roman"}:
+ prev_marker = (actives[j], prev_kind, _extract_letter_marker(prev_title))
+ break
+ if prev_kind == "numbered":
+ # Cross-section boundary — stop scanning back.
+ break
+ next_marker = None
+ for j in range(idx_i + 1, len(actives)):
+ next_title = (actives[j].get("title") or "").strip()
+ next_kind = _classify_subsection_kind(next_title)
+ if next_kind in {"lettered", "roman"}:
+ next_marker = (actives[j], next_kind, _extract_letter_marker(next_title))
+ break
+ if next_kind == "numbered":
+ break
+
+ # Alphabetical context: require BOTH previous "(h)" AND next "(j)"
+ # as confirmed alphabetical neighbours. A single anchor is too
+ # weak — it can fire across section boundaries by coincidence.
+ prev_is_h = (
+ prev_marker is not None
+ and prev_marker[1] == "lettered"
+ and prev_marker[2] == "h"
+ )
+ next_is_j = (
+ next_marker is not None
+ and next_marker[1] == "lettered"
+ and next_marker[2] == "j"
+ )
+ if not (prev_is_h and next_is_j):
+ continue
+ # Confirmed alphabetical "(i)". Reparent and re-depth to match
+ # the lettered neighbour. Also re-parent any records that were
+ # wrongly placed under "(i)" — when "(i)" was being treated as
+ # Roman, doc2dict's HTML walker may have parented the FOLLOWING
+ # alphabetical sibling "(j)" (and a subsequent numbered section
+ # like "7.") underneath "(i)". We re-attach those records to
+ # "(i)"'s new parent so they share the same depth as their
+ # actual siblings.
+ anchor = prev_marker[0] if prev_is_h else next_marker[0]
+ anchor_parent_id = anchor.get("parent_node_id")
+ anchor_depth = anchor.get("depth", r.get("depth", 2))
+ old_i_id = r["node_id"]
+ r["parent_node_id"] = anchor_parent_id
+ r["depth"] = anchor_depth
+ # Re-parent any records currently parented under (i) to (i)'s
+ # new parent. These were misclassified as children when (i) was
+ # treated as Roman; they're actually siblings in alphabetical
+ # numbering. Walk children of (i) and re-parent each one.
+ for child in rows:
+ if child.get("parent_node_id") == old_i_id:
+ child["parent_node_id"] = anchor_parent_id
+ # Set depth equal to the anchor (so (j) sits at the
+ # same depth as (h)/(i)). For records that are actually
+ # numbered sections wrongly parented under (i), the
+ # downstream `_reparent_lettered_subsections_to_numbered_siblings`
+ # pass would re-attach them; here we just set depth to
+ # match their structural peer.
+ child_kind = _classify_subsection_kind(
+ (child.get("title") or "").strip()
+ )
+ if child_kind == "numbered":
+ # A numbered section misparented under (i) — its
+ # actual depth is 1 + subdoc_penalty.
+ child["depth"] = 1 + (child.get("subdoc_penalty") or 0)
+ else:
+ child["depth"] = anchor_depth
+ return rows
+
+
+# Signature line: "/s/ Jane Doe", "/s/ Terrance K. Wallberg".
+_SIGN_OFF_RE = re.compile(r"/s/\s+\w+")
+
+# A "signature anchor" is a record whose TITLE or BODY contains a /s/
+# signature line. Detected by SHAPE only — no party-name matching.
+_SIG_TITLE_ANCHOR_RE = re.compile(r"^\s*/s/\s+\w+")
+
+# Per-line shape detectors for a signature-page line. Each is a SHAPE
+# match — no specific names, companies, or party labels are encoded.
+# A signature-page line is one of:
+# - "/s/ " (signature mark)
+# - "By: " (by-line, possibly carrying /s/)
+# - "Name: " (name field)
+# - "Title: " (title field)
+# - "Address: " (address field, possibly bare "Address:")
+# - A bare uppercase party label (1-3 words all caps)
+# - A bare proper-noun name line
+# These are structural cues that occur in signature pages across many
+# agreement types — they are not phrase blocklists.
+_SIG_FIELD_RE = re.compile(
+ r"(?i)^(?:by\s*:|name\s*:|title\s*:|address\s*:?)\s*",
+)
+
+# Short uppercase tag that acts as a signature-block party label
+# (e.g. an "INDEMNITEE"/"BORROWER"/"LENDER"-style role label). Detected
+# by SHAPE — 1-3 words, all uppercase letters (or with light
+# punctuation), not enumeration-driven. No specific labels are encoded.
+_SIG_BLOCK_LABEL_RE = re.compile(r"^[A-Z][A-Z .,&'\-]{1,40}$")
+
+# Signature-page banner line — typesetter chrome telling the reader the
+# signature page follows. Examples: "SIGNATURE PAGE TO FOLLOW", "[Signature
+# Page Follows]", "-- Signature Page --". Detected by SHAPE: the word
+# "signature" adjacent to the word "page", optionally bracketed/dashed.
+# This is page-layout chrome injected by typesetters, not agreement
+# content (per the title-as-root rule).
+_SIG_PAGE_BANNER_RE = re.compile(
+ r"(?i)^\s*[\[\-—]?\s*signature\s+page\b",
+)
+
+# Page-number-only line (one or two-digit, possibly bracketed/centered).
+# Common in signature-page footer chrome ("- 5 -", "[5]", "5.").
+_PAGE_NUMBER_FOOTER_RE = re.compile(
+ r"^\s*[\[\(\-—]?\s*\d{1,3}\s*[\]\)\-—.]?\s*$",
+)
+
+# Exhibit-reference footer ("Exhibit 10.25", "EX-10.1") used as a
+# page-bottom watermark on signature pages. Detected as: an exhibit
+# token plus a number, alone on the line, in the signature area.
+_EXHIBIT_FOOTER_RE = re.compile(
+ r"(?i)^\s*(?:exhibit|ex)[\s\-]\s*\d+(?:\.\d+)?\s*$"
+)
+
+
+def _looks_like_sig_page_line(span: str) -> bool:
+ """Shape-detect a signature-page line.
+
+ True if the span matches any structural cue typical of signature-
+ page lines: a /s/ mark, a By:/Name:/Title:/Address: field, a
+ short uppercase party label, or a single-line name-shaped text.
+ """
+ span = (span or "").strip()
+ if not span:
+ return False
+ if _SIGN_OFF_RE.search(span):
+ return True
+ if _SIG_FIELD_RE.match(span):
+ return True
+ if _SIG_BLOCK_LABEL_RE.match(span):
+ return True
+ return False
+
+
+def _is_iww_clause(text: str) -> bool:
+ """Shape-detect the 'IN WITNESS WHEREOF' operating clause.
+
+ The IWW clause is the signature-page header in traditional
+ agreements. Detected by the canonical uppercase phrase appearing at
+ the start of the span. No specific agreement words encoded.
+ """
+ if not text:
+ return False
+ return bool(re.match(r"(?i)^\s*IN\s+WITNESS\s+WHEREOF", text.strip()))
+
+
+def _split_sig_block_body_into_lines(body: str) -> list[str]:
+ """Split a consolidated signature-block body into per-line records.
+
+ The body is multi-line text where each line is one signature-page
+ line (By:/Name:/Title:/Address://). Split on newlines,
+ strip whitespace/nbsp runs, drop empty lines, drop any line that
+ matches a signature-page banner or page-number footer pattern.
+ Returns the cleaned per-line list.
+ """
+ if not body:
+ return []
+ # doc2dict preserves as \xa0. Collapse runs of whitespace
+ # *within* a line but keep line breaks intact, so each visual line
+ # becomes one element.
+ lines = body.replace("\xa0", " ").split("\n")
+ out: list[str] = []
+ for raw_line in lines:
+ line = " ".join(raw_line.split()).strip()
+ if not line:
+ continue
+ # Drop signature-page footer chrome that landed inside the body.
+ if _SIG_PAGE_BANNER_RE.match(line):
+ continue
+ if _PAGE_NUMBER_FOOTER_RE.match(line):
+ continue
+ if _EXHIBIT_FOOTER_RE.match(line):
+ continue
+ out.append(line)
+ return out
+
+
+def _explode_signature_block_lines(
+ rows: list[dict[str, Any]],
+) -> list[dict[str, Any]]:
+ """Apply the title-as-root signature-page rubric (level_rubric.md /
+ examples_main_agreement.md).
+
+ Three transformations, all SHAPE-driven (no party-name or company-
+ name matching):
+
+ 1. **Strip signature-page banner chrome.** Records whose title
+ matches the signature-page banner shape (e.g. "SIGNATURE PAGE
+ TO FOLLOW", "[Signature Page Follows]") are stripped of their
+ banner title. If they carry substantive body content (an IWW
+ operating clause or any non-banner text), the body is
+ preserved and the title is cleared. If they carry no
+ substantive content, they are marked is_envelope=True so the
+ JSONL writer drops them.
+
+ 2. **Pin the IWW operating clause at L1.** A record whose
+ title/body begins with "IN WITNESS WHEREOF" is the signature
+ page's operating clause. Its depth is set to
+ 1 + subdoc_penalty (a direct child of the agreement).
+
+ 3. **Pin sig-page records at L2.** Each record identified as a
+ signature-page line gets depth = 2 + subdoc_penalty. The
+ record's body is NOT split into per-line fragments. Per the
+ rubric (level_rubric.md "Signature-page content emitted at
+ the wrong depth"), we PRESERVE doc2dict's natural grouping:
+ if doc2dict packed a party's block as one node it stays one
+ L2 record; if doc2dict fragmented per line, each fragment is
+ its own L2 record. A separate post-sort pass merges body-only
+ fragments (title="", body has sig-shape) into the preceding
+ titled sig record in source-text order — so a multi-fragment
+ party block reconstructs as one L2 span even when doc2dict
+ scattered the parts.
+
+ Detection is purely SHAPE-BASED: a "signature carrier" is any
+ record whose span (title+body) contains the /s/ marker, OR whose
+ title is a short uppercase party label whose body starts with a
+ By:/Name:/Title:/Address: field, OR whose title is the /s/ line
+ itself. No specific labels (INDEMNITEE, BORROWER, etc.) are
+ encoded.
+ """
+ if not rows:
+ return rows
+
+ by_node_id = {r["node_id"]: r for r in rows}
+
+ def _span_text(r: dict[str, Any]) -> str:
+ t = (r.get("title") or "").strip()
+ b = (r.get("body_direct") or "").strip()
+ if t and b:
+ return f"{t}\n{b}"
+ return t or b
+
+ def _has_section_marker_title(r: dict[str, Any]) -> bool:
+ """True if title bears a numbered/lettered/roman section marker —
+ such records are agreement clauses, not signature fragments."""
+ title = (r.get("title") or "").strip()
+ if not title:
+ return False
+ return _classify_subsection_kind(title) is not None
+
+ def _chain_ancestor_node_ids(node: dict[str, Any]) -> set[int]:
+ """Walk up parent_node_id chain, returning all ancestor ids."""
+ ids: set[int] = set()
+ cur = node.get("parent_node_id")
+ while cur is not None and cur not in ids:
+ ids.add(cur)
+ parent = by_node_id.get(cur)
+ if parent is None:
+ break
+ cur = parent.get("parent_node_id")
+ return ids
+
+ # PASS 1: strip signature-page banner chrome from titles. Banner
+ # detection is purely shape-based (the word "signature" adjacent to
+ # the word "page" at line start, optionally bracketed/dashed).
+ for r in rows:
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ title = (r.get("title") or "").strip()
+ body = (r.get("body_direct") or "").strip()
+ if not title or not _SIG_PAGE_BANNER_RE.match(title):
+ continue
+ if body and not _SIG_PAGE_BANNER_RE.match(body):
+ # Body carries substantive content (typically the IWW
+ # operating clause). Clear the banner title; the JSONL
+ # writer emits the body alone.
+ r["title"] = ""
+ else:
+ # No substantive body — record is banner chrome only.
+ r["is_envelope"] = True
+
+ # PASS 2: identify signature carriers and pin the IWW operating
+ # clause at L1.
+ #
+ # A "signature carrier" is any record whose span contains a /s/
+ # marker. Around each carrier we expand outward to identify the
+ # full party-block: leading party-label record(s), continuation
+ # field records (By:/Name:/Title:/Address:), and bare-name
+ # continuation records. Membership in the block is established by
+ # the tree-chain relation (records in the same parent-chain as the
+ # /s/ carrier).
+ actives = [
+ r for r in rows
+ if not r.get("is_envelope") and r.get("scope") != "trailer"
+ ]
+ actives.sort(key=lambda r: r["node_id"])
+
+ # Pin the IWW operating clause depth=1.
+ iww_present = False
+ for r in actives:
+ span = _span_text(r)
+ if _is_iww_clause(span):
+ r["depth"] = 1 + (r.get("subdoc_penalty") or 0)
+ iww_present = True
+
+ if not any(_SIGN_OFF_RE.search(_span_text(r)) for r in actives):
+ # No /s/ anywhere — nothing more to do. Even modern agreements
+ # without an IWW clause will have /s/ lines or we don't treat
+ # this as a signature area.
+ return rows
+
+ # Build a set of sig-line node_ids using tree-chain expansion from
+ # each /s/-carrier. This stays purely structural: a record is
+ # marked as a signature-page line iff it's the /s/ carrier itself,
+ # OR an ancestor that is a short uppercase party label, OR an
+ # immediate descendant that fits a sig-field continuation.
+ sig_line_node_ids: set[int] = set()
+
+ # The /s/-carriers themselves.
+ sig_carriers: list[dict[str, Any]] = []
+ for r in actives:
+ if _SIGN_OFF_RE.search(_span_text(r)):
+ sig_carriers.append(r)
+ sig_line_node_ids.add(r["node_id"])
+
+ # Expand UP each chain: ancestors that are short uppercase party
+ # labels (with empty body or sig-shape body) join the block. Stop
+ # at the first ancestor that bears a section marker (numbered or
+ # lettered) — that's an agreement clause, not a sig-block parent.
+ for carrier in sig_carriers:
+ cur = carrier.get("parent_node_id")
+ seen: set[int] = set()
+ while cur is not None and cur not in seen:
+ seen.add(cur)
+ parent = by_node_id.get(cur)
+ if parent is None:
+ break
+ if parent.get("is_envelope") or parent.get("scope") == "trailer":
+ cur = parent.get("parent_node_id")
+ continue
+ if _has_section_marker_title(parent):
+ break
+ p_title = (parent.get("title") or "").strip()
+ p_body = (parent.get("body_direct") or "").strip()
+ # Party-label ancestor: short uppercase title, body empty
+ # OR body is sig-shape continuation content.
+ if (
+ p_title
+ and _SIG_BLOCK_LABEL_RE.match(p_title)
+ and (
+ not p_body
+ or _SIG_FIELD_RE.match(p_body)
+ or _SIGN_OFF_RE.search(p_body)
+ )
+ ):
+ sig_line_node_ids.add(parent["node_id"])
+ cur = parent.get("parent_node_id")
+ continue
+ # IWW operating clause ancestor — that's L1, not part of
+ # the L2 sig-line set. Don't add to sig_line_node_ids but
+ # also don't break the chain (it may itself have a
+ # short-uppercase parent label above it).
+ if _is_iww_clause(_span_text(parent)):
+ cur = parent.get("parent_node_id")
+ continue
+ break
+
+ # Expand DOWN each carrier's tree chain: descendants whose
+ # title or body fits sig-shape continuation join the block.
+ children_of: dict[int | None, list[dict[str, Any]]] = {}
+ for r in rows:
+ children_of.setdefault(r.get("parent_node_id"), []).append(r)
+
+ def _walk_descendants(nid: int) -> list[dict[str, Any]]:
+ out: list[dict[str, Any]] = []
+ stack = [nid]
+ seen: set[int] = set()
+ while stack:
+ cur = stack.pop()
+ if cur in seen:
+ continue
+ seen.add(cur)
+ for c in children_of.get(cur, []):
+ out.append(c)
+ stack.append(c["node_id"])
+ return out
+
+ for carrier in sig_carriers:
+ for d in _walk_descendants(carrier["node_id"]):
+ if d.get("is_envelope") or d.get("scope") == "trailer":
+ continue
+ if _has_section_marker_title(d):
+ continue
+ d_title = (d.get("title") or "").strip()
+ d_body = (d.get("body_direct") or "").strip()
+ span = _span_text(d)
+ # Sig-field-shape: By:/Name:/Title:/Address: prefix on
+ # title or body; or a short label; or a /s/ carrier; or a
+ # bare-name shape (no enumeration, no section marker, in-
+ # chain with the carrier — guaranteed since this is a
+ # descendant walk).
+ looks_sig = (
+ _SIGN_OFF_RE.search(span)
+ or _SIG_FIELD_RE.match(d_title)
+ or _SIG_FIELD_RE.match(d_body)
+ or (d_title and _SIG_BLOCK_LABEL_RE.match(d_title) and not d_body)
+ or (d_title and not d_body) # bare name as title
+ or (not d_title and d_body and _SIG_FIELD_RE.match(d_body))
+ )
+ if looks_sig:
+ sig_line_node_ids.add(d["node_id"])
+
+ # PASS 3: pin each identified sig-line record at depth 2
+ # (+ subdoc_penalty). Do NOT split per-line. Per the new rubric
+ # (level_rubric.md / examples_main_agreement.md "Signature-page
+ # content emitted at the wrong depth"), we PRESERVE doc2dict's
+ # natural grouping. A separate post-sort pass merges body-only
+ # fragments into the preceding titled sig record in source order.
+ for r in rows:
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ if r["node_id"] not in sig_line_node_ids:
+ continue
+ l2_depth = 2 + (r.get("subdoc_penalty") or 0)
+ r["depth"] = l2_depth
+ r["_sig_line"] = True
+
+ return rows
+
+
+def _merge_body_only_sig_fragments_in_order(
+ rows: list[dict[str, Any]],
+) -> list[dict[str, Any]]:
+ """Merge body-only sig fragments into the preceding titled sig record.
+
+ After `_sort_records_by_source_position` + `_consolidate_sig_lines_after_iww`
+ have laid out the records in source-text order, walk the sig-line
+ block and merge each title-less, sig-shape-body fragment into the
+ IMMEDIATELY PRECEDING titled sig record.
+
+ Why this exists: doc2dict often splits a party's signature block
+ into multiple section nodes — a title-bearing party-label node
+ ("ULURU Inc.", "MOMENTA PHARMACEUTICALS, INC.") followed by a
+ chain of body-only fragments ("By: /s/...", "Name: ...",
+ "Title: ..."). Per the rubric, each PARTY BLOCK is a single L2
+ record. Merging the body-only fragments into the preceding
+ titled record reconstructs the per-party grouping that matches
+ the source document's visual layout.
+
+ Detection of "body-only sig fragment": _sig_line=True, title
+ empty, body matches sig-shape (By:/Name:/Title:/Address: prefix
+ OR contains /s/ OR is short uppercase company-style continuation).
+
+ Operation: append the fragment's body (newline-separated) to the
+ preceding sig record's body. Mark the fragment is_envelope=True
+ so the JSONL writer drops it. Parquet still has both rows.
+ """
+ if not rows:
+ return rows
+
+ last_titled_sig: dict[str, Any] | None = None
+ for r in rows:
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ if not r.get("_sig_line"):
+ # Non-sig record — sig-line chain is broken; reset.
+ last_titled_sig = None
+ continue
+ title = (r.get("title") or "").strip()
+ body = (r.get("body_direct") or "").strip()
+ if title:
+ # Titled sig record — start a new merge target.
+ last_titled_sig = r
+ continue
+ # Body-only sig fragment. Merge into preceding titled sig record
+ # if any, else become the new merge target.
+ if last_titled_sig is None or not body:
+ last_titled_sig = r if not last_titled_sig else last_titled_sig
+ continue
+ # Merge body into last_titled_sig's body, separated by newline.
+ existing_body = (last_titled_sig.get("body_direct") or "").strip()
+ merged = body if not existing_body else f"{existing_body}\n{body}"
+ last_titled_sig["body_direct"] = merged
+ last_titled_sig["body_direct_chars"] = len(merged)
+ # Drop the fragment from JSONL (kept in parquet for audit).
+ r["is_envelope"] = True
+
+ return rows
+
+
+def _anchor_subdoc_bodies_after_titles(
+ rows: list[dict[str, Any]],
+) -> list[dict[str, Any]]:
+ """Move synthetic subdoc body records to sit right after their parent title.
+
+ Subdoc body records (created by `_consolidate_real_subdocs` with the
+ `_subdoc_body_of` flag) carry the consolidated body content for a
+ real subdoc. After `_sort_records_by_source_position`, their
+ source-text probe can mis-locate them when the body's first words
+ happen to occur EARLIER in the source (e.g. an exhibit body whose
+ first words also appear on the cover page — the forward-progress
+ search will choose the earlier occurrence).
+
+ This pass walks the sorted rows, finds each subdoc body record,
+ and re-inserts it IMMEDIATELY AFTER the row that matches its
+ `_subdoc_body_of` node_id. This preserves the structural ordering:
+ subdoc title at L1, followed by its body record at L2.
+ """
+ body_records: dict[int, dict[str, Any]] = {}
+ other_records: list[dict[str, Any]] = []
+ for r in rows:
+ of_id = r.get("_subdoc_body_of")
+ if of_id is not None and not r.get("is_envelope"):
+ body_records[of_id] = r
+ else:
+ other_records.append(r)
+ if not body_records:
+ return rows
+ out: list[dict[str, Any]] = []
+ for r in other_records:
+ out.append(r)
+ body = body_records.get(r["node_id"])
+ if body is not None:
+ out.append(body)
+ return out
+
+
+def _consolidate_sig_lines_after_iww(
+ rows: list[dict[str, Any]],
+) -> list[dict[str, Any]]:
+ """Move signature-page line records into one contiguous block right
+ after the IWW operating clause (or after the last non-sig record in
+ document order, if IWW is absent).
+
+ This runs AFTER `_sort_records_by_source_position`. The position
+ sorter's source-text search can mis-locate short sig-line records
+ like "ULURU Inc." (where the same string also appears inside a
+ Section 17 Notices address block). Once the sort is done we
+ structurally anchor the sig block to the IWW position so the JSONL
+ order matches the source's signature-page order.
+
+ Records carrying `_sig_line=True` are the sig-page lines. Their
+ relative order is preserved by sorting on `node_id` (the input
+ order from doc2dict's HTML walker, which matches the visual order
+ inside the sig page).
+ """
+ sig_records: list[dict[str, Any]] = []
+ non_sig_records: list[dict[str, Any]] = []
+ iww_index: int | None = None
+ for r in rows:
+ if r.get("_sig_line"):
+ sig_records.append(r)
+ else:
+ non_sig_records.append(r)
+
+ if not sig_records:
+ return rows
+
+ # Sort sig records by node_id, which matches doc2dict's HTML-walk
+ # order and (for sig pages) the visual top-to-bottom order. After
+ # this sort, body-only fragments follow their preceding titled
+ # record so the merge pass can consolidate per-party blocks.
+ sig_records.sort(key=lambda r: r["node_id"])
+
+ # Find the IWW record in non_sig_records. The IWW is the L1 record
+ # whose span begins with "IN WITNESS WHEREOF".
+ for i, r in enumerate(non_sig_records):
+ if r.get("is_envelope") or r.get("scope") == "trailer":
+ continue
+ t = (r.get("title") or "").strip()
+ b = (r.get("body_direct") or "").strip()
+ span = f"{t}\n{b}" if (t and b) else (t or b)
+ if _is_iww_clause(span):
+ iww_index = i
+ break
+
+ if iww_index is None:
+ # No IWW — append sig records at the end (post sort).
+ return non_sig_records + sig_records
+
+ # Splice the sig records in immediately after the IWW.
+ return (
+ non_sig_records[: iww_index + 1]
+ + sig_records
+ + non_sig_records[iww_index + 1 :]
+ )
+
+
def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]:
size_kb = round(len(raw) / 1024, 2)
base: dict[str, Any] = {
@@ -957,6 +3401,82 @@ def parse_one(idx: int, raw: str) -> tuple[dict[str, Any], list[dict[str, Any]]]
sections = walk_sections(document_tree, depth=0)
sections = _fix_post_signature_envelope(sections)
sections = _apply_scope_rule(sections)
+ # Collapse each real subdoc (named exhibit/schedule/appendix/annex
+ # with descriptive title or descriptive first-child) into ONE L1
+ # record with its descendants consolidated into the subdoc body.
+ # Per task_rules/scope_rule.md, real subdocs are agreement content;
+ # but doc2dict often fragments their descendants into deep nested
+ # predicted-header records, which inflates depth past the rubric
+ # intent AND trips freeze.py's boilerplate-pattern detector. The
+ # consolidated record is the canonical "subdoc header + body" shape
+ # the rubric describes.
+ sections = _consolidate_real_subdocs(sections)
+ sections = _merge_bare_section_marker_with_child(sections)
+ # After the merge step, fix doc2dict's HTML-walker mis-parenting:
+ # numbered "13. Definitions" sometimes lands as a SIBLING of its own
+ # lettered (a)-(f) children. Re-parent lettered/roman subsections that
+ # follow a numbered sibling into that numbered section so the tree
+ # depths reflect the actual legal hierarchy.
+ sections = _reparent_lettered_subsections_to_numbered_siblings(sections)
+ sections = _split_l0_title_from_preamble(sections)
+ # Cover-preamble rescue: when the L0 title appears TWICE in the
+ # source (once on the cover page, once at the agreement start), the
+ # BY AND BETWEEN / parties / date block on the cover is the cover-
+ # preamble. Emit it as one L1 record after the L0 title. Per
+ # Arthur's annotation for idx=1 (Defect 1).
+ sections = _rescue_cover_preamble_block(sections)
+ sections = _split_inline_section_markers(sections)
+ # Numbered subsections "N.M" buried in Article bodies (e.g.
+ # "1.1 ... 1.2 ... 1.3 ..." inside ARTICLE 1's body) get split out
+ # as L2 records. This handles license/credit-agreement style where
+ # every definition is inline rather than its own HTML element.
+ sections = _split_inline_nm_section_markers(sections)
+ # After splitting out inlined "N." sections from body_direct, scan
+ # for foreign lettered "(L)" markers that doc2dict's tail-attribution
+ # pathology left in the body. Split them out and re-attach to the
+ # sibling section whose lettered children's enumeration would
+ # naturally continue with that letter.
+ sections = _split_foreign_lettered_markers_from_body(sections)
+ # Reclassify single-letter "(i)" from Roman to alphabetical when
+ # surrounded by "(h)"/"(j)" siblings. Roman classification is the
+ # default per _LEVEL_PATTERNS; alphabetical context is a structural
+ # exception driven by sibling sequence, not by marker shape alone.
+ sections = _reclassify_letter_i_to_alphabetical(sections)
+ # Drop cover-page records BEFORE the L0 title (registrant short-name,
+ # exhibit-number echoes). These are filing metadata wedged between
+ # the SEC envelope and the agreement body.
+ sections = _drop_pre_title_cover_records(sections)
+ # Explode the signature page per the title-as-root rubric:
+ # - IWW operating clause sits at L1 (signature-page header).
+ # - Each signature-page line (party label, /s/, name, title,
+ # address) is its OWN flat L2 record.
+ # - Signature-page banner chrome ("SIGNATURE PAGE TO FOLLOW",
+ # "[Signature Page Follows]") is dropped.
+ sections = _explode_signature_block_lines(sections)
+ sections = _sort_records_by_source_position(sections, idx)
+ # Anchor synthetic subdoc body records to sit right after their
+ # parent subdoc title (Defect 4). The position sorter may
+ # mis-locate them if the body's first words also appear elsewhere
+ # in the source.
+ sections = _anchor_subdoc_bodies_after_titles(sections)
+ # Anchor sig-line records to the IWW position. The position sorter
+ # uses source-text matching, which mis-locates short sig-line
+ # strings like a party-name label that also occurs inside another
+ # clause's body. Structural anchor: the sig block is one contiguous
+ # cluster immediately after the IWW operating clause.
+ sections = _consolidate_sig_lines_after_iww(sections)
+ # Merge body-only sig fragments into the preceding titled sig
+ # record. Runs after the cluster so "preceding in document order"
+ # is the sorted position. This converts per-line doc2dict
+ # fragments into per-party L2 records that match the source's
+ # visual party-block grouping.
+ sections = _merge_body_only_sig_fragments_in_order(sections)
+ # Drop records whose post-sort position precedes the L0 title. The
+ # title-as-root rule (level_rubric.md) says no clause can be part of
+ # the agreement if it appears before the agreement title in source
+ # order. Catches TOC entries that doc2dict promoted out-of-tree and
+ # any other pre-title cover content the node-id heuristic missed.
+ sections = _drop_pre_title_position_records(sections)
base["parse_status"] = "ok"
base["n_section_nodes"] = len(sections)
@@ -1055,6 +3575,14 @@ def main(
# JSONL only; the full record stays in the parquet via
# all_section_records so downstream tools can still see the
# envelope class and ID if they care.
+ # `order` is a per-idx 0-indexed sequence number assigned at
+ # JSONL emission time (i.e. AFTER envelope/trailer drops).
+ # The first record emitted for an idx has order=0, the next
+ # order=1, etc. This makes the document sequence explicit in
+ # the schema so downstream consumers reconstruct ordering
+ # without relying on JSON-key ordering. See
+ # task_rules/level_rubric.md "JSONL record shape".
+ jsonl_order = 0
for s in sections:
s["idx"] = idx
all_section_records.append(s)
@@ -1067,10 +3595,12 @@ def main(
continue
jsonl_record = {
"idx": s["idx"],
+ "order": jsonl_order,
"level": s["depth"],
"span": span if no_truncate else _truncate_for_jsonl(span),
}
nodes_jsonl.write(json.dumps(jsonl_record, ensure_ascii=False) + "\n")
+ jsonl_order += 1
progress.update(
task,
diff --git a/task_rules/README.md b/task_rules/README.md
index ca1ef52..a42254f 100644
--- a/task_rules/README.md
+++ b/task_rules/README.md
@@ -1,50 +1,112 @@
-# task_rules — level-tuning loop reference
+# task_rules — parser-tuning loop reference
-This folder contains the rules and prompts used by the `scripts/level_loop/`
-self-correcting loop. Each turn, an opencode agent reads one of these
-prompts (composed by `prompt.py`) and tunes the parser at
-`scripts/parse_doc2dict_with_config.py` until one source agreement parses
-with rubric-compliant levels, freezes the result, then advances to the
-next idx.
+This folder contains the rules and prompts used by the
+`scripts/level_loop/` self-correcting loop. The loop's goal is to tune
+`scripts/parse_doc2dict_with_config.py` so it slices each EX-10
+agreement's HTML into clauses with hierarchy — clause text plus nesting
+depth — such that concatenating the spans in document order
+reconstructs the source.
-These files are the source of truth for what "correct" means. If the
-rubric changes, edit `level_rubric.md` first, then propagate through
-`turn_prompt.md` and re-bake any frozen baselines that no longer match.
+Each turn, an agent reads the prompt composed by
+`scripts/level_loop/prompt.py`, tunes the parser, freezes the result
+for one idx, regresses against previously frozen idxs, then advances.
+
+These md files are the source of truth for what "correct" means. If
+the rubric changes, edit `level_rubric.md` first, then propagate
+through the other files; if existing frozen baselines no longer match,
+re-bake them.
+
+## Rubric in one paragraph
+
+The agreement title alone is depth 0. Every direct child of the
+agreement — preamble paragraph, recital block, each top-level body
+clause (Article when the doc nests Sections inside Articles; otherwise
+the numbered Section), and the signature block — is depth 1. Direct
+children of those are depth 2; their children depth 3; and so on. A
+real subdocument (`cls in {exhibit, schedule, appendix, annex}`,
+`is_envelope=False`, descriptive title) adds +1 to every descendant's
+depth. Ceiling is depth 7. See [`level_rubric.md`](level_rubric.md).
+
+## Scope reminder
+
+The parser handles **all agreement types** — private, public,
+government (contract amendments like SF-30), international, unilateral
+(guaranties, releases, designations), multilateral. Document type does
+not change the rules. The only out-of-scope content is **non-agreement
+metadata** that travels with the SEC filing (the envelope, post-
+signature filing trailers). See [`scope_rule.md`](scope_rule.md).
## Files
-- [`level_rubric.md`](level_rubric.md) — the full level 0–7 rubric, with
- the SEC-envelope drop rule and the subdocument level-penalty rule.
-- [`scope_rule.md`](scope_rule.md) — the structural in-scope/out-of-
- scope rule for filtering filing-trailer content (press releases,
- About-Company, Forward-Looking Statements, etc.) using
- signature-block + real-subdoc detection. NEVER use phrase blocklists.
-- [`turn_prompt.md`](turn_prompt.md) — the per-turn ACP prompt template.
- This is what `scripts/level_loop/prompt.py` emits, with a few `{vars}`
- filled in at run time. Reading this file shows you exactly what an
- agent sees on every turn.
-- [`freeze_command.md`](freeze_command.md) — when and how to freeze the
- current idx. Full copy-paste command.
-- [`regress_command.md`](regress_command.md) — regression check across
- all frozen idxs. Full copy-paste command.
-- [`advance_command.md`](advance_command.md) — bump `current_idx` to the
- next sample. Refuses to advance if regression fails.
-- [`examples_main_agreement.md`](examples_main_agreement.md) — worked
- example: an Indemnification Agreement parsed to levels 0–4. Shows the
- expected (level, title) pairs.
-- [`examples_with_subdocs.md`](examples_with_subdocs.md) — worked
- example: an agreement with attached "EXHIBIT A — FORM OF NOTICE"
- subdocument. Shows how the +1 penalty stacks down to level 7.
+Rubric / contract:
+
+- [`level_rubric.md`](level_rubric.md) — the depth 0–7 contract.
+ Defines `idx`/`order`/`level`/`span`/`cls`/`is_envelope`/`scope`
+ in the Terminology section, gives the standalone-agreement depth
+ table, the SEC-envelope drop, the +1 subdocument penalty, common
+ parser failure modes, and the 90% reconstruction gate.
+- [`scope_rule.md`](scope_rule.md) — the structural rule for what
+ is "the agreement" vs filing context. Covers pre-title cover
+ wedges, the trailer-types table, signature-block detection,
+ real-subdocument detection, the bare-identifier subdoc rescue,
+ and an end-to-end worked walkthrough.
+
+Worked examples:
+
+- [`examples_main_agreement.md`](examples_main_agreement.md) — the
+ Indemnification Agreement baseline (no subdocs; depths 0–3).
+- [`examples_with_subdocs.md`](examples_with_subdocs.md) — a
+ synthetic agreement with three levels of nested subdocs to show
+ the +1 penalty stacking through depth 7.
+
+Loop commands (run in order each turn):
+
+- [`freeze_command.md`](freeze_command.md) — freeze one idx as a
+ golden baseline. Documents the rubric, monkey-patch, and
+ reconstruction gates (all blocking).
+- [`regress_command.md`](regress_command.md) — regression check
+ across every frozen idx. Run after each parser edit; advance
+ re-runs it as a gate.
+- [`advance_command.md`](advance_command.md) — bump `current_idx`
+ to the next sample. Refuses to advance if regression fails.
+
+Agent prompt:
+
+- [`turn_prompt.md`](turn_prompt.md) — per-turn ACP prompt template
+ emitted by `scripts/level_loop/prompt.py` with `{vars}` filled in
+ at run time. This is what the agent sees on each turn.
+
+## JSONL record shape
+
+```json
+{"idx": , "order": , "level": , "span": "\n"}
+```
+
+ - `order` is 0-indexed per-idx, document order. JSON dicts aren't
+ ordered; `order` is the explicit sequence number so downstream
+ consumers reconstruct the linear order without relying on key
+ ordering. See `level_rubric.md` for details.
## Quick reference: complete loop, one turn
```bash
-# From: /Users/arthrod/temp/T/clause-extract/clause-extract
-MODEL=zai-coding-plan/glm-5.1 ./scripts/level_loop/turn.sh
+cd /Users/arthrod/temp/T/clause-extract
+./scripts/level_loop/turn.sh
+```
+
+That script regenerates the prompt from `prompt.py`, snapshots it
+under `data/auto_parse/level_freeze/turns/`, and dispatches one
+fresh-context agent session. The agent edits the parser if needed,
+re-runs it, runs the reconstruction check, freezes, regresses, and
+advances. When `state.json["current_idx"]` increments, the turn
+succeeded.
+
+## Run N turns
+
+```bash
+./scripts/level_loop/run_n_turns.sh 7
```
-That script regenerates the prompt from `prompt.py`, snapshots it under
-`data/auto_parse/level_freeze/turns/`, and dispatches one fresh-context
-opencode session. The agent edits, re-runs the parser, freezes,
-regresses, and advances. When `state.json["current_idx"]` increments,
-the turn succeeded.
+Processes N idxs sequentially. Each idx gets up to 3 retries; if all
+three fail, the driver records the failure and force-advances. See
+`scripts/level_loop/run_n_turns.sh` for the policy.
diff --git a/task_rules/advance_command.md b/task_rules/advance_command.md
index 2453714..16d26e4 100644
--- a/task_rules/advance_command.md
+++ b/task_rules/advance_command.md
@@ -5,10 +5,14 @@
Last step of every successful turn. Only after `freeze.py` and
`regress.py` both succeeded for the current idx.
+The loop driver calls `advance.py` automatically at the end of a
+turn; you only invoke it directly when debugging or recovering from
+a partial state.
+
## Command (copy-paste from repo root)
```bash
-cd /Users/arthrod/temp/T/clause-extract/clause-extract
+cd /Users/arthrod/temp/T/clause-extract
uv run scripts/level_loop/advance.py
```
@@ -19,14 +23,43 @@ uv run scripts/level_loop/advance.py
2. Re-runs `regress.py` as a gate. If any frozen idx fails, refuses to
advance.
3. Increments `state.current_idx` by 1 and appends an `advance` entry
- to `history[]`.
+ to `history[]` (timestamp + the new `current_idx`).
+
+The state file is `data/auto_parse/level_freeze/state.json`. The keys
+that matter are:
+
+ - `current_idx` — the idx the next turn will tune.
+ - `frozen` — list of idxs that have a baseline at
+ `data/auto_parse/level_freeze/frozen/idx_.jsonl`.
+ - `history` — append-only log of `freeze` and `advance` events
+ for audit.
## Why the gate matters
The whole point of the loop is "move forward only when everything that
worked before still works." If you advance with a regression, you've
silently corrupted a baseline; subsequent turns will be tuning against
-broken expectations.
+broken expectations, and the contamination compounds turn-by-turn.
+
+The `freeze → regress → advance` order is load-bearing:
+
+ - **freeze** writes the new baseline for `current_idx`.
+ - **regress** confirms the baseline you just wrote AND every prior
+ baseline still matches the current parser output. (This catches
+ the case where freezing the current idx required a parser edit
+ that broke a prior idx.)
+ - **advance** re-runs regress as a final gate, then increments.
+
+## Common failure modes
+
+- **"current_idx N is not in frozen[]"** — you tried to advance
+ before freezing. Run `freeze.py` first.
+- **"regression detected at idx M"** — your edit fixed
+ `current_idx` but broke idx M. Roll back the breakage and find a
+ smaller change that satisfies both. Don't `--skip-regress`.
+- **`state.json` not found** — the loop wasn't initialised. The
+ driver creates state.json on first run; if it's missing, check
+ `scripts/level_loop/` for an init step.
## Escape hatch (debug only)
@@ -35,4 +68,14 @@ uv run scripts/level_loop/advance.py --skip-regress
```
This skips the regression check. Use only when explicitly debugging
-the regress script itself, never in normal loop operation.
+the regress script itself, never in normal loop operation. The
+driver does not pass `--skip-regress` in any normal path.
+
+## See also
+
+- [`freeze_command.md`](freeze_command.md) — the step that runs
+ before advance and writes the baseline.
+- [`regress_command.md`](regress_command.md) — what the gate
+ actually checks.
+- [`turn_prompt.md`](turn_prompt.md) — the per-turn workflow that
+ ends in advance.
diff --git a/task_rules/examples_main_agreement.md b/task_rules/examples_main_agreement.md
index b573a1e..4aca668 100644
--- a/task_rules/examples_main_agreement.md
+++ b/task_rules/examples_main_agreement.md
@@ -1,17 +1,21 @@
# Worked example — main agreement, no subdocuments
This is the ULURU Inc. Indemnification Agreement (idx=0 in our corpus,
-SEC envelope = "EXHIBIT 10.25"). It has NO attached subdocuments, so no
-penalty applies — levels run 0 through 4.
+SEC envelope = "EXHIBIT 10.25"). It has NO attached subdocuments. Under
+the rubric (title alone at depth 0; preamble, recitals, every top-level
+body clause, and the signature-page operating clause at depth 1; their
+direct children — including the signature-page lines — at depth 2;
+etc.), depths run 0 through 3. Concatenating the spans below in
+`order` ascending reconstructs the source.
## Source structure (from the source-of-truth bs4 text)
```
[SEC envelope, dropped from JSONL]
EXHIBIT 10.25
-
-[main contract]
ULURU Inc.
+
+[main agreement]
INDEMNIFICATION AGREEMENT
THIS INDEMNIFICATION AGREEMENT (the "Agreement") is made and entered
into as of February 27, 2017 between ULURU Inc., a Nevada corporation
@@ -47,6 +51,9 @@ NOW, THEREFORE, in consideration of Indemnitee's agreement…
…
+IN WITNESS WHEREOF, the parties hereto have executed this Indemnification
+Agreement as of the date first written above.
+
ULURU Inc.
By: /s/ Terrance K. Wallberg
Name: Terrance K. Wallberg
@@ -58,45 +65,100 @@ Vaidehi Shah
Address:
```
-## Expected JSONL output (66 records, current frozen baseline for idx=0)
+## Expected JSONL output (truncated example)
```jsonl
-{"idx":0,"level":1,"span":"ULURU Inc."}
-{"idx":0,"level":0,"span":"INDEMNIFICATION AGREEMENT\nTHIS INDEMNIFICATION AGREEMENT (the \"Agreement\") is made and entered into as of February 27, 2017 between ULURU Inc., a Nevada corporation (the \"Company\"), and Vaidehi Shah (\"Indemnitee\")."}
-{"idx":0,"level":1,"span":"WITNESSETH THAT:\nWHEREAS, highly competent persons…"}
-{"idx":0,"level":2,"span":"1. Indemnity of Indemnitee\nThe Company hereby agrees to hold harmless…"}
-{"idx":0,"level":3,"span":"(a) Proceedings Other Than Proceedings by or in the Right of the Company\n…"}
-{"idx":0,"level":3,"span":"(b) Proceedings by or in the Right of the Company\n…"}
-{"idx":0,"level":3,"span":"(c) Indemnification under NRS 78.138\n…"}
-{"idx":0,"level":3,"span":"(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful\n…"}
-{"idx":0,"level":2,"span":"2. Additional Indemnity\n…"}
-{"idx":0,"level":2,"span":"3. Contribution."}
-{"idx":0,"level":3,"span":"(a) Whether or not the indemnification provided in Sections 1 and 2 hereof…"}
+{"idx":0,"order":0,"level":0,"span":"INDEMNIFICATION AGREEMENT"}
+{"idx":0,"order":1,"level":1,"span":"THIS INDEMNIFICATION AGREEMENT (the \"Agreement\") is made and entered into as of February 27, 2017 between ULURU Inc., a Nevada corporation (the \"Company\"), and Vaidehi Shah (\"Indemnitee\")."}
+{"idx":0,"order":2,"level":1,"span":"WITNESSETH THAT:\nWHEREAS, highly competent persons have become more reluctant…\nWHEREAS, the Board of Directors of the Company…\nNOW, THEREFORE, in consideration of Indemnitee's agreement…"}
+{"idx":0,"order":3,"level":1,"span":"1. Indemnity of Indemnitee\nThe Company hereby agrees to hold harmless and indemnify Indemnitee…"}
+{"idx":0,"order":4,"level":2,"span":"(a) Proceedings Other Than Proceedings by or in the Right of the Company\n…"}
+{"idx":0,"order":5,"level":2,"span":"(b) Proceedings by or in the Right of the Company\n…"}
+{"idx":0,"order":6,"level":2,"span":"(c) Indemnification under NRS 78.138\n…"}
+{"idx":0,"order":7,"level":2,"span":"(d) Indemnification for Expenses of a Party Who is Wholly or Partly Successful\n…"}
+{"idx":0,"order":8,"level":1,"span":"2. Additional Indemnity\n…"}
+{"idx":0,"order":9,"level":1,"span":"3. Contribution."}
+{"idx":0,"order":10,"level":2,"span":"(a) Whether or not the indemnification provided in Sections 1 and 2 hereof…"}
…
-{"idx":0,"level":4,"span":"(i) by a majority vote of the disinterested Directors…"}
+{"idx":0,"order":N,"level":3,"span":"(i) by a majority vote of the disinterested Directors…"}
…
-{"idx":0,"level":1,"span":"ULURU Inc.\nBy: /s/ Terrance K. Wallberg\n…"}
-{"idx":0,"level":1,"span":"INDEMNITEE"}
-{"idx":0,"level":1,"span":"/s/ Vaidehi Shah"}
-{"idx":0,"level":1,"span":"Vaidehi Shah\nAddress:"}
+{"idx":0,"order":N+k-1,"level":1,"span":"IN WITNESS WHEREOF, the parties hereto have executed this Indemnification Agreement as of the date first written above."}
+{"idx":0,"order":N+k,"level":2,"span":"ULURU Inc.\nBy: /s/ Terrance K. Wallberg\nName: Terrance K. Wallberg\nTitle: Vice President and Chief Financial Officer"}
+{"idx":0,"order":N+k+1,"level":2,"span":"INDEMNITEE"}
+{"idx":0,"order":N+k+2,"level":2,"span":"/s/ Vaidehi Shah"}
+{"idx":0,"order":N+k+3,"level":2,"span":"Vaidehi Shah\nAddress:"}
```
-Note:
-
-- "EXHIBIT 10.25" is **NOT** in the JSONL. It's the SEC envelope, kept
- in the parquet (`is_envelope=true`) but dropped from JSONL.
-- The agreement title + preamble is one record at level 0.
-- Each WHEREAS recital is part of the level-1 WITNESSETH block (or its
- own level-1 record, depending on how doc2dict groups them).
-- The signature block parts are level 1.
-
-## Level distribution
+## Notes
+
+- **Neither "EXHIBIT 10.25" nor the registrant cover line "ULURU Inc."
+ (which precedes the agreement title) appears in the JSONL.** They
+ are dropped via two distinct mechanisms:
+ - "EXHIBIT 10.25" is the SEC filing envelope; the parser detects it
+ via `is_envelope=true` in the parquet and drops it from the JSONL
+ while keeping it in the parquet for audit.
+ - "ULURU Inc." is dropped under the **title-as-root** rule (see
+ `level_rubric.md`): it precedes the title in document order, so it
+ cannot be a descendant of the title and therefore cannot be part
+ of the agreement.
+- **Exactly one depth-0 record per idx**, and it is the *title alone*:
+ `"INDEMNIFICATION AGREEMENT"`. The preamble paragraph
+ (`"THIS INDEMNIFICATION AGREEMENT (the 'Agreement') is made…"`) is
+ its own depth-1 record — a child of the agreement, not part of the
+ title.
+- The WHEREAS recitals together form one depth-1 record (or several
+ depth-1 records, depending on how doc2dict groups them — either way
+ they sit at depth 1 as direct children of the agreement).
+- Top-level body clauses (`1. Indemnity`, `2. Additional Indemnity`,
+ `3. Contribution`, `6. Procedures…`) are at **depth 1**.
+- Their lettered subsections (`(a)`, `(b)`, `(c)`, `(d)`) are at
+ **depth 2**.
+- Roman / capital-letter / digit items (`(i)`, `(A)`, `(1)`) are at
+ **depth 3** when they appear inside an `(a)`-style subsection.
+- The signature-page **operating clause** ("IN WITNESS WHEREOF, the
+ parties hereto have executed this Agreement…") is at **depth 1** —
+ it is the signature page's header, a direct child of the agreement.
+- Signature-page **content** sits at **depth 2** — children of the
+ signature-page operating clause. The parser **preserves doc2dict's
+ natural grouping** at depth 2: whatever doc2dict gives as one HTML
+ node stays as one depth-2 record. Do not explode per line and do
+ not merge across parties. So a signature page that doc2dict packs
+ into a single HTML container becomes ONE depth-2 record (e.g. all
+ party labels, `/s/` marks, `By:`/`Name:`/`Title:` fields in one
+ block). A signature page that doc2dict fragments per line becomes
+ several depth-2 records, one per fragment. Document order is what
+ encodes party grouping; the parser does not impose its own grouping.
+- In modern agreements that **lack** the "IN WITNESS WHEREOF…"
+ operating clause, signature-page content remains at **depth 2** with
+ the same "preserve doc2dict grouping" rule. The conceptual depth-1
+ parent (the signature page itself) is simply absent in the source;
+ the parser still emits the content at depth 2 to keep the
+ signature-page depth contract consistent across the corpus. This is
+ a theoretical compromise: we hold the depth steady so a downstream
+ classifier can target depth-2 uniformly across documents. It is not
+ a classification exercise here — the parser does not label content
+ as "signature" vs "notary" vs "witness"; it just preserves whatever
+ doc2dict produced at depth 2.
+- **Signature-page footers are out of scope.** Page-bottom artifacts
+ inside the signature page — `[Signature Page Follows]`,
+ `-- Signature Page --` banners, page numbers, exhibit-reference
+ footers — do not descend from the title structurally; they are
+ page-layout chrome injected by the typesetter and are dropped from
+ the JSONL.
+- `order` is 0-indexed and monotonic within idx=0 — first emitted
+ record gets `order=0`, second gets `order=1`, and so on.
+
+## Depth distribution
+
+Expected shape for this agreement (counts approximate):
```
-level 0: 1 record (the agreement)
-level 1: 7 records (party block, recitals, signature)
-level 2: 13 records (numbered Sections)
-level 3: 38 records (lettered subsections)
-level 4: 7 records (sub-sub items)
-total: 66 records
+depth 0: 1 record (the agreement title)
+depth 1: ~20 records (preamble, recitals, top-level Sections 1–21,
+ signature-page operating clause)
+depth 2: ~40 records (lettered subsections (a)/(b)/(c)/(d) and the
+ signature-page content — whatever doc2dict
+ groups into one node becomes one depth-2 record;
+ count varies with doc2dict's fragmentation)
+depth 3: ~5 records (sub-sub items like (i)/(ii))
```
diff --git a/task_rules/examples_with_subdocs.md b/task_rules/examples_with_subdocs.md
index 1514ca2..362eb84 100644
--- a/task_rules/examples_with_subdocs.md
+++ b/task_rules/examples_with_subdocs.md
@@ -1,146 +1,302 @@
-# Worked example — agreement with attached subdocuments (levels 0–7)
+# Worked example — agreement with attached subdocuments (depths 0–7)
This example shows how the +1 subdocument penalty propagates. It is
-SYNTHETIC — built to exercise every level from 0 through 7. The actual
-SEC corpus rarely goes deeper than level 5, but the parser supports the
-full range.
+SYNTHETIC — built to exercise every nesting depth from 0 through 7
+(the `level` field in JSONL records). The actual SEC corpus rarely
+goes deeper than depth 5, but the parser supports the full range up
+to the ceiling enforced by `freeze.py`.
+
+The example uses the same structural rules as the main-agreement
+example: title alone at depth 0, every direct child of the agreement
+at depth 1, their children at depth 2, etc. The subdocument penalty
+adds **+1 to every descendant** of a real subdocument (cls in
+`{exhibit, schedule, appendix, annex}`, `is_envelope=False`, with
+descriptive title text — see [`scope_rule.md`](scope_rule.md) for
+the structural detection contract).
## Source structure (synthetic agreement with nested subdocs)
```
-[SEC envelope, dropped from JSONL]
-EXHIBIT 10.99
+[main agreement body]
+MASTER AGREEMENT
+THIS MASTER AGREEMENT… (preamble)
+RECITALS
+1. Term and Termination
+ (a) Initial Term…
+ (b) Renewal…
+2. Definitions
+3. Confidentiality
-[main contract]
-ACME CO.
-SHAREHOLDERS AGREEMENT
-THIS SHAREHOLDERS AGREEMENT…
+[1st-level subdoc]
+EXHIBIT A — FORM OF NOTICE
+1. Scope of Notice
+ (a) Required Recipients
+ (i) by certified mail…
+ (A) addressed to "Chief Officer"
+ (1) with delivery confirmation
-WITNESSETH THAT:
-WHEREAS, …
+[1st-level subdoc, second one — header only, no body]
+SCHEDULE 2 — DEFINITIONS
-1. Definitions
- (a) "Affiliate" means…
- (i) any direct or indirect owner of more than 10%…
+[2nd-level subdoc — Exhibit B contains Annex I]
+EXHIBIT B — INTERIM PROCEDURES
+1. Procedures
+ANNEX I — WIRE INSTRUCTIONS
+ (a) Bank Details
+ (i) Routing
+ (A) ACH protocol
+ (1) initiation cutoff
-2. Voting Rights
- (a) Each Share shall be entitled to one vote.
+[3rd-level subdoc — deepest example]
+EXHIBIT C — FORM OF AMENDMENT
+APPENDIX C-1 — TEMPLATE
+SCHEDULE C-1-α — SETTLEMENT MATRIX
+ (a) Tier Calculation
+ (i) Annual Volume
+ (A) Threshold
+```
-[signature block]
-ACME CO.
-By: /s/ Jane Doe
+## How depths are assigned
-[FIRST subdocument — adds +1 penalty to its descendants]
-EXHIBIT A — FORM OF JOINDER
-THIS JOINDER AGREEMENT is entered into…
+For each node, the parser computes:
-WHEREAS, the undersigned wishes to become a party…
+```
+depth = (natural structural depth from the title down)
+ + (number of enclosing real subdocuments at that node)
+```
-1. Joinder
- (a) The undersigned hereby joins the Shareholders Agreement.
- (i) Effective on the date of this Joinder.
+There are two cases worth stating explicitly because the rule is
+asymmetric:
-[NESTED subdocument — adds another +1 penalty]
-SCHEDULE 1 TO EXHIBIT A — TRANSFER TERMS
+ - A subdocument **header** (the "EXHIBIT A — FORM OF NOTICE" line
+ itself) sits at depth equal to its own natural position in the
+ enclosing structure. It does **NOT** take a +1 for "being a
+ subdoc"; the header IS the boundary marker that triggers the
+ penalty for everything underneath it. A 1st-level subdoc header
+ sits at depth 1 (direct child of the agreement title), a
+ 2nd-level header (subdoc inside subdoc) at depth 2, a 3rd-level
+ at depth 3.
+ - The subdoc's **body content** absorbs the penalty: each level of
+ enclosing subdoc adds +1 to every descendant.
-THIS SCHEDULE OF TRANSFER TERMS sets out…
+This avoids a "double-count" where a 1st-level subdoc body would
+otherwise jump to depth 2 just because the subdoc exists.
-1. Permitted Transferees
- (a) An Affiliate of the holder.
- (i) Any direct subsidiary.
+## Expected depths
-[DOUBLY-NESTED subdocument — third +1 penalty]
-ANNEX I TO SCHEDULE 1 — DEFINITIONS
+For the **main agreement** body (no subdoc penalty applied):
-THIS ANNEX defines the terms used in the Schedule.
+| element | depth |
+|------------------------------|-------|
+| "MASTER AGREEMENT" (title) | 0 |
+| preamble paragraph | 1 |
+| RECITALS block | 1 |
+| "1. Term and Termination" | 1 |
+| "(a) Initial Term…" | 2 |
+| "(b) Renewal…" | 2 |
+| "2. Definitions" | 1 |
+| "3. Confidentiality" | 1 |
-1. Listed Terms
- (a) "Subsidiary" means an entity controlled by the holder.
- (i) Direct ownership of more than 50% of voting power.
-```
+For **EXHIBIT A** (1st-level subdoc; one enclosing subdoc for the
+body, zero for the header):
+
+| element | natural | + enclosing subdocs | = depth |
+|------------------------------|---------|---------------------|---------|
+| "EXHIBIT A — FORM OF NOTICE" | 1 | 0 (header itself) | 1 |
+| "1. Scope of Notice" | 1 | 1 | 2 |
+| "(a) Required Recipients" | 2 | 1 | 3 |
+| "(i) by certified mail…" | 3 | 1 | 4 |
+| "(A) addressed to…" | 4 | 1 | 5 |
+| "(1) with delivery…" | 5 | 1 | 6 |
+
+For **EXHIBIT B > ANNEX I** (subdoc inside subdoc — two enclosing
+subdocs apply to anything inside ANNEX I):
-## Expected JSONL output (excerpt, levels annotated)
+| element | natural | + enclosing subdocs | = depth |
+|------------------------------------------|---------|---------------------|---------|
+| "EXHIBIT B — INTERIM PROCEDURES" | 1 | 0 | 1 |
+| "1. Procedures" (under Exhibit B) | 1 | 1 | 2 |
+| "ANNEX I — WIRE INSTRUCTIONS" | 1 | 1 | 2 |
+| "(a) Bank Details" (inside Annex) | 2 | 2 | 4 |
+| "(i) Routing" | 3 | 2 | 5 |
+| "(A) ACH protocol" | 4 | 2 | 6 |
+| "(1) initiation cutoff" | 5 | 2 | 7 |
+
+For **EXHIBIT C > APPENDIX C-1 > SCHEDULE C-1-α** (3rd-level subdoc):
+
+| element | natural | + enclosing subdocs | = depth |
+|------------------------------------------|---------|---------------------|---------|
+| "EXHIBIT C — FORM OF AMENDMENT" | 1 | 0 | 1 |
+| "APPENDIX C-1 — TEMPLATE" | 1 | 1 | 2 |
+| "SCHEDULE C-1-α — SETTLEMENT MATRIX" | 1 | 2 | 3 |
+| "(a) Tier Calculation" | 2 | 3 | 5 |
+| "(i) Annual Volume" | 3 | 3 | 6 |
+| "(A) Threshold" | 4 | 3 | 7 |
+
+The "natural" column is the depth the item would have if there were
+no enclosing subdocs at all — driven by the marker convention
+(`1.` is naturally 1, `(a)` is naturally 2, `(i)` is naturally 3,
+`(A)` is naturally 4, `(1)` is naturally 5). The actual depth in
+the JSONL is `natural + enclosing-subdocs`.
+
+## Expected JSONL output (truncated example)
+
+`idx` here is a placeholder `N`; in a real run it is the corpus row
+index.
```jsonl
-[main contract — no penalty]
-{"level":1, "span":"ACME CO."}
-{"level":0, "span":"SHAREHOLDERS AGREEMENT\nTHIS SHAREHOLDERS AGREEMENT…"}
-{"level":1, "span":"WITNESSETH THAT:\nWHEREAS, …"}
-{"level":2, "span":"1. Definitions"}
-{"level":3, "span":"(a) 'Affiliate' means…"}
-{"level":4, "span":"(i) any direct or indirect owner of more than 10%…"}
-{"level":2, "span":"2. Voting Rights"}
-{"level":3, "span":"(a) Each Share shall be entitled to one vote."}
-{"level":1, "span":"ACME CO.\nBy: /s/ Jane Doe"}
-
-[Exhibit A — first subdoc, penalty=1 applies to its descendants]
-{"level":1, "span":"EXHIBIT A — FORM OF JOINDER\nTHIS JOINDER AGREEMENT is entered into…"}
-{"level":2, "span":"WHEREAS, the undersigned wishes to become a party…"} # was 1, +1
-{"level":3, "span":"1. Joinder"} # was 2, +1
-{"level":4, "span":"(a) The undersigned hereby joins…"} # was 3, +1
-{"level":5, "span":"(i) Effective on the date of this Joinder."} # was 4, +1
-
-[Schedule 1 — nested in Exhibit A, penalty=2]
-{"level":2, "span":"SCHEDULE 1 TO EXHIBIT A — TRANSFER TERMS\nTHIS SCHEDULE…"} # was 1, +1
-{"level":3, "span":"1. Permitted Transferees"} # was 2, +1 (the Schedule's +1 applies to ITS internals, but Schedule itself is at +1 from Exhibit A's penalty)
- # i.e., 2 (numbered) + 1 (Exhibit) + 0 (just Schedule's title row, not its descendants) = 3
- # WAIT — let me re-read the rule below
+{"idx":N,"order":0,"level":0,"span":"MASTER AGREEMENT"}
+{"idx":N,"order":1,"level":1,"span":"THIS MASTER AGREEMENT… (preamble)"}
+{"idx":N,"order":2,"level":1,"span":"RECITALS\n…"}
+{"idx":N,"order":3,"level":1,"span":"1. Term and Termination"}
+{"idx":N,"order":4,"level":2,"span":"(a) Initial Term…"}
+{"idx":N,"order":5,"level":2,"span":"(b) Renewal…"}
+{"idx":N,"order":6,"level":1,"span":"2. Definitions"}
+{"idx":N,"order":7,"level":1,"span":"3. Confidentiality"}
+{"idx":N,"order":8,"level":1,"span":"EXHIBIT A — FORM OF NOTICE"}
+{"idx":N,"order":9,"level":2,"span":"1. Scope of Notice"}
+{"idx":N,"order":10,"level":3,"span":"(a) Required Recipients"}
+{"idx":N,"order":11,"level":4,"span":"(i) by certified mail…"}
+{"idx":N,"order":12,"level":5,"span":"(A) addressed to \"Chief Officer\""}
+{"idx":N,"order":13,"level":6,"span":"(1) with delivery confirmation"}
+{"idx":N,"order":14,"level":1,"span":"SCHEDULE 2 — DEFINITIONS"}
+{"idx":N,"order":15,"level":1,"span":"EXHIBIT B — INTERIM PROCEDURES"}
+{"idx":N,"order":16,"level":2,"span":"1. Procedures"}
+{"idx":N,"order":17,"level":2,"span":"ANNEX I — WIRE INSTRUCTIONS"}
+{"idx":N,"order":18,"level":4,"span":"(a) Bank Details"}
+{"idx":N,"order":19,"level":5,"span":"(i) Routing"}
+{"idx":N,"order":20,"level":6,"span":"(A) ACH protocol"}
+{"idx":N,"order":21,"level":7,"span":"(1) initiation cutoff"}
+{"idx":N,"order":22,"level":1,"span":"EXHIBIT C — FORM OF AMENDMENT"}
+{"idx":N,"order":23,"level":2,"span":"APPENDIX C-1 — TEMPLATE"}
+{"idx":N,"order":24,"level":3,"span":"SCHEDULE C-1-α — SETTLEMENT MATRIX"}
+{"idx":N,"order":25,"level":5,"span":"(a) Tier Calculation"}
+{"idx":N,"order":26,"level":6,"span":"(i) Annual Volume"}
+{"idx":N,"order":27,"level":7,"span":"(A) Threshold"}
+```
+
+Note that **`level` is not monotonic** — it can jump up and down
+freely as the parser descends into and out of subdocs. What IS
+monotonic is `order`, which increments by 1 for every emitted
+record regardless of which (sub-)subdoc the record belongs to.
+
+## Notes
+
+- **Subdocuments are detected structurally, not by the word
+ "EXHIBIT".** The SEC envelope ("EXHIBIT 10.25") and a real subdoc
+ ("EXHIBIT A — FORM OF NOTICE") both use the word, but only the
+ latter has descriptive title text and `is_envelope=False`. See
+ [`scope_rule.md`](scope_rule.md) §"Detecting a REAL SUBDOCUMENT".
+- **Subdoc headers DO descend from the agreement title.** They are
+ part of the agreement (referenced by or attached to the body) and
+ emit to the JSONL at depth 1+. Only the SEC `` envelope
+ — which precedes the title in document order — is dropped.
+- **The penalty is additive, not multiplicative.** A node inside
+ three enclosing subdocs gets +3, not ×3 or 2^3. The ceiling of 7
+ fits the deepest observed nesting in the EX-10 corpus with
+ headroom.
+- **Subdoc headers do NOT take an extra +1 for being a subdoc.**
+ The header sits at the depth it would naturally occupy in the
+ enclosing structure; the +1 applies to everything underneath.
+ This is the asymmetry described above, and it's what makes a
+ 1st-level subdoc header land at depth 1 (same as a numbered
+ Section of the main agreement) rather than depth 2.
+- **A subdoc with no body emits just the header.** SCHEDULE 2 above
+ has no content under it — the parser still emits the L1 header
+ record but does not synthesise any body. This is correct;
+ empty-body subdoc references are common ("SCHEDULE 2 —
+ DEFINITIONS [Intentionally Omitted]").
+- **Order is global within the idx.** It doesn't reset for
+ subdocuments. The first emitted span is `order=0`, then `order=1`,
+ …, regardless of which (sub-)subdocument the span belongs to. The
+ combination of `order` and `level` lets a downstream consumer
+ reconstruct both the linear sequence and the tree hierarchy
+ without relying on JSON key ordering.
+- **Reconstruction works the same way as for the main agreement.**
+ Concatenating all spans for one idx in `order` ascending
+ reproduces the source document — subdocument spans included. The
+ ≥90% word-coverage gate in `freeze.py` holds at the idx level,
+ with subdocs counted as part of the agreement.
+- **Bare-identifier subdoc rescue.** If a subdoc header lacks
+ descriptive text on its own line ("EXHIBIT A" by itself), the
+ parser pairs it with the immediately following descriptive line
+ ("FORM OF NOTICE") and treats the two-line pair as a single real
+ subdoc. The +1 penalty still applies to everything underneath.
+ See [`scope_rule.md`](scope_rule.md) §"Subdoc rescue".
+- **Signature pages inside subdocs.** A subdoc may contain its own
+ signature page (form attachments often do — "FORM OF NOTICE"
+ ends with a signature block to be filled in). Those lines follow
+ the same depth-2 contract as in the main agreement, then take the
+ subdoc penalty: a `/s/...` line inside a 1st-level subdoc lands
+ at depth 3.
+- **Subdocument footers are out of scope.** Page-bottom artifacts
+ inside any subdoc — banner text, page numbers, exhibit-reference
+ footers — are dropped under the same structural rule that drops
+ signature-page footers in the main agreement.
+- **Depth > 7 is a parser failure.** The combination "fifth-deepest
+ item inside three levels of subdocs" reaches depth 7 already
+ (`5 + 2 = 7` in the simplest path, `4 + 3 = 7` via the deepest
+ subdoc nest). Going deeper would require both deeper structural
+ nesting AND deeper subdoc nesting simultaneously — not seen in
+ the EX-10 corpus. `freeze.py` rejects any record with `level > 7`
+ as evidence the parser captured noise instead of structure.
+
+## Why this stops at depth 7
+
+The rubric ceiling is 7. As the tables above show, the synthetic
+example deliberately reaches `7` from two different directions:
+
+ - Depth-5 marker `(1)` inside two enclosing subdocs
+ (`EXHIBIT B > ANNEX I`) → `5 + 2 = 7`.
+ - Depth-4 marker `(A)` inside three enclosing subdocs
+ (`EXHIBIT C > APPENDIX C-1 > SCHEDULE C-1-α`) → `4 + 3 = 7`.
+
+Real EX-10 documents very rarely reach this; we include the
+synthetic to verify the parser can produce it correctly when the
+source actually contains that structure.
+
+## Order field
+
+`order` is global within the idx — it doesn't reset for subdocuments.
+The first emitted span is `order=0` and the counter increments by 1
+for each subsequent span, regardless of which (sub-)subdocument the
+span belongs to. The combination of `order` and `level` lets a
+downstream consumer reconstruct both the linear sequence and the tree
+hierarchy without relying on JSON key ordering.
+
+## Depth distribution
+
+Expected shape for the synthetic example above (exact counts):
+
```
+depth 0: 1 record (the agreement title)
+depth 1: 8 records (preamble, RECITALS, Sections 1/2/3 of main,
+ and the 4 subdoc headers EXHIBIT A, SCHEDULE 2,
+ EXHIBIT B, EXHIBIT C)
+depth 2: 5 records ((a)/(b) under main Section 1, "1. Scope" under
+ EXHIBIT A, "1. Procedures" / ANNEX I under
+ EXHIBIT B, APPENDIX C-1)
+depth 3: 2 records ("(a) Required" under EXHIBIT A, SCHEDULE C-1-α)
+depth 4: 2 records ("(i)" inside EXHIBIT A, "(a) Bank" inside ANNEX I)
+depth 5: 2 records ("(A)" inside EXHIBIT A, "(i) Routing", "(a) Tier")
+depth 6: 2 records
+depth 7: 2 records
+```
+
+Real EX-10 agreements typically peak around depths 2–3 because most
+top-level body clauses don't have deep roman/letter nesting, and most
+filings carry at most one level of subdocument. A long tail at
+depth ≥5 in production output is a signal worth investigating —
+either a genuinely deep commercial agreement, or the parser
+captured page-layout chrome as structure.
+
+## See also
-## A precise statement of the penalty rule
-
-(Easier to state as code than English.)
-
-For each section, the parser computes:
-- `remapped` — the inferred standalone level (0 for the root agreement,
- 1 for the title, 2 for "1.", 3 for "(a)", 4 for "(i)", etc.).
-- `subdoc_penalty` — the count of REAL subdocument ancestors (subdoc-
- class containers ABOVE this section, EXCLUDING the SEC envelope). It
- starts at 0 at the document root.
-- `effective_level = remapped + subdoc_penalty`.
-
-When recursing into a section's children, `child_penalty` is:
-- `subdoc_penalty + 1` if the section is a real subdocument (subdoc
- class AND not the SEC envelope).
-- `subdoc_penalty` otherwise.
-
-So the SUBDOC HEADER itself sits at `1 + parent_penalty` (because EXHIBIT/
-SCHEDULE/ANNEX patterns map to remapped=1). Its DIRECT descendants get
-`parent_penalty + 1` applied.
-
-## Worked level table for the synthetic example
-
-| section | standalone level | ancestor subdocs | emitted level |
-|----------------------------------------------|------------------|------------------|---------------|
-| SHAREHOLDERS AGREEMENT (main title) | 0 | 0 | 0 |
-| ACME CO. (party block) | 1 | 0 | 1 |
-| WHEREAS recital | 1 | 0 | 1 |
-| "1. Definitions" | 2 | 0 | 2 |
-| "(a) 'Affiliate' means…" | 3 | 0 | 3 |
-| "(i) any direct or indirect owner…" | 4 | 0 | 4 |
-| EXHIBIT A — FORM OF JOINDER (subdoc header) | 1 | 0 | 1 |
-| WHEREAS inside Exhibit A | 1 | 1 (Exhibit A) | 2 |
-| "1. Joinder" inside Exhibit A | 2 | 1 | 3 |
-| "(a)" inside Exhibit A | 3 | 1 | 4 |
-| "(i)" inside Exhibit A | 4 | 1 | 5 |
-| SCHEDULE 1 (subdoc header inside Exhibit A) | 1 | 1 (Exhibit A) | 2 |
-| "1." inside Schedule 1 | 2 | 2 | 4 |
-| "(a)" inside Schedule 1 | 3 | 2 | 5 |
-| "(i)" inside Schedule 1 | 4 | 2 | 6 |
-| ANNEX I (subdoc header inside Schedule 1) | 1 | 2 | 3 |
-| "1." inside Annex I | 2 | 3 | 5 |
-| "(a)" inside Annex I | 3 | 3 | 6 |
-| "(i)" inside Annex I | 4 | 3 | 7 |
-
-So levels 5, 6, and 7 only appear when content is nested 1, 2, or 3
-subdocuments deep. The parser supports the full range; whether a
-particular SEC filing actually exercises it depends on the doc.
-
-## Edge cases
-
-- A subdocument header SECTION whose body is empty AND that has children
- is still treated as a real subdocument; its descendants get +1.
-- The SEC envelope (FIRST exhibit-class section per idx) does NOT count.
- Its descendants are "the main agreement" and get penalty=0.
-- A section whose `cls` is something else (`predicted header`,
- `promoted text leaf`, `introduction`) never adds penalty.
+- [`examples_main_agreement.md`](examples_main_agreement.md) — the
+ no-subdocs baseline (depths 0–3 only).
+- [`level_rubric.md`](level_rubric.md) — the formal depth contract
+ and the JSONL record shape.
+- [`scope_rule.md`](scope_rule.md) — the structural test for "real
+ subdoc" and the bare-identifier rescue.
+- [`freeze_command.md`](freeze_command.md) — the `level ≤ 7` and
+ ≥90% reconstruction gates that the freeze validator enforces.
diff --git a/task_rules/freeze_command.md b/task_rules/freeze_command.md
index cd52e30..e75a74a 100644
--- a/task_rules/freeze_command.md
+++ b/task_rules/freeze_command.md
@@ -2,15 +2,15 @@
## When to run
-Only after you have re-run the parser AND visually confirmed the JSONL
-output for the current idx matches the rubric. Freezing a wrong output
-locks it in as the "golden" baseline and contaminates every future
-regression check.
+Only after you have re-run the parser AND confirmed the JSONL output
+for the current idx is rubric-compliant. Freezing a wrong output locks
+it in as the "golden" baseline and contaminates every future regression
+check.
## Command (copy-paste from repo root)
```bash
-cd /Users/arthrod/temp/T/clause-extract/clause-extract
+cd /Users/arthrod/temp/T/clause-extract
uv run scripts/level_loop/freeze.py # freezes state.current_idx
# OR explicitly:
uv run scripts/level_loop/freeze.py 0 # freezes idx=0
@@ -20,9 +20,15 @@ uv run scripts/level_loop/freeze.py 0 # freezes idx=0
1. Reads `data/auto_parse/parse_doc2dict_with_config_nodes.jsonl`.
2. Filters to records for the requested idx.
-3. Writes them verbatim (full spans, no truncation) to
+3. Runs the **rubric validation gate** and the **monkey-patch
+ detector** (see below). Refuses to freeze on violations.
+4. Runs the **blocking reconstruction gate** comparing concat-of-spans
+ to the source-of-truth (see below). Refuses the freeze if word
+ coverage is below 90% (per [`../docs/DECISIONS.md`](../docs/DECISIONS.md)
+ §10).
+5. Writes the records verbatim (full spans, no truncation) to
`data/auto_parse/level_freeze/frozen/idx_.jsonl`.
-4. Updates `state.json`: appends idx to `frozen[]` and a `freeze` entry
+6. Updates `state.json`: appends idx to `frozen[]` and a `freeze` entry
to `history[]`.
## Stale-file guard
@@ -38,14 +44,14 @@ git checkout), pass `--force`:
uv run scripts/level_loop/freeze.py 0 --force
```
-## Rubric validation gate
+## Rubric validation gate (blocking)
`freeze.py` validates the records against the rubric and **refuses to
write the baseline** if any of these are violated:
-1. Exactly ONE level-0 record per idx. Zero or many ≥ 2 → reject.
-2. Max level ≤ 7 (4 + 3 levels of subdoc nesting). Anything higher
- means the parser captured noise (post-signature press-release
+1. Exactly ONE depth-0 record per idx. Zero or 2+ → reject.
+2. Max depth ≤ 7 (4 + 3 levels of subdoc nesting). Anything higher
+ means the parser captured noise (post-signature trailer
boilerplate, page-footer artifacts, …).
3. The first JSONL record must NOT be the SEC envelope marker
("EXHIBIT 10.25" et al.). The parser is supposed to drop it.
@@ -71,9 +77,83 @@ try again.
reviewed the violations and concluded the document genuinely cannot be
expressed in the rubric (extremely rare).
-## Common error: refuses to overwrite
+## Reconstruction gate (blocking)
-If `idx_.jsonl` already exists, freeze refuses without `--force`.
-That's intentional — overwriting a freeze should be deliberate. Use
-`--force` only when you've explicitly decided to invalidate the
-existing baseline.
+The parser's stated goal is that concatenating the JSONL spans for one
+idx in line order reconstructs the source. `freeze.py` enforces this as
+a **hard gate**: a freeze is refused if the reconstruction misses ≥ 5%
+of the source's unique words.
+
+```
+word_coverage_pct = |source_words ∩ reconstructed_words| / |source_words| × 100
+char_ratio_pct = len(reconstructed) / len(source) × 100
+```
+
+where `source` is `parse_source_of_truth.jsonl[idx].span_clean` and
+`reconstructed` is the concat of all `span` values in JSONL line order
+for this idx. Both texts are lowercased and whitespace-collapsed before
+the word-set / char-length comparison.
+
+ - **Pass** at word coverage ≥ 90% — printed as
+ `reconstruction OK: word_coverage=X.X% char_ratio=Y.Y%`.
+ - **Fail** at word coverage < 90% — freeze refused. The error
+ includes the percentage, char ratio, count of missing words, and
+ a sample of the missing words so the agent can localize the gap.
+
+The 90% bar comes from [`../docs/DECISIONS.md`](../docs/DECISIONS.md)
+§10. Mean coverage across the corpus must clear 90% for the parser to
+be considered acceptable; this freeze gate enforces the bound per-idx
+so individual baselines can't sneak in below the bar.
+
+Why blocking, not advisory: reconstruction faithfulness is the
+parser's only goal (slice the HTML into clauses such that concat
+reproduces the source). A freeze that fails reconstruction has
+captured a structure that loses content — locking that as a golden
+baseline contaminates everything downstream. Better to refuse the
+freeze and force the agent to find a slicing that recovers the words.
+
+If a particular document genuinely cannot reach 90% (e.g. the
+source-of-truth bs4 extraction itself dropped content), the human
+operator can pass `--force` after explicit review. That's the escape
+hatch; do not use it programmatically.
+
+## Common failure modes
+
+- **"refuses to overwrite idx_.jsonl"** — a baseline already
+ exists for this idx. Pass `--force` only when you've explicitly
+ decided to invalidate the existing one.
+- **"source JSONL older than 5 minutes"** — the stale-file guard
+ fired. Re-run the parser first; if you genuinely need to freeze
+ an older file (re-bake after `git checkout`), pass `--force`.
+- **"multiple depth-0 records"** — the parser misread the document
+ structure. See
+ [`level_rubric.md`](level_rubric.md) §"Common parser failure modes".
+- **"max depth N > 7"** — captured noise. The fix lives in
+ [`scope_rule.md`](scope_rule.md), not in clamping the depth.
+- **"first record is SEC envelope"** — `is_envelope` detection
+ misfired. Check the parquet to confirm the first `cls=exhibit`
+ per idx has `is_envelope=true` set.
+- **"forbidden monkey-patch construct in parser source"** — you
+ added a phrase blocklist, level cap, or company-named literal.
+ See [`scope_rule.md`](scope_rule.md) §"Forbidden approaches" for
+ the list of patterns the monkey-patch detector rejects.
+- **"reconstruction word coverage X% < 90%"** — concat-of-spans
+ dropped real content. Inspect the missing-word sample, find the
+ source passage they came from, and fix the slicing so those
+ records are captured. Don't `--force` past this without explicit
+ human review.
+
+## See also
+
+- [`regress_command.md`](regress_command.md) — what gets checked
+ against the baseline after freeze.
+- [`advance_command.md`](advance_command.md) — the step that runs
+ after a successful freeze + regress.
+- [`level_rubric.md`](level_rubric.md) — the rubric the freeze
+ validator enforces, including the Terminology and Common parser
+ failure modes sections.
+- [`scope_rule.md`](scope_rule.md) — the structural rule the
+ monkey-patch detector enforces (no phrase blocklists, no level
+ caps).
+- [`../docs/DECISIONS.md`](../docs/DECISIONS.md) §10 — the 90%
+ reconstruction bar.
diff --git a/task_rules/level_rubric.md b/task_rules/level_rubric.md
index 4774a5c..91c8bda 100644
--- a/task_rules/level_rubric.md
+++ b/task_rules/level_rubric.md
@@ -1,31 +1,201 @@
-# Level rubric — 0 through 7
+# Level rubric — nesting depth 0 through 7
+
+## The parser's only goal
+
+Slice each agreement's HTML into clauses with hierarchy — clause **text**
+plus structural **nesting depth** — so that concatenating the slices in
+document order reconstructs the source document faithfully.
+
+That single criterion drives parser quality. The `level` field is the
+clause's 0-indexed nesting depth. If concat-of-spans doesn't reproduce
+the source for an idx, the parser is wrong for that idx — regardless of
+how clever its depth assignments look.
+
+## Terminology
+
+This doc and the worked examples use specific names for specific
+fields in the pipeline. They are not synonyms; mixing them up will
+make the rules below hard to follow.
+
+ - **`idx`** — the integer row index in the corpus parquet. One
+ `idx` = one agreement. Every JSONL record carries the `idx` so
+ a downstream consumer can join records back to the source row.
+ - **`level`** (JSONL field name) / **depth** (prose term) — the
+ same thing, used interchangeably here. The 0-indexed nesting
+ depth of a clause within the agreement's structural hierarchy.
+ The JSONL key is `level`; this doc uses "depth" when discussing
+ the concept and "level" when referring to the field.
+ - **`order`** — 0-indexed sequence number of a record *within* its
+ idx, in document order. Independent of `level`. Sorting by
+ `order` ascending reproduces linear reading order regardless of
+ how the tree nests.
+ - **`span`** — heading + body text of one clause, verbatim from
+ the source. Concatenating all spans for one idx in `order`
+ ascending is the reconstruction target.
+ - **`cls`** — the structural class doc2dict assigns to a section
+ before the parser sees it (`title`, `preamble`, `recital`,
+ `section`, `signature`, `exhibit`, `schedule`, `appendix`,
+ `annex`, …). Lives in the parquet, not in the JSONL. The
+ subdoc-detection rule keys off `cls`.
+ - **`is_envelope`** — boolean parquet column marking the SEC
+ `` envelope (the first `cls=exhibit` per idx with an
+ empty body). Envelopes are dropped from the JSONL.
+ - **`scope`** — parquet column indicating whether a section is
+ emitted to the JSONL (`"agreement"`) or held back as filing
+ context (`"trailer"`). See [`scope_rule.md`](scope_rule.md).
+ - **subdocument** / **subdoc** — a real attached subdocument
+ inside the agreement (an Exhibit A form, a Schedule 2 of
+ definitions, an Annex I addendum). Detected structurally;
+ carries the +1 depth penalty for its descendants.
+
+## Scope: every kind of agreement is in scope
+
+The corpus is SEC EX-10 attachments, but the agreements themselves come
+in many shapes. **Document type does not matter.** All of these are
+in-scope and should be parsed by the same rubric:
+
+ - Private bilateral contracts (credit agreements, license deals).
+ - Public / regulated agreements (government contracts and
+ amendments, e.g. SF-30; tariff schedules).
+ - International / cross-border contracts.
+ - **Unilateral agreements**: guaranties, options, releases,
+ designations of agent, irrevocable proxies — where only one
+ party makes a binding promise.
+ - Multilateral and complex tri-party agreements.
+
+What's *not* in scope is **non-agreement metadata** — see
+[`scope_rule.md`](scope_rule.md). That's filing-context content
+surrounding the agreement (the SEC `` envelope, post-
+signature filing trailers like press releases or company boilerplate).
+Those get tagged `scope="trailer"` and stay out of the JSONL; they do
+not affect which agreement types we accept.
+
+## Title is the root of the agreement
+
+The agreement's **title** is its identifier. It is the semantic root
+of the agreement's tree. Every clause in the agreement is a descendant
+of the title; depth is measured by ancestry from the title down.
+
+This gives the scope rule a single, purely structural criterion:
+
+> **If a record cannot be placed as a descendant of the agreement
+> title, it is not part of the agreement.**
+
+No phrase matching. No case-by-case scope judgment. The model handles
+the awkward edges cleanly:
+
+ - **Pre-title cover wedges** — registrant short name, exhibit tag,
+ filing date stamp, anything that appears BEFORE the agreement title
+ in document order. The title doesn't yet exist at that point, so
+ these can't descend from it. → out of scope. Dropped from the JSONL.
+ - **Post-signature filing trailers** — press releases, forward-
+ looking-statement boilerplate, contact-info blocks, page footers.
+ They appear AFTER the signature subtree, which is the agreement's
+ last L1 descendant. They sit outside the title's subtree. → out of
+ scope.
+ - **Real attached subdocuments** — "EXHIBIT A — FORM OF NOTICE",
+ "SCHEDULE 2 — DEFINITIONS", an "ANNEX I" addendum. They appear
+ inside the agreement body, attached to or referenced by the main
+ agreement. They DO descend from the title. → in scope, with a +1
+ depth penalty (see "Subdocument depth penalty" below).
+
+### Why the word "Exhibit" can be in OR out of scope
+
+Both the SEC filing envelope ("EXHIBIT 10.25") and a real attached
+subdocument ("EXHIBIT A — FORM OF NOTICE") use the word "EXHIBIT".
+They are different things, distinguished by **structure**, not by the
+word:
+
+| feature | "EXHIBIT 10.25" (envelope) | "EXHIBIT A" (attached subdoc) |
+|--------------------------|----------------------------|-----------------------------------------|
+| position in document | BEFORE the agreement title | AFTER / inside the main body |
+| body | empty (just the tag) | substantive (form text, defined terms) |
+| `cls` | `exhibit` | `exhibit` |
+| `is_envelope` | `True` | `False` |
+| descended from title? | NO (precedes title) | YES (referenced by / attached to body) |
+| in JSONL? | DROPPED | INCLUDED, +1 depth penalty |
+
+Same word, opposite scope decisions, decided structurally. The parser
+does not blocklist "EXHIBIT" or any phrase; it inspects descent from
+the title.
+
+## JSONL record shape
The parser at `scripts/parse_doc2dict_with_config.py` emits one JSONL
-record per parsed unit. Each record has exactly three keys:
+record per parsed unit. Each record has exactly four keys:
```json
-{"idx": , "level": , "span": "\n"}
+{"idx": , "order": , "level": , "span": "\n"}
```
-`level` is a 0-indexed depth into the agreement's structural hierarchy.
-The mapping below is the contract.
+ - `idx` — corpus row index.
+ - `order` — 0-indexed sequence number *within* this idx, in document
+ order. The first emitted record for idx=N has `order=0`, the next
+ has `order=1`, and so on. JSON dicts are not ordered; `order`
+ makes the document sequence explicit so downstream consumers can
+ reconstruct it regardless of how the JSONL was loaded.
+ - `level` — **nesting depth** (0-indexed) of this clause within the
+ agreement's structural hierarchy. The mapping below is the
+ contract.
+ - `span` — heading + body verbatim. Concatenating all `span` values
+ for one `idx` in `order` ascending should reconstruct the source
+ document's clause text.
-## Levels for a STANDALONE agreement (no subdocuments)
+## Nesting depths for a standalone agreement (no subdocuments)
-| level | what it represents | examples |
+| depth | what it represents | examples |
|-------|--------------------|----------|
-| 0 | the agreement itself: the title line + preamble | "INDEMNIFICATION AGREEMENT\nTHIS INDEMNIFICATION AGREEMENT (the 'Agreement') is made…" |
-| 1 | top-level headings and recital blocks: party / exhibit metadata, WHEREAS recitals, signature block | "ULURU Inc.", "WITNESSETH THAT:\nWHEREAS…", "INDEMNITEE", "/s/ Vaidehi Shah" |
-| 2 | numbered Sections | "1. Indemnity of Indemnitee", "2. Additional Indemnity", "Section 6", "10." |
-| 3 | lettered subsections | "(a) Proceedings…", "(b)…", "(c)…" |
-| 4 | sub-sub items | "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)" |
-| 5 | sub-sub-sub items: deeper roman/letter nesting inside 4-level items | rare in EX-10s but possible |
-| 6 | level 5 inside a subdocument (penalty +1) — see below | |
-| 7 | level 6 inside a subdocument | |
+| 0 | the agreement **title** alone, exactly ONE record per idx | "INDEMNIFICATION AGREEMENT", "CREDIT AGREEMENT", "DESIGNATION OF AGENT AGREEMENT" |
+| 1 | every direct child of the agreement — preamble paragraph, recital block, top-level body clauses, signature block | "THIS INDEMNIFICATION AGREEMENT (the 'Agreement') is made…", "WITNESSETH THAT: WHEREAS…", "1. Indemnity of Indemnitee", "ARTICLE I — DEFINITIONS", "/s/ Vaidehi Shah" |
+| 2 | direct child of an L1 clause — Sections under an Article, or lettered subsections under a top Section | "Section 1.1 Definitions" (under ARTICLE I), "(a) Proceedings Other Than…" (under "1. Indemnity") |
+| 3 | direct child of an L2 clause — lettered under Sections-under-Articles, or roman/letter/digit items under (a) | "(a) Definitions" (under Section 1.1), "(i) by a majority vote…" (under "(a) Proceedings") |
+| 4 | direct child of an L3 clause | rare; deeper roman/letter/digit nesting |
+| 5 | direct child of an L4 clause | very rare |
+| 6 | depth 5 inside a subdocument (penalty +1) — see below | |
+| 7 | depth 6 inside a subdocument | |
+
+The **first top-level body clause** sits at depth 1 — whether that
+clause is an Article (in agreements that use Article/Section nesting)
+or a Section (in agreements that go straight to numbered Sections). Its
+children are at depth 2. The depth is determined by structural
+ancestry, not by what the clause is *called*.
+
+For documents with a flatter structure (a form, a one-page release, a
+unilateral designation), the deeper depths may simply not appear —
+that's correct, not a defect. The depths capture structure that exists
+in the source. Don't synthesise depth that isn't there.
+
+## Worked depth chain — ARTICLE / Section / lettered nesting
+
+For an agreement that uses ARTICLE → Section → lettered nesting (a
+common pattern in credit and license agreements), depths are:
+
+ - "CREDIT AGREEMENT" (the title) → depth 0
+ - "ARTICLE I — DEFINITIONS" → depth 1 (direct child of the title)
+ - "Section 1.1 Defined Terms" → depth 2 (direct child of Article I)
+ - "(a) 'Affiliate' means…" → depth 3 (direct child of Section 1.1)
+ - "(i) any Person controlling…" → depth 4 (direct child of (a))
+ - "(A) directly…" → depth 5
+
+An agreement that skips ARTICLE and jumps straight to numbered
+Sections (a typical Indemnification Agreement) has:
+
+ - "INDEMNIFICATION AGREEMENT" (the title) → depth 0
+ - "1. Indemnity of Indemnitee" → depth 1
+ - "(a) Proceedings Other Than…" → depth 2
+ - "(i) by a majority vote…" → depth 3
+
+Both patterns are equally valid. The same lettered "(a)" item ends
+up at depth 2 in one agreement and depth 3 in another because of
+what sits between it and the title — not because of any rule about
+"(a) is always at depth 2". The marker convention (numbered →
+lettered → roman → capital → digit) is a *style* convention writers
+follow; it is not the source of truth for depth. Structural ancestry
+is.
## SEC envelope drop rule
-SEC EDGAR filings wrap each EX-10 contract in a `` envelope
+SEC EDGAR filings wrap each EX-10 agreement in a `` envelope
whose first visible line is the exhibit number, e.g.:
```
@@ -35,63 +205,145 @@ INDEMNIFICATION AGREEMENT
THIS INDEMNIFICATION AGREEMENT (the "Agreement") is made…
```
-The literal "EXHIBIT 10.25" line is filing metadata, NOT contract
-content. The parser drops it from the JSONL output (it is still kept in
-the parquet via the `is_envelope=true` flag, so downstream tooling can
-recover it).
+The literal "EXHIBIT 10.25" line is filing metadata — non-agreement
+content. The parser drops it from the JSONL (it is kept in the parquet
+via the `is_envelope=true` flag, so audit tooling can recover it).
Mechanically: the FIRST section per idx whose `cls` is one of
`exhibit / schedule / appendix / annex` is treated as the envelope. Its
-descendants — i.e. the actual contract — are NOT subject to the
+descendants — i.e. the actual agreement — are NOT subject to the
subdocument penalty (see below).
-## Subdocument level penalty
+## Subdocument depth penalty
-A real subdocument is an attached document inside the main contract:
+A real subdocument is an attached document inside the main agreement:
"EXHIBIT A — FORM OF NOTICE", "SCHEDULE 2 — DEFINITIONS", an "ANNEX I"
-addendum, etc. These appear AFTER the main contract body, not in the
+addendum, etc. These appear AFTER the main agreement body, not in the
SEC-envelope position.
-Each level of subdocument nesting adds **+1** to the level of every
-descendant. The subdocument header itself sits at level 1 of the
+Each level of subdocument nesting adds **+1** to the depth of every
+descendant. The subdocument header itself sits at depth 1 of the
enclosing document (or higher if itself nested).
-Example: if a section pattern matches "(a)" inside a top-level
-subdocument, its inferred level is 3 (lettered subsection) and its
-emitted level is `3 + 1 = 4`. If the same "(a)" appears inside an
-exhibit-inside-an-exhibit, the emitted level is `3 + 2 = 5`.
-
-The rule extends the rubric naturally up to level 7:
+Example: a top-level Section inside a subdocument starts as depth 1
+under its enclosing subdoc structure; the +1 subdoc penalty bumps it
+to depth 2. A lettered `(a)` subsection inside that Section is depth
+2 → 3. A `(i)` further inside is depth 3 → 4. For a subdoc inside a
+subdoc, add +2; for three levels of subdoc nesting, +3 (ceiling 7).
-| context | (a) becomes | (i) becomes |
-|------------------------------------------|-------------|-------------|
-| main agreement | 3 | 4 |
-| inside one subdocument | 4 | 5 |
-| inside subdoc-inside-subdoc | 5 | 6 |
-| inside subdoc-inside-subdoc-inside-subdoc | 6 | 7 |
+| context | first body clause | (a) becomes | (i) becomes |
+|---------------------------------------------|-------------------|-------------|-------------|
+| main agreement | 1 | 2 | 3 |
+| inside subdocument one | 2 | 3 | 4 |
+| inside subdoc-inside-subdoc | 3 | 4 | 5 |
+| inside subdoc-inside-subdoc-inside-subdoc | 4 | 5 | 6 |
+| inside subdocument two | 2 | 3 | 4 |
Three levels of subdoc nesting is the practical ceiling — most filings
-top out at one level (a single attached exhibit). The rubric supports
-deeper.
+top out at one level. The rubric supports deeper through depth 7.
+
+## Common parser failure modes
+
+The rubric is structural, so failures show up as structural anomalies
+in the JSONL. These are the patterns the validator and manual review
+look for:
+
+ - **Zero depth-0 records for an idx.** The parser failed to
+ identify the title. Often caused by the title being on the same
+ line as the preamble, or an unusual title format the classifier
+ didn't recognise. The right behaviour is to fail loudly, NOT to
+ synthesise a title from the first non-empty line.
+ - **Multiple depth-0 records for an idx.** The parser split one
+ agreement into multiple roots — usually because a filing trailer
+ (press release, "About " block) was misclassified as a
+ second agreement. The fix lives in
+ [`scope_rule.md`](scope_rule.md), not in clamping depths.
+ - **`level > 7`.** Always a defect. Real EX-10 documents do not
+ nest that deeply; depths above the ceiling almost always
+ indicate captured noise (deeply-nested page-footer artifacts,
+ HTML tree-walks that descended into CSS-positioned divs).
+ `freeze.py` rejects the freeze when this happens.
+ - **Synthesised depth.** Don't pad shallow documents with fake
+ hierarchy. A one-page unilateral release with a title, a single
+ paragraph, and a signature is correctly depth-0 + depth-1 only.
+ Inventing a "Section 1" wrapper to give the paragraph a parent
+ is wrong.
+ - **Depths that don't survive concatenation.** If the spans
+ concatenate to less than 90% of the source word set, the depth
+ assignments are decorative. The reconstruction gate runs after
+ the depth checks and is the final word.
+ - **The SEC envelope appears as a depth-1 record.** Means
+ `is_envelope` detection misfired. The first `cls=exhibit` per
+ idx with an empty body must be flagged and dropped.
+ - **Signature-page content emitted at the wrong depth.** All
+ signature-page content sits at depth 2 (a child of the
+ signature-page operating clause at depth 1), regardless of whether
+ the "IN WITNESS WHEREOF…" line is present in the source. The
+ parser **preserves doc2dict's natural HTML grouping** at depth 2:
+ if doc2dict gives the whole sig page as one node it stays one
+ depth-2 record; if doc2dict fragments per line, each fragment is
+ its own depth-2 record. The parser does not impose its own
+ per-line splitting or per-party merging — document order encodes
+ party grouping. See [`examples_main_agreement.md`](examples_main_agreement.md)
+ for the worked case.
+
+## What "matches the rubric" means in practice
+
+Run the parser, look at the JSONL for the current idx, and check:
+
+1. **Exactly ONE depth-0 record per idx** — the agreement's title
+ alone. Multiple depth-0s indicate the parser misread the document
+ structure (split into multiple roots, or captured a filing trailer
+ as a second "agreement"). Zero depth-0s means the parser failed to
+ identify the title.
+2. **Max depth ≤ 7.** Anything higher means the parser captured noise
+ (post-signature trailer boilerplate, page-footer artifacts).
+3. **The first record is not the SEC envelope marker.** "EXHIBIT
+ 10.25" with no body should be dropped (envelope detection).
+4. **`order` is monotonic** within each idx (0, 1, 2, …) and matches
+ document order — first emitted span is `order=0`.
+5. **No filing-trailer boilerplate captured.** See
+ [`scope_rule.md`](scope_rule.md) for what "filing trailer" means
+ and how it's filtered structurally.
+
+The depth distribution is whatever the document's structure produces.
+A flat unilateral designation will have one depth-0, several depth-1
+records, and maybe nothing deeper — that is correct.
+
+## Reconstruction faithfulness — the blocking gate
+
+The rubric checks above are necessary but not sufficient. The real test
+is reconstruction: take all spans for one idx ordered by `order`,
+concatenate them, and compare to
+`parse_source_of_truth.jsonl[idx].span_clean` (the bs4 plain-text
+extraction of the source HTML).
-## What "match the rubric" means in practice
+Two measurements (computed by
+[`scripts/measure_reconstruction.py`](../scripts/measure_reconstruction.py)
+and enforced by `freeze.py`):
-Run the parser, look at the JSONL for the current idx, and check three
-things:
+ - **word coverage**: |source_words ∩ reconstructed_words| /
+ |source_words| × 100. 100% means every unique word in the source
+ appears at least once in the reconstruction.
+ - **char ratio**: len(reconstructed) / len(source) × 100. Around
+ 100% means the reconstruction has the same character volume; far
+ below means content was dropped; far above means content was
+ duplicated.
-1. **There is exactly ONE level-0 record per idx**, and it's the
- agreement's title + preamble. Multiple level-0s indicate the parser
- misread the document structure.
-2. **The level distribution is monotonically non-increasing in count**
- for typical agreements (more L3 records than L2, more L2 than L1).
- Exceptions are rare and worth noting.
-3. **No "EXHIBIT " envelope marker** appears in the JSONL —
- that should be dropped. If it shows up, the envelope detection
- failed.
+Project bar (from [`../docs/DECISIONS.md`](../docs/DECISIONS.md) §10):
+**word coverage ≥ 90% per idx.** `freeze.py` enforces this as a
+**blocking gate** — a per-idx reconstruction below 90% refuses the
+freeze and prints the missing-word sample so the agent can localize
+the gap. The bar is per-idx, not just per-corpus, so individual
+baselines can't sneak in below the line.
## See also
- [`examples_main_agreement.md`](examples_main_agreement.md) — fully
- worked example for a typical Indemnification Agreement.
+ worked example for a typical Indemnification Agreement (no subdocs).
- [`examples_with_subdocs.md`](examples_with_subdocs.md) — fully
- worked example showing the +1 penalty in action.
+ worked example showing the +1 subdocument penalty in action.
+- [`scope_rule.md`](scope_rule.md) — agreement-vs-trailer
+ classification using the structural scope rule.
+- [`freeze_command.md`](freeze_command.md) — what the freeze
+ validator checks and the 90% reconstruction gate.
diff --git a/task_rules/regress_command.md b/task_rules/regress_command.md
index 1b40e34..4248dfa 100644
--- a/task_rules/regress_command.md
+++ b/task_rules/regress_command.md
@@ -4,12 +4,13 @@
After every parser edit. Before calling `advance.py`. The advance
script re-runs `regress.py` itself as a gate, but you should run it
-manually first to see specific diffs if something fails.
+manually first to see specific diffs if something fails — the
+advance-time run only tells you that something regressed, not what.
## Command (copy-paste from repo root)
```bash
-cd /Users/arthrod/temp/T/clause-extract/clause-extract
+cd /Users/arthrod/temp/T/clause-extract
uv run scripts/level_loop/regress.py # check every frozen idx
# OR
uv run scripts/level_loop/regress.py --idx 0 # check just one
@@ -28,6 +29,11 @@ For each idx in `state.json["frozen"]`:
4. On match: prints `idx=: OK ( records)`.
5. On mismatch: prints a unified diff and exits with code 1.
+`order` is not compared directly — it's redundant given the
+record-by-record positional comparison. `idx` is implicit in the
+filter. So the equivalence check is exactly `(level, span)` in line
+order.
+
## Reading a regression diff
The diff format is `level= | `. Example:
@@ -40,11 +46,58 @@ The diff format is `level= | `. Example:
`-` is the frozen baseline, `+` is current. Here, the agent's edit
demoted "1. Indemnity" from level 2 to level 3 — that's a regression.
+If you see record-count drift instead of a depth flip, the diff will
+have unbalanced `-`/`+` blocks: one side has more records than the
+other. That means the parser is splitting or merging differently
+now — the regex driving the slicing changed shape.
+
## Common outcomes
-- All-OK: safe to advance.
-- One-line diff (level changed): edit was too aggressive somewhere
- else. Look for the regex you tightened.
-- Many-line diff (record count changed): structural change. The walk
- is producing a different number of records — either splitting or
+- **All-OK.** Safe to advance. Every frozen idx reproduces under the
+ current parser.
+- **One-line diff (level changed).** Edit was too aggressive on
+ depth assignment. Look for the rule you tightened — it now
+ matches something it shouldn't, or stopped matching something it
+ should.
+- **One-line diff (span changed).** Edit changed text capture
+ (whitespace, heading concatenation, body boundaries). Usually a
+ slicing-boundary regex moved.
+- **Many-line diff (record count changed).** Structural change. The
+ walk produced a different number of records — either splitting or
merging differently. Probably a regex too greedy or too narrow.
+- **All-OK except one idx.** Localized regression. Read the diff for
+ that idx, decide whether the new behaviour is correct (in which
+ case re-bake the baseline with `freeze.py --force`) or wrong (in
+ which case fix the parser).
+
+## Common failure modes
+
+- **"frozen baseline for idx M not found"** — `state.json` lists an
+ idx that doesn't have a file under `frozen/`. Either the file was
+ deleted or `state.json` was hand-edited. Re-freeze or remove from
+ the list.
+- **"current parser output missing idx M"** — the parser was run
+ with a `--limit` smaller than M. Re-run with `--limit
+ {current_idx+1}` at minimum so all frozen idxs are covered.
+- **All diffs at once after a config edit.** A change to
+ `agreement_config.py` shifted every document. Either the config
+ edit was wrong, or the prior baselines were tuned against a bug
+ that the new config fixes — decide deliberately, don't blindly
+ re-bake.
+
+## Escape hatch
+
+There isn't one. `regress.py` is a pure check; if it fails, the
+right response is to fix the parser or re-bake the offending
+baseline. Bypassing regress happens at the advance step
+(`advance.py --skip-regress`), and only for debugging the regress
+script itself.
+
+## See also
+
+- [`freeze_command.md`](freeze_command.md) — how baselines get
+ written.
+- [`advance_command.md`](advance_command.md) — the step that runs
+ regress as a gate before incrementing `current_idx`.
+- [`level_rubric.md`](level_rubric.md) — the rubric whose
+ satisfaction the baselines encode.
diff --git a/task_rules/scope_rule.md b/task_rules/scope_rule.md
index 6fca5a6..a3e9fea 100644
--- a/task_rules/scope_rule.md
+++ b/task_rules/scope_rule.md
@@ -1,4 +1,44 @@
-# Scope rule — what is "the agreement" vs filing-trailer noise
+# Scope rule — what is "the agreement" vs filing-context noise
+
+## Document type is irrelevant — all agreements are in scope
+
+The parser treats every agreement type the same way: private bilateral
+contracts, **government contracts and amendments** (e.g. SF-30
+modifications), international/cross-border agreements, **unilateral
+instruments** (guaranties, options, releases, designations of agent,
+irrevocable proxies), multilateral / tri-party agreements. The
+structural patterns it relies on (signature lines, attached
+subdocuments with descriptive titles, numbered/lettered clause
+markers) are common across all of these. Do not add code paths that
+branch on document class.
+
+The only thing the scope rule filters out is **non-agreement
+metadata**: filing context that travels with the SEC EX-10
+attachment but isn't part of the agreement itself.
+
+## Pre-title cover wedges
+
+Anything that appears in document order BEFORE the agreement title
+is, by definition, not a descendant of the title (see
+[`level_rubric.md`](level_rubric.md) §"Title is the root of the
+agreement") — so it cannot be part of the agreement. Examples:
+
+ - SEC exhibit tag (`EXHIBIT 10.25`).
+ - Registrant short name on its own line (`ULURU Inc.`) sitting
+ above the title.
+ - Filing date stamp (`Filed: March 4, 2017`).
+ - `EX-10.25` / `EX-10_25` classifier line emitted by EDGAR tooling.
+ - Page-numbered cover with the form type and CIK.
+
+All of these are dropped from the JSONL automatically by the
+title-as-root rule — no extra blocklist needed. They are retained
+in the parquet with `scope="trailer"` so audit tooling can recover
+them. The detection works because the parser locates the title
+first, then walks the section list and emits only the title's
+descendants. Sections that precede the title are siblings of the
+title at most, never descendants, so they never reach the JSONL.
+
+## Non-agreement metadata, structurally
SEC EDGAR filings frequently include filing-context content surrounding
the agreement: cover-page exhibit numbers, page-numbered TOCs, post-
@@ -10,6 +50,29 @@ parser output and contaminate regression baselines.
This rule is how the parser identifies which content is in scope for
the JSONL (and which is parquet-only audit material).
+### Trailer types seen in the corpus
+
+The following kinds of content commonly appear post-signature and
+should land in the parquet with `scope="trailer"` (never in the
+JSONL):
+
+| trailer type | typical contents |
+|---------------------------------------|--------------------------------------------------------|
+| Press release | "FOR IMMEDIATE RELEASE", date line, headline, body |
+| Forward-looking statement | "This release contains forward-looking statements…" |
+| Company description ("About X") | One-paragraph corporate boilerplate |
+| Investor / media contact block | Names, phone numbers, email addresses |
+| Filing-page footer | Page numbers, exhibit-reference banners |
+| Re-stated SEC envelope | Stray `EXHIBIT 10.x` tag re-appearing after signatures |
+| Cover-page TOC | "TABLE OF CONTENTS" with page numbers (layout-only) |
+| Trailing exhibit reference list | "Exhibits and Schedules:\n Exhibit A — …\n …" stub |
+
+None of these have a real-subdoc header in front of them, so they
+fall outside scope under the rule below. If a press release IS
+attached properly as `EXHIBIT B — FORM OF JOINT PRESS RELEASE`, it
+stays in scope as a real subdoc — same words, different structural
+position, opposite scope decision.
+
## The rule, mechanically
A section S (and all its descendants) is **OUT OF SCOPE** for JSONL
@@ -61,13 +124,59 @@ Examples:
| title | real subdoc? |
|----------------------------------------------------|--------------|
| `EXHIBIT 10.25` | NO (envelope or bare identifier) |
-| `EXHIBIT A` | NO (no descriptive text) |
+| `EXHIBIT A` | NO (no descriptive text BUT must be appended to real title of the document, see ***) |
| `EXHIBIT B — FORM OF JOINT PRESS RELEASE` | YES |
| `SCHEDULE 1: DEFINITIONS` | YES |
| `Appendix III - Transfer Procedures` | YES |
| `ANNEX I` | NO |
| `ANNEX I - Wire Instructions` | YES |
+### Subdoc rescue — bare identifier followed by descriptive title
+
+Some agreements split the subdoc identifier across two consecutive
+sections: the bare exhibit tag on one line, the descriptive title on
+the next. Neither line on its own passes the real-subdoc test — the
+identifier lacks descriptive text, and the title line doesn't start
+with one of the four subdoc keywords. Together they ARE a real
+subdoc, and the parser rescues them as one.
+
+The rescue rule:
+
+ - A section whose title matches
+ `^(EXHIBIT|SCHEDULE|APPENDIX|ANNEX)\s+[A-Z0-9.\-]+\s*$` (a bare
+ identifier — no descriptive text), AND
+ - is immediately followed by a section whose title is a
+ descriptive heading (e.g. starts with `FORM OF`, `JOINT`,
+ `STATEMENT OF`, or is otherwise a substantive title).
+
+→ The two sections are treated together as a real-subdoc boundary.
+Both lines emit to the JSONL at depth 1 (or deeper if nested); the
++1 subdoc penalty applies to everything that follows them inside
+the rescued subdoc.
+
+The example below illustrates the rescue with a placeholder
+descriptive title — note the two L1 records and the body content
+that descends from them.
+
+```text
+EXHIBIT A
+FORM OF UGA UGA BUCETA
+
+This buceta-note is valid for any brothel of the United States.
+```
+| title | real subdoc? |
+|----------------------------------------------------|--------------|
+| `EXHIBIT A` | NO (no descriptive text BUT must be appended to real title of the document, see ***) |
+| `FORM OF UGA UGA BUCETA` | YES (title of the document) |
+
+```jsonl
+{"idx":0,"order":0,"level":0,"span":"INDEMNIFICATION AGREEMENT"}
+{"idx":0,"order":1,"level":1,"span":"THIS INDEMNIFICATION AGREEMENT (the \"Agreement\") is made and entered into as of February 27, 2017 between Horny Brothels Inc., a Nevada corporation (the \"Company\"), and Bucetilda da Silva (\"Indemnitee\")."}
+…
+{"idx":0,"order":N+k-1,"level":1,"span":"EXHIBIT A"}
+{"idx":0,"order":N+k,"level":1,"span":"FORM OF UGA UGA BUCETA"}
+
+
## Why this rule (and not phrase matching)
Earlier attempts blocked specific phrases (`MEDIA CONTACT:`, `Forward
@@ -108,7 +217,81 @@ The following are NOT allowed in the parser implementation:
structural rule.
- Capping levels (clamp `depth` to 7, etc.) to bypass validator
checks while leaving content in the JSONL.
+- Document-class-specific code paths (`if is_government_contract:`,
+ `if is_unilateral:`). The scope rule operates on structure, not on
+ what category of agreement the document is.
The validator scans the parser source for these patterns and rejects
-the freeze if found. See [`task_rules/freeze_command.md`](freeze_command.md)
+the freeze if found. See [`freeze_command.md`](freeze_command.md)
for what the validator looks at.
+
+## Worked walkthrough — one idx, classified end to end
+
+Consider this minimal idx, with each source section annotated by
+its `cls` and the structural reason for its scope decision:
+
+```text
+EXHIBIT 10.25 ← cls=exhibit, is_envelope=True
+ULURU Inc. ← pre-title cover line (precedes title)
+INDEMNIFICATION AGREEMENT ← cls=title
+THIS INDEMNIFICATION AGREEMENT… (preamble) ← cls=preamble
+WITNESSETH THAT: WHEREAS… ← cls=recital
+1. Indemnity of Indemnitee. ← cls=section
+ (a) Proceedings Other Than… ← cls=section (lettered child)
+IN WITNESS WHEREOF, the parties… ← cls=signature (operating clause)
+ULURU Inc. ← signature-block line (party label)
+By: /s/ Terrance K. Wallberg ← signature-block line
+INDEMNITEE ← signature-block line (role label)
+/s/ Vaidehi Shah ← signature-block line
+Vaidehi Shah ← signature-block line
+EXHIBIT A — FORM OF NOTICE ← real subdoc header
+1. Scope of Notice. ← subdoc body
+FOR IMMEDIATE RELEASE ← trailer (press release)
+ULURU Inc. announces… ← trailer (press-release body)
+About ULURU ← trailer (company description)
+Investor Contact: ir@uluru.com ← trailer (contact block)
+```
+
+Classification:
+
+| section | scope | reason | in JSONL? |
+|--------------------------------------|--------------|------------------------------------------|-----------|
+| EXHIBIT 10.25 | (envelope) | `is_envelope=True`, precedes title | NO |
+| ULURU Inc. (pre-title) | trailer | precedes title in document order | NO |
+| INDEMNIFICATION AGREEMENT | agreement | the title itself | YES (L0) |
+| THIS INDEMNIFICATION AGREEMENT… | agreement | direct child of title | YES (L1) |
+| WITNESSETH THAT: WHEREAS… | agreement | direct child of title | YES (L1) |
+| 1. Indemnity of Indemnitee. | agreement | direct child of title | YES (L1) |
+| (a) Proceedings Other Than… | agreement | child of "1. Indemnity" | YES (L2) |
+| IN WITNESS WHEREOF… | agreement | signature-page operating clause | YES (L1) |
+| ULURU Inc. (signatory label) | agreement | signature-block line | YES (L2) |
+| By: /s/ Terrance K. Wallberg | agreement | signature-block line | YES (L2) |
+| INDEMNITEE | agreement | signature-block line | YES (L2) |
+| /s/ Vaidehi Shah | agreement | signature-block line | YES (L2) |
+| Vaidehi Shah | agreement | signature-block line | YES (L2) |
+| EXHIBIT A — FORM OF NOTICE | agreement | real subdoc (passes detection test) | YES (L1) |
+| 1. Scope of Notice. | agreement | subdoc body; +1 subdoc penalty | YES (L2) |
+| FOR IMMEDIATE RELEASE | trailer | post-signature, no subdoc header above | NO |
+| ULURU Inc. announces… | trailer | post-signature, no subdoc header above | NO |
+| About ULURU | trailer | post-signature, no subdoc header above | NO |
+| Investor Contact: ir@uluru.com | trailer | post-signature, no subdoc header above | NO |
+
+Notice the same literal text `ULURU Inc.` appears three times in
+the source and gets three different classifications: dropped as
+pre-title cover, kept as signature-block party label, dropped as
+press-release header. The decision is purely positional — phrase
+matching would not get this right.
+
+## See also
+
+- [`level_rubric.md`](level_rubric.md) — the depth contract that
+ makes "descendant of the title" a precise structural concept.
+- [`examples_main_agreement.md`](examples_main_agreement.md) — the
+ worked main-agreement case showing signature-block lines kept at
+ depth 2.
+- [`examples_with_subdocs.md`](examples_with_subdocs.md) — the
+ +1 penalty applied to subdoc descendants, including the rescue
+ case.
+- [`freeze_command.md`](freeze_command.md) — the validator that
+ scans the parser source for the forbidden approaches listed
+ above and enforces the reconstruction gate.
diff --git a/task_rules/turn_prompt.md b/task_rules/turn_prompt.md
index 9cc7bec..70613ce 100644
--- a/task_rules/turn_prompt.md
+++ b/task_rules/turn_prompt.md
@@ -13,36 +13,74 @@ The fields below in `{braces}` are filled by `prompt.py`.
```
# clause-extract level-tuning loop — single turn
-Your job in this turn is to tune `parse_doc2dict_with_config.py` (or the
-mapping config it depends on) so that ONE source agreement parses with
-levels that match the rubric below — without breaking any previously
-frozen samples.
+The parser's only goal is to slice the source HTML into clauses with
+hierarchy — clause text plus nesting depth — so that concatenating
+the spans in document order reconstructs the source faithfully. You
+are tuning `parse_doc2dict_with_config.py` (or its mapping config)
+so that ONE source agreement parses correctly under that goal, without
+breaking any previously frozen samples.
Each turn has fresh context. There is no memory between turns. Read the
state, make the minimal change, freeze, advance, exit.
-## Level rubric (the contract)
-
-Levels are 0-indexed depths in the parsed tree. For a typical
-EX-10 agreement (e.g. an Indemnification Agreement) the expected mapping is:
-
- - Level 0 → the agreement itself (single root)
- - Level 1 → top-level headings and recital blocks (party / exhibit
- metadata, WITNESSETH/WHEREAS recitals, signature block)
- - Level 2 → numbered Sections: "1.", "2.", "10.", "Section 1.1"
- - Level 3 → lettered subsections: "(a)", "(b)", "(c)"
- - Level 4 → sub-sub items: "(i)", "(ii)", "(A)", "(B)", "(1)", "(2)"
+## What counts as "in scope"
+
+ALL agreement types are in scope: private contracts, government
+contracts and amendments (e.g. SF-30), international agreements,
+unilateral instruments (guaranties, options, releases, designations),
+multi-party agreements. Document type does not matter to the parser;
+the structural patterns it detects are common across all of these.
+
+Out of scope is **non-agreement metadata** only — the SEC envelope
+("EXHIBIT 10.x"), post-signature filing trailers (press releases,
+About-Company, forward-looking statements, contact blocks). See
+`task_rules/scope_rule.md` for the structural rule.
+
+## Rubric: nesting depth 0–7
+
+`level` in each JSONL record is the clause's nesting depth in the
+agreement's structural hierarchy. Each record also carries `order`
+— a 0-indexed sequence number within the idx, document order — so
+consumers can reconstruct the linear sequence without relying on
+JSON key ordering. Standalone agreement (no subdocuments):
+
+ - Depth 0 → the agreement **title alone** (exactly one record per
+ idx). The preamble is NOT depth 0.
+ - Depth 1 → every direct child of the agreement: the preamble
+ paragraph, the recitals block, **each top-level body
+ clause** (Article when the doc uses Article/Section
+ nesting, otherwise the numbered Section), and the
+ signature block.
+ - Depth 2 → direct children of L1 clauses: Section under Article,
+ or lettered "(a)/(b)/(c)" subsection under a top
+ Section.
+ - Depth 3 → direct children of L2 clauses: lettered "(a)" under
+ Section-under-Article, or roman/letter/digit items
+ "(i)/(A)/(1)" under "(a)".
+ - Depth 4+ → deeper nesting.
Subdocument penalty: each attached subdocument (cls=exhibit/schedule/
-appendix/annex with content, NOT the SEC envelope) adds +1 to every
-descendant's level. See task_rules/level_rubric.md for full details.
+appendix/annex with descriptive title, NOT the SEC envelope) adds +1
+to every descendant's depth. Ceiling 7. See
+`task_rules/level_rubric.md` for full details and worked examples.
-## Source of truth
+If the document is structurally flat (a one-page release, a unilateral
+designation, a form with numbered fields), the deeper depths may
+simply not appear. That is correct — depths capture structure that
+exists, don't synthesise depth that doesn't.
+
+## Source of truth and reconstruction
`data/auto_parse/parse_source_of_truth.jsonl` — bs4 plain-text
-extraction of each source HTML. The reconstruction (concat of parser
-spans for one idx) should approximate `span_clean[idx]`. Levels graded
-against the rubric.
+extraction of each source HTML. The reconstruction test:
+concat-of-spans for one idx ≈ `span_clean[idx]`.
+
+`scripts/measure_reconstruction.py` computes per-idx word coverage
+and char ratio. The freeze step **refuses** the freeze if word
+coverage for this idx is below 90% (project bar from
+`docs/DECISIONS.md` §10). A reconstruction failure is on equal
+footing with a rubric violation: fix the parser so spans recover
+the source words, then re-run the parser and freeze again.
## Current state
@@ -70,13 +108,15 @@ full JSONL has the unbounded text.)
## Workflow for THIS turn
-1. Read the source-of-truth and current output. Decide the minimal edit.
+1. Read the source-of-truth excerpt and the current parser output
+ above. Decide the minimal edit that makes the parse reconstruct
+ the source under the rubric.
2. Edit `clause-extract/scripts/parse_doc2dict_with_config.py` and/or
`clause-extract/src/clause_extract/agreement_config.py`. Keep edits
minimal — adjust ONE pattern or rule.
-3. Re-run the parser on idxs 0..{current_idx} (use ABSOLUTE paths):
+3. Re-run the parser on idxs 0..{current_idx} (ABSOLUTE paths):
cd {repo_dir_abs} && \
uv run scripts/parse_doc2dict_with_config.py \
@@ -89,18 +129,37 @@ full JSONL has the unbounded text.)
idx={current_idx} matches the rubric. `ls -la` it first to confirm
the mtime is recent — a stale jsonl would silently freeze wrong data.
-5. Freeze the corrected output:
+5. Investigate reconstruction quality:
+
+ uv run scripts/measure_reconstruction.py --idx {current_idx}
+
+ Read the word coverage and char ratio for idx={current_idx}. **Word
+ coverage < 90% is a HARD FAIL at freeze time** (per
+ `docs/DECISIONS.md` §10). If you're below 90%, the parser dropped
+ real content; find the missing words in the source, locate the
+ record(s) that should have captured them, and fix the slicing.
+
+6. Freeze the corrected output:
uv run scripts/level_loop/freeze.py {current_idx}
-6. Regression check:
+ freeze.py validates the rubric (exactly 1 depth-0 — the title
+ alone, max depth ≤ 7, no envelope as first record, monotonic
+ `order`, no filing-trailer phrases, no forbidden monkey-patch
+ constructs in the parser source) AND enforces the **90%
+ reconstruction gate**. Below 90% word coverage → freeze refused.
+ The error message includes the percentage, char ratio, count of
+ missing words, and a sample of the missing words; use that to
+ localize what got dropped, then fix the parser slicing and retry.
+
+7. Regression check:
uv run scripts/level_loop/regress.py
Failure here means your edit broke a previously frozen idx. Loop
back to step 2 and find a smaller change.
-7. Advance:
+8. Advance:
uv run scripts/level_loop/advance.py
@@ -112,6 +171,12 @@ stop.
- Edit ONLY `parse_doc2dict_with_config.py` and `agreement_config.py`.
- Never edit files under `data/auto_parse/level_freeze/frozen/` by hand.
- Never call `freeze.py --force` unless the loop driver tells you to.
+- No document-class-specific code paths (`if is_government_contract`,
+ `if is_unilateral`). The structural rules apply uniformly; if you
+ feel the need to branch by document class, the rule itself needs
+ rethinking.
+- No phrase blocklists, no level capping, no trailer-keyword regexes —
+ see `task_rules/scope_rule.md` "Forbidden approaches".
- If you cannot satisfy the rubric without breaking a frozen idx, STOP,
print why, and exit. The human running the loop will decide.
```