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