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