16a9bc
16a9bc
                                 Apache License
16a9bc
                           Version 2.0, January 2004
16a9bc
                        http://www.apache.org/licenses/
16a9bc
16a9bc
   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
16a9bc
16a9bc
   1. Definitions.
16a9bc
16a9bc
      "License" shall mean the terms and conditions for use, reproduction,
16a9bc
      and distribution as defined by Sections 1 through 9 of this document.
16a9bc
16a9bc
      "Licensor" shall mean the copyright owner or entity authorized by
16a9bc
      the copyright owner that is granting the License.
16a9bc
16a9bc
      "Legal Entity" shall mean the union of the acting entity and all
16a9bc
      other entities that control, are controlled by, or are under common
16a9bc
      control with that entity. For the purposes of this definition,
16a9bc
      "control" means (i) the power, direct or indirect, to cause the
16a9bc
      direction or management of such entity, whether by contract or
16a9bc
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
16a9bc
      outstanding shares, or (iii) beneficial ownership of such entity.
16a9bc
16a9bc
      "You" (or "Your") shall mean an individual or Legal Entity
16a9bc
      exercising permissions granted by this License.
16a9bc
16a9bc
      "Source" form shall mean the preferred form for making modifications,
16a9bc
      including but not limited to software source code, documentation
16a9bc
      source, and configuration files.
16a9bc
16a9bc
      "Object" form shall mean any form resulting from mechanical
16a9bc
      transformation or translation of a Source form, including but
16a9bc
      not limited to compiled object code, generated documentation,
16a9bc
      and conversions to other media types.
16a9bc
16a9bc
      "Work" shall mean the work of authorship, whether in Source or
16a9bc
      Object form, made available under the License, as indicated by a
16a9bc
      copyright notice that is included in or attached to the work
16a9bc
      (an example is provided in the Appendix below).
16a9bc
16a9bc
      "Derivative Works" shall mean any work, whether in Source or Object
16a9bc
      form, that is based on (or derived from) the Work and for which the
16a9bc
      editorial revisions, annotations, elaborations, or other modifications
16a9bc
      represent, as a whole, an original work of authorship. For the purposes
16a9bc
      of this License, Derivative Works shall not include works that remain
16a9bc
      separable from, or merely link (or bind by name) to the interfaces of,
16a9bc
      the Work and Derivative Works thereof.
16a9bc
16a9bc
      "Contribution" shall mean any work of authorship, including
16a9bc
      the original version of the Work and any modifications or additions
16a9bc
      to that Work or Derivative Works thereof, that is intentionally
16a9bc
      submitted to Licensor for inclusion in the Work by the copyright owner
16a9bc
      or by an individual or Legal Entity authorized to submit on behalf of
16a9bc
      the copyright owner. For the purposes of this definition, "submitted"
16a9bc
      means any form of electronic, verbal, or written communication sent
16a9bc
      to the Licensor or its representatives, including but not limited to
16a9bc
      communication on electronic mailing lists, source code control systems,
16a9bc
      and issue tracking systems that are managed by, or on behalf of, the
16a9bc
      Licensor for the purpose of discussing and improving the Work, but
16a9bc
      excluding communication that is conspicuously marked or otherwise
16a9bc
      designated in writing by the copyright owner as "Not a Contribution."
16a9bc
16a9bc
      "Contributor" shall mean Licensor and any individual or Legal Entity
16a9bc
      on behalf of whom a Contribution has been received by Licensor and
16a9bc
      subsequently incorporated within the Work.
16a9bc
16a9bc
   2. Grant of Copyright License. Subject to the terms and conditions of
16a9bc
      this License, each Contributor hereby grants to You a perpetual,
16a9bc
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
16a9bc
      copyright license to reproduce, prepare Derivative Works of,
16a9bc
      publicly display, publicly perform, sublicense, and distribute the
16a9bc
      Work and such Derivative Works in Source or Object form.
16a9bc
16a9bc
   3. Grant of Patent License. Subject to the terms and conditions of
16a9bc
      this License, each Contributor hereby grants to You a perpetual,
16a9bc
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
16a9bc
      (except as stated in this section) patent license to make, have made,
16a9bc
      use, offer to sell, sell, import, and otherwise transfer the Work,
16a9bc
      where such license applies only to those patent claims licensable
16a9bc
      by such Contributor that are necessarily infringed by their
16a9bc
      Contribution(s) alone or by combination of their Contribution(s)
16a9bc
      with the Work to which such Contribution(s) was submitted. If You
16a9bc
      institute patent litigation against any entity (including a
16a9bc
      cross-claim or counterclaim in a lawsuit) alleging that the Work
16a9bc
      or a Contribution incorporated within the Work constitutes direct
16a9bc
      or contributory patent infringement, then any patent licenses
16a9bc
      granted to You under this License for that Work shall terminate
16a9bc
      as of the date such litigation is filed.
16a9bc
16a9bc
   4. Redistribution. You may reproduce and distribute copies of the
16a9bc
      Work or Derivative Works thereof in any medium, with or without
16a9bc
      modifications, and in Source or Object form, provided that You
16a9bc
      meet the following conditions:
16a9bc
16a9bc
      (a) You must give any other recipients of the Work or
16a9bc
          Derivative Works a copy of this License; and
16a9bc
16a9bc
      (b) You must cause any modified files to carry prominent notices
16a9bc
          stating that You changed the files; and
16a9bc
16a9bc
      (c) You must retain, in the Source form of any Derivative Works
16a9bc
          that You distribute, all copyright, patent, trademark, and
16a9bc
          attribution notices from the Source form of the Work,
