1ea88969fSopenharmony_ci                              Apache License
2ea88969fSopenharmony_ci                        Version 2.0, January 2004
3ea88969fSopenharmony_ci                     http://www.apache.org/licenses/
4ea88969fSopenharmony_ci
5ea88969fSopenharmony_ciTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6ea88969fSopenharmony_ci
7ea88969fSopenharmony_ci1. Definitions.
8ea88969fSopenharmony_ci
9ea88969fSopenharmony_ci   "License" shall mean the terms and conditions for use, reproduction,
10ea88969fSopenharmony_ci   and distribution as defined by Sections 1 through 9 of this document.
11ea88969fSopenharmony_ci
12ea88969fSopenharmony_ci   "Licensor" shall mean the copyright owner or entity authorized by
13ea88969fSopenharmony_ci   the copyright owner that is granting the License.
14ea88969fSopenharmony_ci
15ea88969fSopenharmony_ci   "Legal Entity" shall mean the union of the acting entity and all
16ea88969fSopenharmony_ci   other entities that control, are controlled by, or are under common
17ea88969fSopenharmony_ci   control with that entity. For the purposes of this definition,
18ea88969fSopenharmony_ci   "control" means (i) the power, direct or indirect, to cause the
19ea88969fSopenharmony_ci   direction or management of such entity, whether by contract or
20ea88969fSopenharmony_ci   otherwise, or (ii) ownership of fifty percent (50%) or more of the
21ea88969fSopenharmony_ci   outstanding shares, or (iii) beneficial ownership of such entity.
22ea88969fSopenharmony_ci
23ea88969fSopenharmony_ci   "You" (or "Your") shall mean an individual or Legal Entity
24ea88969fSopenharmony_ci   exercising permissions granted by this License.
25ea88969fSopenharmony_ci
26ea88969fSopenharmony_ci   "Source" form shall mean the preferred form for making modifications,
27ea88969fSopenharmony_ci   including but not limited to software source code, documentation
28ea88969fSopenharmony_ci   source, and configuration files.
29ea88969fSopenharmony_ci
30ea88969fSopenharmony_ci   "Object" form shall mean any form resulting from mechanical
31ea88969fSopenharmony_ci   transformation or translation of a Source form, including but
32ea88969fSopenharmony_ci   not limited to compiled object code, generated documentation,
33ea88969fSopenharmony_ci   and conversions to other media types.
34ea88969fSopenharmony_ci
35ea88969fSopenharmony_ci   "Work" shall mean the work of authorship, whether in Source or
36ea88969fSopenharmony_ci   Object form, made available under the License, as indicated by a
37ea88969fSopenharmony_ci   copyright notice that is included in or attached to the work
38ea88969fSopenharmony_ci   (an example is provided in the Appendix below).
39ea88969fSopenharmony_ci
40ea88969fSopenharmony_ci   "Derivative Works" shall mean any work, whether in Source or Object
41ea88969fSopenharmony_ci   form, that is based on (or derived from) the Work and for which the
42ea88969fSopenharmony_ci   editorial revisions, annotations, elaborations, or other modifications
43ea88969fSopenharmony_ci   represent, as a whole, an original work of authorship. For the purposes
44ea88969fSopenharmony_ci   of this License, Derivative Works shall not include works that remain
45ea88969fSopenharmony_ci   separable from, or merely link (or bind by name) to the interfaces of,
46ea88969fSopenharmony_ci   the Work and Derivative Works thereof.
47ea88969fSopenharmony_ci
48ea88969fSopenharmony_ci   "Contribution" shall mean any work of authorship, including
49ea88969fSopenharmony_ci   the original version of the Work and any modifications or additions
50ea88969fSopenharmony_ci   to that Work or Derivative Works thereof, that is intentionally
51ea88969fSopenharmony_ci   submitted to Licensor for inclusion in the Work by the copyright owner
52ea88969fSopenharmony_ci   or by an individual or Legal Entity authorized to submit on behalf of
53ea88969fSopenharmony_ci   the copyright owner. For the purposes of this definition, "submitted"
54ea88969fSopenharmony_ci   means any form of electronic, verbal, or written communication sent
55ea88969fSopenharmony_ci   to the Licensor or its representatives, including but not limited to
56ea88969fSopenharmony_ci   communication on electronic mailing lists, source code control systems,
57ea88969fSopenharmony_ci   and issue tracking systems that are managed by, or on behalf of, the
58ea88969fSopenharmony_ci   Licensor for the purpose of discussing and improving the Work, but
59ea88969fSopenharmony_ci   excluding communication that is conspicuously marked or otherwise
60ea88969fSopenharmony_ci   designated in writing by the copyright owner as "Not a Contribution."
61ea88969fSopenharmony_ci
62ea88969fSopenharmony_ci   "Contributor" shall mean Licensor and any individual or Legal Entity
63ea88969fSopenharmony_ci   on behalf of whom a Contribution has been received by Licensor and
64ea88969fSopenharmony_ci   subsequently incorporated within the Work.
65ea88969fSopenharmony_ci
66ea88969fSopenharmony_ci2. Grant of Copyright License. Subject to the terms and conditions of
67ea88969fSopenharmony_ci   this License, each Contributor hereby grants to You a perpetual,
68ea88969fSopenharmony_ci   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69ea88969fSopenharmony_ci   copyright license to reproduce, prepare Derivative Works of,
70ea88969fSopenharmony_ci   publicly display, publicly perform, sublicense, and distribute the
71ea88969fSopenharmony_ci   Work and such Derivative Works in Source or Object form.
72ea88969fSopenharmony_ci
73ea88969fSopenharmony_ci3. Grant of Patent License. Subject to the terms and conditions of
74ea88969fSopenharmony_ci   this License, each Contributor hereby grants to You a perpetual,
75ea88969fSopenharmony_ci   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76ea88969fSopenharmony_ci   (except as stated in this section) patent license to make, have made,
77ea88969fSopenharmony_ci   use, offer to sell, sell, import, and otherwise transfer the Work,
78ea88969fSopenharmony_ci   where such license applies only to those patent claims licensable
79ea88969fSopenharmony_ci   by such Contributor that are necessarily infringed by their
80ea88969fSopenharmony_ci   Contribution(s) alone or by combination of their Contribution(s)
81ea88969fSopenharmony_ci   with the Work to which such Contribution(s) was submitted. If You
82ea88969fSopenharmony_ci   institute patent litigation against any entity (including a
83ea88969fSopenharmony_ci   cross-claim or counterclaim in a lawsuit) alleging that the Work
84ea88969fSopenharmony_ci   or a Contribution incorporated within the Work constitutes direct
85ea88969fSopenharmony_ci   or contributory patent infringement, then any patent licenses
86ea88969fSopenharmony_ci   granted to You under this License for that Work shall terminate
87ea88969fSopenharmony_ci   as of the date such litigation is filed.
88ea88969fSopenharmony_ci
89ea88969fSopenharmony_ci4. Redistribution. You may reproduce and distribute copies of the
90ea88969fSopenharmony_ci   Work or Derivative Works thereof in any medium, with or without
91ea88969fSopenharmony_ci   modifications, and in Source or Object form, provided that You
92ea88969fSopenharmony_ci   meet the following conditions:
93ea88969fSopenharmony_ci
94ea88969fSopenharmony_ci   (a) You must give any other recipients of the Work or
95ea88969fSopenharmony_ci       Derivative Works a copy of this License; and
96ea88969fSopenharmony_ci
97ea88969fSopenharmony_ci   (b) You must cause any modified files to carry prominent notices
98ea88969fSopenharmony_ci       stating that You changed the files; and
99ea88969fSopenharmony_ci
100ea88969fSopenharmony_ci   (c) You must retain, in the Source form of any Derivative Works
101ea88969fSopenharmony_ci       that You distribute, all copyright, patent, trademark, and
102ea88969fSopenharmony_ci       attribution notices from the Source form of the Work,
103ea88969fSopenharmony_ci       excluding those notices that do not pertain to any part of
104ea88969fSopenharmony_ci       the Derivative Works; and
105ea88969fSopenharmony_ci
106ea88969fSopenharmony_ci   (d) If the Work includes a "NOTICE" text file as part of its
107ea88969fSopenharmony_ci       distribution, then any Derivative Works that You distribute must
108ea88969fSopenharmony_ci       include a readable copy of the attribution notices contained
109ea88969fSopenharmony_ci       within such NOTICE file, excluding those notices that do not
110ea88969fSopenharmony_ci       pertain to any part of the Derivative Works, in at least one
111ea88969fSopenharmony_ci       of the following places: within a NOTICE text file distributed
112ea88969fSopenharmony_ci       as part of the Derivative Works; within the Source form or
113ea88969fSopenharmony_ci       documentation, if provided along with the Derivative Works; or,
114ea88969fSopenharmony_ci       within a display generated by the Derivative Works, if and
115ea88969fSopenharmony_ci       wherever such third-party notices normally appear. The contents
116ea88969fSopenharmony_ci       of the NOTICE file are for informational purposes only and
117ea88969fSopenharmony_ci       do not modify the License. You may add Your own attribution
118ea88969fSopenharmony_ci       notices within Derivative Works that You distribute, alongside
119ea88969fSopenharmony_ci       or as an addendum to the NOTICE text from the Work, provided
120ea88969fSopenharmony_ci       that such additional attribution notices cannot be construed
121ea88969fSopenharmony_ci       as modifying the License.
122ea88969fSopenharmony_ci
123ea88969fSopenharmony_ci   You may add Your own copyright statement to Your modifications and
124ea88969fSopenharmony_ci   may provide additional or different license terms and conditions
125ea88969fSopenharmony_ci   for use, reproduction, or distribution of Your modifications, or
126ea88969fSopenharmony_ci   for any such Derivative Works as a whole, provided Your use,
127ea88969fSopenharmony_ci   reproduction, and distribution of the Work otherwise complies with
128ea88969fSopenharmony_ci   the conditions stated in this License.
129ea88969fSopenharmony_ci
130ea88969fSopenharmony_ci5. Submission of Contributions. Unless You explicitly state otherwise,
131ea88969fSopenharmony_ci   any Contribution intentionally submitted for inclusion in the Work
132ea88969fSopenharmony_ci   by You to the Licensor shall be under the terms and conditions of
133ea88969fSopenharmony_ci   this License, without any additional terms or conditions.
134ea88969fSopenharmony_ci   Notwithstanding the above, nothing herein shall supersede or modify
135ea88969fSopenharmony_ci   the terms of any separate license agreement you may have executed
136ea88969fSopenharmony_ci   with Licensor regarding such Contributions.
137ea88969fSopenharmony_ci
138ea88969fSopenharmony_ci6. Trademarks. This License does not grant permission to use the trade
139ea88969fSopenharmony_ci   names, trademarks, service marks, or product names of the Licensor,
140ea88969fSopenharmony_ci   except as required for reasonable and customary use in describing the
141ea88969fSopenharmony_ci   origin of the Work and reproducing the content of the NOTICE file.
142ea88969fSopenharmony_ci
143ea88969fSopenharmony_ci7. Disclaimer of Warranty. Unless required by applicable law or
144ea88969fSopenharmony_ci   agreed to in writing, Licensor provides the Work (and each
145ea88969fSopenharmony_ci   Contributor provides its Contributions) on an "AS IS" BASIS,
146ea88969fSopenharmony_ci   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147ea88969fSopenharmony_ci   implied, including, without limitation, any warranties or conditions
148ea88969fSopenharmony_ci   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149ea88969fSopenharmony_ci   PARTICULAR PURPOSE. You are solely responsible for determining the
150ea88969fSopenharmony_ci   appropriateness of using or redistributing the Work and assume any
151ea88969fSopenharmony_ci   risks associated with Your exercise of permissions under this License.
152ea88969fSopenharmony_ci
153ea88969fSopenharmony_ci8. Limitation of Liability. In no event and under no legal theory,
154ea88969fSopenharmony_ci   whether in tort (including negligence), contract, or otherwise,
155ea88969fSopenharmony_ci   unless required by applicable law (such as deliberate and grossly
156ea88969fSopenharmony_ci   negligent acts) or agreed to in writing, shall any Contributor be
157ea88969fSopenharmony_ci   liable to You for damages, including any direct, indirect, special,
158ea88969fSopenharmony_ci   incidental, or consequential damages of any character arising as a
159ea88969fSopenharmony_ci   result of this License or out of the use or inability to use the
160ea88969fSopenharmony_ci   Work (including but not limited to damages for loss of goodwill,
161ea88969fSopenharmony_ci   work stoppage, computer failure or malfunction, or any and all
162ea88969fSopenharmony_ci   other commercial damages or losses), even if such Contributor
163ea88969fSopenharmony_ci   has been advised of the possibility of such damages.
164ea88969fSopenharmony_ci
165ea88969fSopenharmony_ci9. Accepting Warranty or Additional Liability. While redistributing
166ea88969fSopenharmony_ci   the Work or Derivative Works thereof, You may choose to offer,
167ea88969fSopenharmony_ci   and charge a fee for, acceptance of support, warranty, indemnity,
168ea88969fSopenharmony_ci   or other liability obligations and/or rights consistent with this
169ea88969fSopenharmony_ci   License. However, in accepting such obligations, You may act only
170ea88969fSopenharmony_ci   on Your own behalf and on Your sole responsibility, not on behalf
171ea88969fSopenharmony_ci   of any other Contributor, and only if You agree to indemnify,
172ea88969fSopenharmony_ci   defend, and hold each Contributor harmless for any liability
173ea88969fSopenharmony_ci   incurred by, or claims asserted against, such Contributor by reason
174ea88969fSopenharmony_ci   of your accepting any such warranty or additional liability.
175ea88969fSopenharmony_ci
176ea88969fSopenharmony_ciEND OF TERMS AND CONDITIONS
177ea88969fSopenharmony_ci
178ea88969fSopenharmony_ciAPPENDIX: How to apply the Apache License to your work.
179ea88969fSopenharmony_ci
180ea88969fSopenharmony_ci   To apply the Apache License to your work, attach the following
181ea88969fSopenharmony_ci   boilerplate notice, with the fields enclosed by brackets "[]"
182ea88969fSopenharmony_ci   replaced with your own identifying information. (Don't include
183ea88969fSopenharmony_ci   the brackets!)  The text should be enclosed in the appropriate
184ea88969fSopenharmony_ci   comment syntax for the file format. We also recommend that a
185ea88969fSopenharmony_ci   file or class name and description of purpose be included on the
186ea88969fSopenharmony_ci   same "printed page" as the copyright notice for easier
187ea88969fSopenharmony_ci   identification within third-party archives.
188ea88969fSopenharmony_ci
189ea88969fSopenharmony_ciCopyright 2019-2020 CreepySkeleton <creepy-skeleton@yandex.ru>
190ea88969fSopenharmony_ci
191ea88969fSopenharmony_ciLicensed under the Apache License, Version 2.0 (the "License");
192ea88969fSopenharmony_ciyou may not use this file except in compliance with the License.
193ea88969fSopenharmony_ciYou may obtain a copy of the License at
194ea88969fSopenharmony_ci
195ea88969fSopenharmony_ci    http://www.apache.org/licenses/LICENSE-2.0
196ea88969fSopenharmony_ci
197ea88969fSopenharmony_ciUnless required by applicable law or agreed to in writing, software
198ea88969fSopenharmony_cidistributed under the License is distributed on an "AS IS" BASIS,
199ea88969fSopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200ea88969fSopenharmony_ciSee the License for the specific language governing permissions and
201ea88969fSopenharmony_cilimitations under the License.
202