|
32 | 32 | not limited to compiled object code, generated documentation, |
33 | 33 | and conversions to other media types. |
34 | 34 |
|
35 | | - "Work" shall mean the work of authorship made available under |
36 | | - the License, as indicated by a copyright notice that is included in |
37 | | - or attached to the work (an example is provided in the Appendix below). |
| 35 | + "Work" shall mean the work of authorship, whether in Source or |
| 36 | + Object form, made available under the License, as indicated by a |
| 37 | + copyright notice that is included in or attached to the work |
| 38 | + (an example is provided in the Appendix below). |
38 | 39 |
|
39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object |
40 | 41 | form, that is based on (or derived from) the Work and for which the |
|
44 | 45 | separable from, or merely link (or bind by name) to the interfaces of, |
45 | 46 | the Work and Derivative Works thereof. |
46 | 47 |
|
47 | | - "Contribution" shall mean, as submitted to the Licensor for inclusion |
48 | | - in the Work by the copyright owner or by an individual or Legal Entity |
49 | | - authorized to submit on behalf of the copyright owner. For the purposes |
50 | | - of this definition, "submit" means any form of electronic, verbal, or |
51 | | - written communication sent to the Licensor or its representatives, |
52 | | - including but not limited to communication on electronic mailing lists, |
53 | | - source code control systems, and issue tracking systems that are managed |
54 | | - by, or on behalf of, the Licensor for the purpose of discussing and |
55 | | - improving the Work, but excluding communication that is conspicuously |
56 | | - marked or otherwise designated in writing by the copyright owner as |
57 | | - "Not a Contribution." |
58 | | - |
59 | | - "Contributor" shall mean Licensor and any Legal Entity on behalf of |
60 | | - whom a Contribution has been received by the Licensor and subsequently |
61 | | - incorporated within the Work. |
| 48 | + "Contribution" shall mean any work of authorship, including |
| 49 | + the original version of the Work and any modifications or additions |
| 50 | + to that Work or Derivative Works thereof, that is intentionally |
| 51 | + submitted to Licensor for inclusion in the Work by the copyright owner |
| 52 | + or by an individual or Legal Entity authorized to submit on behalf of |
| 53 | + the copyright owner. For the purposes of this definition, "submitted" |
| 54 | + means any form of electronic, verbal, or written communication sent |
| 55 | + to the Licensor or its representatives, including but not limited to |
| 56 | + communication on electronic mailing lists, source code control systems, |
| 57 | + and issue tracking systems that are managed by, or on behalf of, the |
| 58 | + Licensor for the purpose of discussing and improving the Work, but |
| 59 | + excluding communication that is conspicuously marked or otherwise |
| 60 | + designated in writing by the copyright owner as "Not a Contribution." |
| 61 | + |
| 62 | + "Contributor" shall mean Licensor and any individual or Legal Entity |
| 63 | + on behalf of whom a Contribution has been received by Licensor and |
| 64 | + subsequently incorporated within the Work. |
62 | 65 |
|
63 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of |
64 | 67 | this License, each Contributor hereby grants to You a perpetual, |
|
76 | 79 | by such Contributor that are necessarily infringed by their |
77 | 80 | Contribution(s) alone or by combination of their Contribution(s) |
78 | 81 | with the Work to which such Contribution(s) was submitted. If You |
79 | | - institute patent litigation against any entity (including a cross-claim |
80 | | - or counterclaim in a lawsuit) alleging that the Work or any |
81 | | - Contribution embodied within the Work constitutes direct or |
82 | | - contributory patent infringement, then any patent licenses granted |
83 | | - to You under this License for that Work shall terminate as of the |
84 | | - date such litigation is filed. |
| 82 | + institute patent litigation against any entity (including a |
| 83 | + cross-claim or counterclaim in a lawsuit) alleging that the Work |
| 84 | + or a Contribution incorporated within the Work constitutes direct |
| 85 | + or contributory patent infringement, then any patent licenses |
| 86 | + granted to You under this License for that Work shall terminate |
| 87 | + as of the date such litigation is filed. |
85 | 88 |
|
86 | 89 | 4. Redistribution. You may reproduce and distribute copies of the |
87 | 90 | Work or Derivative Works thereof in any medium, with or without |
|
100 | 103 | excluding those notices that do not pertain to any part of |
101 | 104 | the Derivative Works; and |
102 | 105 |
|
103 | | - (d) If the Work includes a "NOTICE" text file, you must include a |
104 | | - readable copy of the attribution notices contained within such |
105 | | - NOTICE file, in at least one of the following places: within a |
106 | | - Source form or documentation of the Derivative Works; or, within |
107 | | - a display generated by the Derivative Works, if and wherever such |
108 | | - third-party notices normally appear. The contents of the NOTICE |
109 | | - file are for informational purposes only and do not modify the |
110 | | - License. You may add Your own attribution notices within Derivative |
111 | | - Works that You distribute, alongside or in addition to the NOTICE |
112 | | - text from the Work, provided that such additional attribution |
113 | | - notices cannot be construed as modifying the License. |
114 | | - |
115 | | - You may add Your own license statement for Your modifications and |
116 | | - may provide additional grant of rights to use, copy, modify, and |
117 | | - distribute those modifications as part of Derivative Works, provided |
118 | | - Your use, reproduction, and distribution of the Work otherwise |
119 | | - complies with the conditions stated in this License. |
| 106 | + (d) If the Work includes a "NOTICE" text file as part of its |
| 107 | + distribution, then any Derivative Works that You distribute must |
| 108 | + include a readable copy of the attribution notices contained |
| 109 | + within such NOTICE file, excluding those notices that do not |
| 110 | + pertain to any part of the Derivative Works, in at least one |
| 111 | + of the following places: within a NOTICE text file distributed |
| 112 | + as part of the Derivative Works; within the Source form or |
| 113 | + documentation, if provided along with the Derivative Works; or, |
| 114 | + within a display generated by the Derivative Works, if and |
| 115 | + wherever such third-party notices normally appear. The contents |
| 116 | + of the NOTICE file are for informational purposes only and |
| 117 | + do not modify the License. You may add Your own attribution |
| 118 | + notices within Derivative Works that You distribute, alongside |
| 119 | + or as an addendum to the NOTICE text from the Work, provided |
| 120 | + that such additional attribution notices cannot be construed |
| 121 | + as modifying the License. |
| 122 | + |
| 123 | + You may add Your own copyright statement to Your modifications and |
| 124 | + may provide additional or different license terms and conditions |
| 125 | + for use, reproduction, or distribution of Your modifications, or |
| 126 | + for any such Derivative Works as a whole, provided Your use, |
| 127 | + reproduction, and distribution of the Work otherwise complies with |
| 128 | + the conditions stated in this License. |
120 | 129 |
|
121 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
122 | 131 | any Contribution intentionally submitted for inclusion in the Work |
|
138 | 147 | implied, including, without limitation, any warranties or conditions |
139 | 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
140 | 149 | PARTICULAR PURPOSE. You are solely responsible for determining the |
141 | | - appropriateness of using or reproducing the Work and assume any |
| 150 | + appropriateness of using or redistributing the Work and assume any |
142 | 151 | risks associated with Your exercise of permissions under this License. |
143 | 152 |
|
144 | 153 | 8. Limitation of Liability. In no event and under no legal theory, |
145 | 154 | whether in tort (including negligence), contract, or otherwise, |
146 | | - unless required by applicable law or agreed to in writing, shall |
147 | | - any Contributor be liable to You for damages, including any direct, |
148 | | - indirect, special, incidental, or exemplary damages of any character |
149 | | - arising as a result of this License or out of the use or inability |
150 | | - to use the Work (including but not limited to damages for loss of |
151 | | - goodwill, work stoppage, computer failure or malfunction, or all |
152 | | - other commercial damages or losses), even if such Contributor has |
153 | | - been advised of the possibility of such damages. |
| 155 | + unless required by applicable law (such as deliberate and grossly |
| 156 | + negligent acts) or agreed to in writing, shall any Contributor be |
| 157 | + liable to You for damages, including any direct, indirect, special, |
| 158 | + incidental, or consequential damages of any character arising as a |
| 159 | + result of this License or out of the use or inability to use the |
| 160 | + Work (including but not limited to damages for loss of goodwill, |
| 161 | + work stoppage, computer failure or malfunction, or any and all |
| 162 | + other commercial damages or losses), even if such Contributor |
| 163 | + has been advised of the possibility of such damages. |
154 | 164 |
|
155 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing |
156 | 166 | the Work or Derivative Works thereof, You may choose to offer, |
|
161 | 171 | of any other Contributor, and only if You agree to indemnify, |
162 | 172 | defend, and hold each Contributor harmless for any liability |
163 | 173 | incurred by, or claims asserted against, such Contributor by reason |
164 | | - of your accepting any warranty or additional liability. |
| 174 | + of your accepting any such warranty or additional liability. |
165 | 175 |
|
166 | 176 | END OF TERMS AND CONDITIONS |
167 | 177 |
|
168 | | - Copyright 2026 Cyh |
| 178 | + APPENDIX: How to apply the Apache License to your work. |
| 179 | + |
| 180 | + To apply the Apache License to your work, attach the following |
| 181 | + boilerplate notice, with the fields enclosed by brackets "[]" |
| 182 | + replaced with your own identifying information. (Don't include |
| 183 | + the brackets!) The text should be enclosed in the appropriate |
| 184 | + comment syntax for the file format. We also recommend that a |
| 185 | + file or class name and description of purpose be included on the |
| 186 | + same "printed page" as the copyright notice for easier |
| 187 | + identification within third-party archives. |
| 188 | + |
| 189 | + Copyright [yyyy] [name of copyright owner] |
169 | 190 |
|
170 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); |
171 | 192 | you may not use this file except in compliance with the License. |
|
0 commit comments