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