1cb93a386Sopenharmony_ciApache License 2cb93a386Sopenharmony_ci 3cb93a386Sopenharmony_ciVersion 2.0, January 2004 4cb93a386Sopenharmony_ci 5cb93a386Sopenharmony_cihttp://www.apache.org/licenses/ 6cb93a386Sopenharmony_ci 7cb93a386Sopenharmony_ciTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 8cb93a386Sopenharmony_ci 9cb93a386Sopenharmony_ci1. Definitions. 10cb93a386Sopenharmony_ci 11cb93a386Sopenharmony_ci"License" shall mean the terms and conditions for use, reproduction, and 12cb93a386Sopenharmony_cidistribution as defined by Sections 1 through 9 of this document. 13cb93a386Sopenharmony_ci 14cb93a386Sopenharmony_ci"Licensor" shall mean the copyright owner or entity authorized by the 15cb93a386Sopenharmony_cicopyright owner that is granting the License. 16cb93a386Sopenharmony_ci 17cb93a386Sopenharmony_ci"Legal Entity" shall mean the union of the acting entity and all other 18cb93a386Sopenharmony_cientities that control, are controlled by, or are under common control with 19cb93a386Sopenharmony_cithat entity. For the purposes of this definition, "control" means (i) the 20cb93a386Sopenharmony_cipower, direct or indirect, to cause the direction or management of such 21cb93a386Sopenharmony_cientity, whether by contract or otherwise, or (ii) ownership of fifty 22cb93a386Sopenharmony_cipercent (50%) or more of the outstanding shares, or (iii) beneficial 23cb93a386Sopenharmony_ciownership of such entity. 24cb93a386Sopenharmony_ci 25cb93a386Sopenharmony_ci"You" (or "Your") shall mean an individual or Legal Entity exercising 26cb93a386Sopenharmony_cipermissions granted by this License. 27cb93a386Sopenharmony_ci 28cb93a386Sopenharmony_ci"Source" form shall mean the preferred form for making modifications, 29cb93a386Sopenharmony_ciincluding but not limited to software source code, documentation 30cb93a386Sopenharmony_cisource, and configuration files. 31cb93a386Sopenharmony_ci 32cb93a386Sopenharmony_ci"Object" form shall mean any form resulting from mechanical transformation 33cb93a386Sopenharmony_cior translation of a Source form, including but not limited to compiled 34cb93a386Sopenharmony_ciobject code, generated documentation, and conversions to other media types. 35cb93a386Sopenharmony_ci 36cb93a386Sopenharmony_ci"Work" shall mean the work of authorship, whether in Source or Object 37cb93a386Sopenharmony_ciform, made available under the License, as indicated by a copyright 38cb93a386Sopenharmony_cinotice that is included in or attached to the work (an example is 39cb93a386Sopenharmony_ciprovided in the Appendix below). 40cb93a386Sopenharmony_ci 41cb93a386Sopenharmony_ci"Derivative Works" shall mean any work, whether in Source or Object 42cb93a386Sopenharmony_ciform, that is based on (or derived from) the Work and for which the 43cb93a386Sopenharmony_cieditorial revisions, annotations, elaborations, or other modifications 44cb93a386Sopenharmony_cirepresent, as a whole, an original work of authorship. For the purposes 45cb93a386Sopenharmony_ciof this License, Derivative Works shall not include works that remain 46cb93a386Sopenharmony_ciseparable from, or merely link (or bind by name) to the interfaces of, 47cb93a386Sopenharmony_cithe Work and Derivative Works thereof. 48cb93a386Sopenharmony_ci 49cb93a386Sopenharmony_ci"Contribution" shall mean any work of authorship, including the original 50cb93a386Sopenharmony_civersion of the Work and any modifications or additions to that Work or 51cb93a386Sopenharmony_ciDerivative Works thereof, that is intentionally submitted to Licensor 52cb93a386Sopenharmony_cifor inclusion in the Work by the copyright owner or by an individual or 53cb93a386Sopenharmony_ciLegal Entity authorized to submit on behalf of the copyright owner. For 54cb93a386Sopenharmony_cithe purposes of this definition, "submitted" means any form of electronic, 55cb93a386Sopenharmony_civerbal, or written communication sent to the Licensor or its 56cb93a386Sopenharmony_cirepresentatives, including but not limited to communication on electronic 57cb93a386Sopenharmony_cimailing lists, source code control systems, and issue tracking systems that 58cb93a386Sopenharmony_ciare managed by, or on behalf of, the Licensor for the purpose of discussing 59cb93a386Sopenharmony_ciand improving the Work, but excluding communication that is conspicuously 60cb93a386Sopenharmony_cimarked or otherwise designated in writing by the copyright owner as "Not 61cb93a386Sopenharmony_cia Contribution." 62cb93a386Sopenharmony_ci 63cb93a386Sopenharmony_ci"Contributor" shall mean Licensor and any individual or Legal Entity on 64cb93a386Sopenharmony_cibehalf of whom a Contribution has been received by Licensor and subsequently 65cb93a386Sopenharmony_ciincorporated within the Work. 66cb93a386Sopenharmony_ci 67cb93a386Sopenharmony_ci2. Grant of Copyright License. Subject to the terms and conditions of this 68cb93a386Sopenharmony_ciLicense, each Contributor hereby grants to You a perpetual, worldwide, 69cb93a386Sopenharmony_cinon-exclusive, no-charge, royalty-free, irrevocable copyright license to 70cb93a386Sopenharmony_cireproduce, prepare Derivative Works of, publicly display, publicly perform, 71cb93a386Sopenharmony_cisublicense, and distribute the Work and such Derivative Works in Source or 72cb93a386Sopenharmony_ciObject form. 73cb93a386Sopenharmony_ci 74cb93a386Sopenharmony_ci3. Grant of Patent License. Subject to the terms and conditions of this 75cb93a386Sopenharmony_ciLicense, each Contributor hereby grants to You a perpetual, worldwide, 76cb93a386Sopenharmony_cinon-exclusive, no-charge, royalty-free, irrevocable (except as stated in 77cb93a386Sopenharmony_cithis section) patent license to make, have made, use, offer to sell, sell, 78cb93a386Sopenharmony_ciimport, and otherwise transfer the Work, where such license applies only to 79cb93a386Sopenharmony_cithose patent claims licensable by such Contributor that are necessarily 80cb93a386Sopenharmony_ciinfringed by their Contribution(s) alone or by combination of their 81cb93a386Sopenharmony_ciContribution(s) with the Work to which such Contribution(s) was submitted. 82cb93a386Sopenharmony_ciIf You institute patent litigation against any entity (including a cross-claim 83cb93a386Sopenharmony_cior counterclaim in a lawsuit) alleging that the Work or a Contribution 84cb93a386Sopenharmony_ciincorporated within the Work constitutes direct or contributory patent 85cb93a386Sopenharmony_ciinfringement, then any patent licenses granted to You under this License 86cb93a386Sopenharmony_cifor that Work shall terminate as of the date such litigation is filed. 87cb93a386Sopenharmony_ci 88cb93a386Sopenharmony_ci4. Redistribution. You may reproduce and distribute copies of the Work or 89cb93a386Sopenharmony_ciDerivative Works thereof in any medium, with or without modifications, and 90cb93a386Sopenharmony_ciin Source or Object form, provided that You meet the following conditions: 91cb93a386Sopenharmony_ci 92cb93a386Sopenharmony_ciYou must give any other recipients of the Work or Derivative Works a copy of 93cb93a386Sopenharmony_cithis License; and 94cb93a386Sopenharmony_ciYou must cause any modified files to carry prominent notices stating that 95cb93a386Sopenharmony_ciYou changed the files; and 96cb93a386Sopenharmony_ciYou must retain, in the Source form of any Derivative Works that You 97cb93a386Sopenharmony_cidistribute, all copyright, patent, trademark, and attribution notices 98cb93a386Sopenharmony_cifrom the Source form of the Work, excluding those notices that do not 99cb93a386Sopenharmony_cipertain to any part of the Derivative Works; and 100cb93a386Sopenharmony_ciIf the Work includes a "NOTICE" text file as part of its distribution, 101cb93a386Sopenharmony_cithen any Derivative Works that You distribute must include a readable 102cb93a386Sopenharmony_cicopy of the attribution notices contained within such NOTICE file, excluding 103cb93a386Sopenharmony_cithose notices that do not pertain to any part of the Derivative Works, in 104cb93a386Sopenharmony_ciat least one of the following places: within a NOTICE text file distributed 105cb93a386Sopenharmony_cias part of the Derivative Works; within the Source form or documentation, if 106cb93a386Sopenharmony_ciprovided along with the Derivative Works; or, within a display generated by 107cb93a386Sopenharmony_cithe Derivative Works, if and wherever such third-party notices normally 108cb93a386Sopenharmony_ciappear. The contents of the NOTICE file are for informational purposes 109cb93a386Sopenharmony_cionly and do not modify the License. You may add Your own attribution 110cb93a386Sopenharmony_cinotices within Derivative Works that You distribute, alongside or as 111cb93a386Sopenharmony_cian addendum to the NOTICE text from the Work, provided that such additional 112cb93a386Sopenharmony_ciattribution notices cannot be construed as modifying the License. 113cb93a386Sopenharmony_ci 114cb93a386Sopenharmony_ciYou may add Your own copyright statement to Your modifications and may provide 115cb93a386Sopenharmony_ciadditional or different license terms and conditions for use, reproduction, or 116cb93a386Sopenharmony_cidistribution of Your modifications, or for any such Derivative Works as a 117cb93a386Sopenharmony_ciwhole, provided Your use, reproduction, and distribution of the Work otherwise 118cb93a386Sopenharmony_cicomplies with the conditions stated in this License. 119cb93a386Sopenharmony_ci5. Submission of Contributions. Unless You explicitly state otherwise, any 120cb93a386Sopenharmony_ciContribution intentionally submitted for inclusion in the Work by You to the 121cb93a386Sopenharmony_ciLicensor shall be under the terms and conditions of this License, without any 122cb93a386Sopenharmony_ciadditional terms or conditions. Notwithstanding the above, nothing herein 123cb93a386Sopenharmony_cishall supersede or modify the terms of any separate license agreement you 124cb93a386Sopenharmony_cimay have executed with Licensor regarding such Contributions. 125cb93a386Sopenharmony_ci 126cb93a386Sopenharmony_ci6. Trademarks. This License does not grant permission to use the trade names, 127cb93a386Sopenharmony_citrademarks, service marks, or product names of the Licensor, except as 128cb93a386Sopenharmony_cirequired for reasonable and customary use in describing the origin of the 129cb93a386Sopenharmony_ciWork and reproducing the content of the NOTICE file. 130cb93a386Sopenharmony_ci 131cb93a386Sopenharmony_ci7. Disclaimer of Warranty. Unless required by applicable law or agreed to 132cb93a386Sopenharmony_ciin writing, Licensor provides the Work (and each Contributor provides its 133cb93a386Sopenharmony_ciContributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 134cb93a386Sopenharmony_ciANY KIND, either express or implied, including, without limitation, any 135cb93a386Sopenharmony_ciwarranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or 136cb93a386Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining 137cb93a386Sopenharmony_cithe appropriateness of using or redistributing the Work and assume any risks 138cb93a386Sopenharmony_ciassociated with Your exercise of permissions under this License. 139cb93a386Sopenharmony_ci 140cb93a386Sopenharmony_ci8. Limitation of Liability. In no event and under no legal theory, whether in 141cb93a386Sopenharmony_citort (including negligence), contract, or otherwise, unless required by 142cb93a386Sopenharmony_ciapplicable law (such as deliberate and grossly negligent acts) or agreed to 143cb93a386Sopenharmony_ciin writing, shall any Contributor be liable to You for damages, including 144cb93a386Sopenharmony_ciany direct, indirect, special, incidental, or consequential damages of any 145cb93a386Sopenharmony_cicharacter arising as a result of this License or out of the use or inability 146cb93a386Sopenharmony_cito use the Work (including but not limited to damages for loss of goodwill, 147cb93a386Sopenharmony_ciwork stoppage, computer failure or malfunction, or any and all other 148cb93a386Sopenharmony_cicommercial damages or losses), even if such Contributor has been advised 149cb93a386Sopenharmony_ciof the possibility of such damages. 150cb93a386Sopenharmony_ci 151cb93a386Sopenharmony_ci9. Accepting Warranty or Additional Liability. While redistributing the 152cb93a386Sopenharmony_ciWork or Derivative Works thereof, You may choose to offer, and charge a 153cb93a386Sopenharmony_cifee for, acceptance of support, warranty, indemnity, or other liability 154cb93a386Sopenharmony_ciobligations and/or rights consistent with this License. However, in accepting 155cb93a386Sopenharmony_cisuch obligations, You may act only on Your own behalf and on Your sole 156cb93a386Sopenharmony_ciresponsibility, not on behalf of any other Contributor, and only if You 157cb93a386Sopenharmony_ciagree to indemnify, defend, and hold each Contributor harmless for any 158cb93a386Sopenharmony_ciliability incurred by, or claims asserted against, such Contributor by 159cb93a386Sopenharmony_cireason of your accepting any such warranty or additional liability. 160cb93a386Sopenharmony_ci 161cb93a386Sopenharmony_ciEND OF TERMS AND CONDITIONS