16a9bc
          excluding those notices that do not pertain to any part of
16a9bc
          the Derivative Works; and
16a9bc
16a9bc
      (d) If the Work includes a "NOTICE" text file as part of its
16a9bc
          distribution, then any Derivative Works that You distribute must
16a9bc
          include a readable copy of the attribution notices contained
16a9bc
          within such NOTICE file, excluding those notices that do not
16a9bc
          pertain to any part of the Derivative Works, in at least one
16a9bc
          of the following places: within a NOTICE text file distributed
16a9bc
          as part of the Derivative Works; within the Source form or
16a9bc
          documentation, if provided along with the Derivative Works; or,
16a9bc
          within a display generated by the Derivative Works, if and
16a9bc
          wherever such third-party notices normally appear. The contents
16a9bc
          of the NOTICE file are for informational purposes only and
16a9bc
          do not modify the License. You may add Your own attribution
16a9bc
          notices within Derivative Works that You distribute, alongside
16a9bc
          or as an addendum to the NOTICE text from the Work, provided
16a9bc
          that such additional attribution notices cannot be construed
16a9bc
          as modifying the License.
16a9bc
16a9bc
      You may add Your own copyright statement to Your modifications and
16a9bc
      may provide additional or different license terms and conditions
16a9bc
      for use, reproduction, or distribution of Your modifications, or
16a9bc
      for any such Derivative Works as a whole, provided Your use,
16a9bc
      reproduction, and distribution of the Work otherwise complies with
16a9bc
      the conditions stated in this License.
16a9bc
16a9bc
   5. Submission of Contributions. Unless You explicitly state otherwise,
16a9bc
      any Contribution intentionally submitted for inclusion in the Work
16a9bc
      by You to the Licensor shall be under the terms and conditions of
16a9bc
      this License, without any additional terms or conditions.
16a9bc
      Notwithstanding the above, nothing herein shall supersede or modify
16a9bc
      the terms of any separate license agreement you may have executed
16a9bc
      with Licensor regarding such Contributions.
16a9bc
16a9bc
   6. Trademarks. This License does not grant permission to use the trade
16a9bc
      names, trademarks, service marks, or product names of the Licensor,
16a9bc
      except as required for reasonable and customary use in describing the
16a9bc
      origin of the Work and reproducing the content of the NOTICE file.
16a9bc
16a9bc
   7. Disclaimer of Warranty. Unless required by applicable law or
16a9bc
      agreed to in writing, Licensor provides the Work (and each
16a9bc
      Contributor provides its Contributions) on an "AS IS" BASIS,
16a9bc
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16a9bc
      implied, including, without limitation, any warranties or conditions
16a9bc
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
16a9bc
      PARTICULAR PURPOSE. You are solely responsible for determining the
16a9bc
      appropriateness of using or redistributing the Work and assume any
16a9bc
      risks associated with Your exercise of permissions under this License.
16a9bc
16a9bc
   8. Limitation of Liability. In no event and under no legal theory,
16a9bc
      whether in tort (including negligence), contract, or otherwise,
16a9bc
      unless required by applicable law (such as deliberate and grossly
16a9bc
      negligent acts) or agreed to in writing, shall any Contributor be
16a9bc
      liable to You for damages, including any direct, indirect, special,
16a9bc
      incidental, or consequential damages of any character arising as a
16a9bc
      result of this License or out of the use or inability to use the
16a9bc
      Work (including but not limited to damages for loss of goodwill,
16a9bc
      work stoppage, computer failure or malfunction, or any and all
16a9bc
      other commercial damages or losses), even if such Contributor
16a9bc
      has been advised of the possibility of such damages.
16a9bc
16a9bc
   9. Accepting Warranty or Additional Liability. While redistributing
16a9bc
      the Work or Derivative Works thereof, You may choose to offer,
16a9bc
      and charge a fee for, acceptance of support, warranty, indemnity,
16a9bc
      or other liability obligations and/or rights consistent with this
16a9bc
      License. However, in accepting such obligations, You may act only
16a9bc
      on Your own behalf and on Your sole responsibility, not on behalf
16a9bc
      of any other Contributor, and only if You agree to indemnify,
16a9bc
      defend, and hold each Contributor harmless for any liability
16a9bc
      incurred by, or claims asserted against, such Contributor by reason
16a9bc
      of your accepting any such warranty or additional liability.
16a9bc
16a9bc
   END OF TERMS AND CONDITIONS
16a9bc
16a9bc
   APPENDIX: How to apply the Apache License to your work.
16a9bc
16a9bc
      To apply the Apache License to your work, attach the following
16a9bc
      boilerplate notice, with the fields enclosed by brackets "[]"
16a9bc
      replaced with your own identifying information. (Don't include
16a9bc
      the brackets!)  The text should be enclosed in the appropriate
16a9bc
      comment syntax for the file format. We also recommend that a
16a9bc
      file or class name and description of purpose be included on the
16a9bc
      same "printed page" as the copyright notice for easier
16a9bc
      identification within third-party archives.
16a9bc
16a9bc
   Copyright [yyyy] [name of copyright owner]
16a9bc
16a9bc
   Licensed under the Apache License, Version 2.0 (the "License");
16a9bc
   you may not use this file except in compliance with the License.
16a9bc
   You may obtain a copy of the License at
16a9bc
16a9bc
       http://www.apache.org/licenses/LICENSE-2.0
16a9bc
16a9bc
   Unless required by applicable law or agreed to in writing, software
16a9bc
   distributed under the License is distributed on an "AS IS" BASIS,
16a9bc
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16a9bc
   See the License for the specific language governing permissions and
16a9bc
   limitations under the License.