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