15f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)                                 Apache License
25f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)                           Version 2.0, January 2004
35f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)                        http://www.apache.org/licenses/
45f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
55f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
65f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
75f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   1. Definitions.
85f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "License" shall mean the terms and conditions for use, reproduction,
105f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      and distribution as defined by Sections 1 through 9 of this document.
115f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
125f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Licensor" shall mean the copyright owner or entity authorized by
135f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      the copyright owner that is granting the License.
145f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
155f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Legal Entity" shall mean the union of the acting entity and all
165f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      other entities that control, are controlled by, or are under common
175f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      control with that entity. For the purposes of this definition,
185f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "control" means (i) the power, direct or indirect, to cause the
195f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      direction or management of such entity, whether by contract or
205f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      otherwise, or (ii) ownership of fifty percent (50%) or more of the
215f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      outstanding shares, or (iii) beneficial ownership of such entity.
225f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
235f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "You" (or "Your") shall mean an individual or Legal Entity
245f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      exercising permissions granted by this License.
255f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
265f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Source" form shall mean the preferred form for making modifications,
275f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      including but not limited to software source code, documentation
285f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      source, and configuration files.
295f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
305f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Object" form shall mean any form resulting from mechanical
315f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      transformation or translation of a Source form, including but
325f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      not limited to compiled object code, generated documentation,
335f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      and conversions to other media types.
345f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
355f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Work" shall mean the work of authorship, whether in Source or
365f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Object form, made available under the License, as indicated by a
375f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      copyright notice that is included in or attached to the work
385f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      (an example is provided in the Appendix below).
395f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
405f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Derivative Works" shall mean any work, whether in Source or Object
415f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      form, that is based on (or derived from) the Work and for which the
425f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      editorial revisions, annotations, elaborations, or other modifications
435f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      represent, as a whole, an original work of authorship. For the purposes
445f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      of this License, Derivative Works shall not include works that remain
455f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      separable from, or merely link (or bind by name) to the interfaces of,
465f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      the Work and Derivative Works thereof.
475f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
485f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Contribution" shall mean any work of authorship, including
495f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      the original version of the Work and any modifications or additions
505f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      to that Work or Derivative Works thereof, that is intentionally
515f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      submitted to Licensor for inclusion in the Work by the copyright owner
525f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      or by an individual or Legal Entity authorized to submit on behalf of
535f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      the copyright owner. For the purposes of this definition, "submitted"
545f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      means any form of electronic, verbal, or written communication sent
555f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      to the Licensor or its representatives, including but not limited to
565f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      communication on electronic mailing lists, source code control systems,
575f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      and issue tracking systems that are managed by, or on behalf of, the
585f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Licensor for the purpose of discussing and improving the Work, but
595f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      excluding communication that is conspicuously marked or otherwise
605f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      designated in writing by the copyright owner as "Not a Contribution."
615f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
625f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      "Contributor" shall mean Licensor and any individual or Legal Entity
635f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      on behalf of whom a Contribution has been received by Licensor and
645f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      subsequently incorporated within the Work.
655f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
665f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   2. Grant of Copyright License. Subject to the terms and conditions of
675f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      this License, each Contributor hereby grants to You a perpetual,
685f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
695f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      copyright license to reproduce, prepare Derivative Works of,
705f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      publicly display, publicly perform, sublicense, and distribute the
715f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Work and such Derivative Works in Source or Object form.
725f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
735f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   3. Grant of Patent License. Subject to the terms and conditions of
745f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      this License, each Contributor hereby grants to You a perpetual,
755f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
765f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      (except as stated in this section) patent license to make, have made,
775f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      use, offer to sell, sell, import, and otherwise transfer the Work,
785f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      where such license applies only to those patent claims licensable
795f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      by such Contributor that are necessarily infringed by their
805f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Contribution(s) alone or by combination of their Contribution(s)
815f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      with the Work to which such Contribution(s) was submitted. If You
825f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      institute patent litigation against any entity (including a
835f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      cross-claim or counterclaim in a lawsuit) alleging that the Work
845f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      or a Contribution incorporated within the Work constitutes direct
855f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      or contributory patent infringement, then any patent licenses
865f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      granted to You under this License for that Work shall terminate
875f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      as of the date such litigation is filed.
885f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
895f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   4. Redistribution. You may reproduce and distribute copies of the
905f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Work or Derivative Works thereof in any medium, with or without
915f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      modifications, and in Source or Object form, provided that You
925f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      meet the following conditions:
935f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
945f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      (a) You must give any other recipients of the Work or
955f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          Derivative Works a copy of this License; and
965f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
975f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      (b) You must cause any modified files to carry prominent notices
985f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          stating that You changed the files; and
995f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1005f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      (c) You must retain, in the Source form of any Derivative Works
1015f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          that You distribute, all copyright, patent, trademark, and
1025f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          attribution notices from the Source form of the Work,
1035f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          excluding those notices that do not pertain to any part of
1045f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          the Derivative Works; and
1055f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1065f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      (d) If the Work includes a "NOTICE" text file as part of its
1075f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          distribution, then any Derivative Works that You distribute must
1085f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          include a readable copy of the attribution notices contained
1095f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          within such NOTICE file, excluding those notices that do not
1105f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          pertain to any part of the Derivative Works, in at least one
1115f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          of the following places: within a NOTICE text file distributed
1125f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          as part of the Derivative Works; within the Source form or
1135f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          documentation, if provided along with the Derivative Works; or,
1145f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          within a display generated by the Derivative Works, if and
1155f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          wherever such third-party notices normally appear. The contents
1165f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          of the NOTICE file are for informational purposes only and
1175f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          do not modify the License. You may add Your own attribution
1185f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          notices within Derivative Works that You distribute, alongside
1195f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          or as an addendum to the NOTICE text from the Work, provided
1205f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          that such additional attribution notices cannot be construed
1215f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)          as modifying the License.
1225f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1235f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      You may add Your own copyright statement to Your modifications and
1245f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      may provide additional or different license terms and conditions
1255f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      for use, reproduction, or distribution of Your modifications, or
1265f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      for any such Derivative Works as a whole, provided Your use,
1275f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      reproduction, and distribution of the Work otherwise complies with
1285f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      the conditions stated in this License.
1295f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1305f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   5. Submission of Contributions. Unless You explicitly state otherwise,
1315f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      any Contribution intentionally submitted for inclusion in the Work
1325f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      by You to the Licensor shall be under the terms and conditions of
1335f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      this License, without any additional terms or conditions.
1345f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Notwithstanding the above, nothing herein shall supersede or modify
1355f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      the terms of any separate license agreement you may have executed
1365f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      with Licensor regarding such Contributions.
1375f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1385f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   6. Trademarks. This License does not grant permission to use the trade
1395f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      names, trademarks, service marks, or product names of the Licensor,
1405f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      except as required for reasonable and customary use in describing the
1415f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      origin of the Work and reproducing the content of the NOTICE file.
1425f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1435f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   7. Disclaimer of Warranty. Unless required by applicable law or
1445f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      agreed to in writing, Licensor provides the Work (and each
1455f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Contributor provides its Contributions) on an "AS IS" BASIS,
1465f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1475f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      implied, including, without limitation, any warranties or conditions
1485f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1495f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      PARTICULAR PURPOSE. You are solely responsible for determining the
1505f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      appropriateness of using or redistributing the Work and assume any
1515f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      risks associated with Your exercise of permissions under this License.
1525f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1535f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   8. Limitation of Liability. In no event and under no legal theory,
1545f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      whether in tort (including negligence), contract, or otherwise,
1555f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      unless required by applicable law (such as deliberate and grossly
1565f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      negligent acts) or agreed to in writing, shall any Contributor be
1575f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      liable to You for damages, including any direct, indirect, special,
1585f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      incidental, or consequential damages of any character arising as a
1595f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      result of this License or out of the use or inability to use the
1605f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      Work (including but not limited to damages for loss of goodwill,
1615f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      work stoppage, computer failure or malfunction, or any and all
1625f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      other commercial damages or losses), even if such Contributor
1635f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      has been advised of the possibility of such damages.
1645f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1655f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   9. Accepting Warranty or Additional Liability. While redistributing
1665f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      the Work or Derivative Works thereof, You may choose to offer,
1675f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      and charge a fee for, acceptance of support, warranty, indemnity,
1685f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      or other liability obligations and/or rights consistent with this
1695f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      License. However, in accepting such obligations, You may act only
1705f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      on Your own behalf and on Your sole responsibility, not on behalf
1715f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      of any other Contributor, and only if You agree to indemnify,
1725f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      defend, and hold each Contributor harmless for any liability
1735f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      incurred by, or claims asserted against, such Contributor by reason
1745f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)      of your accepting any such warranty or additional liability.
1755f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
1765f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)   END OF TERMS AND CONDITIONS
177