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