12f0d0f1aSopenharmony_ci                                 Apache License
22f0d0f1aSopenharmony_ci                           Version 2.0, January 2004
32f0d0f1aSopenharmony_ci                        http://www.apache.org/licenses/
42f0d0f1aSopenharmony_ci
52f0d0f1aSopenharmony_ci   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
62f0d0f1aSopenharmony_ci
72f0d0f1aSopenharmony_ci   1. Definitions.
82f0d0f1aSopenharmony_ci
92f0d0f1aSopenharmony_ci      "License" shall mean the terms and conditions for use, reproduction,
102f0d0f1aSopenharmony_ci      and distribution as defined by Sections 1 through 9 of this document.
112f0d0f1aSopenharmony_ci
122f0d0f1aSopenharmony_ci      "Licensor" shall mean the copyright owner or entity authorized by
132f0d0f1aSopenharmony_ci      the copyright owner that is granting the License.
142f0d0f1aSopenharmony_ci
152f0d0f1aSopenharmony_ci      "Legal Entity" shall mean the union of the acting entity and all
162f0d0f1aSopenharmony_ci      other entities that control, are controlled by, or are under common
172f0d0f1aSopenharmony_ci      control with that entity. For the purposes of this definition,
182f0d0f1aSopenharmony_ci      "control" means (i) the power, direct or indirect, to cause the
192f0d0f1aSopenharmony_ci      direction or management of such entity, whether by contract or
202f0d0f1aSopenharmony_ci      otherwise, or (ii) ownership of fifty percent (50%) or more of the
212f0d0f1aSopenharmony_ci      outstanding shares, or (iii) beneficial ownership of such entity.
222f0d0f1aSopenharmony_ci
232f0d0f1aSopenharmony_ci      "You" (or "Your") shall mean an individual or Legal Entity
242f0d0f1aSopenharmony_ci      exercising permissions granted by this License.
252f0d0f1aSopenharmony_ci
262f0d0f1aSopenharmony_ci      "Source" form shall mean the preferred form for making modifications,
272f0d0f1aSopenharmony_ci      including but not limited to software source code, documentation
282f0d0f1aSopenharmony_ci      source, and configuration files.
292f0d0f1aSopenharmony_ci
302f0d0f1aSopenharmony_ci      "Object" form shall mean any form resulting from mechanical
312f0d0f1aSopenharmony_ci      transformation or translation of a Source form, including but
322f0d0f1aSopenharmony_ci      not limited to compiled object code, generated documentation,
332f0d0f1aSopenharmony_ci      and conversions to other media types.
342f0d0f1aSopenharmony_ci
352f0d0f1aSopenharmony_ci      "Work" shall mean the work of authorship, whether in Source or
362f0d0f1aSopenharmony_ci      Object form, made available under the License, as indicated by a
372f0d0f1aSopenharmony_ci      copyright notice that is included in or attached to the work
382f0d0f1aSopenharmony_ci      (an example is provided in the Appendix below).
392f0d0f1aSopenharmony_ci
402f0d0f1aSopenharmony_ci      "Derivative Works" shall mean any work, whether in Source or Object
412f0d0f1aSopenharmony_ci      form, that is based on (or derived from) the Work and for which the
422f0d0f1aSopenharmony_ci      editorial revisions, annotations, elaborations, or other modifications
432f0d0f1aSopenharmony_ci      represent, as a whole, an original work of authorship. For the purposes
442f0d0f1aSopenharmony_ci      of this License, Derivative Works shall not include works that remain
452f0d0f1aSopenharmony_ci      separable from, or merely link (or bind by name) to the interfaces of,
462f0d0f1aSopenharmony_ci      the Work and Derivative Works thereof.
472f0d0f1aSopenharmony_ci
482f0d0f1aSopenharmony_ci      "Contribution" shall mean any work of authorship, including
492f0d0f1aSopenharmony_ci      the original version of the Work and any modifications or additions
502f0d0f1aSopenharmony_ci      to that Work or Derivative Works thereof, that is intentionally
512f0d0f1aSopenharmony_ci      submitted to Licensor for inclusion in the Work by the copyright owner
522f0d0f1aSopenharmony_ci      or by an individual or Legal Entity authorized to submit on behalf of
532f0d0f1aSopenharmony_ci      the copyright owner. For the purposes of this definition, "submitted"
542f0d0f1aSopenharmony_ci      means any form of electronic, verbal, or written communication sent
552f0d0f1aSopenharmony_ci      to the Licensor or its representatives, including but not limited to
562f0d0f1aSopenharmony_ci      communication on electronic mailing lists, source code control systems,
572f0d0f1aSopenharmony_ci      and issue tracking systems that are managed by, or on behalf of, the
582f0d0f1aSopenharmony_ci      Licensor for the purpose of discussing and improving the Work, but
592f0d0f1aSopenharmony_ci      excluding communication that is conspicuously marked or otherwise
602f0d0f1aSopenharmony_ci      designated in writing by the copyright owner as "Not a Contribution."
612f0d0f1aSopenharmony_ci
622f0d0f1aSopenharmony_ci      "Contributor" shall mean Licensor and any individual or Legal Entity
632f0d0f1aSopenharmony_ci      on behalf of whom a Contribution has been received by Licensor and
642f0d0f1aSopenharmony_ci      subsequently incorporated within the Work.
652f0d0f1aSopenharmony_ci
662f0d0f1aSopenharmony_ci   2. Grant of Copyright License. Subject to the terms and conditions of
672f0d0f1aSopenharmony_ci      this License, each Contributor hereby grants to You a perpetual,
682f0d0f1aSopenharmony_ci      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
692f0d0f1aSopenharmony_ci      copyright license to reproduce, prepare Derivative Works of,
702f0d0f1aSopenharmony_ci      publicly display, publicly perform, sublicense, and distribute the
712f0d0f1aSopenharmony_ci      Work and such Derivative Works in Source or Object form.
722f0d0f1aSopenharmony_ci
732f0d0f1aSopenharmony_ci   3. Grant of Patent License. Subject to the terms and conditions of
742f0d0f1aSopenharmony_ci      this License, each Contributor hereby grants to You a perpetual,
752f0d0f1aSopenharmony_ci      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
762f0d0f1aSopenharmony_ci      (except as stated in this section) patent license to make, have made,
772f0d0f1aSopenharmony_ci      use, offer to sell, sell, import, and otherwise transfer the Work,
782f0d0f1aSopenharmony_ci      where such license applies only to those patent claims licensable
792f0d0f1aSopenharmony_ci      by such Contributor that are necessarily infringed by their
802f0d0f1aSopenharmony_ci      Contribution(s) alone or by combination of their Contribution(s)
812f0d0f1aSopenharmony_ci      with the Work to which such Contribution(s) was submitted. If You
822f0d0f1aSopenharmony_ci      institute patent litigation against any entity (including a
832f0d0f1aSopenharmony_ci      cross-claim or counterclaim in a lawsuit) alleging that the Work
842f0d0f1aSopenharmony_ci      or a Contribution incorporated within the Work constitutes direct
852f0d0f1aSopenharmony_ci      or contributory patent infringement, then any patent licenses
862f0d0f1aSopenharmony_ci      granted to You under this License for that Work shall terminate
872f0d0f1aSopenharmony_ci      as of the date such litigation is filed.
882f0d0f1aSopenharmony_ci
892f0d0f1aSopenharmony_ci   4. Redistribution. You may reproduce and distribute copies of the
902f0d0f1aSopenharmony_ci      Work or Derivative Works thereof in any medium, with or without
912f0d0f1aSopenharmony_ci      modifications, and in Source or Object form, provided that You
922f0d0f1aSopenharmony_ci      meet the following conditions:
932f0d0f1aSopenharmony_ci
942f0d0f1aSopenharmony_ci      (a) You must give any other recipients of the Work or
952f0d0f1aSopenharmony_ci          Derivative Works a copy of this License; and
962f0d0f1aSopenharmony_ci
972f0d0f1aSopenharmony_ci      (b) You must cause any modified files to carry prominent notices
982f0d0f1aSopenharmony_ci          stating that You changed the files; and
992f0d0f1aSopenharmony_ci
1002f0d0f1aSopenharmony_ci      (c) You must retain, in the Source form of any Derivative Works
1012f0d0f1aSopenharmony_ci          that You distribute, all copyright, patent, trademark, and
1022f0d0f1aSopenharmony_ci          attribution notices from the Source form of the Work,
1032f0d0f1aSopenharmony_ci          excluding those notices that do not pertain to any part of
1042f0d0f1aSopenharmony_ci          the Derivative Works; and
1052f0d0f1aSopenharmony_ci
1062f0d0f1aSopenharmony_ci      (d) If the Work includes a "NOTICE" text file as part of its
1072f0d0f1aSopenharmony_ci          distribution, then any Derivative Works that You distribute must
1082f0d0f1aSopenharmony_ci          include a readable copy of the attribution notices contained
1092f0d0f1aSopenharmony_ci          within such NOTICE file, excluding those notices that do not
1102f0d0f1aSopenharmony_ci          pertain to any part of the Derivative Works, in at least one
1112f0d0f1aSopenharmony_ci          of the following places: within a NOTICE text file distributed
1122f0d0f1aSopenharmony_ci          as part of the Derivative Works; within the Source form or
1132f0d0f1aSopenharmony_ci          documentation, if provided along with the Derivative Works; or,
1142f0d0f1aSopenharmony_ci          within a display generated by the Derivative Works, if and
1152f0d0f1aSopenharmony_ci          wherever such third-party notices normally appear. The contents
1162f0d0f1aSopenharmony_ci          of the NOTICE file are for informational purposes only and
1172f0d0f1aSopenharmony_ci          do not modify the License. You may add Your own attribution
1182f0d0f1aSopenharmony_ci          notices within Derivative Works that You distribute, alongside
1192f0d0f1aSopenharmony_ci          or as an addendum to the NOTICE text from the Work, provided
1202f0d0f1aSopenharmony_ci          that such additional attribution notices cannot be construed
1212f0d0f1aSopenharmony_ci          as modifying the License.
1222f0d0f1aSopenharmony_ci
1232f0d0f1aSopenharmony_ci      You may add Your own copyright statement to Your modifications and
1242f0d0f1aSopenharmony_ci      may provide additional or different license terms and conditions
1252f0d0f1aSopenharmony_ci      for use, reproduction, or distribution of Your modifications, or
1262f0d0f1aSopenharmony_ci      for any such Derivative Works as a whole, provided Your use,
1272f0d0f1aSopenharmony_ci      reproduction, and distribution of the Work otherwise complies with
1282f0d0f1aSopenharmony_ci      the conditions stated in this License.
1292f0d0f1aSopenharmony_ci
1302f0d0f1aSopenharmony_ci   5. Submission of Contributions. Unless You explicitly state otherwise,
1312f0d0f1aSopenharmony_ci      any Contribution intentionally submitted for inclusion in the Work
1322f0d0f1aSopenharmony_ci      by You to the Licensor shall be under the terms and conditions of
1332f0d0f1aSopenharmony_ci      this License, without any additional terms or conditions.
1342f0d0f1aSopenharmony_ci      Notwithstanding the above, nothing herein shall supersede or modify
1352f0d0f1aSopenharmony_ci      the terms of any separate license agreement you may have executed
1362f0d0f1aSopenharmony_ci      with Licensor regarding such Contributions.
1372f0d0f1aSopenharmony_ci
1382f0d0f1aSopenharmony_ci   6. Trademarks. This License does not grant permission to use the trade
1392f0d0f1aSopenharmony_ci      names, trademarks, service marks, or product names of the Licensor,
1402f0d0f1aSopenharmony_ci      except as required for reasonable and customary use in describing the
1412f0d0f1aSopenharmony_ci      origin of the Work and reproducing the content of the NOTICE file.
1422f0d0f1aSopenharmony_ci
1432f0d0f1aSopenharmony_ci   7. Disclaimer of Warranty. Unless required by applicable law or
1442f0d0f1aSopenharmony_ci      agreed to in writing, Licensor provides the Work (and each
1452f0d0f1aSopenharmony_ci      Contributor provides its Contributions) on an "AS IS" BASIS,
1462f0d0f1aSopenharmony_ci      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1472f0d0f1aSopenharmony_ci      implied, including, without limitation, any warranties or conditions
1482f0d0f1aSopenharmony_ci      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1492f0d0f1aSopenharmony_ci      PARTICULAR PURPOSE. You are solely responsible for determining the
1502f0d0f1aSopenharmony_ci      appropriateness of using or redistributing the Work and assume any
1512f0d0f1aSopenharmony_ci      risks associated with Your exercise of permissions under this License.
1522f0d0f1aSopenharmony_ci
1532f0d0f1aSopenharmony_ci   8. Limitation of Liability. In no event and under no legal theory,
1542f0d0f1aSopenharmony_ci      whether in tort (including negligence), contract, or otherwise,
1552f0d0f1aSopenharmony_ci      unless required by applicable law (such as deliberate and grossly
1562f0d0f1aSopenharmony_ci      negligent acts) or agreed to in writing, shall any Contributor be
1572f0d0f1aSopenharmony_ci      liable to You for damages, including any direct, indirect, special,
1582f0d0f1aSopenharmony_ci      incidental, or consequential damages of any character arising as a
1592f0d0f1aSopenharmony_ci      result of this License or out of the use or inability to use the
1602f0d0f1aSopenharmony_ci      Work (including but not limited to damages for loss of goodwill,
1612f0d0f1aSopenharmony_ci      work stoppage, computer failure or malfunction, or any and all
1622f0d0f1aSopenharmony_ci      other commercial damages or losses), even if such Contributor
1632f0d0f1aSopenharmony_ci      has been advised of the possibility of such damages.
1642f0d0f1aSopenharmony_ci
1652f0d0f1aSopenharmony_ci   9. Accepting Warranty or Additional Liability. While redistributing
1662f0d0f1aSopenharmony_ci      the Work or Derivative Works thereof, You may choose to offer,
1672f0d0f1aSopenharmony_ci      and charge a fee for, acceptance of support, warranty, indemnity,
1682f0d0f1aSopenharmony_ci      or other liability obligations and/or rights consistent with this
1692f0d0f1aSopenharmony_ci      License. However, in accepting such obligations, You may act only
1702f0d0f1aSopenharmony_ci      on Your own behalf and on Your sole responsibility, not on behalf
1712f0d0f1aSopenharmony_ci      of any other Contributor, and only if You agree to indemnify,
1722f0d0f1aSopenharmony_ci      defend, and hold each Contributor harmless for any liability
1732f0d0f1aSopenharmony_ci      incurred by, or claims asserted against, such Contributor by reason
1742f0d0f1aSopenharmony_ci      of your accepting any such warranty or additional liability.
1752f0d0f1aSopenharmony_ci
1762f0d0f1aSopenharmony_ci   END OF TERMS AND CONDITIONS
1772f0d0f1aSopenharmony_ci
1782f0d0f1aSopenharmony_ci   APPENDIX: How to apply the Apache License to your work.
1792f0d0f1aSopenharmony_ci
1802f0d0f1aSopenharmony_ci      To apply the Apache License to your work, attach the following
1812f0d0f1aSopenharmony_ci      boilerplate notice, with the fields enclosed by brackets "[]"
1822f0d0f1aSopenharmony_ci      replaced with your own identifying information. (Don't include
1832f0d0f1aSopenharmony_ci      the brackets!)  The text should be enclosed in the appropriate
1842f0d0f1aSopenharmony_ci      comment syntax for the file format. We also recommend that a
1852f0d0f1aSopenharmony_ci      file or class name and description of purpose be included on the
1862f0d0f1aSopenharmony_ci      same "printed page" as the copyright notice for easier
1872f0d0f1aSopenharmony_ci      identification within third-party archives.
1882f0d0f1aSopenharmony_ci
1892f0d0f1aSopenharmony_ci   Copyright [yyyy] [name of copyright owner]
1902f0d0f1aSopenharmony_ci
1912f0d0f1aSopenharmony_ci   Licensed under the Apache License, Version 2.0 (the "License");
1922f0d0f1aSopenharmony_ci   you may not use this file except in compliance with the License.
1932f0d0f1aSopenharmony_ci   You may obtain a copy of the License at
1942f0d0f1aSopenharmony_ci
1952f0d0f1aSopenharmony_ci       http://www.apache.org/licenses/LICENSE-2.0
1962f0d0f1aSopenharmony_ci
1972f0d0f1aSopenharmony_ci   Unless required by applicable law or agreed to in writing, software
1982f0d0f1aSopenharmony_ci   distributed under the License is distributed on an "AS IS" BASIS,
1992f0d0f1aSopenharmony_ci   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2002f0d0f1aSopenharmony_ci   See the License for the specific language governing permissions and
2012f0d0f1aSopenharmony_ci   limitations under the License.
202