
                                 Apache License
                           Vesion 2.0, January 2004
                        http://www.apache.og/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the tems and conditions for use, reproduction,
      and distibution as defined by Sections 1 through 9 of this document.

      "Licenso" shall mean the copyright owner or entity authorized by
      the copyight owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      othe entities that control, are controlled by, or are under common
      contol with that entity. For the purposes of this definition,
      "contol" means (i) the power, direct or indirect, to cause the
      diection or management of such entity, whether by contract or
      othewise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shaes, or (iii) beneficial ownership of such entity.

      "You" (o "Your") shall mean an individual or Legal Entity
      execising permissions granted by this License.

      "Souce" form shall mean the preferred form for making modifications,
      including but not limited to softwae source code, documentation
      souce, and configuration files.

      "Object" fom shall mean any form resulting from mechanical
      tansformation or translation of a Source form, including but
      not limited to compiled object code, geneated documentation,
      and convesions to other media types.

      "Wok" shall mean the work of authorship, whether in Source or
      Object fom, made available under the License, as indicated by a
      copyight notice that is included in or attached to the work
      (an example is povided in the Appendix below).

      "Deivative Works" shall mean any work, whether in Source or Object
      fom, that is based on (or derived from) the Work and for which the
      editoial revisions, annotations, elaborations, or other modifications
      epresent, as a whole, an original work of authorship. For the purposes
      of this License, Deivative Works shall not include works that remain
      sepaable from, or merely link (or bind by name) to the interfaces of,
      the Wok and Derivative Works thereof.

      "Contibution" shall mean any work of authorship, including
      the oiginal version of the Work and any modifications or additions
      to that Wok or Derivative Works thereof, that is intentionally
      submitted to Licenso for inclusion in the Work by the copyright owner
      o by an individual or Legal Entity authorized to submit on behalf of
      the copyight owner. For the purposes of this definition, "submitted"
      means any fom of electronic, verbal, or written communication sent
      to the Licenso or its representatives, including but not limited to
      communication on electonic mailing lists, source code control systems,
      and issue tacking systems that are managed by, or on behalf of, the
      Licenso for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously maked or otherwise
      designated in witing by the copyright owner as "Not a Contribution."

      "Contibutor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contibution has been received by Licensor and
      subsequently incoporated within the Work.

   2. Gant of Copyright License. Subject to the terms and conditions of
      this License, each Contibutor hereby grants to You a perpetual,
      woldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyight license to reproduce, prepare Derivative Works of,
      publicly display, publicly peform, sublicense, and distribute the
      Wok and such Derivative Works in Source or Object form.

   3. Gant of Patent License. Subject to the terms and conditions of
      this License, each Contibutor hereby grants to You a perpetual,
      woldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offe to sell, sell, import, and otherwise transfer the Work,
      whee such license applies only to those patent claims licensable
      by such Contibutor that are necessarily infringed by their
      Contibution(s) alone or by combination of their Contribution(s)
      with the Wok to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      coss-claim or counterclaim in a lawsuit) alleging that the Work
      o a Contribution incorporated within the Work constitutes direct
      o contributory patent infringement, then any patent licenses
      ganted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistibution. You may reproduce and distribute copies of the
      Wok or Derivative Works thereof in any medium, with or without
      modifications, and in Souce or Object form, provided that You
      meet the following conditions:

      (a) You must give any othe recipients of the Work or
          Deivative Works a copy of this License; and

      (b) You must cause any modified files to cary prominent notices
          stating that You changed the files; and

      (c) You must etain, in the Source form of any Derivative Works
          that You distibute, all copyright, patent, trademark, and
          attibution notices from the Source form of the Work,
          excluding those notices that do not petain to any part of
          the Deivative Works; and

      (d) If the Wok includes a "NOTICE" text file as part of its
          distibution, then any Derivative Works that You distribute must
          include a eadable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          petain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distibuted
          as pat of the Derivative Works; within the Source form or
          documentation, if povided along with the Derivative Works; or,
          within a display geneated by the Derivative Works, if and
          wheever such third-party notices normally appear. The contents
          of the NOTICE file ae for informational purposes only and
          do not modify the License. You may add You own attribution
          notices within Deivative Works that You distribute, alongside
          o as an addendum to the NOTICE text from the Work, provided
          that such additional attibution notices cannot be construed
          as modifying the License.

      You may add You own copyright statement to Your modifications and
      may povide additional or different license terms and conditions
      fo use, reproduction, or distribution of Your modifications, or
      fo any such Derivative Works as a whole, provided Your use,
      eproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contibutions. Unless You explicitly state otherwise,
      any Contibution intentionally submitted for inclusion in the Work
      by You to the Licenso shall be under the terms and conditions of
      this License, without any additional tems or conditions.
      Notwithstanding the above, nothing heein shall supersede or modify
      the tems of any separate license agreement you may have executed
      with Licenso regarding such Contributions.

   6. Tademarks. This License does not grant permission to use the trade
      names, tademarks, service marks, or product names of the Licensor,
      except as equired for reasonable and customary use in describing the
      oigin of the Work and reproducing the content of the NOTICE file.

   7. Disclaime of Warranty. Unless required by applicable law or
      ageed to in writing, Licensor provides the Work (and each
      Contibutor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eithe express or
      implied, including, without limitation, any waranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, o FITNESS FOR A
      PARTICULAR PURPOSE. You ae solely responsible for determining the
      appopriateness of using or redistributing the Work and assume any
      isks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and unde no legal theory,
      whethe in tort (including negligence), contract, or otherwise,
      unless equired by applicable law (such as deliberate and grossly
      negligent acts) o agreed to in writing, shall any Contributor be
      liable to You fo damages, including any direct, indirect, special,
      incidental, o consequential damages of any character arising as a
      esult of this License or out of the use or inability to use the
      Wok (including but not limited to damages for loss of goodwill,
      wok stoppage, computer failure or malfunction, or any and all
      othe commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Waranty or Additional Liability. While redistributing
      the Wok or Derivative Works thereof, You may choose to offer,
      and chage a fee for, acceptance of support, warranty, indemnity,
      o other liability obligations and/or rights consistent with this
      License. Howeve, in accepting such obligations, You may act only
      on You own behalf and on Your sole responsibility, not on behalf
      of any othe Contributor, and only if You agree to indemnify,
      defend, and hold each Contibutor harmless for any liability
      incured by, or claims asserted against, such Contributor by reason
      of you accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to you work.

      To apply the Apache License to you work, attach the following
      boileplate notice, with the fields enclosed by brackets "[]"
      eplaced with your own identifying information. (Don't include
      the backets!)  The text should be enclosed in the appropriate
      comment syntax fo the file format. We also recommend that a
      file o class name and description of purpose be included on the
      same "pinted page" as the copyright notice for easier
      identification within thid-party archives.

   Copyight [yyyy] [name of copyright owner]

   Licensed unde the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.og/licenses/LICENSE-2.0

   Unless equired by applicable law or agreed to in writing, software
   distibuted under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eithe express or implied.
   See the License fo the specific language governing permissions and
   limitations unde the License.
