A modular Twitch bot made in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1302 lines
68 KiB

1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
  1. <<<<<<< HEAD
  2. GNU GENERAL PUBLIC LICENSE
  3. Version 3, 29 June 2007
  4. Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
  5. Everyone is permitted to copy and distribute verbatim copies of this license
  6. document, but changing it is not allowed.
  7. Preamble
  8. The GNU General Public License is a free, copyleft license for software and
  9. other kinds of works.
  10. The licenses for most software and other practical works are designed to take
  11. away your freedom to share and change the works. By contrast, the GNU General
  12. Public License is intended to guarantee your freedom to share and change all
  13. versions of a program--to make sure it remains free software for all its users.
  14. We, the Free Software Foundation, use the GNU General Public License for most
  15. of our software; it applies also to any other work released this way by its
  16. authors. You can apply it to your programs, too.
  17. When we speak of free software, we are referring to freedom, not price. Our
  18. General Public Licenses are designed to make sure that you have the freedom
  19. to distribute copies of free software (and charge for them if you wish), that
  20. you receive source code or can get it if you want it, that you can change
  21. the software or use pieces of it in new free programs, and that you know you
  22. can do these things.
  23. To protect your rights, we need to prevent others from denying you these rights
  24. or asking you to surrender the rights. Therefore, you have certain responsibilities
  25. if you distribute copies of the software, or if you modify it: responsibilities
  26. to respect the freedom of others.
  27. For example, if you distribute copies of such a program, whether gratis or
  28. for a fee, you must pass on to the recipients the same freedoms that you received.
  29. You must make sure that they, too, receive or can get the source code. And
  30. you must show them these terms so they know their rights.
  31. Developers that use the GNU GPL protect your rights with two steps: (1) assert
  32. copyright on the software, and (2) offer you this License giving you legal
  33. permission to copy, distribute and/or modify it.
  34. For the developers' and authors' protection, the GPL clearly explains that
  35. there is no warranty for this free software. For both users' and authors'
  36. sake, the GPL requires that modified versions be marked as changed, so that
  37. their problems will not be attributed erroneously to authors of previous versions.
  38. Some devices are designed to deny users access to install or run modified
  39. versions of the software inside them, although the manufacturer can do so.
  40. This is fundamentally incompatible with the aim of protecting users' freedom
  41. to change the software. The systematic pattern of such abuse occurs in the
  42. area of products for individuals to use, which is precisely where it is most
  43. unacceptable. Therefore, we have designed this version of the GPL to prohibit
  44. the practice for those products. If such problems arise substantially in other
  45. domains, we stand ready to extend this provision to those domains in future
  46. versions of the GPL, as needed to protect the freedom of users.
  47. Finally, every program is threatened constantly by software patents. States
  48. should not allow patents to restrict development and use of software on general-purpose
  49. computers, but in those that do, we wish to avoid the special danger that
  50. patents applied to a free program could make it effectively proprietary. To
  51. prevent this, the GPL assures that patents cannot be used to render the program
  52. non-free.
  53. The precise terms and conditions for copying, distribution and modification
  54. follow.
  55. TERMS AND CONDITIONS
  56. 0. Definitions.
  57. "This License" refers to version 3 of the GNU General Public License.
  58. "Copyright" also means copyright-like laws that apply to other kinds of works,
  59. such as semiconductor masks.
  60. "The Program" refers to any copyrightable work licensed under this License.
  61. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals
  62. or organizations.
  63. To "modify" a work means to copy from or adapt all or part of the work in
  64. a fashion requiring copyright permission, other than the making of an exact
  65. copy. The resulting work is called a "modified version" of the earlier work
  66. or a work "based on" the earlier work.
  67. A "covered work" means either the unmodified Program or a work based on the
  68. Program.
  69. To "propagate" a work means to do anything with it that, without permission,
  70. would make you directly or secondarily liable for infringement under applicable
  71. copyright law, except executing it on a computer or modifying a private copy.
  72. Propagation includes copying, distribution (with or without modification),
  73. making available to the public, and in some countries other activities as
  74. well.
  75. To "convey" a work means any kind of propagation that enables other parties
  76. to make or receive copies. Mere interaction with a user through a computer
  77. network, with no transfer of a copy, is not conveying.
  78. An interactive user interface displays "Appropriate Legal Notices" to the
  79. extent that it includes a convenient and prominently visible feature that
  80. (1) displays an appropriate copyright notice, and (2) tells the user that
  81. there is no warranty for the work (except to the extent that warranties are
  82. provided), that licensees may convey the work under this License, and how
  83. to view a copy of this License. If the interface presents a list of user commands
  84. or options, such as a menu, a prominent item in the list meets this criterion.
  85. 1. Source Code.
  86. The "source code" for a work means the preferred form of the work for making
  87. modifications to it. "Object code" means any non-source form of a work.
  88. A "Standard Interface" means an interface that either is an official standard
  89. defined by a recognized standards body, or, in the case of interfaces specified
  90. for a particular programming language, one that is widely used among developers
  91. working in that language.
  92. The "System Libraries" of an executable work include anything, other than
  93. the work as a whole, that (a) is included in the normal form of packaging
  94. a Major Component, but which is not part of that Major Component, and (b)
  95. serves only to enable use of the work with that Major Component, or to implement
  96. a Standard Interface for which an implementation is available to the public
  97. in source code form. A "Major Component", in this context, means a major essential
  98. component (kernel, window system, and so on) of the specific operating system
  99. (if any) on which the executable work runs, or a compiler used to produce
  100. the work, or an object code interpreter used to run it.
  101. The "Corresponding Source" for a work in object code form means all the source
  102. code needed to generate, install, and (for an executable work) run the object
  103. code and to modify the work, including scripts to control those activities.
  104. However, it does not include the work's System Libraries, or general-purpose
  105. tools or generally available free programs which are used unmodified in performing
  106. those activities but which are not part of the work. For example, Corresponding
  107. Source includes interface definition files associated with source files for
  108. the work, and the source code for shared libraries and dynamically linked
  109. subprograms that the work is specifically designed to require, such as by
  110. intimate data communication or control flow between those subprograms and
  111. other parts of the work.
  112. The Corresponding Source need not include anything that users can regenerate
  113. automatically from other parts of the Corresponding Source.
  114. The Corresponding Source for a work in source code form is that same work.
  115. 2. Basic Permissions.
  116. All rights granted under this License are granted for the term of copyright
  117. on the Program, and are irrevocable provided the stated conditions are met.
  118. This License explicitly affirms your unlimited permission to run the unmodified
  119. Program. The output from running a covered work is covered by this License
  120. only if the output, given its content, constitutes a covered work. This License
  121. acknowledges your rights of fair use or other equivalent, as provided by copyright
  122. law.
  123. You may make, run and propagate covered works that you do not convey, without
  124. conditions so long as your license otherwise remains in force. You may convey
  125. covered works to others for the sole purpose of having them make modifications
  126. exclusively for you, or provide you with facilities for running those works,
  127. provided that you comply with the terms of this License in conveying all material
  128. for which you do not control copyright. Those thus making or running the covered
  129. works for you must do so exclusively on your behalf, under your direction
  130. and control, on terms that prohibit them from making any copies of your copyrighted
  131. material outside their relationship with you.
  132. Conveying under any other circumstances is permitted solely under the conditions
  133. stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
  134. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  135. No covered work shall be deemed part of an effective technological measure
  136. under any applicable law fulfilling obligations under article 11 of the WIPO
  137. copyright treaty adopted on 20 December 1996, or similar laws prohibiting
  138. or restricting circumvention of such measures.
  139. When you convey a covered work, you waive any legal power to forbid circumvention
  140. of technological measures to the extent such circumvention is effected by
  141. exercising rights under this License with respect to the covered work, and
  142. you disclaim any intention to limit operation or modification of the work
  143. as a means of enforcing, against the work's users, your or third parties'
  144. legal rights to forbid circumvention of technological measures.
  145. 4. Conveying Verbatim Copies.
  146. You may convey verbatim copies of the Program's source code as you receive
  147. it, in any medium, provided that you conspicuously and appropriately publish
  148. on each copy an appropriate copyright notice; keep intact all notices stating
  149. that this License and any non-permissive terms added in accord with section
  150. 7 apply to the code; keep intact all notices of the absence of any warranty;
  151. and give all recipients a copy of this License along with the Program.
  152. You may charge any price or no price for each copy that you convey, and you
  153. may offer support or warranty protection for a fee.
  154. 5. Conveying Modified Source Versions.
  155. You may convey a work based on the Program, or the modifications to produce
  156. it from the Program, in the form of source code under the terms of section
  157. 4, provided that you also meet all of these conditions:
  158. a) The work must carry prominent notices stating that you modified it, and
  159. giving a relevant date.
  160. b) The work must carry prominent notices stating that it is released under
  161. this License and any conditions added under section 7. This requirement modifies
  162. the requirement in section 4 to "keep intact all notices".
  163. c) You must license the entire work, as a whole, under this License to anyone
  164. who comes into possession of a copy. This License will therefore apply, along
  165. with any applicable section 7 additional terms, to the whole of the work,
  166. and all its parts, regardless of how they are packaged. This License gives
  167. no permission to license the work in any other way, but it does not invalidate
  168. such permission if you have separately received it.
  169. d) If the work has interactive user interfaces, each must display Appropriate
  170. Legal Notices; however, if the Program has interactive interfaces that do
  171. not display Appropriate Legal Notices, your work need not make them do so.
  172. A compilation of a covered work with other separate and independent works,
  173. which are not by their nature extensions of the covered work, and which are
  174. not combined with it such as to form a larger program, in or on a volume of
  175. a storage or distribution medium, is called an "aggregate" if the compilation
  176. and its resulting copyright are not used to limit the access or legal rights
  177. of the compilation's users beyond what the individual works permit. Inclusion
  178. of a covered work in an aggregate does not cause this License to apply to
  179. the other parts of the aggregate.
  180. 6. Conveying Non-Source Forms.
  181. You may convey a covered work in object code form under the terms of sections
  182. 4 and 5, provided that you also convey the machine-readable Corresponding
  183. Source under the terms of this License, in one of these ways:
  184. a) Convey the object code in, or embodied in, a physical product (including
  185. a physical distribution medium), accompanied by the Corresponding Source fixed
  186. on a durable physical medium customarily used for software interchange.
  187. b) Convey the object code in, or embodied in, a physical product (including
  188. a physical distribution medium), accompanied by a written offer, valid for
  189. at least three years and valid for as long as you offer spare parts or customer
  190. support for that product model, to give anyone who possesses the object code
  191. either (1) a copy of the Corresponding Source for all the software in the
  192. product that is covered by this License, on a durable physical medium customarily
  193. used for software interchange, for a price no more than your reasonable cost
  194. of physically performing this conveying of source, or (2) access to copy the
  195. Corresponding Source from a network server at no charge.
  196. c) Convey individual copies of the object code with a copy of the written
  197. offer to provide the Corresponding Source. This alternative is allowed only
  198. occasionally and noncommercially, and only if you received the object code
  199. with such an offer, in accord with subsection 6b.
  200. d) Convey the object code by offering access from a designated place (gratis
  201. or for a charge), and offer equivalent access to the Corresponding Source
  202. in the same way through the same place at no further charge. You need not
  203. require recipients to copy the Corresponding Source along with the object
  204. code. If the place to copy the object code is a network server, the Corresponding
  205. Source may be on a different server (operated by you or a third party) that
  206. supports equivalent copying facilities, provided you maintain clear directions
  207. next to the object code saying where to find the Corresponding Source. Regardless
  208. of what server hosts the Corresponding Source, you remain obligated to ensure
  209. that it is available for as long as needed to satisfy these requirements.
  210. e) Convey the object code using peer-to-peer transmission, provided you inform
  211. other peers where the object code and Corresponding Source of the work are
  212. being offered to the general public at no charge under subsection 6d.
  213. A separable portion of the object code, whose source code is excluded from
  214. the Corresponding Source as a System Library, need not be included in conveying
  215. the object code work.
  216. A "User Product" is either (1) a "consumer product", which means any tangible
  217. personal property which is normally used for personal, family, or household
  218. purposes, or (2) anything designed or sold for incorporation into a dwelling.
  219. In determining whether a product is a consumer product, doubtful cases shall
  220. be resolved in favor of coverage. For a particular product received by a particular
  221. user, "normally used" refers to a typical or common use of that class of product,
  222. regardless of the status of the particular user or of the way in which the
  223. particular user actually uses, or expects or is expected to use, the product.
  224. A product is a consumer product regardless of whether the product has substantial
  225. commercial, industrial or non-consumer uses, unless such uses represent the
  226. only significant mode of use of the product.
  227. "Installation Information" for a User Product means any methods, procedures,
  228. authorization keys, or other information required to install and execute modified
  229. versions of a covered work in that User Product from a modified version of
  230. its Corresponding Source. The information must suffice to ensure that the
  231. continued functioning of the modified object code is in no case prevented
  232. or interfered with solely because modification has been made.
  233. If you convey an object code work under this section in, or with, or specifically
  234. for use in, a User Product, and the conveying occurs as part of a transaction
  235. in which the right of possession and use of the User Product is transferred
  236. to the recipient in perpetuity or for a fixed term (regardless of how the
  237. transaction is characterized), the Corresponding Source conveyed under this
  238. section must be accompanied by the Installation Information. But this requirement
  239. does not apply if neither you nor any third party retains the ability to install
  240. modified object code on the User Product (for example, the work has been installed
  241. in ROM).
  242. The requirement to provide Installation Information does not include a requirement
  243. to continue to provide support service, warranty, or updates for a work that
  244. has been modified or installed by the recipient, or for the User Product in
  245. which it has been modified or installed. Access to a network may be denied
  246. when the modification itself materially and adversely affects the operation
  247. of the network or violates the rules and protocols for communication across
  248. the network.
  249. Corresponding Source conveyed, and Installation Information provided, in accord
  250. with this section must be in a format that is publicly documented (and with
  251. an implementation available to the public in source code form), and must require
  252. no special password or key for unpacking, reading or copying.
  253. 7. Additional Terms.
  254. "Additional permissions" are terms that supplement the terms of this License
  255. by making exceptions from one or more of its conditions. Additional permissions
  256. that are applicable to the entire Program shall be treated as though they
  257. were included in this License, to the extent that they are valid under applicable
  258. law. If additional permissions apply only to part of the Program, that part
  259. may be used separately under those permissions, but the entire Program remains
  260. governed by this License without regard to the additional permissions.
  261. When you convey a copy of a covered work, you may at your option remove any
  262. additional permissions from that copy, or from any part of it. (Additional
  263. permissions may be written to require their own removal in certain cases when
  264. you modify the work.) You may place additional permissions on material, added
  265. by you to a covered work, for which you have or can give appropriate copyright
  266. permission.
  267. Notwithstanding any other provision of this License, for material you add
  268. to a covered work, you may (if authorized by the copyright holders of that
  269. material) supplement the terms of this License with terms:
  270. a) Disclaiming warranty or limiting liability differently from the terms of
  271. sections 15 and 16 of this License; or
  272. b) Requiring preservation of specified reasonable legal notices or author
  273. attributions in that material or in the Appropriate Legal Notices displayed
  274. by works containing it; or
  275. c) Prohibiting misrepresentation of the origin of that material, or requiring
  276. that modified versions of such material be marked in reasonable ways as different
  277. from the original version; or
  278. d) Limiting the use for publicity purposes of names of licensors or authors
  279. of the material; or
  280. e) Declining to grant rights under trademark law for use of some trade names,
  281. trademarks, or service marks; or
  282. f) Requiring indemnification of licensors and authors of that material by
  283. anyone who conveys the material (or modified versions of it) with contractual
  284. assumptions of liability to the recipient, for any liability that these contractual
  285. assumptions directly impose on those licensors and authors.
  286. All other non-permissive additional terms are considered "further restrictions"
  287. within the meaning of section 10. If the Program as you received it, or any
  288. part of it, contains a notice stating that it is governed by this License
  289. along with a term that is a further restriction, you may remove that term.
  290. If a license document contains a further restriction but permits relicensing
  291. or conveying under this License, you may add to a covered work material governed
  292. by the terms of that license document, provided that the further restriction
  293. does not survive such relicensing or conveying.
  294. If you add terms to a covered work in accord with this section, you must place,
  295. in the relevant source files, a statement of the additional terms that apply
  296. to those files, or a notice indicating where to find the applicable terms.
  297. Additional terms, permissive or non-permissive, may be stated in the form
  298. of a separately written license, or stated as exceptions; the above requirements
  299. apply either way.
  300. 8. Termination.
  301. You may not propagate or modify a covered work except as expressly provided
  302. under this License. Any attempt otherwise to propagate or modify it is void,
  303. and will automatically terminate your rights under this License (including
  304. any patent licenses granted under the third paragraph of section 11).
  305. However, if you cease all violation of this License, then your license from
  306. a particular copyright holder is reinstated (a) provisionally, unless and
  307. until the copyright holder explicitly and finally terminates your license,
  308. and (b) permanently, if the copyright holder fails to notify you of the violation
  309. by some reasonable means prior to 60 days after the cessation.
  310. Moreover, your license from a particular copyright holder is reinstated permanently
  311. if the copyright holder notifies you of the violation by some reasonable means,
  312. this is the first time you have received notice of violation of this License
  313. (for any work) from that copyright holder, and you cure the violation prior
  314. to 30 days after your receipt of the notice.
  315. Termination of your rights under this section does not terminate the licenses
  316. of parties who have received copies or rights from you under this License.
  317. If your rights have been terminated and not permanently reinstated, you do
  318. not qualify to receive new licenses for the same material under section 10.
  319. 9. Acceptance Not Required for Having Copies.
  320. You are not required to accept this License in order to receive or run a copy
  321. of the Program. Ancillary propagation of a covered work occurring solely as
  322. a consequence of using peer-to-peer transmission to receive a copy likewise
  323. does not require acceptance. However, nothing other than this License grants
  324. you permission to propagate or modify any covered work. These actions infringe
  325. copyright if you do not accept this License. Therefore, by modifying or propagating
  326. a covered work, you indicate your acceptance of this License to do so.
  327. 10. Automatic Licensing of Downstream Recipients.
  328. Each time you convey a covered work, the recipient automatically receives
  329. a license from the original licensors, to run, modify and propagate that work,
  330. subject to this License. You are not responsible for enforcing compliance
  331. by third parties with this License.
  332. An "entity transaction" is a transaction transferring control of an organization,
  333. or substantially all assets of one, or subdividing an organization, or merging
  334. organizations. If propagation of a covered work results from an entity transaction,
  335. each party to that transaction who receives a copy of the work also receives
  336. whatever licenses to the work the party's predecessor in interest had or could
  337. give under the previous paragraph, plus a right to possession of the Corresponding
  338. Source of the work from the predecessor in interest, if the predecessor has
  339. it or can get it with reasonable efforts.
  340. You may not impose any further restrictions on the exercise of the rights
  341. granted or affirmed under this License. For example, you may not impose a
  342. license fee, royalty, or other charge for exercise of rights granted under
  343. this License, and you may not initiate litigation (including a cross-claim
  344. or counterclaim in a lawsuit) alleging that any patent claim is infringed
  345. by making, using, selling, offering for sale, or importing the Program or
  346. any portion of it.
  347. 11. Patents.
  348. A "contributor" is a copyright holder who authorizes use under this License
  349. of the Program or a work on which the Program is based. The work thus licensed
  350. is called the contributor's "contributor version".
  351. A contributor's "essential patent claims" are all patent claims owned or controlled
  352. by the contributor, whether already acquired or hereafter acquired, that would
  353. be infringed by some manner, permitted by this License, of making, using,
  354. or selling its contributor version, but do not include claims that would be
  355. infringed only as a consequence of further modification of the contributor
  356. version. For purposes of this definition, "control" includes the right to
  357. grant patent sublicenses in a manner consistent with the requirements of this
  358. License.
  359. Each contributor grants you a non-exclusive, worldwide, royalty-free patent
  360. license under the contributor's essential patent claims, to make, use, sell,
  361. offer for sale, import and otherwise run, modify and propagate the contents
  362. of its contributor version.
  363. In the following three paragraphs, a "patent license" is any express agreement
  364. or commitment, however denominated, not to enforce a patent (such as an express
  365. permission to practice a patent or covenant not to sue for patent infringement).
  366. To "grant" such a patent license to a party means to make such an agreement
  367. or commitment not to enforce a patent against the party.
  368. If you convey a covered work, knowingly relying on a patent license, and the
  369. Corresponding Source of the work is not available for anyone to copy, free
  370. of charge and under the terms of this License, through a publicly available
  371. network server or other readily accessible means, then you must either (1)
  372. cause the Corresponding Source to be so available, or (2) arrange to deprive
  373. yourself of the benefit of the patent license for this particular work, or
  374. (3) arrange, in a manner consistent with the requirements of this License,
  375. to extend the patent license to downstream recipients. "Knowingly relying"
  376. means you have actual knowledge that, but for the patent license, your conveying
  377. the covered work in a country, or your recipient's use of the covered work
  378. in a country, would infringe one or more identifiable patents in that country
  379. that you have reason to believe are valid.
  380. If, pursuant to or in connection with a single transaction or arrangement,
  381. you convey, or propagate by procuring conveyance of, a covered work, and grant
  382. a patent license to some of the parties receiving the covered work authorizing
  383. them to use, propagate, modify or convey a specific copy of the covered work,
  384. then the patent license you grant is automatically extended to all recipients
  385. of the covered work and works based on it.
  386. A patent license is "discriminatory" if it does not include within the scope
  387. of its coverage, prohibits the exercise of, or is conditioned on the non-exercise
  388. of one or more of the rights that are specifically granted under this License.
  389. You may not convey a covered work if you are a party to an arrangement with
  390. a third party that is in the business of distributing software, under which
  391. you make payment to the third party based on the extent of your activity of
  392. conveying the work, and under which the third party grants, to any of the
  393. parties who would receive the covered work from you, a discriminatory patent
  394. license (a) in connection with copies of the covered work conveyed by you
  395. (or copies made from those copies), or (b) primarily for and in connection
  396. with specific products or compilations that contain the covered work, unless
  397. you entered into that arrangement, or that patent license was granted, prior
  398. to 28 March 2007.
  399. Nothing in this License shall be construed as excluding or limiting any implied
  400. license or other defenses to infringement that may otherwise be available
  401. to you under applicable patent law.
  402. 12. No Surrender of Others' Freedom.
  403. If conditions are imposed on you (whether by court order, agreement or otherwise)
  404. that contradict the conditions of this License, they do not excuse you from
  405. the conditions of this License. If you cannot convey a covered work so as
  406. to satisfy simultaneously your obligations under this License and any other
  407. pertinent obligations, then as a consequence you may not convey it at all.
  408. For example, if you agree to terms that obligate you to collect a royalty
  409. for further conveying from those to whom you convey the Program, the only
  410. way you could satisfy both those terms and this License would be to refrain
  411. entirely from conveying the Program.
  412. 13. Use with the GNU Affero General Public License.
  413. Notwithstanding any other provision of this License, you have permission to
  414. link or combine any covered work with a work licensed under version 3 of the
  415. GNU Affero General Public License into a single combined work, and to convey
  416. the resulting work. The terms of this License will continue to apply to the
  417. part which is the covered work, but the special requirements of the GNU Affero
  418. General Public License, section 13, concerning interaction through a network
  419. will apply to the combination as such.
  420. 14. Revised Versions of this License.
  421. The Free Software Foundation may publish revised and/or new versions of the
  422. GNU General Public License from time to time. Such new versions will be similar
  423. in spirit to the present version, but may differ in detail to address new
  424. problems or concerns.
  425. Each version is given a distinguishing version number. If the Program specifies
  426. that a certain numbered version of the GNU General Public License "or any
  427. later version" applies to it, you have the option of following the terms and
  428. conditions either of that numbered version or of any later version published
  429. by the Free Software Foundation. If the Program does not specify a version
  430. number of the GNU General Public License, you may choose any version ever
  431. published by the Free Software Foundation.
  432. If the Program specifies that a proxy can decide which future versions of
  433. the GNU General Public License can be used, that proxy's public statement
  434. of acceptance of a version permanently authorizes you to choose that version
  435. for the Program.
  436. Later license versions may give you additional or different permissions. However,
  437. no additional obligations are imposed on any author or copyright holder as
  438. a result of your choosing to follow a later version.
  439. 15. Disclaimer of Warranty.
  440. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
  441. LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  442. OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
  443. EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  444. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  445. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
  446. PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
  447. CORRECTION.
  448. 16. Limitation of Liability.
  449. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
  450. ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
  451. AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
  452. INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
  453. USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
  454. INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
  455. PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
  456. PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  457. 17. Interpretation of Sections 15 and 16.
  458. If the disclaimer of warranty and limitation of liability provided above cannot
  459. be given local legal effect according to their terms, reviewing courts shall
  460. apply local law that most closely approximates an absolute waiver of all civil
  461. liability in connection with the Program, unless a warranty or assumption
  462. of liability accompanies a copy of the Program in return for a fee. END OF
  463. TERMS AND CONDITIONS
  464. How to Apply These Terms to Your New Programs
  465. If you develop a new program, and you want it to be of the greatest possible
  466. use to the public, the best way to achieve this is to make it free software
  467. which everyone can redistribute and change under these terms.
  468. To do so, attach the following notices to the program. It is safest to attach
  469. them to the start of each source file to most effectively state the exclusion
  470. of warranty; and each file should have at least the "copyright" line and a
  471. pointer to where the full notice is found.
  472. <one line to give the program's name and a brief idea of what it does.>
  473. Copyright (C) <year> <name of author>
  474. This program is free software: you can redistribute it and/or modify it under
  475. the terms of the GNU General Public License as published by the Free Software
  476. Foundation, either version 3 of the License, or (at your option) any later
  477. version.
  478. This program is distributed in the hope that it will be useful, but WITHOUT
  479. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  480. FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  481. You should have received a copy of the GNU General Public License along with
  482. this program. If not, see <https://www.gnu.org/licenses/>.
  483. Also add information on how to contact you by electronic and paper mail.
  484. If the program does terminal interaction, make it output a short notice like
  485. this when it starts in an interactive mode:
  486. <program> Copyright (C) <year> <name of author>
  487. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  488. This is free software, and you are welcome to redistribute it under certain
  489. conditions; type `show c' for details.
  490. The hypothetical commands `show w' and `show c' should show the appropriate
  491. parts of the General Public License. Of course, your program's commands might
  492. be different; for a GUI interface, you would use an "about box".
  493. You should also get your employer (if you work as a programmer) or school,
  494. if any, to sign a "copyright disclaimer" for the program, if necessary. For
  495. more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>.
  496. The GNU General Public License does not permit incorporating your program
  497. into proprietary programs. If your program is a subroutine library, you may
  498. consider it more useful to permit linking proprietary applications with the
  499. library. If this is what you want to do, use the GNU Lesser General Public
  500. License instead of this License. But first, please read <https://www.gnu.org/
  501. licenses /why-not-lgpl.html>.
  502. =======
  503. GNU GENERAL PUBLIC LICENSE
  504. Version 3, 29 June 2007
  505. Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
  506. Everyone is permitted to copy and distribute verbatim copies
  507. of this license document, but changing it is not allowed.
  508. Preamble
  509. The GNU General Public License is a free, copyleft license for
  510. software and other kinds of works.
  511. The licenses for most software and other practical works are designed
  512. to take away your freedom to share and change the works. By contrast,
  513. the GNU General Public License is intended to guarantee your freedom to
  514. share and change all versions of a program--to make sure it remains free
  515. software for all its users. We, the Free Software Foundation, use the
  516. GNU General Public License for most of our software; it applies also to
  517. any other work released this way by its authors. You can apply it to
  518. your programs, too.
  519. When we speak of free software, we are referring to freedom, not
  520. price. Our General Public Licenses are designed to make sure that you
  521. have the freedom to distribute copies of free software (and charge for
  522. them if you wish), that you receive source code or can get it if you
  523. want it, that you can change the software or use pieces of it in new
  524. free programs, and that you know you can do these things.
  525. To protect your rights, we need to prevent others from denying you
  526. these rights or asking you to surrender the rights. Therefore, you have
  527. certain responsibilities if you distribute copies of the software, or if
  528. you modify it: responsibilities to respect the freedom of others.
  529. For example, if you distribute copies of such a program, whether
  530. gratis or for a fee, you must pass on to the recipients the same
  531. freedoms that you received. You must make sure that they, too, receive
  532. or can get the source code. And you must show them these terms so they
  533. know their rights.
  534. Developers that use the GNU GPL protect your rights with two steps:
  535. (1) assert copyright on the software, and (2) offer you this License
  536. giving you legal permission to copy, distribute and/or modify it.
  537. For the developers' and authors' protection, the GPL clearly explains
  538. that there is no warranty for this free software. For both users' and
  539. authors' sake, the GPL requires that modified versions be marked as
  540. changed, so that their problems will not be attributed erroneously to
  541. authors of previous versions.
  542. Some devices are designed to deny users access to install or run
  543. modified versions of the software inside them, although the manufacturer
  544. can do so. This is fundamentally incompatible with the aim of
  545. protecting users' freedom to change the software. The systematic
  546. pattern of such abuse occurs in the area of products for individuals to
  547. use, which is precisely where it is most unacceptable. Therefore, we
  548. have designed this version of the GPL to prohibit the practice for those
  549. products. If such problems arise substantially in other domains, we
  550. stand ready to extend this provision to those domains in future versions
  551. of the GPL, as needed to protect the freedom of users.
  552. Finally, every program is threatened constantly by software patents.
  553. States should not allow patents to restrict development and use of
  554. software on general-purpose computers, but in those that do, we wish to
  555. avoid the special danger that patents applied to a free program could
  556. make it effectively proprietary. To prevent this, the GPL assures that
  557. patents cannot be used to render the program non-free.
  558. The precise terms and conditions for copying, distribution and
  559. modification follow.
  560. TERMS AND CONDITIONS
  561. 0. Definitions.
  562. "This License" refers to version 3 of the GNU General Public License.
  563. "Copyright" also means copyright-like laws that apply to other kinds of
  564. works, such as semiconductor masks.
  565. "The Program" refers to any copyrightable work licensed under this
  566. License. Each licensee is addressed as "you". "Licensees" and
  567. "recipients" may be individuals or organizations.
  568. To "modify" a work means to copy from or adapt all or part of the work
  569. in a fashion requiring copyright permission, other than the making of an
  570. exact copy. The resulting work is called a "modified version" of the
  571. earlier work or a work "based on" the earlier work.
  572. A "covered work" means either the unmodified Program or a work based
  573. on the Program.
  574. To "propagate" a work means to do anything with it that, without
  575. permission, would make you directly or secondarily liable for
  576. infringement under applicable copyright law, except executing it on a
  577. computer or modifying a private copy. Propagation includes copying,
  578. distribution (with or without modification), making available to the
  579. public, and in some countries other activities as well.
  580. To "convey" a work means any kind of propagation that enables other
  581. parties to make or receive copies. Mere interaction with a user through
  582. a computer network, with no transfer of a copy, is not conveying.
  583. An interactive user interface displays "Appropriate Legal Notices"
  584. to the extent that it includes a convenient and prominently visible
  585. feature that (1) displays an appropriate copyright notice, and (2)
  586. tells the user that there is no warranty for the work (except to the
  587. extent that warranties are provided), that licensees may convey the
  588. work under this License, and how to view a copy of this License. If
  589. the interface presents a list of user commands or options, such as a
  590. menu, a prominent item in the list meets this criterion.
  591. 1. Source Code.
  592. The "source code" for a work means the preferred form of the work
  593. for making modifications to it. "Object code" means any non-source
  594. form of a work.
  595. A "Standard Interface" means an interface that either is an official
  596. standard defined by a recognized standards body, or, in the case of
  597. interfaces specified for a particular programming language, one that
  598. is widely used among developers working in that language.
  599. The "System Libraries" of an executable work include anything, other
  600. than the work as a whole, that (a) is included in the normal form of
  601. packaging a Major Component, but which is not part of that Major
  602. Component, and (b) serves only to enable use of the work with that
  603. Major Component, or to implement a Standard Interface for which an
  604. implementation is available to the public in source code form. A
  605. "Major Component", in this context, means a major essential component
  606. (kernel, window system, and so on) of the specific operating system
  607. (if any) on which the executable work runs, or a compiler used to
  608. produce the work, or an object code interpreter used to run it.
  609. The "Corresponding Source" for a work in object code form means all
  610. the source code needed to generate, install, and (for an executable
  611. work) run the object code and to modify the work, including scripts to
  612. control those activities. However, it does not include the work's
  613. System Libraries, or general-purpose tools or generally available free
  614. programs which are used unmodified in performing those activities but
  615. which are not part of the work. For example, Corresponding Source
  616. includes interface definition files associated with source files for
  617. the work, and the source code for shared libraries and dynamically
  618. linked subprograms that the work is specifically designed to require,
  619. such as by intimate data communication or control flow between those
  620. subprograms and other parts of the work.
  621. The Corresponding Source need not include anything that users
  622. can regenerate automatically from other parts of the Corresponding
  623. Source.
  624. The Corresponding Source for a work in source code form is that
  625. same work.
  626. 2. Basic Permissions.
  627. All rights granted under this License are granted for the term of
  628. copyright on the Program, and are irrevocable provided the stated
  629. conditions are met. This License explicitly affirms your unlimited
  630. permission to run the unmodified Program. The output from running a
  631. covered work is covered by this License only if the output, given its
  632. content, constitutes a covered work. This License acknowledges your
  633. rights of fair use or other equivalent, as provided by copyright law.
  634. You may make, run and propagate covered works that you do not
  635. convey, without conditions so long as your license otherwise remains
  636. in force. You may convey covered works to others for the sole purpose
  637. of having them make modifications exclusively for you, or provide you
  638. with facilities for running those works, provided that you comply with
  639. the terms of this License in conveying all material for which you do
  640. not control copyright. Those thus making or running the covered works
  641. for you must do so exclusively on your behalf, under your direction
  642. and control, on terms that prohibit them from making any copies of
  643. your copyrighted material outside their relationship with you.
  644. Conveying under any other circumstances is permitted solely under
  645. the conditions stated below. Sublicensing is not allowed; section 10
  646. makes it unnecessary.
  647. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  648. No covered work shall be deemed part of an effective technological
  649. measure under any applicable law fulfilling obligations under article
  650. 11 of the WIPO copyright treaty adopted on 20 December 1996, or
  651. similar laws prohibiting or restricting circumvention of such
  652. measures.
  653. When you convey a covered work, you waive any legal power to forbid
  654. circumvention of technological measures to the extent such circumvention
  655. is effected by exercising rights under this License with respect to
  656. the covered work, and you disclaim any intention to limit operation or
  657. modification of the work as a means of enforcing, against the work's
  658. users, your or third parties' legal rights to forbid circumvention of
  659. technological measures.
  660. 4. Conveying Verbatim Copies.
  661. You may convey verbatim copies of the Program's source code as you
  662. receive it, in any medium, provided that you conspicuously and
  663. appropriately publish on each copy an appropriate copyright notice;
  664. keep intact all notices stating that this License and any
  665. non-permissive terms added in accord with section 7 apply to the code;
  666. keep intact all notices of the absence of any warranty; and give all
  667. recipients a copy of this License along with the Program.
  668. You may charge any price or no price for each copy that you convey,
  669. and you may offer support or warranty protection for a fee.
  670. 5. Conveying Modified Source Versions.
  671. You may convey a work based on the Program, or the modifications to
  672. produce it from the Program, in the form of source code under the
  673. terms of section 4, provided that you also meet all of these conditions:
  674. a) The work must carry prominent notices stating that you modified
  675. it, and giving a relevant date.
  676. b) The work must carry prominent notices stating that it is
  677. released under this License and any conditions added under section
  678. 7. This requirement modifies the requirement in section 4 to
  679. "keep intact all notices".
  680. c) You must license the entire work, as a whole, under this
  681. License to anyone who comes into possession of a copy. This
  682. License will therefore apply, along with any applicable section 7
  683. additional terms, to the whole of the work, and all its parts,
  684. regardless of how they are packaged. This License gives no
  685. permission to license the work in any other way, but it does not
  686. invalidate such permission if you have separately received it.
  687. d) If the work has interactive user interfaces, each must display
  688. Appropriate Legal Notices; however, if the Program has interactive
  689. interfaces that do not display Appropriate Legal Notices, your
  690. work need not make them do so.
  691. A compilation of a covered work with other separate and independent
  692. works, which are not by their nature extensions of the covered work,
  693. and which are not combined with it such as to form a larger program,
  694. in or on a volume of a storage or distribution medium, is called an
  695. "aggregate" if the compilation and its resulting copyright are not
  696. used to limit the access or legal rights of the compilation's users
  697. beyond what the individual works permit. Inclusion of a covered work
  698. in an aggregate does not cause this License to apply to the other
  699. parts of the aggregate.
  700. 6. Conveying Non-Source Forms.
  701. You may convey a covered work in object code form under the terms
  702. of sections 4 and 5, provided that you also convey the
  703. machine-readable Corresponding Source under the terms of this License,
  704. in one of these ways:
  705. a) Convey the object code in, or embodied in, a physical product
  706. (including a physical distribution medium), accompanied by the
  707. Corresponding Source fixed on a durable physical medium
  708. customarily used for software interchange.
  709. b) Convey the object code in, or embodied in, a physical product
  710. (including a physical distribution medium), accompanied by a
  711. written offer, valid for at least three years and valid for as
  712. long as you offer spare parts or customer support for that product
  713. model, to give anyone who possesses the object code either (1) a
  714. copy of the Corresponding Source for all the software in the
  715. product that is covered by this License, on a durable physical
  716. medium customarily used for software interchange, for a price no
  717. more than your reasonable cost of physically performing this
  718. conveying of source, or (2) access to copy the
  719. Corresponding Source from a network server at no charge.
  720. c) Convey individual copies of the object code with a copy of the
  721. written offer to provide the Corresponding Source. This
  722. alternative is allowed only occasionally and noncommercially, and
  723. only if you received the object code with such an offer, in accord
  724. with subsection 6b.
  725. d) Convey the object code by offering access from a designated
  726. place (gratis or for a charge), and offer equivalent access to the
  727. Corresponding Source in the same way through the same place at no
  728. further charge. You need not require recipients to copy the
  729. Corresponding Source along with the object code. If the place to
  730. copy the object code is a network server, the Corresponding Source
  731. may be on a different server (operated by you or a third party)
  732. that supports equivalent copying facilities, provided you maintain
  733. clear directions next to the object code saying where to find the
  734. Corresponding Source. Regardless of what server hosts the
  735. Corresponding Source, you remain obligated to ensure that it is
  736. available for as long as needed to satisfy these requirements.
  737. e) Convey the object code using peer-to-peer transmission, provided
  738. you inform other peers where the object code and Corresponding
  739. Source of the work are being offered to the general public at no
  740. charge under subsection 6d.
  741. A separable portion of the object code, whose source code is excluded
  742. from the Corresponding Source as a System Library, need not be
  743. included in conveying the object code work.
  744. A "User Product" is either (1) a "consumer product", which means any
  745. tangible personal property which is normally used for personal, family,
  746. or household purposes, or (2) anything designed or sold for incorporation
  747. into a dwelling. In determining whether a product is a consumer product,
  748. doubtful cases shall be resolved in favor of coverage. For a particular
  749. product received by a particular user, "normally used" refers to a
  750. typical or common use of that class of product, regardless of the status
  751. of the particular user or of the way in which the particular user
  752. actually uses, or expects or is expected to use, the product. A product
  753. is a consumer product regardless of whether the product has substantial
  754. commercial, industrial or non-consumer uses, unless such uses represent
  755. the only significant mode of use of the product.
  756. "Installation Information" for a User Product means any methods,
  757. procedures, authorization keys, or other information required to install
  758. and execute modified versions of a covered work in that User Product from
  759. a modified version of its Corresponding Source. The information must
  760. suffice to ensure that the continued functioning of the modified object
  761. code is in no case prevented or interfered with solely because
  762. modification has been made.
  763. If you convey an object code work under this section in, or with, or
  764. specifically for use in, a User Product, and the conveying occurs as
  765. part of a transaction in which the right of possession and use of the
  766. User Product is transferred to the recipient in perpetuity or for a
  767. fixed term (regardless of how the transaction is characterized), the
  768. Corresponding Source conveyed under this section must be accompanied
  769. by the Installation Information. But this requirement does not apply
  770. if neither you nor any third party retains the ability to install
  771. modified object code on the User Product (for example, the work has
  772. been installed in ROM).
  773. The requirement to provide Installation Information does not include a
  774. requirement to continue to provide support service, warranty, or updates
  775. for a work that has been modified or installed by the recipient, or for
  776. the User Product in which it has been modified or installed. Access to a
  777. network may be denied when the modification itself materially and
  778. adversely affects the operation of the network or violates the rules and
  779. protocols for communication across the network.
  780. Corresponding Source conveyed, and Installation Information provided,
  781. in accord with this section must be in a format that is publicly
  782. documented (and with an implementation available to the public in
  783. source code form), and must require no special password or key for
  784. unpacking, reading or copying.
  785. 7. Additional Terms.
  786. "Additional permissions" are terms that supplement the terms of this
  787. License by making exceptions from one or more of its conditions.
  788. Additional permissions that are applicable to the entire Program shall
  789. be treated as though they were included in this License, to the extent
  790. that they are valid under applicable law. If additional permissions
  791. apply only to part of the Program, that part may be used separately
  792. under those permissions, but the entire Program remains governed by
  793. this License without regard to the additional permissions.
  794. When you convey a copy of a covered work, you may at your option
  795. remove any additional permissions from that copy, or from any part of
  796. it. (Additional permissions may be written to require their own
  797. removal in certain cases when you modify the work.) You may place
  798. additional permissions on material, added by you to a covered work,
  799. for which you have or can give appropriate copyright permission.
  800. Notwithstanding any other provision of this License, for material you
  801. add to a covered work, you may (if authorized by the copyright holders of
  802. that material) supplement the terms of this License with terms:
  803. a) Disclaiming warranty or limiting liability differently from the
  804. terms of sections 15 and 16 of this License; or
  805. b) Requiring preservation of specified reasonable legal notices or
  806. author attributions in that material or in the Appropriate Legal
  807. Notices displayed by works containing it; or
  808. c) Prohibiting misrepresentation of the origin of that material, or
  809. requiring that modified versions of such material be marked in
  810. reasonable ways as different from the original version; or
  811. d) Limiting the use for publicity purposes of names of licensors or
  812. authors of the material; or
  813. e) Declining to grant rights under trademark law for use of some
  814. trade names, trademarks, or service marks; or
  815. f) Requiring indemnification of licensors and authors of that
  816. material by anyone who conveys the material (or modified versions of
  817. it) with contractual assumptions of liability to the recipient, for
  818. any liability that these contractual assumptions directly impose on
  819. those licensors and authors.
  820. All other non-permissive additional terms are considered "further
  821. restrictions" within the meaning of section 10. If the Program as you
  822. received it, or any part of it, contains a notice stating that it is
  823. governed by this License along with a term that is a further
  824. restriction, you may remove that term. If a license document contains
  825. a further restriction but permits relicensing or conveying under this
  826. License, you may add to a covered work material governed by the terms
  827. of that license document, provided that the further restriction does
  828. not survive such relicensing or conveying.
  829. If you add terms to a covered work in accord with this section, you
  830. must place, in the relevant source files, a statement of the
  831. additional terms that apply to those files, or a notice indicating
  832. where to find the applicable terms.
  833. Additional terms, permissive or non-permissive, may be stated in the
  834. form of a separately written license, or stated as exceptions;
  835. the above requirements apply either way.
  836. 8. Termination.
  837. You may not propagate or modify a covered work except as expressly
  838. provided under this License. Any attempt otherwise to propagate or
  839. modify it is void, and will automatically terminate your rights under
  840. this License (including any patent licenses granted under the third
  841. paragraph of section 11).
  842. However, if you cease all violation of this License, then your
  843. license from a particular copyright holder is reinstated (a)
  844. provisionally, unless and until the copyright holder explicitly and
  845. finally terminates your license, and (b) permanently, if the copyright
  846. holder fails to notify you of the violation by some reasonable means
  847. prior to 60 days after the cessation.
  848. Moreover, your license from a particular copyright holder is
  849. reinstated permanently if the copyright holder notifies you of the
  850. violation by some reasonable means, this is the first time you have
  851. received notice of violation of this License (for any work) from that
  852. copyright holder, and you cure the violation prior to 30 days after
  853. your receipt of the notice.
  854. Termination of your rights under this section does not terminate the
  855. licenses of parties who have received copies or rights from you under
  856. this License. If your rights have been terminated and not permanently
  857. reinstated, you do not qualify to receive new licenses for the same
  858. material under section 10.
  859. 9. Acceptance Not Required for Having Copies.
  860. You are not required to accept this License in order to receive or
  861. run a copy of the Program. Ancillary propagation of a covered work
  862. occurring solely as a consequence of using peer-to-peer transmission
  863. to receive a copy likewise does not require acceptance. However,
  864. nothing other than this License grants you permission to propagate or
  865. modify any covered work. These actions infringe copyright if you do
  866. not accept this License. Therefore, by modifying or propagating a
  867. covered work, you indicate your acceptance of this License to do so.
  868. 10. Automatic Licensing of Downstream Recipients.
  869. Each time you convey a covered work, the recipient automatically
  870. receives a license from the original licensors, to run, modify and
  871. propagate that work, subject to this License. You are not responsible
  872. for enforcing compliance by third parties with this License.
  873. An "entity transaction" is a transaction transferring control of an
  874. organization, or substantially all assets of one, or subdividing an
  875. organization, or merging organizations. If propagation of a covered
  876. work results from an entity transaction, each party to that
  877. transaction who receives a copy of the work also receives whatever
  878. licenses to the work the party's predecessor in interest had or could
  879. give under the previous paragraph, plus a right to possession of the
  880. Corresponding Source of the work from the predecessor in interest, if
  881. the predecessor has it or can get it with reasonable efforts.
  882. You may not impose any further restrictions on the exercise of the
  883. rights granted or affirmed under this License. For example, you may
  884. not impose a license fee, royalty, or other charge for exercise of
  885. rights granted under this License, and you may not initiate litigation
  886. (including a cross-claim or counterclaim in a lawsuit) alleging that
  887. any patent claim is infringed by making, using, selling, offering for
  888. sale, or importing the Program or any portion of it.
  889. 11. Patents.
  890. A "contributor" is a copyright holder who authorizes use under this
  891. License of the Program or a work on which the Program is based. The
  892. work thus licensed is called the contributor's "contributor version".
  893. A contributor's "essential patent claims" are all patent claims
  894. owned or controlled by the contributor, whether already acquired or
  895. hereafter acquired, that would be infringed by some manner, permitted
  896. by this License, of making, using, or selling its contributor version,
  897. but do not include claims that would be infringed only as a
  898. consequence of further modification of the contributor version. For
  899. purposes of this definition, "control" includes the right to grant
  900. patent sublicenses in a manner consistent with the requirements of
  901. this License.
  902. Each contributor grants you a non-exclusive, worldwide, royalty-free
  903. patent license under the contributor's essential patent claims, to
  904. make, use, sell, offer for sale, import and otherwise run, modify and
  905. propagate the contents of its contributor version.
  906. In the following three paragraphs, a "patent license" is any express
  907. agreement or commitment, however denominated, not to enforce a patent
  908. (such as an express permission to practice a patent or covenant not to
  909. sue for patent infringement). To "grant" such a patent license to a
  910. party means to make such an agreement or commitment not to enforce a
  911. patent against the party.
  912. If you convey a covered work, knowingly relying on a patent license,
  913. and the Corresponding Source of the work is not available for anyone
  914. to copy, free of charge and under the terms of this License, through a
  915. publicly available network server or other readily accessible means,
  916. then you must either (1) cause the Corresponding Source to be so
  917. available, or (2) arrange to deprive yourself of the benefit of the
  918. patent license for this particular work, or (3) arrange, in a manner
  919. consistent with the requirements of this License, to extend the patent
  920. license to downstream recipients. "Knowingly relying" means you have
  921. actual knowledge that, but for the patent license, your conveying the
  922. covered work in a country, or your recipient's use of the covered work
  923. in a country, would infringe one or more identifiable patents in that
  924. country that you have reason to believe are valid.
  925. If, pursuant to or in connection with a single transaction or
  926. arrangement, you convey, or propagate by procuring conveyance of, a
  927. covered work, and grant a patent license to some of the parties
  928. receiving the covered work authorizing them to use, propagate, modify
  929. or convey a specific copy of the covered work, then the patent license
  930. you grant is automatically extended to all recipients of the covered
  931. work and works based on it.
  932. A patent license is "discriminatory" if it does not include within
  933. the scope of its coverage, prohibits the exercise of, or is
  934. conditioned on the non-exercise of one or more of the rights that are
  935. specifically granted under this License. You may not convey a covered
  936. work if you are a party to an arrangement with a third party that is
  937. in the business of distributing software, under which you make payment
  938. to the third party based on the extent of your activity of conveying
  939. the work, and under which the third party grants, to any of the
  940. parties who would receive the covered work from you, a discriminatory
  941. patent license (a) in connection with copies of the covered work
  942. conveyed by you (or copies made from those copies), or (b) primarily
  943. for and in connection with specific products or compilations that
  944. contain the covered work, unless you entered into that arrangement,
  945. or that patent license was granted, prior to 28 March 2007.
  946. Nothing in this License shall be construed as excluding or limiting
  947. any implied license or other defenses to infringement that may
  948. otherwise be available to you under applicable patent law.
  949. 12. No Surrender of Others' Freedom.
  950. If conditions are imposed on you (whether by court order, agreement or
  951. otherwise) that contradict the conditions of this License, they do not
  952. excuse you from the conditions of this License. If you cannot convey a
  953. covered work so as to satisfy simultaneously your obligations under this
  954. License and any other pertinent obligations, then as a consequence you may
  955. not convey it at all. For example, if you agree to terms that obligate you
  956. to collect a royalty for further conveying from those to whom you convey
  957. the Program, the only way you could satisfy both those terms and this
  958. License would be to refrain entirely from conveying the Program.
  959. 13. Use with the GNU Affero General Public License.
  960. Notwithstanding any other provision of this License, you have
  961. permission to link or combine any covered work with a work licensed
  962. under version 3 of the GNU Affero General Public License into a single
  963. combined work, and to convey the resulting work. The terms of this
  964. License will continue to apply to the part which is the covered work,
  965. but the special requirements of the GNU Affero General Public License,
  966. section 13, concerning interaction through a network will apply to the
  967. combination as such.
  968. 14. Revised Versions of this License.
  969. The Free Software Foundation may publish revised and/or new versions of
  970. the GNU General Public License from time to time. Such new versions will
  971. be similar in spirit to the present version, but may differ in detail to
  972. address new problems or concerns.
  973. Each version is given a distinguishing version number. If the
  974. Program specifies that a certain numbered version of the GNU General
  975. Public License "or any later version" applies to it, you have the
  976. option of following the terms and conditions either of that numbered
  977. version or of any later version published by the Free Software
  978. Foundation. If the Program does not specify a version number of the
  979. GNU General Public License, you may choose any version ever published
  980. by the Free Software Foundation.
  981. If the Program specifies that a proxy can decide which future
  982. versions of the GNU General Public License can be used, that proxy's
  983. public statement of acceptance of a version permanently authorizes you
  984. to choose that version for the Program.
  985. Later license versions may give you additional or different
  986. permissions. However, no additional obligations are imposed on any
  987. author or copyright holder as a result of your choosing to follow a
  988. later version.
  989. 15. Disclaimer of Warranty.
  990. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  991. APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  992. HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  993. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  994. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  995. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  996. IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  997. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  998. 16. Limitation of Liability.
  999. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  1000. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  1001. THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  1002. GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  1003. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  1004. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  1005. PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  1006. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  1007. SUCH DAMAGES.
  1008. 17. Interpretation of Sections 15 and 16.
  1009. If the disclaimer of warranty and limitation of liability provided
  1010. above cannot be given local legal effect according to their terms,
  1011. reviewing courts shall apply local law that most closely approximates
  1012. an absolute waiver of all civil liability in connection with the
  1013. Program, unless a warranty or assumption of liability accompanies a
  1014. copy of the Program in return for a fee.
  1015. END OF TERMS AND CONDITIONS
  1016. How to Apply These Terms to Your New Programs
  1017. If you develop a new program, and you want it to be of the greatest
  1018. possible use to the public, the best way to achieve this is to make it
  1019. free software which everyone can redistribute and change under these terms.
  1020. To do so, attach the following notices to the program. It is safest
  1021. to attach them to the start of each source file to most effectively
  1022. state the exclusion of warranty; and each file should have at least
  1023. the "copyright" line and a pointer to where the full notice is found.
  1024. <one line to give the program's name and a brief idea of what it does.>
  1025. Copyright (C) <year> <name of author>
  1026. This program is free software: you can redistribute it and/or modify
  1027. it under the terms of the GNU General Public License as published by
  1028. the Free Software Foundation, either version 3 of the License, or
  1029. (at your option) any later version.
  1030. This program is distributed in the hope that it will be useful,
  1031. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1032. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1033. GNU General Public License for more details.
  1034. You should have received a copy of the GNU General Public License
  1035. along with this program. If not, see <https://www.gnu.org/licenses/>.
  1036. Also add information on how to contact you by electronic and paper mail.
  1037. If the program does terminal interaction, make it output a short
  1038. notice like this when it starts in an interactive mode:
  1039. <program> Copyright (C) <year> <name of author>
  1040. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  1041. This is free software, and you are welcome to redistribute it
  1042. under certain conditions; type `show c' for details.
  1043. The hypothetical commands `show w' and `show c' should show the appropriate
  1044. parts of the General Public License. Of course, your program's commands
  1045. might be different; for a GUI interface, you would use an "about box".
  1046. You should also get your employer (if you work as a programmer) or school,
  1047. if any, to sign a "copyright disclaimer" for the program, if necessary.
  1048. For more information on this, and how to apply and follow the GNU GPL, see
  1049. <https://www.gnu.org/licenses/>.
  1050. The GNU General Public License does not permit incorporating your program
  1051. into proprietary programs. If your program is a subroutine library, you
  1052. may consider it more useful to permit linking proprietary applications with
  1053. the library. If this is what you want to do, use the GNU Lesser General
  1054. Public License instead of this License. But first, please read
  1055. <https://www.gnu.org/licenses/why-not-lgpl.html>.
  1056. >>>>>>> main