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