1d6aed566Sopenharmony_ciApache License 2d6aed566Sopenharmony_ciVersion 2.0, January 2004 3d6aed566Sopenharmony_cihttp://www.apache.org/licenses/ 4d6aed566Sopenharmony_ci 5d6aed566Sopenharmony_ciTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6d6aed566Sopenharmony_ci 7d6aed566Sopenharmony_ci1. Definitions. 8d6aed566Sopenharmony_ci 9d6aed566Sopenharmony_ci"License" shall mean the terms and conditions for use, reproduction, and 10d6aed566Sopenharmony_cidistribution as defined by Sections 1 through 9 of this document. 11d6aed566Sopenharmony_ci 12d6aed566Sopenharmony_ci"Licensor" shall mean the copyright owner or entity authorized by the copyright 13d6aed566Sopenharmony_ciowner that is granting the License. 14d6aed566Sopenharmony_ci 15d6aed566Sopenharmony_ci"Legal Entity" shall mean the union of the acting entity and all other entities 16d6aed566Sopenharmony_cithat control, are controlled by, or are under common control with that entity. 17d6aed566Sopenharmony_ciFor the purposes of this definition, "control" means (i) the power, direct or 18d6aed566Sopenharmony_ciindirect, to cause the direction or management of such entity, whether by 19d6aed566Sopenharmony_cicontract or otherwise, or (ii) ownership of fifty percent (50%) or more of the 20d6aed566Sopenharmony_cioutstanding shares, or (iii) beneficial ownership of such entity. 21d6aed566Sopenharmony_ci 22d6aed566Sopenharmony_ci"You" (or "Your") shall mean an individual or Legal Entity exercising 23d6aed566Sopenharmony_cipermissions granted by this License. 24d6aed566Sopenharmony_ci 25d6aed566Sopenharmony_ci"Source" form shall mean the preferred form for making modifications, including 26d6aed566Sopenharmony_cibut not limited to software source code, documentation source, and configuration 27d6aed566Sopenharmony_cifiles. 28d6aed566Sopenharmony_ci 29d6aed566Sopenharmony_ci"Object" form shall mean any form resulting from mechanical transformation or 30d6aed566Sopenharmony_citranslation of a Source form, including but not limited to compiled object code, 31d6aed566Sopenharmony_cigenerated documentation, and conversions to other media types. 32d6aed566Sopenharmony_ci 33d6aed566Sopenharmony_ci"Work" shall mean the work of authorship, whether in Source or Object form, made 34d6aed566Sopenharmony_ciavailable under the License, as indicated by a copyright notice that is included 35d6aed566Sopenharmony_ciin or attached to the work (an example is provided in the Appendix below). 36d6aed566Sopenharmony_ci 37d6aed566Sopenharmony_ci"Derivative Works" shall mean any work, whether in Source or Object form, that 38d6aed566Sopenharmony_ciis based on (or derived from) the Work and for which the editorial revisions, 39d6aed566Sopenharmony_ciannotations, elaborations, or other modifications represent, as a whole, an 40d6aed566Sopenharmony_cioriginal work of authorship. For the purposes of this License, Derivative Works 41d6aed566Sopenharmony_cishall not include works that remain separable from, or merely link (or bind by 42d6aed566Sopenharmony_ciname) to the interfaces of, the Work and Derivative Works thereof. 43d6aed566Sopenharmony_ci 44d6aed566Sopenharmony_ci"Contribution" shall mean any work of authorship, including the original version 45d6aed566Sopenharmony_ciof the Work and any modifications or additions to that Work or Derivative Works 46d6aed566Sopenharmony_cithereof, that is intentionally submitted to Licensor for inclusion in the Work 47d6aed566Sopenharmony_ciby the copyright owner or by an individual or Legal Entity authorized to submit 48d6aed566Sopenharmony_cion behalf of the copyright owner. For the purposes of this definition, 49d6aed566Sopenharmony_ci"submitted" means any form of electronic, verbal, or written communication sent 50d6aed566Sopenharmony_cito the Licensor or its representatives, including but not limited to 51d6aed566Sopenharmony_cicommunication on electronic mailing lists, source code control systems, and 52d6aed566Sopenharmony_ciissue tracking systems that are managed by, or on behalf of, the Licensor for 53d6aed566Sopenharmony_cithe purpose of discussing and improving the Work, but excluding communication 54d6aed566Sopenharmony_cithat is conspicuously marked or otherwise designated in writing by the copyright 55d6aed566Sopenharmony_ciowner as "Not a Contribution." 56d6aed566Sopenharmony_ci 57d6aed566Sopenharmony_ci"Contributor" shall mean Licensor and any individual or Legal Entity on behalf 58d6aed566Sopenharmony_ciof whom a Contribution has been received by Licensor and subsequently 59d6aed566Sopenharmony_ciincorporated within the Work. 60d6aed566Sopenharmony_ci 61d6aed566Sopenharmony_ci2. Grant of Copyright License. 62d6aed566Sopenharmony_ci 63d6aed566Sopenharmony_ciSubject to the terms and conditions of this License, each Contributor hereby 64d6aed566Sopenharmony_cigrants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, 65d6aed566Sopenharmony_ciirrevocable copyright license to reproduce, prepare Derivative Works of, 66d6aed566Sopenharmony_cipublicly display, publicly perform, sublicense, and distribute the Work and such 67d6aed566Sopenharmony_ciDerivative Works in Source or Object form. 68d6aed566Sopenharmony_ci 69d6aed566Sopenharmony_ci3. Grant of Patent License. 70d6aed566Sopenharmony_ci 71d6aed566Sopenharmony_ciSubject to the terms and conditions of this License, each Contributor hereby 72d6aed566Sopenharmony_cigrants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, 73d6aed566Sopenharmony_ciirrevocable (except as stated in this section) patent license to make, have 74d6aed566Sopenharmony_cimade, use, offer to sell, sell, import, and otherwise transfer the Work, where 75d6aed566Sopenharmony_cisuch license applies only to those patent claims licensable by such Contributor 76d6aed566Sopenharmony_cithat are necessarily infringed by their Contribution(s) alone or by combination 77d6aed566Sopenharmony_ciof their Contribution(s) with the Work to which such Contribution(s) was 78d6aed566Sopenharmony_cisubmitted. If You institute patent litigation against any entity (including a 79d6aed566Sopenharmony_cicross-claim or counterclaim in a lawsuit) alleging that the Work or a 80d6aed566Sopenharmony_ciContribution incorporated within the Work constitutes direct or contributory 81d6aed566Sopenharmony_cipatent infringement, then any patent licenses granted to You under this License 82d6aed566Sopenharmony_cifor that Work shall terminate as of the date such litigation is filed. 83d6aed566Sopenharmony_ci 84d6aed566Sopenharmony_ci4. Redistribution. 85d6aed566Sopenharmony_ci 86d6aed566Sopenharmony_ciYou may reproduce and distribute copies of the Work or Derivative Works thereof 87d6aed566Sopenharmony_ciin any medium, with or without modifications, and in Source or Object form, 88d6aed566Sopenharmony_ciprovided that You meet the following conditions: 89d6aed566Sopenharmony_ci 90d6aed566Sopenharmony_ciYou must give any other recipients of the Work or Derivative Works a copy of 91d6aed566Sopenharmony_cithis License; and 92d6aed566Sopenharmony_ciYou must cause any modified files to carry prominent notices stating that You 93d6aed566Sopenharmony_cichanged the files; and 94d6aed566Sopenharmony_ciYou must retain, in the Source form of any Derivative Works that You distribute, 95d6aed566Sopenharmony_ciall copyright, patent, trademark, and attribution notices from the Source form 96d6aed566Sopenharmony_ciof the Work, excluding those notices that do not pertain to any part of the 97d6aed566Sopenharmony_ciDerivative Works; and 98d6aed566Sopenharmony_ciIf the Work includes a "NOTICE" text file as part of its distribution, then any 99d6aed566Sopenharmony_ciDerivative Works that You distribute must include a readable copy of the 100d6aed566Sopenharmony_ciattribution notices contained within such NOTICE file, excluding those notices 101d6aed566Sopenharmony_cithat do not pertain to any part of the Derivative Works, in at least one of the 102d6aed566Sopenharmony_cifollowing places: within a NOTICE text file distributed as part of the 103d6aed566Sopenharmony_ciDerivative Works; within the Source form or documentation, if provided along 104d6aed566Sopenharmony_ciwith the Derivative Works; or, within a display generated by the Derivative 105d6aed566Sopenharmony_ciWorks, if and wherever such third-party notices normally appear. The contents of 106d6aed566Sopenharmony_cithe NOTICE file are for informational purposes only and do not modify the 107d6aed566Sopenharmony_ciLicense. You may add Your own attribution notices within Derivative Works that 108d6aed566Sopenharmony_ciYou distribute, alongside or as an addendum to the NOTICE text from the Work, 109d6aed566Sopenharmony_ciprovided that such additional attribution notices cannot be construed as 110d6aed566Sopenharmony_cimodifying the License. 111d6aed566Sopenharmony_ciYou may add Your own copyright statement to Your modifications and may provide 112d6aed566Sopenharmony_ciadditional or different license terms and conditions for use, reproduction, or 113d6aed566Sopenharmony_cidistribution of Your modifications, or for any such Derivative Works as a whole, 114d6aed566Sopenharmony_ciprovided Your use, reproduction, and distribution of the Work otherwise complies 115d6aed566Sopenharmony_ciwith the conditions stated in this License. 116d6aed566Sopenharmony_ci 117d6aed566Sopenharmony_ci5. Submission of Contributions. 118d6aed566Sopenharmony_ci 119d6aed566Sopenharmony_ciUnless You explicitly state otherwise, any Contribution intentionally submitted 120d6aed566Sopenharmony_cifor inclusion in the Work by You to the Licensor shall be under the terms and 121d6aed566Sopenharmony_ciconditions of this License, without any additional terms or conditions. 122d6aed566Sopenharmony_ciNotwithstanding the above, nothing herein shall supersede or modify the terms of 123d6aed566Sopenharmony_ciany separate license agreement you may have executed with Licensor regarding 124d6aed566Sopenharmony_cisuch Contributions. 125d6aed566Sopenharmony_ci 126d6aed566Sopenharmony_ci6. Trademarks. 127d6aed566Sopenharmony_ci 128d6aed566Sopenharmony_ciThis License does not grant permission to use the trade names, trademarks, 129d6aed566Sopenharmony_ciservice marks, or product names of the Licensor, except as required for 130d6aed566Sopenharmony_cireasonable and customary use in describing the origin of the Work and 131d6aed566Sopenharmony_cireproducing the content of the NOTICE file. 132d6aed566Sopenharmony_ci 133d6aed566Sopenharmony_ci7. Disclaimer of Warranty. 134d6aed566Sopenharmony_ci 135d6aed566Sopenharmony_ciUnless required by applicable law or agreed to in writing, Licensor provides the 136d6aed566Sopenharmony_ciWork (and each Contributor provides its Contributions) on an "AS IS" BASIS, 137d6aed566Sopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, 138d6aed566Sopenharmony_ciincluding, without limitation, any warranties or conditions of TITLE, 139d6aed566Sopenharmony_ciNON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are 140d6aed566Sopenharmony_cisolely responsible for determining the appropriateness of using or 141d6aed566Sopenharmony_ciredistributing the Work and assume any risks associated with Your exercise of 142d6aed566Sopenharmony_cipermissions under this License. 143d6aed566Sopenharmony_ci 144d6aed566Sopenharmony_ci8. Limitation of Liability. 145d6aed566Sopenharmony_ci 146d6aed566Sopenharmony_ciIn no event and under no legal theory, whether in tort (including negligence), 147d6aed566Sopenharmony_cicontract, or otherwise, unless required by applicable law (such as deliberate 148d6aed566Sopenharmony_ciand grossly negligent acts) or agreed to in writing, shall any Contributor be 149d6aed566Sopenharmony_ciliable to You for damages, including any direct, indirect, special, incidental, 150d6aed566Sopenharmony_cior consequential damages of any character arising as a result of this License or 151d6aed566Sopenharmony_ciout of the use or inability to use the Work (including but not limited to 152d6aed566Sopenharmony_cidamages for loss of goodwill, work stoppage, computer failure or malfunction, or 153d6aed566Sopenharmony_ciany and all other commercial damages or losses), even if such Contributor has 154d6aed566Sopenharmony_cibeen advised of the possibility of such damages. 155d6aed566Sopenharmony_ci 156d6aed566Sopenharmony_ci9. Accepting Warranty or Additional Liability. 157d6aed566Sopenharmony_ci 158d6aed566Sopenharmony_ciWhile redistributing the Work or Derivative Works thereof, You may choose to 159d6aed566Sopenharmony_cioffer, and charge a fee for, acceptance of support, warranty, indemnity, or 160d6aed566Sopenharmony_ciother liability obligations and/or rights consistent with this License. However, 161d6aed566Sopenharmony_ciin accepting such obligations, You may act only on Your own behalf and on Your 162d6aed566Sopenharmony_cisole responsibility, not on behalf of any other Contributor, and only if You 163d6aed566Sopenharmony_ciagree to indemnify, defend, and hold each Contributor harmless for any liability 164d6aed566Sopenharmony_ciincurred by, or claims asserted against, such Contributor by reason of your 165d6aed566Sopenharmony_ciaccepting any such warranty or additional liability.