···186186 same "printed page" as the copyright notice for easier
187187 identification within third-party archives.
188188189189- Copyright 2016 - present Louis Pilfold
189189+ Copyright [yyyy] [name of copyright owner]
190190191191 Licensed under the Apache License, Version 2.0 (the "License");
192192 you may not use this file except in compliance with the License.
···9898pub(crate) mod inline;
9999pub mod reference;
100100101101+#[cfg(test)]
102102+mod tests;
103103+101104pub use error::{Error, Result};
102105pub use warning::Warning;
103106
···11+Apache License
22+Version 2.0, January 2004
33+http://www.apache.org/licenses/
44+55+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
66+77+1. Definitions.
88+99+"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
1010+1111+"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
1212+1313+"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
1414+1515+"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
1616+1717+"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
1818+1919+"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
2020+2121+"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
2222+2323+"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
2424+2525+"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
2626+2727+"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2828+2929+2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3030+3131+3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
3232+3333+4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
3434+3535+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
3636+3737+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
3838+3939+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
4040+4141+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
4242+4343+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
4444+4545+5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
4646+4747+6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
4848+4949+7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
5050+5151+8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
5252+5353+9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
5454+5555+END OF TERMS AND CONDITIONS
5656+5757+APPENDIX: How to apply the Apache License to your work.
5858+5959+To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
6060+6161+Copyright [yyyy] [name of copyright owner]
6262+6363+Licensed under the Apache License, Version 2.0 (the "License");
6464+you may not use this file except in compliance with the License.
6565+You may obtain a copy of the License at
6666+6767+http://www.apache.org/licenses/LICENSE-2.0
6868+6969+Unless required by applicable law or agreed to in writing, software
7070+distributed under the License is distributed on an "AS IS" BASIS,
7171+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7272+See the License for the specific language governing permissions and
7373+limitations under the License.
···11+Copyright (c) <year> <owner>.
22+33+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
44+55+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
66+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
77+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
88+99+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
···11+Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the “Software”) to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
22+33+The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.
44+55+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
···11+Creative Commons Legal Code
22+33+CC0 1.0 Universal
44+55+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
66+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
77+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
88+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
99+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
1010+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
1111+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
1212+ HEREUNDER.
1313+1414+Statement of Purpose
1515+1616+The laws of most jurisdictions throughout the world automatically confer
1717+exclusive Copyright and Related Rights (defined below) upon the creator
1818+and subsequent owner(s) (each and all, an "owner") of an original work of
1919+authorship and/or a database (each, a "Work").
2020+2121+Certain owners wish to permanently relinquish those rights to a Work for
2222+the purpose of contributing to a commons of creative, cultural and
2323+scientific works ("Commons") that the public can reliably and without fear
2424+of later claims of infringement build upon, modify, incorporate in other
2525+works, reuse and redistribute as freely as possible in any form whatsoever
2626+and for any purposes, including without limitation commercial purposes.
2727+These owners may contribute to the Commons to promote the ideal of a free
2828+culture and the further production of creative, cultural and scientific
2929+works, or to gain reputation or greater distribution for their Work in
3030+part through the use and efforts of others.
3131+3232+For these and/or other purposes and motivations, and without any
3333+expectation of additional consideration or compensation, the person
3434+associating CC0 with a Work (the "Affirmer"), to the extent that he or she
3535+is an owner of Copyright and Related Rights in the Work, voluntarily
3636+elects to apply CC0 to the Work and publicly distribute the Work under its
3737+terms, with knowledge of his or her Copyright and Related Rights in the
3838+Work and the meaning and intended legal effect of CC0 on those rights.
3939+4040+1. Copyright and Related Rights. A Work made available under CC0 may be
4141+protected by copyright and related or neighboring rights ("Copyright and
4242+Related Rights"). Copyright and Related Rights include, but are not
4343+limited to, the following:
4444+4545+ i. the right to reproduce, adapt, distribute, perform, display,
4646+ communicate, and translate a Work;
4747+ ii. moral rights retained by the original author(s) and/or performer(s);
4848+iii. publicity and privacy rights pertaining to a person's image or
4949+ likeness depicted in a Work;
5050+ iv. rights protecting against unfair competition in regards to a Work,
5151+ subject to the limitations in paragraph 4(a), below;
5252+ v. rights protecting the extraction, dissemination, use and reuse of data
5353+ in a Work;
5454+ vi. database rights (such as those arising under Directive 96/9/EC of the
5555+ European Parliament and of the Council of 11 March 1996 on the legal
5656+ protection of databases, and under any national implementation
5757+ thereof, including any amended or successor version of such
5858+ directive); and
5959+vii. other similar, equivalent or corresponding rights throughout the
6060+ world based on applicable law or treaty, and any national
6161+ implementations thereof.
6262+6363+2. Waiver. To the greatest extent permitted by, but not in contravention
6464+of, applicable law, Affirmer hereby overtly, fully, permanently,
6565+irrevocably and unconditionally waives, abandons, and surrenders all of
6666+Affirmer's Copyright and Related Rights and associated claims and causes
6767+of action, whether now known or unknown (including existing as well as
6868+future claims and causes of action), in the Work (i) in all territories
6969+worldwide, (ii) for the maximum duration provided by applicable law or
7070+treaty (including future time extensions), (iii) in any current or future
7171+medium and for any number of copies, and (iv) for any purpose whatsoever,
7272+including without limitation commercial, advertising or promotional
7373+purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
7474+member of the public at large and to the detriment of Affirmer's heirs and
7575+successors, fully intending that such Waiver shall not be subject to
7676+revocation, rescission, cancellation, termination, or any other legal or
7777+equitable action to disrupt the quiet enjoyment of the Work by the public
7878+as contemplated by Affirmer's express Statement of Purpose.
7979+8080+3. Public License Fallback. Should any part of the Waiver for any reason
8181+be judged legally invalid or ineffective under applicable law, then the
8282+Waiver shall be preserved to the maximum extent permitted taking into
8383+account Affirmer's express Statement of Purpose. In addition, to the
8484+extent the Waiver is so judged Affirmer hereby grants to each affected
8585+person a royalty-free, non transferable, non sublicensable, non exclusive,
8686+irrevocable and unconditional license to exercise Affirmer's Copyright and
8787+Related Rights in the Work (i) in all territories worldwide, (ii) for the
8888+maximum duration provided by applicable law or treaty (including future
8989+time extensions), (iii) in any current or future medium and for any number
9090+of copies, and (iv) for any purpose whatsoever, including without
9191+limitation commercial, advertising or promotional purposes (the
9292+"License"). The License shall be deemed effective as of the date CC0 was
9393+applied by Affirmer to the Work. Should any part of the License for any
9494+reason be judged legally invalid or ineffective under applicable law, such
9595+partial invalidity or ineffectiveness shall not invalidate the remainder
9696+of the License, and in such case Affirmer hereby affirms that he or she
9797+will not (i) exercise any of his or her remaining Copyright and Related
9898+Rights in the Work or (ii) assert any associated claims and causes of
9999+action with respect to the Work, in either case contrary to Affirmer's
100100+express Statement of Purpose.
101101+102102+4. Limitations and Disclaimers.
103103+104104+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
105105+ surrendered, licensed or otherwise affected by this document.
106106+ b. Affirmer offers the Work as-is and makes no representations or
107107+ warranties of any kind concerning the Work, express, implied,
108108+ statutory or otherwise, including without limitation warranties of
109109+ title, merchantability, fitness for a particular purpose, non
110110+ infringement, or the absence of latent or other defects, accuracy, or
111111+ the present or absence of errors, whether or not discoverable, all to
112112+ the greatest extent permissible under applicable law.
113113+ c. Affirmer disclaims responsibility for clearing rights of other persons
114114+ that may apply to the Work or any use thereof, including without
115115+ limitation any person's Copyright and Related Rights in the Work.
116116+ Further, Affirmer disclaims responsibility for obtaining any necessary
117117+ consents, permissions or other rights required for any use of the
118118+ Work.
119119+ d. Affirmer understands and acknowledges that Creative Commons is not a
120120+ party to this document and has no duty or obligation with respect to
121121+ this CC0 or use of the Work.
···11+Community Data License Agreement - Permissive - Version 2.0
22+33+This is the Community Data License Agreement - Permissive, Version 2.0 (the "agreement"). Data Provider(s) and Data Recipient(s) agree as follows:
44+55+1. Provision of the Data
66+77+1.1. A Data Recipient may use, modify, and share the Data made available by Data Provider(s) under this agreement if that Data Recipient follows the terms of this agreement.
88+99+1.2. This agreement does not impose any restriction on a Data Recipient's use, modification, or sharing of any portions of the Data that are in the public domain or that may be used, modified, or shared under any other legal exception or limitation.
1010+1111+2. Conditions for Sharing Data
1212+1313+2.1. A Data Recipient may share Data, with or without modifications, so long as the Data Recipient makes available the text of this agreement with the shared Data.
1414+1515+3. No Restrictions on Results
1616+1717+3.1. This agreement does not impose any restriction or obligations with respect to the use, modification, or sharing of Results.
1818+1919+4. No Warranty; Limitation of Liability
2020+2121+4.1. All Data Recipients receive the Data subject to the following terms:
2222+2323+THE DATA IS PROVIDED ON AN "AS IS" BASIS, WITHOUT REPRESENTATIONS, WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
2424+2525+NO DATA PROVIDER SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE DATA OR RESULTS, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
2626+2727+5. Definitions
2828+2929+5.1. "Data" means the material received by a Data Recipient under this agreement.
3030+3131+5.2. "Data Provider" means any person who is the source of Data provided under this agreement and in reliance on a Data Recipient's agreement to its terms.
3232+3333+5.3. "Data Recipient" means any person who receives Data directly or indirectly from a Data Provider and agrees to the terms of this agreement.
3434+3535+5.4. "Results" means any outcome obtained by computational analysis of Data, including for example machine learning models and models' insights.
···11+ISC License
22+33+<copyright notice>
44+55+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
66+77+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
···11+MIT License
22+33+Copyright (c) <year> <copyright holders>
44+55+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66+77+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
88+99+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
···11+Mozilla Public License, version 2.0
22+33+Copyright (c) {YEAR}, {AUTHOR}
44+55+1. Definitions
66+77+ 1.1. “Contributor” means each individual or legal entity that
88+ creates, contributes to the creation of, or owns Covered Software.
99+1010+ 1.2. “Contributor Version” means the combination of the
1111+ Contributions of others (if any) used by a Contributor and that
1212+ particular Contributor’s Contribution.
1313+1414+ 1.3. “Contribution” means Covered Software of a particular
1515+ Contributor.
1616+1717+ 1.4. “Covered Software” means Source Code Form to which the initial
1818+ Contributor has attached the notice in Exhibit A, the Executable
1919+ Form of such Source Code Form, and Modifications of such Source Code
2020+ Form, in each case including portions thereof.
2121+2222+ 1.5. “Incompatible With Secondary Licenses” means
2323+2424+ that the initial Contributor has attached the notice described in
2525+ Exhibit B to the Covered Software; or
2626+2727+ that the Covered Software was made available under the terms of
2828+ version 1.1 or earlier of the License, but not also under the terms
2929+ of a Secondary License.
3030+3131+ 1.6. “Executable Form” means any form of the work other than Source
3232+ Code Form.
3333+3434+ 1.7. “Larger Work” means a work that combines Covered Software with
3535+ other material, in a separate file or files, that is not Covered
3636+ Software.
3737+3838+ 1.8. “License” means this document.
3939+4040+ 1.9. “Licensable” means having the right to grant, to the maximum
4141+ extent possible, whether at the time of the initial grant or
4242+ subsequently, any and all of the rights conveyed by this License.
4343+4444+ 1.10. “Modifications” means any of the following:
4545+4646+ any file in Source Code Form that results from an addition to,
4747+ deletion from, or modification of the contents of Covered Software;
4848+ or
4949+5050+ any new file in Source Code Form that contains any Covered Software.
5151+5252+ 1.11. “Patent Claims” of a Contributor means any patent claim(s),
5353+ including without limitation, method, process, and apparatus claims,
5454+ in any patent Licensable by such Contributor that would be
5555+ infringed, but for the grant of the License, by the making, using,
5656+ selling, offering for sale, having made, import, or transfer of
5757+ either its Contributions or its Contributor Version.
5858+5959+ 1.12. “Secondary License” means either the GNU General Public
6060+ License, Version 2.0, the GNU Lesser General Public License, Version
6161+ 2.1, the GNU Affero General Public License, Version 3.0, or any
6262+ later versions of those licenses.
6363+6464+ 1.13. “Source Code Form” means the form of the work preferred for
6565+ making modifications.
6666+6767+ 1.14. “You” (or “Your”) means an individual or a legal entity
6868+ exercising rights under this License. For legal entities, “You”
6969+ includes any entity that controls, is controlled by, or is under
7070+ common control with You. For purposes of this definition, “control”
7171+ means (a) the power, direct or indirect, to cause the direction or
7272+ management of such entity, whether by contract or otherwise, or (b)
7373+ ownership of more than fifty percent (50%) of the outstanding shares
7474+ or beneficial ownership of such entity.
7575+7676+7777+2. License Grants and Conditions
7878+7979+ 2.1. Grants Each Contributor hereby grants You a world-wide,
8080+ royalty-free, non-exclusive license:
8181+8282+ under intellectual property rights (other than patent or trademark)
8383+ Licensable by such Contributor to use, reproduce, make available,
8484+ modify, display, perform, distribute, and otherwise exploit its
8585+ Contributions, either on an unmodified basis, with Modifications, or
8686+ as part of a Larger Work; and
8787+8888+ under Patent Claims of such Contributor to make, use, sell, offer
8989+ for sale, have made, import, and otherwise transfer either its
9090+ Contributions or its Contributor Version.
9191+9292+ 2.2. Effective Date The licenses granted in Section 2.1 with respect
9393+ to any Contribution become effective for each Contribution on the
9494+ date the Contributor first distributes such Contribution.
9595+9696+ 2.3. Limitations on Grant Scope The licenses granted in this Section
9797+ 2 are the only rights granted under this License. No additional
9898+ rights or licenses will be implied from the distribution or
9999+ licensing of Covered Software under this License. Notwithstanding
100100+ Section 2.1(b) above, no patent license is granted by a Contributor:
101101+102102+ for any code that a Contributor has removed from Covered Software;
103103+ or
104104+105105+ for infringements caused by: (i) Your and any other third party’s
106106+ modifications of Covered Software, or (ii) the combination of its
107107+ Contributions with other software (except as part of its Contributor
108108+ Version); or
109109+110110+ under Patent Claims infringed by Covered Software in the absence of
111111+ its Contributions.
112112+113113+ This License does not grant any rights in the trademarks, service
114114+ marks, or logos of any Contributor (except as may be necessary to
115115+ comply with the notice requirements in Section 3.4).
116116+117117+ 2.4. Subsequent Licenses No Contributor makes additional grants as a
118118+ result of Your choice to distribute the Covered Software under a
119119+ subsequent version of this License (see Section 10.2) or under the
120120+ terms of a Secondary License (if permitted under the terms of
121121+ Section 3.3).
122122+123123+ 2.5. Representation Each Contributor represents that the Contributor
124124+ believes its Contributions are its original creation(s) or it has
125125+ sufficient rights to grant the rights to its Contributions conveyed
126126+ by this License.
127127+128128+ 2.6. Fair Use This License is not intended to limit any rights You
129129+ have under applicable copyright doctrines of fair use, fair dealing,
130130+ or other equivalents.
131131+132132+ 2.7. Conditions Sections 3.1, 3.2, 3.3, and 3.4 are conditions of
133133+ the licenses granted in Section 2.1.
134134+135135+136136+3. Responsibilities
137137+138138+ 3.1. Distribution of Source Form All distribution of Covered
139139+ Software in Source Code Form, including any Modifications that You
140140+ create or to which You contribute, must be under the terms of this
141141+ License. You must inform recipients that the Source Code Form of the
142142+ Covered Software is governed by the terms of this License, and how
143143+ they can obtain a copy of this License. You may not attempt to alter
144144+ or restrict the recipients’ rights in the Source Code Form.
145145+146146+ 3.2. Distribution of Executable Form If You distribute Covered
147147+ Software in Executable Form then:
148148+149149+ such Covered Software must also be made available in Source Code
150150+ Form, as described in Section 3.1, and You must inform recipients of
151151+ the Executable Form how they can obtain a copy of such Source Code
152152+ Form by reasonable means in a timely manner, at a charge no more
153153+ than the cost of distribution to the recipient; and
154154+155155+ You may distribute such Executable Form under the terms of this
156156+ License, or sublicense it under different terms, provided that the
157157+ license for the Executable Form does not attempt to limit or alter
158158+ the recipients’ rights in the Source Code Form under this License.
159159+160160+ 3.3. Distribution of a Larger Work You may create and distribute a
161161+ Larger Work under terms of Your choice, provided that You also
162162+ comply with the requirements of this License for the Covered
163163+ Software. If the Larger Work is a combination of Covered Software
164164+ with a work governed by one or more Secondary Licenses, and the
165165+ Covered Software is not Incompatible With Secondary Licenses, this
166166+ License permits You to additionally distribute such Covered Software
167167+ under the terms of such Secondary License(s), so that the recipient
168168+ of the Larger Work may, at their option, further distribute the
169169+ Covered Software under the terms of either this License or such
170170+ Secondary License(s).
171171+172172+ 3.4. Notices You may not remove or alter the substance of any
173173+ license notices (including copyright notices, patent notices,
174174+ disclaimers of warranty, or limitations of liability) contained
175175+ within the Source Code Form of the Covered Software, except that You
176176+ may alter any license notices to the extent required to remedy known
177177+ factual inaccuracies.
178178+179179+ 3.5. Application of Additional Terms You may choose to offer, and to
180180+ charge a fee for, warranty, support, indemnity or liability
181181+ obligations to one or more recipients of Covered Software. However,
182182+ You may do so only on Your own behalf, and not on behalf of any
183183+ Contributor. You must make it absolutely clear that any such
184184+ warranty, support, indemnity, or liability obligation is offered by
185185+ You alone, and You hereby agree to indemnify every Contributor for
186186+ any liability incurred by such Contributor as a result of warranty,
187187+ support, indemnity or liability terms You offer. You may include
188188+ additional disclaimers of warranty and limitations of liability
189189+ specific to any jurisdiction.
190190+191191+192192+4. Inability to Comply Due to Statute or Regulation
193193+194194+ If it is impossible for You to comply with any of the terms of this
195195+ License with respect to some or all of the Covered Software due to
196196+ statute, judicial order, or regulation then You must: (a) comply
197197+ with the terms of this License to the maximum extent possible; and
198198+ (b) describe the limitations and the code they affect. Such
199199+ description must be placed in a text file included with all
200200+ distributions of the Covered Software under this License. Except to
201201+ the extent prohibited by statute or regulation, such description
202202+ must be sufficiently detailed for a recipient of ordinary skill to
203203+ be able to understand it.
204204+205205+206206+5. Termination
207207+208208+ 5.1. The rights granted under this License will terminate
209209+ automatically if You fail to comply with any of its terms. However,
210210+ if You become compliant, then the rights granted under this License
211211+ from a particular Contributor are reinstated (a) provisionally,
212212+ unless and until such Contributor explicitly and finally terminates
213213+ Your grants, and (b) on an ongoing basis, if such Contributor fails
214214+ to notify You of the non-compliance by some reasonable means prior
215215+ to 60 days after You have come back into compliance. Moreover, Your
216216+ grants from a particular Contributor are reinstated on an ongoing
217217+ basis if such Contributor notifies You of the non-compliance by some
218218+ reasonable means, this is the first time You have received notice of
219219+ non-compliance with this License from such Contributor, and You
220220+ become compliant prior to 30 days after Your receipt of the notice.
221221+222222+ 5.2. If You initiate litigation against any entity by asserting a
223223+ patent infringement claim (excluding declaratory judgment actions,
224224+ counter-claims, and cross-claims) alleging that a Contributor
225225+ Version directly or indirectly infringes any patent, then the rights
226226+ granted to You by any and all Contributors for the Covered Software
227227+ under Section 2.1 of this License shall terminate.
228228+229229+ 5.3. In the event of termination under Sections 5.1 or 5.2 above,
230230+ all end user license agreements (excluding distributors and
231231+ resellers) which have been validly granted by You or Your
232232+ distributors under this License prior to termination shall survive
233233+ termination.
234234+235235+6. Disclaimer of Warranty Covered Software is provided under this
236236+License on an “as is” basis, without warranty of any kind, either
237237+expressed, implied, or statutory, including, without limitation,
238238+warranties that the Covered Software is free of defects, merchantable,
239239+fit for a particular purpose or non-infringing. The entire risk as to
240240+the quality and performance of the Covered Software is with You.
241241+Should any Covered Software prove defective in any respect, You (not
242242+any Contributor) assume the cost of any necessary servicing, repair,
243243+or correction. This disclaimer of warranty constitutes an essential
244244+part of this License. No use of any Covered Software is authorized
245245+under this License except under this disclaimer.
246246+247247+7. Limitation of Liability Under no circumstances and under no legal
248248+theory, whether tort (including negligence), contract, or otherwise,
249249+shall any Contributor, or anyone who distributes Covered Software as
250250+permitted above, be liable to You for any direct, indirect, special,
251251+incidental, or consequential damages of any character including,
252252+without limitation, damages for lost profits, loss of goodwill, work
253253+stoppage, computer failure or malfunction, or any and all other
254254+commercial damages or losses, even if such party shall have been
255255+informed of the possibility of such damages. This limitation of
256256+liability shall not apply to liability for death or personal injury
257257+resulting from such party’s negligence to the extent applicable law
258258+prohibits such limitation. Some jurisdictions do not allow the
259259+exclusion or limitation of incidental or consequential damages, so
260260+this exclusion and limitation may not apply to You.
261261+262262+8. Litigation Any litigation relating to this License may be brought
263263+only in the courts of a jurisdiction where the defendant maintains its
264264+principal place of business and such litigation shall be governed by
265265+laws of that jurisdiction, without reference to its conflict-of-law
266266+provisions. Nothing in this Section shall prevent a party’s ability to
267267+bring cross-claims or counter-claims.
268268+269269+9. Miscellaneous This License represents the complete agreement
270270+concerning the subject matter hereof. If any provision of this License
271271+is held to be unenforceable, such provision shall be reformed only to
272272+the extent necessary to make it enforceable. Any law or regulation
273273+which provides that the language of a contract shall be construed
274274+against the drafter shall not be used to construe this License against
275275+a Contributor.
276276+277277+10. Versions of the License
278278+279279+ 10.1. New Versions Mozilla Foundation is the license steward. Except
280280+ as provided in Section 10.3, no one other than the license steward
281281+ has the right to modify or publish new versions of this License.
282282+ Each version will be given a distinguishing version number.
283283+284284+ 10.2. Effect of New Versions You may distribute the Covered Software
285285+ under the terms of the version of the License under which You
286286+ originally received the Covered Software, or under the terms of any
287287+ subsequent version published by the license steward.
288288+289289+ 10.3. Modified Versions If you create software not governed by this
290290+ License, and you want to create a new license for such software, you
291291+ may create and use a modified version of this License if you rename
292292+ the license and remove any references to the name of the license
293293+ steward (except to note that such modified license differs from this
294294+ License).
295295+296296+ 10.4. Distributing Source Code Form that is Incompatible With
297297+ Secondary Licenses If You choose to distribute Source Code Form that
298298+ is Incompatible With Secondary Licenses under the terms of this
299299+ version of the License, the notice described in Exhibit B of this
300300+ License must be attached.
301301+302302+Exhibit A - Source Code Form License Notice
303303+304304+ This Source Code Form is subject to the terms of the Mozilla Public
305305+ License, v. 2.0. If a copy of the MPL was not distributed with this
306306+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
307307+308308+ If it is not possible or desirable to put the notice in a particular
309309+ file, then You may include the notice in a location (such as a
310310+ LICENSE file in a relevant directory) where a recipient would be
311311+ likely to look for such a notice.
312312+313313+ You may add additional accurate notices of copyright ownership.
314314+315315+Exhibit B - “Incompatible With Secondary Licenses” Notice
316316+317317+ This Source Code Form is “Incompatible With Secondary Licenses”, as
318318+ defined by the Mozilla Public License, v. 2.0.
319319+
···11+Copyright (c) <year> <copyright holders>
22+33+This software is provided 'as-is', without any express or implied
44+warranty. In no event will the authors be held liable for any damages
55+arising from the use of this software.
66+77+Permission is granted to anyone to use this software for any purpose,
88+including commercial applications, and to alter it and redistribute it
99+freely, subject to the following restrictions:
1010+1111+1. The origin of this software must not be misrepresented; you must not
1212+ claim that you wrote the original software. If you use this software
1313+ in a product, an acknowledgment in the product documentation would be
1414+ appreciated but is not required.
1515+2. Altered source versions must be plainly marked as such, and must not be
1616+ misrepresented as being the original software.
1717+3. This notice may not be removed or altered from any source distribution.