162306a36Sopenharmony_ciValid-License-Identifier: MPL-1.1
262306a36Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/MPL-1.1.html
362306a36Sopenharmony_ciUsage-Guide:
462306a36Sopenharmony_ci  Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for
562306a36Sopenharmony_ci  dual-licensed files where the other license is GPL2 compatible.
662306a36Sopenharmony_ci  If you end up using this it MUST be used together with a GPL2 compatible
762306a36Sopenharmony_ci  license using "OR".
862306a36Sopenharmony_ci  To use the Mozilla Public License version 1.1 put the following SPDX
962306a36Sopenharmony_ci  tag/value pair into a comment according to the placement guidelines in
1062306a36Sopenharmony_ci  the licensing rules documentation:
1162306a36Sopenharmony_ci    SPDX-License-Identifier: MPL-1.1
1262306a36Sopenharmony_ciLicense-Text:
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci                          MOZILLA PUBLIC LICENSE
1562306a36Sopenharmony_ci                                Version 1.1
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci                              ---------------
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci1. Definitions.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci     1.0.1. "Commercial Use" means distribution or otherwise making the
2262306a36Sopenharmony_ci     Covered Code available to a third party.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci     1.1. "Contributor" means each entity that creates or contributes to
2562306a36Sopenharmony_ci     the creation of Modifications.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci     1.2. "Contributor Version" means the combination of the Original
2862306a36Sopenharmony_ci     Code, prior Modifications used by a Contributor, and the Modifications
2962306a36Sopenharmony_ci     made by that particular Contributor.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci     1.3. "Covered Code" means the Original Code or Modifications or the
3262306a36Sopenharmony_ci     combination of the Original Code and Modifications, in each case
3362306a36Sopenharmony_ci     including portions thereof.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci     1.4. "Electronic Distribution Mechanism" means a mechanism generally
3662306a36Sopenharmony_ci     accepted in the software development community for the electronic
3762306a36Sopenharmony_ci     transfer of data.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci     1.5. "Executable" means Covered Code in any form other than Source
4062306a36Sopenharmony_ci     Code.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci     1.6. "Initial Developer" means the individual or entity identified
4362306a36Sopenharmony_ci     as the Initial Developer in the Source Code notice required by Exhibit
4462306a36Sopenharmony_ci     A.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci     1.7. "Larger Work" means a work which combines Covered Code or
4762306a36Sopenharmony_ci     portions thereof with code not governed by the terms of this License.
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ci     1.8. "License" means this document.
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci     1.8.1. "Licensable" means having the right to grant, to the maximum
5262306a36Sopenharmony_ci     extent possible, whether at the time of the initial grant or
5362306a36Sopenharmony_ci     subsequently acquired, any and all of the rights conveyed herein.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ci     1.9. "Modifications" means any addition to or deletion from the
5662306a36Sopenharmony_ci     substance or structure of either the Original Code or any previous
5762306a36Sopenharmony_ci     Modifications. When Covered Code is released as a series of files, a
5862306a36Sopenharmony_ci     Modification is:
5962306a36Sopenharmony_ci          A. Any addition to or deletion from the contents of a file
6062306a36Sopenharmony_ci          containing Original Code or previous Modifications.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ci          B. Any new file that contains any part of the Original Code or
6362306a36Sopenharmony_ci          previous Modifications.
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ci     1.10. "Original Code" means Source Code of computer software code
6662306a36Sopenharmony_ci     which is described in the Source Code notice required by Exhibit A as
6762306a36Sopenharmony_ci     Original Code, and which, at the time of its release under this
6862306a36Sopenharmony_ci     License is not already Covered Code governed by this License.
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ci     1.10.1. "Patent Claims" means any patent claim(s), now owned or
7162306a36Sopenharmony_ci     hereafter acquired, including without limitation,  method, process,
7262306a36Sopenharmony_ci     and apparatus claims, in any patent Licensable by grantor.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci     1.11. "Source Code" means the preferred form of the Covered Code for
7562306a36Sopenharmony_ci     making modifications to it, including all modules it contains, plus
7662306a36Sopenharmony_ci     any associated interface definition files, scripts used to control
7762306a36Sopenharmony_ci     compilation and installation of an Executable, or source code
7862306a36Sopenharmony_ci     differential comparisons against either the Original Code or another
7962306a36Sopenharmony_ci     well known, available Covered Code of the Contributor's choice. The
8062306a36Sopenharmony_ci     Source Code can be in a compressed or archival form, provided the
8162306a36Sopenharmony_ci     appropriate decompression or de-archiving software is widely available
8262306a36Sopenharmony_ci     for no charge.
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_ci     1.12. "You" (or "Your")  means an individual or a legal entity
8562306a36Sopenharmony_ci     exercising rights under, and complying with all of the terms of, this
8662306a36Sopenharmony_ci     License or a future version of this License issued under Section 6.1.
8762306a36Sopenharmony_ci     For legal entities, "You" includes any entity which controls, is
8862306a36Sopenharmony_ci     controlled by, or is under common control with You. For purposes of
8962306a36Sopenharmony_ci     this definition, "control" means (a) the power, direct or indirect,
9062306a36Sopenharmony_ci     to cause the direction or management of such entity, whether by
9162306a36Sopenharmony_ci     contract or otherwise, or (b) ownership of more than fifty percent
9262306a36Sopenharmony_ci     (50%) of the outstanding shares or beneficial ownership of such
9362306a36Sopenharmony_ci     entity.
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ci2. Source Code License.
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ci     2.1. The Initial Developer Grant.
9862306a36Sopenharmony_ci     The Initial Developer hereby grants You a world-wide, royalty-free,
9962306a36Sopenharmony_ci     non-exclusive license, subject to third party intellectual property
10062306a36Sopenharmony_ci     claims:
10162306a36Sopenharmony_ci          (a)  under intellectual property rights (other than patent or
10262306a36Sopenharmony_ci          trademark) Licensable by Initial Developer to use, reproduce,
10362306a36Sopenharmony_ci          modify, display, perform, sublicense and distribute the Original
10462306a36Sopenharmony_ci          Code (or portions thereof) with or without Modifications, and/or
10562306a36Sopenharmony_ci          as part of a Larger Work; and
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ci          (b) under Patents Claims infringed by the making, using or
10862306a36Sopenharmony_ci          selling of Original Code, to make, have made, use, practice,
10962306a36Sopenharmony_ci          sell, and offer for sale, and/or otherwise dispose of the
11062306a36Sopenharmony_ci          Original Code (or portions thereof).
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ci          (c) the licenses granted in this Section 2.1(a) and (b) are
11362306a36Sopenharmony_ci          effective on the date Initial Developer first distributes
11462306a36Sopenharmony_ci          Original Code under the terms of this License.
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ci          (d) Notwithstanding Section 2.1(b) above, no patent license is
11762306a36Sopenharmony_ci          granted: 1) for code that You delete from the Original Code; 2)
11862306a36Sopenharmony_ci          separate from the Original Code;  or 3) for infringements caused
11962306a36Sopenharmony_ci          by: i) the modification of the Original Code or ii) the
12062306a36Sopenharmony_ci          combination of the Original Code with other software or devices.
12162306a36Sopenharmony_ci
12262306a36Sopenharmony_ci     2.2. Contributor Grant.
12362306a36Sopenharmony_ci     Subject to third party intellectual property claims, each Contributor
12462306a36Sopenharmony_ci     hereby grants You a world-wide, royalty-free, non-exclusive license
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ci          (a)  under intellectual property rights (other than patent or
12762306a36Sopenharmony_ci          trademark) Licensable by Contributor, to use, reproduce, modify,
12862306a36Sopenharmony_ci          display, perform, sublicense and distribute the Modifications
12962306a36Sopenharmony_ci          created by such Contributor (or portions thereof) either on an
13062306a36Sopenharmony_ci          unmodified basis, with other Modifications, as Covered Code
13162306a36Sopenharmony_ci          and/or as part of a Larger Work; and
13262306a36Sopenharmony_ci
13362306a36Sopenharmony_ci          (b) under Patent Claims infringed by the making, using, or
13462306a36Sopenharmony_ci          selling of  Modifications made by that Contributor either alone
13562306a36Sopenharmony_ci          and/or in combination with its Contributor Version (or portions
13662306a36Sopenharmony_ci          of such combination), to make, use, sell, offer for sale, have
13762306a36Sopenharmony_ci          made, and/or otherwise dispose of: 1) Modifications made by that
13862306a36Sopenharmony_ci          Contributor (or portions thereof); and 2) the combination of
13962306a36Sopenharmony_ci          Modifications made by that Contributor with its Contributor
14062306a36Sopenharmony_ci          Version (or portions of such combination).
14162306a36Sopenharmony_ci
14262306a36Sopenharmony_ci          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
14362306a36Sopenharmony_ci          effective on the date Contributor first makes Commercial Use of
14462306a36Sopenharmony_ci          the Covered Code.
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ci          (d)    Notwithstanding Section 2.2(b) above, no patent license is
14762306a36Sopenharmony_ci          granted: 1) for any code that Contributor has deleted from the
14862306a36Sopenharmony_ci          Contributor Version; 2)  separate from the Contributor Version;
14962306a36Sopenharmony_ci          3)  for infringements caused by: i) third party modifications of
15062306a36Sopenharmony_ci          Contributor Version or ii)  the combination of Modifications made
15162306a36Sopenharmony_ci          by that Contributor with other software  (except as part of the
15262306a36Sopenharmony_ci          Contributor Version) or other devices; or 4) under Patent Claims
15362306a36Sopenharmony_ci          infringed by Covered Code in the absence of Modifications made by
15462306a36Sopenharmony_ci          that Contributor.
15562306a36Sopenharmony_ci
15662306a36Sopenharmony_ci3. Distribution Obligations.
15762306a36Sopenharmony_ci
15862306a36Sopenharmony_ci     3.1. Application of License.
15962306a36Sopenharmony_ci     The Modifications which You create or to which You contribute are
16062306a36Sopenharmony_ci     governed by the terms of this License, including without limitation
16162306a36Sopenharmony_ci     Section 2.2. The Source Code version of Covered Code may be
16262306a36Sopenharmony_ci     distributed only under the terms of this License or a future version
16362306a36Sopenharmony_ci     of this License released under Section 6.1, and You must include a
16462306a36Sopenharmony_ci     copy of this License with every copy of the Source Code You
16562306a36Sopenharmony_ci     distribute. You may not offer or impose any terms on any Source Code
16662306a36Sopenharmony_ci     version that alters or restricts the applicable version of this
16762306a36Sopenharmony_ci     License or the recipients' rights hereunder. However, You may include
16862306a36Sopenharmony_ci     an additional document offering the additional rights described in
16962306a36Sopenharmony_ci     Section 3.5.
17062306a36Sopenharmony_ci
17162306a36Sopenharmony_ci     3.2. Availability of Source Code.
17262306a36Sopenharmony_ci     Any Modification which You create or to which You contribute must be
17362306a36Sopenharmony_ci     made available in Source Code form under the terms of this License
17462306a36Sopenharmony_ci     either on the same media as an Executable version or via an accepted
17562306a36Sopenharmony_ci     Electronic Distribution Mechanism to anyone to whom you made an
17662306a36Sopenharmony_ci     Executable version available; and if made available via Electronic
17762306a36Sopenharmony_ci     Distribution Mechanism, must remain available for at least twelve (12)
17862306a36Sopenharmony_ci     months after the date it initially became available, or at least six
17962306a36Sopenharmony_ci     (6) months after a subsequent version of that particular Modification
18062306a36Sopenharmony_ci     has been made available to such recipients. You are responsible for
18162306a36Sopenharmony_ci     ensuring that the Source Code version remains available even if the
18262306a36Sopenharmony_ci     Electronic Distribution Mechanism is maintained by a third party.
18362306a36Sopenharmony_ci
18462306a36Sopenharmony_ci     3.3. Description of Modifications.
18562306a36Sopenharmony_ci     You must cause all Covered Code to which You contribute to contain a
18662306a36Sopenharmony_ci     file documenting the changes You made to create that Covered Code and
18762306a36Sopenharmony_ci     the date of any change. You must include a prominent statement that
18862306a36Sopenharmony_ci     the Modification is derived, directly or indirectly, from Original
18962306a36Sopenharmony_ci     Code provided by the Initial Developer and including the name of the
19062306a36Sopenharmony_ci     Initial Developer in (a) the Source Code, and (b) in any notice in an
19162306a36Sopenharmony_ci     Executable version or related documentation in which You describe the
19262306a36Sopenharmony_ci     origin or ownership of the Covered Code.
19362306a36Sopenharmony_ci
19462306a36Sopenharmony_ci     3.4. Intellectual Property Matters
19562306a36Sopenharmony_ci          (a) Third Party Claims.
19662306a36Sopenharmony_ci          If Contributor has knowledge that a license under a third party's
19762306a36Sopenharmony_ci          intellectual property rights is required to exercise the rights
19862306a36Sopenharmony_ci          granted by such Contributor under Sections 2.1 or 2.2,
19962306a36Sopenharmony_ci          Contributor must include a text file with the Source Code
20062306a36Sopenharmony_ci          distribution titled "LEGAL" which describes the claim and the
20162306a36Sopenharmony_ci          party making the claim in sufficient detail that a recipient will
20262306a36Sopenharmony_ci          know whom to contact. If Contributor obtains such knowledge after
20362306a36Sopenharmony_ci          the Modification is made available as described in Section 3.2,
20462306a36Sopenharmony_ci          Contributor shall promptly modify the LEGAL file in all copies
20562306a36Sopenharmony_ci          Contributor makes available thereafter and shall take other steps
20662306a36Sopenharmony_ci          (such as notifying appropriate mailing lists or newsgroups)
20762306a36Sopenharmony_ci          reasonably calculated to inform those who received the Covered
20862306a36Sopenharmony_ci          Code that new knowledge has been obtained.
20962306a36Sopenharmony_ci
21062306a36Sopenharmony_ci          (b) Contributor APIs.
21162306a36Sopenharmony_ci          If Contributor's Modifications include an application programming
21262306a36Sopenharmony_ci          interface and Contributor has knowledge of patent licenses which
21362306a36Sopenharmony_ci          are reasonably necessary to implement that API, Contributor must
21462306a36Sopenharmony_ci          also include this information in the LEGAL file.
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ci               (c)    Representations.
21762306a36Sopenharmony_ci          Contributor represents that, except as disclosed pursuant to
21862306a36Sopenharmony_ci          Section 3.4(a) above, Contributor believes that Contributor's
21962306a36Sopenharmony_ci          Modifications are Contributor's original creation(s) and/or
22062306a36Sopenharmony_ci          Contributor has sufficient rights to grant the rights conveyed by
22162306a36Sopenharmony_ci          this License.
22262306a36Sopenharmony_ci
22362306a36Sopenharmony_ci     3.5. Required Notices.
22462306a36Sopenharmony_ci     You must duplicate the notice in Exhibit A in each file of the Source
22562306a36Sopenharmony_ci     Code.  If it is not possible to put such notice in a particular Source
22662306a36Sopenharmony_ci     Code file due to its structure, then You must include such notice in a
22762306a36Sopenharmony_ci     location (such as a relevant directory) where a user would be likely
22862306a36Sopenharmony_ci     to look for such a notice.  If You created one or more Modification(s)
22962306a36Sopenharmony_ci     You may add your name as a Contributor to the notice described in
23062306a36Sopenharmony_ci     Exhibit A.  You must also duplicate this License in any documentation
23162306a36Sopenharmony_ci     for the Source Code where You describe recipients' rights or ownership
23262306a36Sopenharmony_ci     rights relating to Covered Code.  You may choose to offer, and to
23362306a36Sopenharmony_ci     charge a fee for, warranty, support, indemnity or liability
23462306a36Sopenharmony_ci     obligations to one or more recipients of Covered Code. However, You
23562306a36Sopenharmony_ci     may do so only on Your own behalf, and not on behalf of the Initial
23662306a36Sopenharmony_ci     Developer or any Contributor. You must make it absolutely clear than
23762306a36Sopenharmony_ci     any such warranty, support, indemnity or liability obligation is
23862306a36Sopenharmony_ci     offered by You alone, and You hereby agree to indemnify the Initial
23962306a36Sopenharmony_ci     Developer and every Contributor for any liability incurred by the
24062306a36Sopenharmony_ci     Initial Developer or such Contributor as a result of warranty,
24162306a36Sopenharmony_ci     support, indemnity or liability terms You offer.
24262306a36Sopenharmony_ci
24362306a36Sopenharmony_ci     3.6. Distribution of Executable Versions.
24462306a36Sopenharmony_ci     You may distribute Covered Code in Executable form only if the
24562306a36Sopenharmony_ci     requirements of Section 3.1-3.5 have been met for that Covered Code,
24662306a36Sopenharmony_ci     and if You include a notice stating that the Source Code version of
24762306a36Sopenharmony_ci     the Covered Code is available under the terms of this License,
24862306a36Sopenharmony_ci     including a description of how and where You have fulfilled the
24962306a36Sopenharmony_ci     obligations of Section 3.2. The notice must be conspicuously included
25062306a36Sopenharmony_ci     in any notice in an Executable version, related documentation or
25162306a36Sopenharmony_ci     collateral in which You describe recipients' rights relating to the
25262306a36Sopenharmony_ci     Covered Code. You may distribute the Executable version of Covered
25362306a36Sopenharmony_ci     Code or ownership rights under a license of Your choice, which may
25462306a36Sopenharmony_ci     contain terms different from this License, provided that You are in
25562306a36Sopenharmony_ci     compliance with the terms of this License and that the license for the
25662306a36Sopenharmony_ci     Executable version does not attempt to limit or alter the recipient's
25762306a36Sopenharmony_ci     rights in the Source Code version from the rights set forth in this
25862306a36Sopenharmony_ci     License. If You distribute the Executable version under a different
25962306a36Sopenharmony_ci     license You must make it absolutely clear that any terms which differ
26062306a36Sopenharmony_ci     from this License are offered by You alone, not by the Initial
26162306a36Sopenharmony_ci     Developer or any Contributor. You hereby agree to indemnify the
26262306a36Sopenharmony_ci     Initial Developer and every Contributor for any liability incurred by
26362306a36Sopenharmony_ci     the Initial Developer or such Contributor as a result of any such
26462306a36Sopenharmony_ci     terms You offer.
26562306a36Sopenharmony_ci
26662306a36Sopenharmony_ci     3.7. Larger Works.
26762306a36Sopenharmony_ci     You may create a Larger Work by combining Covered Code with other code
26862306a36Sopenharmony_ci     not governed by the terms of this License and distribute the Larger
26962306a36Sopenharmony_ci     Work as a single product. In such a case, You must make sure the
27062306a36Sopenharmony_ci     requirements of this License are fulfilled for the Covered Code.
27162306a36Sopenharmony_ci
27262306a36Sopenharmony_ci4. Inability to Comply Due to Statute or Regulation.
27362306a36Sopenharmony_ci
27462306a36Sopenharmony_ci     If it is impossible for You to comply with any of the terms of this
27562306a36Sopenharmony_ci     License with respect to some or all of the Covered Code due to
27662306a36Sopenharmony_ci     statute, judicial order, or regulation then You must: (a) comply with
27762306a36Sopenharmony_ci     the terms of this License to the maximum extent possible; and (b)
27862306a36Sopenharmony_ci     describe the limitations and the code they affect. Such description
27962306a36Sopenharmony_ci     must be included in the LEGAL file described in Section 3.4 and must
28062306a36Sopenharmony_ci     be included with all distributions of the Source Code. Except to the
28162306a36Sopenharmony_ci     extent prohibited by statute or regulation, such description must be
28262306a36Sopenharmony_ci     sufficiently detailed for a recipient of ordinary skill to be able to
28362306a36Sopenharmony_ci     understand it.
28462306a36Sopenharmony_ci
28562306a36Sopenharmony_ci5. Application of this License.
28662306a36Sopenharmony_ci
28762306a36Sopenharmony_ci     This License applies to code to which the Initial Developer has
28862306a36Sopenharmony_ci     attached the notice in Exhibit A and to related Covered Code.
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_ci6. Versions of the License.
29162306a36Sopenharmony_ci
29262306a36Sopenharmony_ci     6.1. New Versions.
29362306a36Sopenharmony_ci     Netscape Communications Corporation ("Netscape") may publish revised
29462306a36Sopenharmony_ci     and/or new versions of the License from time to time. Each version
29562306a36Sopenharmony_ci     will be given a distinguishing version number.
29662306a36Sopenharmony_ci
29762306a36Sopenharmony_ci     6.2. Effect of New Versions.
29862306a36Sopenharmony_ci     Once Covered Code has been published under a particular version of the
29962306a36Sopenharmony_ci     License, You may always continue to use it under the terms of that
30062306a36Sopenharmony_ci     version. You may also choose to use such Covered Code under the terms
30162306a36Sopenharmony_ci     of any subsequent version of the License published by Netscape. No one
30262306a36Sopenharmony_ci     other than Netscape has the right to modify the terms applicable to
30362306a36Sopenharmony_ci     Covered Code created under this License.
30462306a36Sopenharmony_ci
30562306a36Sopenharmony_ci     6.3. Derivative Works.
30662306a36Sopenharmony_ci     If You create or use a modified version of this License (which you may
30762306a36Sopenharmony_ci     only do in order to apply it to code which is not already Covered Code
30862306a36Sopenharmony_ci     governed by this License), You must (a) rename Your license so that
30962306a36Sopenharmony_ci     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
31062306a36Sopenharmony_ci     "MPL", "NPL" or any confusingly similar phrase do not appear in your
31162306a36Sopenharmony_ci     license (except to note that your license differs from this License)
31262306a36Sopenharmony_ci     and (b) otherwise make it clear that Your version of the license
31362306a36Sopenharmony_ci     contains terms which differ from the Mozilla Public License and
31462306a36Sopenharmony_ci     Netscape Public License. (Filling in the name of the Initial
31562306a36Sopenharmony_ci     Developer, Original Code or Contributor in the notice described in
31662306a36Sopenharmony_ci     Exhibit A shall not of themselves be deemed to be modifications of
31762306a36Sopenharmony_ci     this License.)
31862306a36Sopenharmony_ci
31962306a36Sopenharmony_ci7. DISCLAIMER OF WARRANTY.
32062306a36Sopenharmony_ci
32162306a36Sopenharmony_ci     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
32262306a36Sopenharmony_ci     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
32362306a36Sopenharmony_ci     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
32462306a36Sopenharmony_ci     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
32562306a36Sopenharmony_ci     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
32662306a36Sopenharmony_ci     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
32762306a36Sopenharmony_ci     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
32862306a36Sopenharmony_ci     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
32962306a36Sopenharmony_ci     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
33062306a36Sopenharmony_ci     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
33162306a36Sopenharmony_ci
33262306a36Sopenharmony_ci8. TERMINATION.
33362306a36Sopenharmony_ci
33462306a36Sopenharmony_ci     8.1.  This License and the rights granted hereunder will terminate
33562306a36Sopenharmony_ci     automatically if You fail to comply with terms herein and fail to cure
33662306a36Sopenharmony_ci     such breach within 30 days of becoming aware of the breach. All
33762306a36Sopenharmony_ci     sublicenses to the Covered Code which are properly granted shall
33862306a36Sopenharmony_ci     survive any termination of this License. Provisions which, by their
33962306a36Sopenharmony_ci     nature, must remain in effect beyond the termination of this License
34062306a36Sopenharmony_ci     shall survive.
34162306a36Sopenharmony_ci
34262306a36Sopenharmony_ci     8.2.  If You initiate litigation by asserting a patent infringement
34362306a36Sopenharmony_ci     claim (excluding declatory judgment actions) against Initial Developer
34462306a36Sopenharmony_ci     or a Contributor (the Initial Developer or Contributor against whom
34562306a36Sopenharmony_ci     You file such action is referred to as "Participant")  alleging that:
34662306a36Sopenharmony_ci
34762306a36Sopenharmony_ci     (a)  such Participant's Contributor Version directly or indirectly
34862306a36Sopenharmony_ci     infringes any patent, then any and all rights granted by such
34962306a36Sopenharmony_ci     Participant to You under Sections 2.1 and/or 2.2 of this License
35062306a36Sopenharmony_ci     shall, upon 60 days notice from Participant terminate prospectively,
35162306a36Sopenharmony_ci     unless if within 60 days after receipt of notice You either: (i)
35262306a36Sopenharmony_ci     agree in writing to pay Participant a mutually agreeable reasonable
35362306a36Sopenharmony_ci     royalty for Your past and future use of Modifications made by such
35462306a36Sopenharmony_ci     Participant, or (ii) withdraw Your litigation claim with respect to
35562306a36Sopenharmony_ci     the Contributor Version against such Participant.  If within 60 days
35662306a36Sopenharmony_ci     of notice, a reasonable royalty and payment arrangement are not
35762306a36Sopenharmony_ci     mutually agreed upon in writing by the parties or the litigation claim
35862306a36Sopenharmony_ci     is not withdrawn, the rights granted by Participant to You under
35962306a36Sopenharmony_ci     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
36062306a36Sopenharmony_ci     the 60 day notice period specified above.
36162306a36Sopenharmony_ci
36262306a36Sopenharmony_ci     (b)  any software, hardware, or device, other than such Participant's
36362306a36Sopenharmony_ci     Contributor Version, directly or indirectly infringes any patent, then
36462306a36Sopenharmony_ci     any rights granted to You by such Participant under Sections 2.1(b)
36562306a36Sopenharmony_ci     and 2.2(b) are revoked effective as of the date You first made, used,
36662306a36Sopenharmony_ci     sold, distributed, or had made, Modifications made by that
36762306a36Sopenharmony_ci     Participant.
36862306a36Sopenharmony_ci
36962306a36Sopenharmony_ci     8.3.  If You assert a patent infringement claim against Participant
37062306a36Sopenharmony_ci     alleging that such Participant's Contributor Version directly or
37162306a36Sopenharmony_ci     indirectly infringes any patent where such claim is resolved (such as
37262306a36Sopenharmony_ci     by license or settlement) prior to the initiation of patent
37362306a36Sopenharmony_ci     infringement litigation, then the reasonable value of the licenses
37462306a36Sopenharmony_ci     granted by such Participant under Sections 2.1 or 2.2 shall be taken
37562306a36Sopenharmony_ci     into account in determining the amount or value of any payment or
37662306a36Sopenharmony_ci     license.
37762306a36Sopenharmony_ci
37862306a36Sopenharmony_ci     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
37962306a36Sopenharmony_ci     all end user license agreements (excluding distributors and resellers)
38062306a36Sopenharmony_ci     which have been validly granted by You or any distributor hereunder
38162306a36Sopenharmony_ci     prior to termination shall survive termination.
38262306a36Sopenharmony_ci
38362306a36Sopenharmony_ci9. LIMITATION OF LIABILITY.
38462306a36Sopenharmony_ci
38562306a36Sopenharmony_ci     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
38662306a36Sopenharmony_ci     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
38762306a36Sopenharmony_ci     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
38862306a36Sopenharmony_ci     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
38962306a36Sopenharmony_ci     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
39062306a36Sopenharmony_ci     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
39162306a36Sopenharmony_ci     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
39262306a36Sopenharmony_ci     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
39362306a36Sopenharmony_ci     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
39462306a36Sopenharmony_ci     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
39562306a36Sopenharmony_ci     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
39662306a36Sopenharmony_ci     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
39762306a36Sopenharmony_ci     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
39862306a36Sopenharmony_ci     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
39962306a36Sopenharmony_ci
40062306a36Sopenharmony_ci10. U.S. GOVERNMENT END USERS.
40162306a36Sopenharmony_ci
40262306a36Sopenharmony_ci     The Covered Code is a "commercial item," as that term is defined in
40362306a36Sopenharmony_ci     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
40462306a36Sopenharmony_ci     software" and "commercial computer software documentation," as such
40562306a36Sopenharmony_ci     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
40662306a36Sopenharmony_ci     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
40762306a36Sopenharmony_ci     all U.S. Government End Users acquire Covered Code with only those
40862306a36Sopenharmony_ci     rights set forth herein.
40962306a36Sopenharmony_ci
41062306a36Sopenharmony_ci11. MISCELLANEOUS.
41162306a36Sopenharmony_ci
41262306a36Sopenharmony_ci     This License represents the complete agreement concerning subject
41362306a36Sopenharmony_ci     matter hereof. If any provision of this License is held to be
41462306a36Sopenharmony_ci     unenforceable, such provision shall be reformed only to the extent
41562306a36Sopenharmony_ci     necessary to make it enforceable. This License shall be governed by
41662306a36Sopenharmony_ci     California law provisions (except to the extent applicable law, if
41762306a36Sopenharmony_ci     any, provides otherwise), excluding its conflict-of-law provisions.
41862306a36Sopenharmony_ci     With respect to disputes in which at least one party is a citizen of,
41962306a36Sopenharmony_ci     or an entity chartered or registered to do business in the United
42062306a36Sopenharmony_ci     States of America, any litigation relating to this License shall be
42162306a36Sopenharmony_ci     subject to the jurisdiction of the Federal Courts of the Northern
42262306a36Sopenharmony_ci     District of California, with venue lying in Santa Clara County,
42362306a36Sopenharmony_ci     California, with the losing party responsible for costs, including
42462306a36Sopenharmony_ci     without limitation, court costs and reasonable attorneys' fees and
42562306a36Sopenharmony_ci     expenses. The application of the United Nations Convention on
42662306a36Sopenharmony_ci     Contracts for the International Sale of Goods is expressly excluded.
42762306a36Sopenharmony_ci     Any law or regulation which provides that the language of a contract
42862306a36Sopenharmony_ci     shall be construed against the drafter shall not apply to this
42962306a36Sopenharmony_ci     License.
43062306a36Sopenharmony_ci
43162306a36Sopenharmony_ci12. RESPONSIBILITY FOR CLAIMS.
43262306a36Sopenharmony_ci
43362306a36Sopenharmony_ci     As between Initial Developer and the Contributors, each party is
43462306a36Sopenharmony_ci     responsible for claims and damages arising, directly or indirectly,
43562306a36Sopenharmony_ci     out of its utilization of rights under this License and You agree to
43662306a36Sopenharmony_ci     work with Initial Developer and Contributors to distribute such
43762306a36Sopenharmony_ci     responsibility on an equitable basis. Nothing herein is intended or
43862306a36Sopenharmony_ci     shall be deemed to constitute any admission of liability.
43962306a36Sopenharmony_ci
44062306a36Sopenharmony_ci13. MULTIPLE-LICENSED CODE.
44162306a36Sopenharmony_ci
44262306a36Sopenharmony_ci     Initial Developer may designate portions of the Covered Code as
44362306a36Sopenharmony_ci     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
44462306a36Sopenharmony_ci     Developer permits you to utilize portions of the Covered Code under
44562306a36Sopenharmony_ci     Your choice of the MPL or the alternative licenses, if any, specified
44662306a36Sopenharmony_ci     by the Initial Developer in the file described in Exhibit A.
44762306a36Sopenharmony_ci
44862306a36Sopenharmony_ciEXHIBIT A -Mozilla Public License.
44962306a36Sopenharmony_ci
45062306a36Sopenharmony_ci     ``The contents of this file are subject to the Mozilla Public License
45162306a36Sopenharmony_ci     Version 1.1 (the "License"); you may not use this file except in
45262306a36Sopenharmony_ci     compliance with the License. You may obtain a copy of the License at
45362306a36Sopenharmony_ci     https://www.mozilla.org/MPL/
45462306a36Sopenharmony_ci
45562306a36Sopenharmony_ci     Software distributed under the License is distributed on an "AS IS"
45662306a36Sopenharmony_ci     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
45762306a36Sopenharmony_ci     License for the specific language governing rights and limitations
45862306a36Sopenharmony_ci     under the License.
45962306a36Sopenharmony_ci
46062306a36Sopenharmony_ci     The Original Code is ______________________________________.
46162306a36Sopenharmony_ci
46262306a36Sopenharmony_ci     The Initial Developer of the Original Code is ________________________.
46362306a36Sopenharmony_ci     Portions created by ______________________ are Copyright (C) ______
46462306a36Sopenharmony_ci     _______________________. All Rights Reserved.
46562306a36Sopenharmony_ci
46662306a36Sopenharmony_ci     Contributor(s): ______________________________________.
46762306a36Sopenharmony_ci
46862306a36Sopenharmony_ci     Alternatively, the contents of this file may be used under the terms
46962306a36Sopenharmony_ci     of the _____ license (the  "[___] License"), in which case the
47062306a36Sopenharmony_ci     provisions of [______] License are applicable instead of those
47162306a36Sopenharmony_ci     above.  If you wish to allow use of your version of this file only
47262306a36Sopenharmony_ci     under the terms of the [____] License and not to allow others to use
47362306a36Sopenharmony_ci     your version of this file under the MPL, indicate your decision by
47462306a36Sopenharmony_ci     deleting  the provisions above and replace  them with the notice and
47562306a36Sopenharmony_ci     other provisions required by the [___] License.  If you do not delete
47662306a36Sopenharmony_ci     the provisions above, a recipient may use your version of this file
47762306a36Sopenharmony_ci     under either the MPL or the [___] License."
47862306a36Sopenharmony_ci
47962306a36Sopenharmony_ci     [NOTE: The text of this Exhibit A may differ slightly from the text of
48062306a36Sopenharmony_ci     the notices in the Source Code files of the Original Code. You should
48162306a36Sopenharmony_ci     use the text of this Exhibit A rather than the text found in the
48262306a36Sopenharmony_ci     Original Code Source Code for Your Modifications.]
483