14669f6dcSopenharmony_ci                              Apache License
24669f6dcSopenharmony_ci                        Version 2.0, January 2004
34669f6dcSopenharmony_ci                     http://www.apache.org/licenses/
44669f6dcSopenharmony_ci
54669f6dcSopenharmony_ciTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
64669f6dcSopenharmony_ci
74669f6dcSopenharmony_ci1. Definitions.
84669f6dcSopenharmony_ci
94669f6dcSopenharmony_ci   "License" shall mean the terms and conditions for use, reproduction,
104669f6dcSopenharmony_ci   and distribution as defined by Sections 1 through 9 of this document.
114669f6dcSopenharmony_ci
124669f6dcSopenharmony_ci   "Licensor" shall mean the copyright owner or entity authorized by
134669f6dcSopenharmony_ci   the copyright owner that is granting the License.
144669f6dcSopenharmony_ci
154669f6dcSopenharmony_ci   "Legal Entity" shall mean the union of the acting entity and all
164669f6dcSopenharmony_ci   other entities that control, are controlled by, or are under common
174669f6dcSopenharmony_ci   control with that entity. For the purposes of this definition,
184669f6dcSopenharmony_ci   "control" means (i) the power, direct or indirect, to cause the
194669f6dcSopenharmony_ci   direction or management of such entity, whether by contract or
204669f6dcSopenharmony_ci   otherwise, or (ii) ownership of fifty percent (50%) or more of the
214669f6dcSopenharmony_ci   outstanding shares, or (iii) beneficial ownership of such entity.
224669f6dcSopenharmony_ci
234669f6dcSopenharmony_ci   "You" (or "Your") shall mean an individual or Legal Entity
244669f6dcSopenharmony_ci   exercising permissions granted by this License.
254669f6dcSopenharmony_ci
264669f6dcSopenharmony_ci   "Source" form shall mean the preferred form for making modifications,
274669f6dcSopenharmony_ci   including but not limited to software source code, documentation
284669f6dcSopenharmony_ci   source, and configuration files.
294669f6dcSopenharmony_ci
304669f6dcSopenharmony_ci   "Object" form shall mean any form resulting from mechanical
314669f6dcSopenharmony_ci   transformation or translation of a Source form, including but
324669f6dcSopenharmony_ci   not limited to compiled object code, generated documentation,
334669f6dcSopenharmony_ci   and conversions to other media types.
344669f6dcSopenharmony_ci
354669f6dcSopenharmony_ci   "Work" shall mean the work of authorship, whether in Source or
364669f6dcSopenharmony_ci   Object form, made available under the License, as indicated by a
374669f6dcSopenharmony_ci   copyright notice that is included in or attached to the work
384669f6dcSopenharmony_ci   (an example is provided in the Appendix below).
394669f6dcSopenharmony_ci
404669f6dcSopenharmony_ci   "Derivative Works" shall mean any work, whether in Source or Object
414669f6dcSopenharmony_ci   form, that is based on (or derived from) the Work and for which the
424669f6dcSopenharmony_ci   editorial revisions, annotations, elaborations, or other modifications
434669f6dcSopenharmony_ci   represent, as a whole, an original work of authorship. For the purposes
444669f6dcSopenharmony_ci   of this License, Derivative Works shall not include works that remain
454669f6dcSopenharmony_ci   separable from, or merely link (or bind by name) to the interfaces of,
464669f6dcSopenharmony_ci   the Work and Derivative Works thereof.
474669f6dcSopenharmony_ci
484669f6dcSopenharmony_ci   "Contribution" shall mean any work of authorship, including
494669f6dcSopenharmony_ci   the original version of the Work and any modifications or additions
504669f6dcSopenharmony_ci   to that Work or Derivative Works thereof, that is intentionally
514669f6dcSopenharmony_ci   submitted to Licensor for inclusion in the Work by the copyright owner
524669f6dcSopenharmony_ci   or by an individual or Legal Entity authorized to submit on behalf of
534669f6dcSopenharmony_ci   the copyright owner. For the purposes of this definition, "submitted"
544669f6dcSopenharmony_ci   means any form of electronic, verbal, or written communication sent
554669f6dcSopenharmony_ci   to the Licensor or its representatives, including but not limited to
564669f6dcSopenharmony_ci   communication on electronic mailing lists, source code control systems,
574669f6dcSopenharmony_ci   and issue tracking systems that are managed by, or on behalf of, the
584669f6dcSopenharmony_ci   Licensor for the purpose of discussing and improving the Work, but
594669f6dcSopenharmony_ci   excluding communication that is conspicuously marked or otherwise
604669f6dcSopenharmony_ci   designated in writing by the copyright owner as "Not a Contribution."
614669f6dcSopenharmony_ci
624669f6dcSopenharmony_ci   "Contributor" shall mean Licensor and any individual or Legal Entity
634669f6dcSopenharmony_ci   on behalf of whom a Contribution has been received by Licensor and
644669f6dcSopenharmony_ci   subsequently incorporated within the Work.
654669f6dcSopenharmony_ci
664669f6dcSopenharmony_ci2. Grant of Copyright License. Subject to the terms and conditions of
674669f6dcSopenharmony_ci   this License, each Contributor hereby grants to You a perpetual,
684669f6dcSopenharmony_ci   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
694669f6dcSopenharmony_ci   copyright license to reproduce, prepare Derivative Works of,
704669f6dcSopenharmony_ci   publicly display, publicly perform, sublicense, and distribute the
714669f6dcSopenharmony_ci   Work and such Derivative Works in Source or Object form.
724669f6dcSopenharmony_ci
734669f6dcSopenharmony_ci3. Grant of Patent License. Subject to the terms and conditions of
744669f6dcSopenharmony_ci   this License, each Contributor hereby grants to You a perpetual,
754669f6dcSopenharmony_ci   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
764669f6dcSopenharmony_ci   (except as stated in this section) patent license to make, have made,
774669f6dcSopenharmony_ci   use, offer to sell, sell, import, and otherwise transfer the Work,
784669f6dcSopenharmony_ci   where such license applies only to those patent claims licensable
794669f6dcSopenharmony_ci   by such Contributor that are necessarily infringed by their
804669f6dcSopenharmony_ci   Contribution(s) alone or by combination of their Contribution(s)
814669f6dcSopenharmony_ci   with the Work to which such Contribution(s) was submitted. If You
824669f6dcSopenharmony_ci   institute patent litigation against any entity (including a
834669f6dcSopenharmony_ci   cross-claim or counterclaim in a lawsuit) alleging that the Work
844669f6dcSopenharmony_ci   or a Contribution incorporated within the Work constitutes direct
854669f6dcSopenharmony_ci   or contributory patent infringement, then any patent licenses
864669f6dcSopenharmony_ci   granted to You under this License for that Work shall terminate
874669f6dcSopenharmony_ci   as of the date such litigation is filed.
884669f6dcSopenharmony_ci
894669f6dcSopenharmony_ci4. Redistribution. You may reproduce and distribute copies of the
904669f6dcSopenharmony_ci   Work or Derivative Works thereof in any medium, with or without
914669f6dcSopenharmony_ci   modifications, and in Source or Object form, provided that You
924669f6dcSopenharmony_ci   meet the following conditions:
934669f6dcSopenharmony_ci
944669f6dcSopenharmony_ci   (a) You must give any other recipients of the Work or
954669f6dcSopenharmony_ci       Derivative Works a copy of this License; and
964669f6dcSopenharmony_ci
974669f6dcSopenharmony_ci   (b) You must cause any modified files to carry prominent notices
984669f6dcSopenharmony_ci       stating that You changed the files; and
994669f6dcSopenharmony_ci
1004669f6dcSopenharmony_ci   (c) You must retain, in the Source form of any Derivative Works
1014669f6dcSopenharmony_ci       that You distribute, all copyright, patent, trademark, and
1024669f6dcSopenharmony_ci       attribution notices from the Source form of the Work,
1034669f6dcSopenharmony_ci       excluding those notices that do not pertain to any part of
1044669f6dcSopenharmony_ci       the Derivative Works; and
1054669f6dcSopenharmony_ci
1064669f6dcSopenharmony_ci   (d) If the Work includes a "NOTICE" text file as part of its
1074669f6dcSopenharmony_ci       distribution, then any Derivative Works that You distribute must
1084669f6dcSopenharmony_ci       include a readable copy of the attribution notices contained
1094669f6dcSopenharmony_ci       within such NOTICE file, excluding those notices that do not
1104669f6dcSopenharmony_ci       pertain to any part of the Derivative Works, in at least one
1114669f6dcSopenharmony_ci       of the following places: within a NOTICE text file distributed
1124669f6dcSopenharmony_ci       as part of the Derivative Works; within the Source form or
1134669f6dcSopenharmony_ci       documentation, if provided along with the Derivative Works; or,
1144669f6dcSopenharmony_ci       within a display generated by the Derivative Works, if and
1154669f6dcSopenharmony_ci       wherever such third-party notices normally appear. The contents
1164669f6dcSopenharmony_ci       of the NOTICE file are for informational purposes only and
1174669f6dcSopenharmony_ci       do not modify the License. You may add Your own attribution
1184669f6dcSopenharmony_ci       notices within Derivative Works that You distribute, alongside
1194669f6dcSopenharmony_ci       or as an addendum to the NOTICE text from the Work, provided
1204669f6dcSopenharmony_ci       that such additional attribution notices cannot be construed
1214669f6dcSopenharmony_ci       as modifying the License.
1224669f6dcSopenharmony_ci
1234669f6dcSopenharmony_ci   You may add Your own copyright statement to Your modifications and
1244669f6dcSopenharmony_ci   may provide additional or different license terms and conditions
1254669f6dcSopenharmony_ci   for use, reproduction, or distribution of Your modifications, or
1264669f6dcSopenharmony_ci   for any such Derivative Works as a whole, provided Your use,
1274669f6dcSopenharmony_ci   reproduction, and distribution of the Work otherwise complies with
1284669f6dcSopenharmony_ci   the conditions stated in this License.
1294669f6dcSopenharmony_ci
1304669f6dcSopenharmony_ci5. Submission of Contributions. Unless You explicitly state otherwise,
1314669f6dcSopenharmony_ci   any Contribution intentionally submitted for inclusion in the Work
1324669f6dcSopenharmony_ci   by You to the Licensor shall be under the terms and conditions of
1334669f6dcSopenharmony_ci   this License, without any additional terms or conditions.
1344669f6dcSopenharmony_ci   Notwithstanding the above, nothing herein shall supersede or modify
1354669f6dcSopenharmony_ci   the terms of any separate license agreement you may have executed
1364669f6dcSopenharmony_ci   with Licensor regarding such Contributions.
1374669f6dcSopenharmony_ci
1384669f6dcSopenharmony_ci6. Trademarks. This License does not grant permission to use the trade
1394669f6dcSopenharmony_ci   names, trademarks, service marks, or product names of the Licensor,
1404669f6dcSopenharmony_ci   except as required for reasonable and customary use in describing the
1414669f6dcSopenharmony_ci   origin of the Work and reproducing the content of the NOTICE file.
1424669f6dcSopenharmony_ci
1434669f6dcSopenharmony_ci7. Disclaimer of Warranty. Unless required by applicable law or
1444669f6dcSopenharmony_ci   agreed to in writing, Licensor provides the Work (and each
1454669f6dcSopenharmony_ci   Contributor provides its Contributions) on an "AS IS" BASIS,
1464669f6dcSopenharmony_ci   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1474669f6dcSopenharmony_ci   implied, including, without limitation, any warranties or conditions
1484669f6dcSopenharmony_ci   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1494669f6dcSopenharmony_ci   PARTICULAR PURPOSE. You are solely responsible for determining the
1504669f6dcSopenharmony_ci   appropriateness of using or redistributing the Work and assume any
1514669f6dcSopenharmony_ci   risks associated with Your exercise of permissions under this License.
1524669f6dcSopenharmony_ci
1534669f6dcSopenharmony_ci8. Limitation of Liability. In no event and under no legal theory,
1544669f6dcSopenharmony_ci   whether in tort (including negligence), contract, or otherwise,
1554669f6dcSopenharmony_ci   unless required by applicable law (such as deliberate and grossly
1564669f6dcSopenharmony_ci   negligent acts) or agreed to in writing, shall any Contributor be
1574669f6dcSopenharmony_ci   liable to You for damages, including any direct, indirect, special,
1584669f6dcSopenharmony_ci   incidental, or consequential damages of any character arising as a
1594669f6dcSopenharmony_ci   result of this License or out of the use or inability to use the
1604669f6dcSopenharmony_ci   Work (including but not limited to damages for loss of goodwill,
1614669f6dcSopenharmony_ci   work stoppage, computer failure or malfunction, or any and all
1624669f6dcSopenharmony_ci   other commercial damages or losses), even if such Contributor
1634669f6dcSopenharmony_ci   has been advised of the possibility of such damages.
1644669f6dcSopenharmony_ci
1654669f6dcSopenharmony_ci9. Accepting Warranty or Additional Liability. While redistributing
1664669f6dcSopenharmony_ci   the Work or Derivative Works thereof, You may choose to offer,
1674669f6dcSopenharmony_ci   and charge a fee for, acceptance of support, warranty, indemnity,
1684669f6dcSopenharmony_ci   or other liability obligations and/or rights consistent with this
1694669f6dcSopenharmony_ci   License. However, in accepting such obligations, You may act only
1704669f6dcSopenharmony_ci   on Your own behalf and on Your sole responsibility, not on behalf
1714669f6dcSopenharmony_ci   of any other Contributor, and only if You agree to indemnify,
1724669f6dcSopenharmony_ci   defend, and hold each Contributor harmless for any liability
1734669f6dcSopenharmony_ci   incurred by, or claims asserted against, such Contributor by reason
1744669f6dcSopenharmony_ci   of your accepting any such warranty or additional liability.
1754669f6dcSopenharmony_ci
1764669f6dcSopenharmony_ciEND OF TERMS AND CONDITIONS
1774669f6dcSopenharmony_ci
1784669f6dcSopenharmony_ciAPPENDIX: How to apply the Apache License to your work.
1794669f6dcSopenharmony_ci
1804669f6dcSopenharmony_ci   To apply the Apache License to your work, attach the following
1814669f6dcSopenharmony_ci   boilerplate notice, with the fields enclosed by brackets "[]"
1824669f6dcSopenharmony_ci   replaced with your own identifying information. (Don't include
1834669f6dcSopenharmony_ci   the brackets!)  The text should be enclosed in the appropriate
1844669f6dcSopenharmony_ci   comment syntax for the file format. We also recommend that a
1854669f6dcSopenharmony_ci   file or class name and description of purpose be included on the
1864669f6dcSopenharmony_ci   same "printed page" as the copyright notice for easier
1874669f6dcSopenharmony_ci   identification within third-party archives.
1884669f6dcSopenharmony_ci
1894669f6dcSopenharmony_ciCopyright [yyyy] [name of copyright owner]
1904669f6dcSopenharmony_ci
1914669f6dcSopenharmony_ciLicensed under the Apache License, Version 2.0 (the "License");
1924669f6dcSopenharmony_ciyou may not use this file except in compliance with the License.
1934669f6dcSopenharmony_ciYou may obtain a copy of the License at
1944669f6dcSopenharmony_ci
1954669f6dcSopenharmony_ci	http://www.apache.org/licenses/LICENSE-2.0
1964669f6dcSopenharmony_ci
1974669f6dcSopenharmony_ciUnless required by applicable law or agreed to in writing, software
1984669f6dcSopenharmony_cidistributed under the License is distributed on an "AS IS" BASIS,
1994669f6dcSopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2004669f6dcSopenharmony_ciSee the License for the specific language governing permissions and
2014669f6dcSopenharmony_cilimitations under the License.
202