Mozilla Public License Version 2.0
==================================

1. Definitions
--------------

1.1. "Contributor"
    means each individual or legal entity that creates, contributes to,
    or creates a combination of one or more Program Contributions.

1.2. "Contributor Version"
    means the combination of the Contributions of others (if any)
    and the Program to which such Contributions were added.

1.3. "Covered Software"
    means (a) the Program, (b) modifications to Covered Software,
    or (c) combinations of the Program with other software or hardware.

1.4. "Executable"
    means the Program in any form, including source code, object code,
    and/or executable files.

1.5. "Initial Developer"
    means the individual or entity that first makes the Program
    available under this License.

1.6. "Larger Work"
    means a work that combines Covered Software with other code not
    governed by the terms of this License.

1.7. "License"
    means this document.

1.8. "Licensed Patents"
    means the patents of a Contributor that have been infringed by
    making, using, selling, offering for sale, import, or otherwise
    making the Covered Software available.

1.9. "Modifications"
    means any of the following: (a) a file containing Program code
    or portions thereof, (b) only the additions, deletions, or changes
    to, or combinations of the Covered Software, or (c) any new file
    that contains any part of the Covered Software.

1.10. "Program"
    means the Covered Software in its original form, as first received
    by Initial Developer.

1.11. "Use"
    means any practice or process of running the Program, including
    but not limited to executing, linking, importing, transmitting,
    storing, and maintaining.

2. Grant of Rights
-----------------

2.1. Grant of Copyright License

Subject to the terms and conditions of this License, each Contributor
hereby grants to Initial Developer a perpetual, worldwide, royalty-free,
non-exclusive, irrevocable copyright license to reproduce, prepare
derivative works of, publicly display, publicly perform, sublicense,
and distribute the Contributions and the Contributions in any form.

2.2. Grant of Patent License

Subject to the terms and conditions of this License, each Contributor
hereby grants to Initial Developer a perpetual, worldwide, royalty-free,
non-exclusive, irrevocable (subject to patent rights) patent license to
make, have made, use, sell, offer for sale, import, and otherwise
transfer the Covered Software and the Contributions, where such license
applies only to those patent claims licensable by such Contributor
that are necessarily infringed by their Contribution(s) alone or by
combination of their Contribution(s) with the Program to which such
Contribution(s) was submitted.

2.3. Grant of Source Code License

If Initial Developer makes the Program available in source code form,
Initial Developer shall make the Corresponding Source available to
Initial Developer under this License.

2.4. Exclusions From Grant of Patent License

No license is granted to any patents:
(a) that are necessarily infringed by the Contributor or combination
    alone or by combination with other Contributions; or
(b) that cover actions that constitute infringement by the
    combination alone or by combination with other Contributions.

3. Requirements
--------------

A Contributor may choose to offer the Covered Software under the terms
of any later version of this License, provided that such version:
(a) does not alter the rights or obligations in this License,
(b) clearly states that such version applies to such Contributions,
    and
(c) provides a means for Contributors to accept such terms.

4. Distribution Obligation
-------------------------

When a Contributor distributes the Covered Software, such distribution
must include:
(a) copies of the Corresponding Source,
(b) notices stating that the Program is released under this License,
(c) notices stating the conditions under which the Program is offered,
(d) notices regarding the exclusion of warranty and limitation of liability,
(e) a copy of this License, and
(f) a copy of the NOTICE file(s) as specified in the Program's license.

5. Subcontractors
-----------------

No Contributor shall be required to provide or ensure that any
subcontractors receive the benefits of this License.

6. No Warranty or Liability
---------------------------

THE PROGRAM IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE
PROGRAM OR THE USE OR OTHER DEALINGS IN THE PROGRAM.

7. Termination
-------------

This License terminates automatically if a Contributor fails to comply
with any term of this License. Upon termination, any rights granted
to Initial Developer shall terminate, except for any rights granted
under any subsequent version of this License.

8. Trademark Usage
-----------------

This License does not grant any license to trademarks, service marks,
trade names, or product names of any Contributor.

9. Miscellaneous
---------------

This License represents the complete agreement concerning the subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. Any law or regulation that provides
that language in a contract or document cannot be interpreted to mean
that such language was not intended shall not affect any other
interpretation of this License.

10. Versions of MPL
-------------------

The Initial Developer may apply the MPL to any version of the Program,
provided that the Initial Developer chooses to use the MPL for such
version.