18c2ecf20Sopenharmony_ciValid-License-Identifier: MPL-1.1
28c2ecf20Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/MPL-1.1.html
38c2ecf20Sopenharmony_ciUsage-Guide:
48c2ecf20Sopenharmony_ci  Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for
58c2ecf20Sopenharmony_ci  dual-licensed files where the other license is GPL2 compatible.
68c2ecf20Sopenharmony_ci  If you end up using this it MUST be used together with a GPL2 compatible
78c2ecf20Sopenharmony_ci  license using "OR".
88c2ecf20Sopenharmony_ci  To use the Mozilla Public License version 1.1 put the following SPDX
98c2ecf20Sopenharmony_ci  tag/value pair into a comment according to the placement guidelines in
108c2ecf20Sopenharmony_ci  the licensing rules documentation:
118c2ecf20Sopenharmony_ci    SPDX-License-Identifier: MPL-1.1
128c2ecf20Sopenharmony_ciLicense-Text:
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci                          MOZILLA PUBLIC LICENSE
158c2ecf20Sopenharmony_ci                                Version 1.1
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci                              ---------------
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci1. Definitions.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci     1.0.1. "Commercial Use" means distribution or otherwise making the
228c2ecf20Sopenharmony_ci     Covered Code available to a third party.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci     1.1. "Contributor" means each entity that creates or contributes to
258c2ecf20Sopenharmony_ci     the creation of Modifications.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci     1.2. "Contributor Version" means the combination of the Original
288c2ecf20Sopenharmony_ci     Code, prior Modifications used by a Contributor, and the Modifications
298c2ecf20Sopenharmony_ci     made by that particular Contributor.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci     1.3. "Covered Code" means the Original Code or Modifications or the
328c2ecf20Sopenharmony_ci     combination of the Original Code and Modifications, in each case
338c2ecf20Sopenharmony_ci     including portions thereof.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci     1.4. "Electronic Distribution Mechanism" means a mechanism generally
368c2ecf20Sopenharmony_ci     accepted in the software development community for the electronic
378c2ecf20Sopenharmony_ci     transfer of data.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci     1.5. "Executable" means Covered Code in any form other than Source
408c2ecf20Sopenharmony_ci     Code.
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci     1.6. "Initial Developer" means the individual or entity identified
438c2ecf20Sopenharmony_ci     as the Initial Developer in the Source Code notice required by Exhibit
448c2ecf20Sopenharmony_ci     A.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci     1.7. "Larger Work" means a work which combines Covered Code or
478c2ecf20Sopenharmony_ci     portions thereof with code not governed by the terms of this License.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci     1.8. "License" means this document.
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci     1.8.1. "Licensable" means having the right to grant, to the maximum
528c2ecf20Sopenharmony_ci     extent possible, whether at the time of the initial grant or
538c2ecf20Sopenharmony_ci     subsequently acquired, any and all of the rights conveyed herein.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci     1.9. "Modifications" means any addition to or deletion from the
568c2ecf20Sopenharmony_ci     substance or structure of either the Original Code or any previous
578c2ecf20Sopenharmony_ci     Modifications. When Covered Code is released as a series of files, a
588c2ecf20Sopenharmony_ci     Modification is:
598c2ecf20Sopenharmony_ci          A. Any addition to or deletion from the contents of a file
608c2ecf20Sopenharmony_ci          containing Original Code or previous Modifications.
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ci          B. Any new file that contains any part of the Original Code or
638c2ecf20Sopenharmony_ci          previous Modifications.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci     1.10. "Original Code" means Source Code of computer software code
668c2ecf20Sopenharmony_ci     which is described in the Source Code notice required by Exhibit A as
678c2ecf20Sopenharmony_ci     Original Code, and which, at the time of its release under this
688c2ecf20Sopenharmony_ci     License is not already Covered Code governed by this License.
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci     1.10.1. "Patent Claims" means any patent claim(s), now owned or
718c2ecf20Sopenharmony_ci     hereafter acquired, including without limitation,  method, process,
728c2ecf20Sopenharmony_ci     and apparatus claims, in any patent Licensable by grantor.
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci     1.11. "Source Code" means the preferred form of the Covered Code for
758c2ecf20Sopenharmony_ci     making modifications to it, including all modules it contains, plus
768c2ecf20Sopenharmony_ci     any associated interface definition files, scripts used to control
778c2ecf20Sopenharmony_ci     compilation and installation of an Executable, or source code
788c2ecf20Sopenharmony_ci     differential comparisons against either the Original Code or another
798c2ecf20Sopenharmony_ci     well known, available Covered Code of the Contributor's choice. The
808c2ecf20Sopenharmony_ci     Source Code can be in a compressed or archival form, provided the
818c2ecf20Sopenharmony_ci     appropriate decompression or de-archiving software is widely available
828c2ecf20Sopenharmony_ci     for no charge.
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ci     1.12. "You" (or "Your")  means an individual or a legal entity
858c2ecf20Sopenharmony_ci     exercising rights under, and complying with all of the terms of, this
868c2ecf20Sopenharmony_ci     License or a future version of this License issued under Section 6.1.
878c2ecf20Sopenharmony_ci     For legal entities, "You" includes any entity which controls, is
888c2ecf20Sopenharmony_ci     controlled by, or is under common control with You. For purposes of
898c2ecf20Sopenharmony_ci     this definition, "control" means (a) the power, direct or indirect,
908c2ecf20Sopenharmony_ci     to cause the direction or management of such entity, whether by
918c2ecf20Sopenharmony_ci     contract or otherwise, or (b) ownership of more than fifty percent
928c2ecf20Sopenharmony_ci     (50%) of the outstanding shares or beneficial ownership of such
938c2ecf20Sopenharmony_ci     entity.
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ci2. Source Code License.
968c2ecf20Sopenharmony_ci
978c2ecf20Sopenharmony_ci     2.1. The Initial Developer Grant.
988c2ecf20Sopenharmony_ci     The Initial Developer hereby grants You a world-wide, royalty-free,
998c2ecf20Sopenharmony_ci     non-exclusive license, subject to third party intellectual property
1008c2ecf20Sopenharmony_ci     claims:
1018c2ecf20Sopenharmony_ci          (a)  under intellectual property rights (other than patent or
1028c2ecf20Sopenharmony_ci          trademark) Licensable by Initial Developer to use, reproduce,
1038c2ecf20Sopenharmony_ci          modify, display, perform, sublicense and distribute the Original
1048c2ecf20Sopenharmony_ci          Code (or portions thereof) with or without Modifications, and/or
1058c2ecf20Sopenharmony_ci          as part of a Larger Work; and
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci          (b) under Patents Claims infringed by the making, using or
1088c2ecf20Sopenharmony_ci          selling of Original Code, to make, have made, use, practice,
1098c2ecf20Sopenharmony_ci          sell, and offer for sale, and/or otherwise dispose of the
1108c2ecf20Sopenharmony_ci          Original Code (or portions thereof).
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci          (c) the licenses granted in this Section 2.1(a) and (b) are
1138c2ecf20Sopenharmony_ci          effective on the date Initial Developer first distributes
1148c2ecf20Sopenharmony_ci          Original Code under the terms of this License.
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_ci          (d) Notwithstanding Section 2.1(b) above, no patent license is
1178c2ecf20Sopenharmony_ci          granted: 1) for code that You delete from the Original Code; 2)
1188c2ecf20Sopenharmony_ci          separate from the Original Code;  or 3) for infringements caused
1198c2ecf20Sopenharmony_ci          by: i) the modification of the Original Code or ii) the
1208c2ecf20Sopenharmony_ci          combination of the Original Code with other software or devices.
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ci     2.2. Contributor Grant.
1238c2ecf20Sopenharmony_ci     Subject to third party intellectual property claims, each Contributor
1248c2ecf20Sopenharmony_ci     hereby grants You a world-wide, royalty-free, non-exclusive license
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci          (a)  under intellectual property rights (other than patent or
1278c2ecf20Sopenharmony_ci          trademark) Licensable by Contributor, to use, reproduce, modify,
1288c2ecf20Sopenharmony_ci          display, perform, sublicense and distribute the Modifications
1298c2ecf20Sopenharmony_ci          created by such Contributor (or portions thereof) either on an
1308c2ecf20Sopenharmony_ci          unmodified basis, with other Modifications, as Covered Code
1318c2ecf20Sopenharmony_ci          and/or as part of a Larger Work; and
1328c2ecf20Sopenharmony_ci
1338c2ecf20Sopenharmony_ci          (b) under Patent Claims infringed by the making, using, or
1348c2ecf20Sopenharmony_ci          selling of  Modifications made by that Contributor either alone
1358c2ecf20Sopenharmony_ci          and/or in combination with its Contributor Version (or portions
1368c2ecf20Sopenharmony_ci          of such combination), to make, use, sell, offer for sale, have
1378c2ecf20Sopenharmony_ci          made, and/or otherwise dispose of: 1) Modifications made by that
1388c2ecf20Sopenharmony_ci          Contributor (or portions thereof); and 2) the combination of
1398c2ecf20Sopenharmony_ci          Modifications made by that Contributor with its Contributor
1408c2ecf20Sopenharmony_ci          Version (or portions of such combination).
1418c2ecf20Sopenharmony_ci
1428c2ecf20Sopenharmony_ci          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
1438c2ecf20Sopenharmony_ci          effective on the date Contributor first makes Commercial Use of
1448c2ecf20Sopenharmony_ci          the Covered Code.
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ci          (d)    Notwithstanding Section 2.2(b) above, no patent license is
1478c2ecf20Sopenharmony_ci          granted: 1) for any code that Contributor has deleted from the
1488c2ecf20Sopenharmony_ci          Contributor Version; 2)  separate from the Contributor Version;
1498c2ecf20Sopenharmony_ci          3)  for infringements caused by: i) third party modifications of
1508c2ecf20Sopenharmony_ci          Contributor Version or ii)  the combination of Modifications made
1518c2ecf20Sopenharmony_ci          by that Contributor with other software  (except as part of the
1528c2ecf20Sopenharmony_ci          Contributor Version) or other devices; or 4) under Patent Claims
1538c2ecf20Sopenharmony_ci          infringed by Covered Code in the absence of Modifications made by
1548c2ecf20Sopenharmony_ci          that Contributor.
1558c2ecf20Sopenharmony_ci
1568c2ecf20Sopenharmony_ci3. Distribution Obligations.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ci     3.1. Application of License.
1598c2ecf20Sopenharmony_ci     The Modifications which You create or to which You contribute are
1608c2ecf20Sopenharmony_ci     governed by the terms of this License, including without limitation
1618c2ecf20Sopenharmony_ci     Section 2.2. The Source Code version of Covered Code may be
1628c2ecf20Sopenharmony_ci     distributed only under the terms of this License or a future version
1638c2ecf20Sopenharmony_ci     of this License released under Section 6.1, and You must include a
1648c2ecf20Sopenharmony_ci     copy of this License with every copy of the Source Code You
1658c2ecf20Sopenharmony_ci     distribute. You may not offer or impose any terms on any Source Code
1668c2ecf20Sopenharmony_ci     version that alters or restricts the applicable version of this
1678c2ecf20Sopenharmony_ci     License or the recipients' rights hereunder. However, You may include
1688c2ecf20Sopenharmony_ci     an additional document offering the additional rights described in
1698c2ecf20Sopenharmony_ci     Section 3.5.
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ci     3.2. Availability of Source Code.
1728c2ecf20Sopenharmony_ci     Any Modification which You create or to which You contribute must be
1738c2ecf20Sopenharmony_ci     made available in Source Code form under the terms of this License
1748c2ecf20Sopenharmony_ci     either on the same media as an Executable version or via an accepted
1758c2ecf20Sopenharmony_ci     Electronic Distribution Mechanism to anyone to whom you made an
1768c2ecf20Sopenharmony_ci     Executable version available; and if made available via Electronic
1778c2ecf20Sopenharmony_ci     Distribution Mechanism, must remain available for at least twelve (12)
1788c2ecf20Sopenharmony_ci     months after the date it initially became available, or at least six
1798c2ecf20Sopenharmony_ci     (6) months after a subsequent version of that particular Modification
1808c2ecf20Sopenharmony_ci     has been made available to such recipients. You are responsible for
1818c2ecf20Sopenharmony_ci     ensuring that the Source Code version remains available even if the
1828c2ecf20Sopenharmony_ci     Electronic Distribution Mechanism is maintained by a third party.
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ci     3.3. Description of Modifications.
1858c2ecf20Sopenharmony_ci     You must cause all Covered Code to which You contribute to contain a
1868c2ecf20Sopenharmony_ci     file documenting the changes You made to create that Covered Code and
1878c2ecf20Sopenharmony_ci     the date of any change. You must include a prominent statement that
1888c2ecf20Sopenharmony_ci     the Modification is derived, directly or indirectly, from Original
1898c2ecf20Sopenharmony_ci     Code provided by the Initial Developer and including the name of the
1908c2ecf20Sopenharmony_ci     Initial Developer in (a) the Source Code, and (b) in any notice in an
1918c2ecf20Sopenharmony_ci     Executable version or related documentation in which You describe the
1928c2ecf20Sopenharmony_ci     origin or ownership of the Covered Code.
1938c2ecf20Sopenharmony_ci
1948c2ecf20Sopenharmony_ci     3.4. Intellectual Property Matters
1958c2ecf20Sopenharmony_ci          (a) Third Party Claims.
1968c2ecf20Sopenharmony_ci          If Contributor has knowledge that a license under a third party's
1978c2ecf20Sopenharmony_ci          intellectual property rights is required to exercise the rights
1988c2ecf20Sopenharmony_ci          granted by such Contributor under Sections 2.1 or 2.2,
1998c2ecf20Sopenharmony_ci          Contributor must include a text file with the Source Code
2008c2ecf20Sopenharmony_ci          distribution titled "LEGAL" which describes the claim and the
2018c2ecf20Sopenharmony_ci          party making the claim in sufficient detail that a recipient will
2028c2ecf20Sopenharmony_ci          know whom to contact. If Contributor obtains such knowledge after
2038c2ecf20Sopenharmony_ci          the Modification is made available as described in Section 3.2,
2048c2ecf20Sopenharmony_ci          Contributor shall promptly modify the LEGAL file in all copies
2058c2ecf20Sopenharmony_ci          Contributor makes available thereafter and shall take other steps
2068c2ecf20Sopenharmony_ci          (such as notifying appropriate mailing lists or newsgroups)
2078c2ecf20Sopenharmony_ci          reasonably calculated to inform those who received the Covered
2088c2ecf20Sopenharmony_ci          Code that new knowledge has been obtained.
2098c2ecf20Sopenharmony_ci
2108c2ecf20Sopenharmony_ci          (b) Contributor APIs.
2118c2ecf20Sopenharmony_ci          If Contributor's Modifications include an application programming
2128c2ecf20Sopenharmony_ci          interface and Contributor has knowledge of patent licenses which
2138c2ecf20Sopenharmony_ci          are reasonably necessary to implement that API, Contributor must
2148c2ecf20Sopenharmony_ci          also include this information in the LEGAL file.
2158c2ecf20Sopenharmony_ci
2168c2ecf20Sopenharmony_ci               (c)    Representations.
2178c2ecf20Sopenharmony_ci          Contributor represents that, except as disclosed pursuant to
2188c2ecf20Sopenharmony_ci          Section 3.4(a) above, Contributor believes that Contributor's
2198c2ecf20Sopenharmony_ci          Modifications are Contributor's original creation(s) and/or
2208c2ecf20Sopenharmony_ci          Contributor has sufficient rights to grant the rights conveyed by
2218c2ecf20Sopenharmony_ci          this License.
2228c2ecf20Sopenharmony_ci
2238c2ecf20Sopenharmony_ci     3.5. Required Notices.
2248c2ecf20Sopenharmony_ci     You must duplicate the notice in Exhibit A in each file of the Source
2258c2ecf20Sopenharmony_ci     Code.  If it is not possible to put such notice in a particular Source
2268c2ecf20Sopenharmony_ci     Code file due to its structure, then You must include such notice in a
2278c2ecf20Sopenharmony_ci     location (such as a relevant directory) where a user would be likely
2288c2ecf20Sopenharmony_ci     to look for such a notice.  If You created one or more Modification(s)
2298c2ecf20Sopenharmony_ci     You may add your name as a Contributor to the notice described in
2308c2ecf20Sopenharmony_ci     Exhibit A.  You must also duplicate this License in any documentation
2318c2ecf20Sopenharmony_ci     for the Source Code where You describe recipients' rights or ownership
2328c2ecf20Sopenharmony_ci     rights relating to Covered Code.  You may choose to offer, and to
2338c2ecf20Sopenharmony_ci     charge a fee for, warranty, support, indemnity or liability
2348c2ecf20Sopenharmony_ci     obligations to one or more recipients of Covered Code. However, You
2358c2ecf20Sopenharmony_ci     may do so only on Your own behalf, and not on behalf of the Initial
2368c2ecf20Sopenharmony_ci     Developer or any Contributor. You must make it absolutely clear than
2378c2ecf20Sopenharmony_ci     any such warranty, support, indemnity or liability obligation is
2388c2ecf20Sopenharmony_ci     offered by You alone, and You hereby agree to indemnify the Initial
2398c2ecf20Sopenharmony_ci     Developer and every Contributor for any liability incurred by the
2408c2ecf20Sopenharmony_ci     Initial Developer or such Contributor as a result of warranty,
2418c2ecf20Sopenharmony_ci     support, indemnity or liability terms You offer.
2428c2ecf20Sopenharmony_ci
2438c2ecf20Sopenharmony_ci     3.6. Distribution of Executable Versions.
2448c2ecf20Sopenharmony_ci     You may distribute Covered Code in Executable form only if the
2458c2ecf20Sopenharmony_ci     requirements of Section 3.1-3.5 have been met for that Covered Code,
2468c2ecf20Sopenharmony_ci     and if You include a notice stating that the Source Code version of
2478c2ecf20Sopenharmony_ci     the Covered Code is available under the terms of this License,
2488c2ecf20Sopenharmony_ci     including a description of how and where You have fulfilled the
2498c2ecf20Sopenharmony_ci     obligations of Section 3.2. The notice must be conspicuously included
2508c2ecf20Sopenharmony_ci     in any notice in an Executable version, related documentation or
2518c2ecf20Sopenharmony_ci     collateral in which You describe recipients' rights relating to the
2528c2ecf20Sopenharmony_ci     Covered Code. You may distribute the Executable version of Covered
2538c2ecf20Sopenharmony_ci     Code or ownership rights under a license of Your choice, which may
2548c2ecf20Sopenharmony_ci     contain terms different from this License, provided that You are in
2558c2ecf20Sopenharmony_ci     compliance with the terms of this License and that the license for the
2568c2ecf20Sopenharmony_ci     Executable version does not attempt to limit or alter the recipient's
2578c2ecf20Sopenharmony_ci     rights in the Source Code version from the rights set forth in this
2588c2ecf20Sopenharmony_ci     License. If You distribute the Executable version under a different
2598c2ecf20Sopenharmony_ci     license You must make it absolutely clear that any terms which differ
2608c2ecf20Sopenharmony_ci     from this License are offered by You alone, not by the Initial
2618c2ecf20Sopenharmony_ci     Developer or any Contributor. You hereby agree to indemnify the
2628c2ecf20Sopenharmony_ci     Initial Developer and every Contributor for any liability incurred by
2638c2ecf20Sopenharmony_ci     the Initial Developer or such Contributor as a result of any such
2648c2ecf20Sopenharmony_ci     terms You offer.
2658c2ecf20Sopenharmony_ci
2668c2ecf20Sopenharmony_ci     3.7. Larger Works.
2678c2ecf20Sopenharmony_ci     You may create a Larger Work by combining Covered Code with other code
2688c2ecf20Sopenharmony_ci     not governed by the terms of this License and distribute the Larger
2698c2ecf20Sopenharmony_ci     Work as a single product. In such a case, You must make sure the
2708c2ecf20Sopenharmony_ci     requirements of this License are fulfilled for the Covered Code.
2718c2ecf20Sopenharmony_ci
2728c2ecf20Sopenharmony_ci4. Inability to Comply Due to Statute or Regulation.
2738c2ecf20Sopenharmony_ci
2748c2ecf20Sopenharmony_ci     If it is impossible for You to comply with any of the terms of this
2758c2ecf20Sopenharmony_ci     License with respect to some or all of the Covered Code due to
2768c2ecf20Sopenharmony_ci     statute, judicial order, or regulation then You must: (a) comply with
2778c2ecf20Sopenharmony_ci     the terms of this License to the maximum extent possible; and (b)
2788c2ecf20Sopenharmony_ci     describe the limitations and the code they affect. Such description
2798c2ecf20Sopenharmony_ci     must be included in the LEGAL file described in Section 3.4 and must
2808c2ecf20Sopenharmony_ci     be included with all distributions of the Source Code. Except to the
2818c2ecf20Sopenharmony_ci     extent prohibited by statute or regulation, such description must be
2828c2ecf20Sopenharmony_ci     sufficiently detailed for a recipient of ordinary skill to be able to
2838c2ecf20Sopenharmony_ci     understand it.
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci5. Application of this License.
2868c2ecf20Sopenharmony_ci
2878c2ecf20Sopenharmony_ci     This License applies to code to which the Initial Developer has
2888c2ecf20Sopenharmony_ci     attached the notice in Exhibit A and to related Covered Code.
2898c2ecf20Sopenharmony_ci
2908c2ecf20Sopenharmony_ci6. Versions of the License.
2918c2ecf20Sopenharmony_ci
2928c2ecf20Sopenharmony_ci     6.1. New Versions.
2938c2ecf20Sopenharmony_ci     Netscape Communications Corporation ("Netscape") may publish revised
2948c2ecf20Sopenharmony_ci     and/or new versions of the License from time to time. Each version
2958c2ecf20Sopenharmony_ci     will be given a distinguishing version number.
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci     6.2. Effect of New Versions.
2988c2ecf20Sopenharmony_ci     Once Covered Code has been published under a particular version of the
2998c2ecf20Sopenharmony_ci     License, You may always continue to use it under the terms of that
3008c2ecf20Sopenharmony_ci     version. You may also choose to use such Covered Code under the terms
3018c2ecf20Sopenharmony_ci     of any subsequent version of the License published by Netscape. No one
3028c2ecf20Sopenharmony_ci     other than Netscape has the right to modify the terms applicable to
3038c2ecf20Sopenharmony_ci     Covered Code created under this License.
3048c2ecf20Sopenharmony_ci
3058c2ecf20Sopenharmony_ci     6.3. Derivative Works.
3068c2ecf20Sopenharmony_ci     If You create or use a modified version of this License (which you may
3078c2ecf20Sopenharmony_ci     only do in order to apply it to code which is not already Covered Code
3088c2ecf20Sopenharmony_ci     governed by this License), You must (a) rename Your license so that
3098c2ecf20Sopenharmony_ci     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
3108c2ecf20Sopenharmony_ci     "MPL", "NPL" or any confusingly similar phrase do not appear in your
3118c2ecf20Sopenharmony_ci     license (except to note that your license differs from this License)
3128c2ecf20Sopenharmony_ci     and (b) otherwise make it clear that Your version of the license
3138c2ecf20Sopenharmony_ci     contains terms which differ from the Mozilla Public License and
3148c2ecf20Sopenharmony_ci     Netscape Public License. (Filling in the name of the Initial
3158c2ecf20Sopenharmony_ci     Developer, Original Code or Contributor in the notice described in
3168c2ecf20Sopenharmony_ci     Exhibit A shall not of themselves be deemed to be modifications of
3178c2ecf20Sopenharmony_ci     this License.)
3188c2ecf20Sopenharmony_ci
3198c2ecf20Sopenharmony_ci7. DISCLAIMER OF WARRANTY.
3208c2ecf20Sopenharmony_ci
3218c2ecf20Sopenharmony_ci     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
3228c2ecf20Sopenharmony_ci     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
3238c2ecf20Sopenharmony_ci     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
3248c2ecf20Sopenharmony_ci     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
3258c2ecf20Sopenharmony_ci     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
3268c2ecf20Sopenharmony_ci     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
3278c2ecf20Sopenharmony_ci     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
3288c2ecf20Sopenharmony_ci     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
3298c2ecf20Sopenharmony_ci     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
3308c2ecf20Sopenharmony_ci     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_ci8. TERMINATION.
3338c2ecf20Sopenharmony_ci
3348c2ecf20Sopenharmony_ci     8.1.  This License and the rights granted hereunder will terminate
3358c2ecf20Sopenharmony_ci     automatically if You fail to comply with terms herein and fail to cure
3368c2ecf20Sopenharmony_ci     such breach within 30 days of becoming aware of the breach. All
3378c2ecf20Sopenharmony_ci     sublicenses to the Covered Code which are properly granted shall
3388c2ecf20Sopenharmony_ci     survive any termination of this License. Provisions which, by their
3398c2ecf20Sopenharmony_ci     nature, must remain in effect beyond the termination of this License
3408c2ecf20Sopenharmony_ci     shall survive.
3418c2ecf20Sopenharmony_ci
3428c2ecf20Sopenharmony_ci     8.2.  If You initiate litigation by asserting a patent infringement
3438c2ecf20Sopenharmony_ci     claim (excluding declatory judgment actions) against Initial Developer
3448c2ecf20Sopenharmony_ci     or a Contributor (the Initial Developer or Contributor against whom
3458c2ecf20Sopenharmony_ci     You file such action is referred to as "Participant")  alleging that:
3468c2ecf20Sopenharmony_ci
3478c2ecf20Sopenharmony_ci     (a)  such Participant's Contributor Version directly or indirectly
3488c2ecf20Sopenharmony_ci     infringes any patent, then any and all rights granted by such
3498c2ecf20Sopenharmony_ci     Participant to You under Sections 2.1 and/or 2.2 of this License
3508c2ecf20Sopenharmony_ci     shall, upon 60 days notice from Participant terminate prospectively,
3518c2ecf20Sopenharmony_ci     unless if within 60 days after receipt of notice You either: (i)
3528c2ecf20Sopenharmony_ci     agree in writing to pay Participant a mutually agreeable reasonable
3538c2ecf20Sopenharmony_ci     royalty for Your past and future use of Modifications made by such
3548c2ecf20Sopenharmony_ci     Participant, or (ii) withdraw Your litigation claim with respect to
3558c2ecf20Sopenharmony_ci     the Contributor Version against such Participant.  If within 60 days
3568c2ecf20Sopenharmony_ci     of notice, a reasonable royalty and payment arrangement are not
3578c2ecf20Sopenharmony_ci     mutually agreed upon in writing by the parties or the litigation claim
3588c2ecf20Sopenharmony_ci     is not withdrawn, the rights granted by Participant to You under
3598c2ecf20Sopenharmony_ci     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
3608c2ecf20Sopenharmony_ci     the 60 day notice period specified above.
3618c2ecf20Sopenharmony_ci
3628c2ecf20Sopenharmony_ci     (b)  any software, hardware, or device, other than such Participant's
3638c2ecf20Sopenharmony_ci     Contributor Version, directly or indirectly infringes any patent, then
3648c2ecf20Sopenharmony_ci     any rights granted to You by such Participant under Sections 2.1(b)
3658c2ecf20Sopenharmony_ci     and 2.2(b) are revoked effective as of the date You first made, used,
3668c2ecf20Sopenharmony_ci     sold, distributed, or had made, Modifications made by that
3678c2ecf20Sopenharmony_ci     Participant.
3688c2ecf20Sopenharmony_ci
3698c2ecf20Sopenharmony_ci     8.3.  If You assert a patent infringement claim against Participant
3708c2ecf20Sopenharmony_ci     alleging that such Participant's Contributor Version directly or
3718c2ecf20Sopenharmony_ci     indirectly infringes any patent where such claim is resolved (such as
3728c2ecf20Sopenharmony_ci     by license or settlement) prior to the initiation of patent
3738c2ecf20Sopenharmony_ci     infringement litigation, then the reasonable value of the licenses
3748c2ecf20Sopenharmony_ci     granted by such Participant under Sections 2.1 or 2.2 shall be taken
3758c2ecf20Sopenharmony_ci     into account in determining the amount or value of any payment or
3768c2ecf20Sopenharmony_ci     license.
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_ci     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
3798c2ecf20Sopenharmony_ci     all end user license agreements (excluding distributors and resellers)
3808c2ecf20Sopenharmony_ci     which have been validly granted by You or any distributor hereunder
3818c2ecf20Sopenharmony_ci     prior to termination shall survive termination.
3828c2ecf20Sopenharmony_ci
3838c2ecf20Sopenharmony_ci9. LIMITATION OF LIABILITY.
3848c2ecf20Sopenharmony_ci
3858c2ecf20Sopenharmony_ci     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
3868c2ecf20Sopenharmony_ci     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
3878c2ecf20Sopenharmony_ci     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
3888c2ecf20Sopenharmony_ci     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
3898c2ecf20Sopenharmony_ci     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
3908c2ecf20Sopenharmony_ci     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
3918c2ecf20Sopenharmony_ci     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
3928c2ecf20Sopenharmony_ci     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
3938c2ecf20Sopenharmony_ci     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
3948c2ecf20Sopenharmony_ci     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
3958c2ecf20Sopenharmony_ci     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
3968c2ecf20Sopenharmony_ci     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
3978c2ecf20Sopenharmony_ci     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
3988c2ecf20Sopenharmony_ci     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ci10. U.S. GOVERNMENT END USERS.
4018c2ecf20Sopenharmony_ci
4028c2ecf20Sopenharmony_ci     The Covered Code is a "commercial item," as that term is defined in
4038c2ecf20Sopenharmony_ci     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
4048c2ecf20Sopenharmony_ci     software" and "commercial computer software documentation," as such
4058c2ecf20Sopenharmony_ci     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
4068c2ecf20Sopenharmony_ci     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
4078c2ecf20Sopenharmony_ci     all U.S. Government End Users acquire Covered Code with only those
4088c2ecf20Sopenharmony_ci     rights set forth herein.
4098c2ecf20Sopenharmony_ci
4108c2ecf20Sopenharmony_ci11. MISCELLANEOUS.
4118c2ecf20Sopenharmony_ci
4128c2ecf20Sopenharmony_ci     This License represents the complete agreement concerning subject
4138c2ecf20Sopenharmony_ci     matter hereof. If any provision of this License is held to be
4148c2ecf20Sopenharmony_ci     unenforceable, such provision shall be reformed only to the extent
4158c2ecf20Sopenharmony_ci     necessary to make it enforceable. This License shall be governed by
4168c2ecf20Sopenharmony_ci     California law provisions (except to the extent applicable law, if
4178c2ecf20Sopenharmony_ci     any, provides otherwise), excluding its conflict-of-law provisions.
4188c2ecf20Sopenharmony_ci     With respect to disputes in which at least one party is a citizen of,
4198c2ecf20Sopenharmony_ci     or an entity chartered or registered to do business in the United
4208c2ecf20Sopenharmony_ci     States of America, any litigation relating to this License shall be
4218c2ecf20Sopenharmony_ci     subject to the jurisdiction of the Federal Courts of the Northern
4228c2ecf20Sopenharmony_ci     District of California, with venue lying in Santa Clara County,
4238c2ecf20Sopenharmony_ci     California, with the losing party responsible for costs, including
4248c2ecf20Sopenharmony_ci     without limitation, court costs and reasonable attorneys' fees and
4258c2ecf20Sopenharmony_ci     expenses. The application of the United Nations Convention on
4268c2ecf20Sopenharmony_ci     Contracts for the International Sale of Goods is expressly excluded.
4278c2ecf20Sopenharmony_ci     Any law or regulation which provides that the language of a contract
4288c2ecf20Sopenharmony_ci     shall be construed against the drafter shall not apply to this
4298c2ecf20Sopenharmony_ci     License.
4308c2ecf20Sopenharmony_ci
4318c2ecf20Sopenharmony_ci12. RESPONSIBILITY FOR CLAIMS.
4328c2ecf20Sopenharmony_ci
4338c2ecf20Sopenharmony_ci     As between Initial Developer and the Contributors, each party is
4348c2ecf20Sopenharmony_ci     responsible for claims and damages arising, directly or indirectly,
4358c2ecf20Sopenharmony_ci     out of its utilization of rights under this License and You agree to
4368c2ecf20Sopenharmony_ci     work with Initial Developer and Contributors to distribute such
4378c2ecf20Sopenharmony_ci     responsibility on an equitable basis. Nothing herein is intended or
4388c2ecf20Sopenharmony_ci     shall be deemed to constitute any admission of liability.
4398c2ecf20Sopenharmony_ci
4408c2ecf20Sopenharmony_ci13. MULTIPLE-LICENSED CODE.
4418c2ecf20Sopenharmony_ci
4428c2ecf20Sopenharmony_ci     Initial Developer may designate portions of the Covered Code as
4438c2ecf20Sopenharmony_ci     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
4448c2ecf20Sopenharmony_ci     Developer permits you to utilize portions of the Covered Code under
4458c2ecf20Sopenharmony_ci     Your choice of the MPL or the alternative licenses, if any, specified
4468c2ecf20Sopenharmony_ci     by the Initial Developer in the file described in Exhibit A.
4478c2ecf20Sopenharmony_ci
4488c2ecf20Sopenharmony_ciEXHIBIT A -Mozilla Public License.
4498c2ecf20Sopenharmony_ci
4508c2ecf20Sopenharmony_ci     ``The contents of this file are subject to the Mozilla Public License
4518c2ecf20Sopenharmony_ci     Version 1.1 (the "License"); you may not use this file except in
4528c2ecf20Sopenharmony_ci     compliance with the License. You may obtain a copy of the License at
4538c2ecf20Sopenharmony_ci     https://www.mozilla.org/MPL/
4548c2ecf20Sopenharmony_ci
4558c2ecf20Sopenharmony_ci     Software distributed under the License is distributed on an "AS IS"
4568c2ecf20Sopenharmony_ci     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
4578c2ecf20Sopenharmony_ci     License for the specific language governing rights and limitations
4588c2ecf20Sopenharmony_ci     under the License.
4598c2ecf20Sopenharmony_ci
4608c2ecf20Sopenharmony_ci     The Original Code is ______________________________________.
4618c2ecf20Sopenharmony_ci
4628c2ecf20Sopenharmony_ci     The Initial Developer of the Original Code is ________________________.
4638c2ecf20Sopenharmony_ci     Portions created by ______________________ are Copyright (C) ______
4648c2ecf20Sopenharmony_ci     _______________________. All Rights Reserved.
4658c2ecf20Sopenharmony_ci
4668c2ecf20Sopenharmony_ci     Contributor(s): ______________________________________.
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_ci     Alternatively, the contents of this file may be used under the terms
4698c2ecf20Sopenharmony_ci     of the _____ license (the  "[___] License"), in which case the
4708c2ecf20Sopenharmony_ci     provisions of [______] License are applicable instead of those
4718c2ecf20Sopenharmony_ci     above.  If you wish to allow use of your version of this file only
4728c2ecf20Sopenharmony_ci     under the terms of the [____] License and not to allow others to use
4738c2ecf20Sopenharmony_ci     your version of this file under the MPL, indicate your decision by
4748c2ecf20Sopenharmony_ci     deleting  the provisions above and replace  them with the notice and
4758c2ecf20Sopenharmony_ci     other provisions required by the [___] License.  If you do not delete
4768c2ecf20Sopenharmony_ci     the provisions above, a recipient may use your version of this file
4778c2ecf20Sopenharmony_ci     under either the MPL or the [___] License."
4788c2ecf20Sopenharmony_ci
4798c2ecf20Sopenharmony_ci     [NOTE: The text of this Exhibit A may differ slightly from the text of
4808c2ecf20Sopenharmony_ci     the notices in the Source Code files of the Original Code. You should
4818c2ecf20Sopenharmony_ci     use the text of this Exhibit A rather than the text found in the
4828c2ecf20Sopenharmony_ci     Original Code Source Code for Your Modifications.]
483