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