xref: /webtrees/public/ckeditor-4.15.1-custom/LICENSE.md (revision 2ebcf907ed34213f816592af04e6c160335d6311)
1Software License Agreement
2==========================
3
4CKEditor - The text editor for Internet - https://ckeditor.com/
5Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
6
7Licensed under the terms of any of the following licenses at your
8choice:
9
10 - GNU General Public License Version 2 or later (the "GPL")
11   https://www.gnu.org/licenses/gpl.html
12   (See Appendix A)
13
14 - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15   https://www.gnu.org/licenses/lgpl.html
16   (See Appendix B)
17
18 - Mozilla Public License Version 1.1 or later (the "MPL")
19   https://www.mozilla.org/MPL/MPL-1.1.html
20   (See Appendix C)
21
22You are not required to, but if you want to explicitly declare the
23license you have chosen to be bound to when using, reproducing,
24modifying and distributing this software, just include a text file
25titled "legal.txt" in your version of this software, indicating your
26license choice. In any case, your choice will not restrict any
27recipient of your version of this software to use, reproduce, modify
28and distribute this software under any of the above licenses.
29
30Sources of Intellectual Property Included in CKEditor
31-----------------------------------------------------
32
33Where not otherwise indicated, all CKEditor content is authored by
34CKSource engineers and consists of CKSource-owned intellectual
35property. In some specific instances, CKEditor will incorporate work
36done by developers outside of CKSource with their express permission.
37
38The following libraries are included in CKEditor under the MIT license (see Appendix D):
39
40* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2020, CKSource - Frederico Knabben.
41* PicoModal (included in `samples/js/sf.js`) - Copyright (c) 2012 James Frasca.
42* CodeMirror (included in the samples) - Copyright (C) 2014 by Marijn Haverbeke <marijnh@gmail.com> and others.
43* ES6Promise - Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors.
44
45Parts of code taken from the following libraries are included in CKEditor under the MIT license (see Appendix D):
46
47* jQuery (inspired the domReady function, ckeditor_base.js) - Copyright (c) 2011 John Resig, https://jquery.com/
48
49The following libraries are included in CKEditor under the SIL Open Font License, Version 1.1 (see Appendix E):
50
51* Font Awesome (included in the toolbar configurator) - Copyright (C) 2012 by Dave Gandy.
52
53The following libraries are included in CKEditor under the BSD-3 License (see Appendix F):
54
55* highlight.js (included in the `codesnippet` plugin) - Copyright (c) 2006, Ivan Sagalaev.
56* YUI Library (included in the `uicolor` plugin) - Copyright (c) 2009, Yahoo! Inc.
57
58
59Trademarks
60----------
61
62CKEditor is a trademark of CKSource - Frederico Knabben. All other brand
63and product names are trademarks, registered trademarks or service
64marks of their respective holders.
65
66---
67
68Appendix A: The GPL License
69---------------------------
70
71```
72GNU GENERAL PUBLIC LICENSE
73Version 2, June 1991
74
75 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
76 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
77 Everyone is permitted to copy and distribute verbatim copies
78 of this license document, but changing it is not allowed.
79
80Preamble
81
82  The licenses for most software are designed to take away your
83freedom to share and change it.  By contrast, the GNU General Public
84License is intended to guarantee your freedom to share and change free
85software-to make sure the software is free for all its users.  This
86General Public License applies to most of the Free Software
87Foundation's software and to any other program whose authors commit to
88using it.  (Some other Free Software Foundation software is covered by
89the GNU Lesser General Public License instead.)  You can apply it to
90your programs, too.
91
92  When we speak of free software, we are referring to freedom, not
93price.  Our General Public Licenses are designed to make sure that you
94have the freedom to distribute copies of free software (and charge for
95this service if you wish), that you receive source code or can get it
96if you want it, that you can change the software or use pieces of it
97in new free programs; and that you know you can do these things.
98
99  To protect your rights, we need to make restrictions that forbid
100anyone to deny you these rights or to ask you to surrender the rights.
101These restrictions translate to certain responsibilities for you if you
102distribute copies of the software, or if you modify it.
103
104  For example, if you distribute copies of such a program, whether
105gratis or for a fee, you must give the recipients all the rights that
106you have.  You must make sure that they, too, receive or can get the
107source code.  And you must show them these terms so they know their
108rights.
109
110  We protect your rights with two steps: (1) copyright the software, and
111(2) offer you this license which gives you legal permission to copy,
112distribute and/or modify the software.
113
114  Also, for each author's protection and ours, we want to make certain
115that everyone understands that there is no warranty for this free
116software.  If the software is modified by someone else and passed on, we
117want its recipients to know that what they have is not the original, so
118that any problems introduced by others will not reflect on the original
119authors' reputations.
120
121  Finally, any free program is threatened constantly by software
122patents.  We wish to avoid the danger that redistributors of a free
123program will individually obtain patent licenses, in effect making the
124program proprietary.  To prevent this, we have made it clear that any
125patent must be licensed for everyone's free use or not licensed at all.
126
127  The precise terms and conditions for copying, distribution and
128modification follow.
129
130GNU GENERAL PUBLIC LICENSE
131TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
132
133  0. This License applies to any program or other work which contains
134a notice placed by the copyright holder saying it may be distributed
135under the terms of this General Public License.  The "Program", below,
136refers to any such program or work, and a "work based on the Program"
137means either the Program or any derivative work under copyright law:
138that is to say, a work containing the Program or a portion of it,
139either verbatim or with modifications and/or translated into another
140language.  (Hereinafter, translation is included without limitation in
141the term "modification".)  Each licensee is addressed as "you".
142
143Activities other than copying, distribution and modification are not
144covered by this License; they are outside its scope.  The act of
145running the Program is not restricted, and the output from the Program
146is covered only if its contents constitute a work based on the
147Program (independent of having been made by running the Program).
148Whether that is true depends on what the Program does.
149
150  1. You may copy and distribute verbatim copies of the Program's
151source code as you receive it, in any medium, provided that you
152conspicuously and appropriately publish on each copy an appropriate
153copyright notice and disclaimer of warranty; keep intact all the
154notices that refer to this License and to the absence of any warranty;
155and give any other recipients of the Program a copy of this License
156along with the Program.
157
158You may charge a fee for the physical act of transferring a copy, and
159you may at your option offer warranty protection in exchange for a fee.
160
161  2. You may modify your copy or copies of the Program or any portion
162of it, thus forming a work based on the Program, and copy and
163distribute such modifications or work under the terms of Section 1
164above, provided that you also meet all of these conditions:
165
166    a) You must cause the modified files to carry prominent notices
167    stating that you changed the files and the date of any change.
168
169    b) You must cause any work that you distribute or publish, that in
170    whole or in part contains or is derived from the Program or any
171    part thereof, to be licensed as a whole at no charge to all third
172    parties under the terms of this License.
173
174    c) If the modified program normally reads commands interactively
175    when run, you must cause it, when started running for such
176    interactive use in the most ordinary way, to print or display an
177    announcement including an appropriate copyright notice and a
178    notice that there is no warranty (or else, saying that you provide
179    a warranty) and that users may redistribute the program under
180    these conditions, and telling the user how to view a copy of this
181    License.  (Exception: if the Program itself is interactive but
182    does not normally print such an announcement, your work based on
183    the Program is not required to print an announcement.)
184
185These requirements apply to the modified work as a whole.  If
186identifiable sections of that work are not derived from the Program,
187and can be reasonably considered independent and separate works in
188themselves, then this License, and its terms, do not apply to those
189sections when you distribute them as separate works.  But when you
190distribute the same sections as part of a whole which is a work based
191on the Program, the distribution of the whole must be on the terms of
192this License, whose permissions for other licensees extend to the
193entire whole, and thus to each and every part regardless of who wrote it.
194
195Thus, it is not the intent of this section to claim rights or contest
196your rights to work written entirely by you; rather, the intent is to
197exercise the right to control the distribution of derivative or
198collective works based on the Program.
199
200In addition, mere aggregation of another work not based on the Program
201with the Program (or with a work based on the Program) on a volume of
202a storage or distribution medium does not bring the other work under
203the scope of this License.
204
205  3. You may copy and distribute the Program (or a work based on it,
206under Section 2) in object code or executable form under the terms of
207Sections 1 and 2 above provided that you also do one of the following:
208
209    a) Accompany it with the complete corresponding machine-readable
210    source code, which must be distributed under the terms of Sections
211    1 and 2 above on a medium customarily used for software interchange; or,
212
213    b) Accompany it with a written offer, valid for at least three
214    years, to give any third party, for a charge no more than your
215    cost of physically performing source distribution, a complete
216    machine-readable copy of the corresponding source code, to be
217    distributed under the terms of Sections 1 and 2 above on a medium
218    customarily used for software interchange; or,
219
220    c) Accompany it with the information you received as to the offer
221    to distribute corresponding source code.  (This alternative is
222    allowed only for noncommercial distribution and only if you
223    received the program in object code or executable form with such
224    an offer, in accord with Subsection b above.)
225
226The source code for a work means the preferred form of the work for
227making modifications to it.  For an executable work, complete source
228code means all the source code for all modules it contains, plus any
229associated interface definition files, plus the scripts used to
230control compilation and installation of the executable.  However, as a
231special exception, the source code distributed need not include
232anything that is normally distributed (in either source or binary
233form) with the major components (compiler, kernel, and so on) of the
234operating system on which the executable runs, unless that component
235itself accompanies the executable.
236
237If distribution of executable or object code is made by offering
238access to copy from a designated place, then offering equivalent
239access to copy the source code from the same place counts as
240distribution of the source code, even though third parties are not
241compelled to copy the source along with the object code.
242
243  4. You may not copy, modify, sublicense, or distribute the Program
244except as expressly provided under this License.  Any attempt
245otherwise to copy, modify, sublicense or distribute the Program is
246void, and will automatically terminate your rights under this License.
247However, parties who have received copies, or rights, from you under
248this License will not have their licenses terminated so long as such
249parties remain in full compliance.
250
251  5. You are not required to accept this License, since you have not
252signed it.  However, nothing else grants you permission to modify or
253distribute the Program or its derivative works.  These actions are
254prohibited by law if you do not accept this License.  Therefore, by
255modifying or distributing the Program (or any work based on the
256Program), you indicate your acceptance of this License to do so, and
257all its terms and conditions for copying, distributing or modifying
258the Program or works based on it.
259
260  6. Each time you redistribute the Program (or any work based on the
261Program), the recipient automatically receives a license from the
262original licensor to copy, distribute or modify the Program subject to
263these terms and conditions.  You may not impose any further
264restrictions on the recipients' exercise of the rights granted herein.
265You are not responsible for enforcing compliance by third parties to
266this License.
267
268  7. If, as a consequence of a court judgment or allegation of patent
269infringement or for any other reason (not limited to patent issues),
270conditions are imposed on you (whether by court order, agreement or
271otherwise) that contradict the conditions of this License, they do not
272excuse you from the conditions of this License.  If you cannot
273distribute so as to satisfy simultaneously your obligations under this
274License and any other pertinent obligations, then as a consequence you
275may not distribute the Program at all.  For example, if a patent
276license would not permit royalty-free redistribution of the Program by
277all those who receive copies directly or indirectly through you, then
278the only way you could satisfy both it and this License would be to
279refrain entirely from distribution of the Program.
280
281If any portion of this section is held invalid or unenforceable under
282any particular circumstance, the balance of the section is intended to
283apply and the section as a whole is intended to apply in other
284circumstances.
285
286It is not the purpose of this section to induce you to infringe any
287patents or other property right claims or to contest validity of any
288such claims; this section has the sole purpose of protecting the
289integrity of the free software distribution system, which is
290implemented by public license practices.  Many people have made
291generous contributions to the wide range of software distributed
292through that system in reliance on consistent application of that
293system; it is up to the author/donor to decide if he or she is willing
294to distribute software through any other system and a licensee cannot
295impose that choice.
296
297This section is intended to make thoroughly clear what is believed to
298be a consequence of the rest of this License.
299
300  8. If the distribution and/or use of the Program is restricted in
301certain countries either by patents or by copyrighted interfaces, the
302original copyright holder who places the Program under this License
303may add an explicit geographical distribution limitation excluding
304those countries, so that distribution is permitted only in or among
305countries not thus excluded.  In such case, this License incorporates
306the limitation as if written in the body of this License.
307
308  9. The Free Software Foundation may publish revised and/or new versions
309of the General Public License from time to time.  Such new versions will
310be similar in spirit to the present version, but may differ in detail to
311address new problems or concerns.
312
313Each version is given a distinguishing version number.  If the Program
314specifies a version number of this License which applies to it and "any
315later version", you have the option of following the terms and conditions
316either of that version or of any later version published by the Free
317Software Foundation.  If the Program does not specify a version number of
318this License, you may choose any version ever published by the Free Software
319Foundation.
320
321  10. If you wish to incorporate parts of the Program into other free
322programs whose distribution conditions are different, write to the author
323to ask for permission.  For software which is copyrighted by the Free
324Software Foundation, write to the Free Software Foundation; we sometimes
325make exceptions for this.  Our decision will be guided by the two goals
326of preserving the free status of all derivatives of our free software and
327of promoting the sharing and reuse of software generally.
328
329NO WARRANTY
330
331  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
332FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
333OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
334PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
335OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
336MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
337TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
338PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
339REPAIR OR CORRECTION.
340
341  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
342WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
343REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
344INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
345OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
346TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
347YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
348PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
349POSSIBILITY OF SUCH DAMAGES.
350
351END OF TERMS AND CONDITIONS
352```
353
354Appendix B: The LGPL License
355----------------------------
356
357```
358GNU LESSER GENERAL PUBLIC LICENSE
359Version 2.1, February 1999
360
361 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
362     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
363 Everyone is permitted to copy and distribute verbatim copies
364 of this license document, but changing it is not allowed.
365
366[This is the first released version of the Lesser GPL.  It also counts
367 as the successor of the GNU Library Public License, version 2, hence
368 the version number 2.1.]
369
370Preamble
371
372  The licenses for most software are designed to take away your
373freedom to share and change it.  By contrast, the GNU General Public
374Licenses are intended to guarantee your freedom to share and change
375free software-to make sure the software is free for all its users.
376
377  This license, the Lesser General Public License, applies to some
378specially designated software packages-typically libraries-of the
379Free Software Foundation and other authors who decide to use it.  You
380can use it too, but we suggest you first think carefully about whether
381this license or the ordinary General Public License is the better
382strategy to use in any particular case, based on the explanations below.
383
384  When we speak of free software, we are referring to freedom of use,
385not price.  Our General Public Licenses are designed to make sure that
386you have the freedom to distribute copies of free software (and charge
387for this service if you wish); that you receive source code or can get
388it if you want it; that you can change the software and use pieces of
389it in new free programs; and that you are informed that you can do
390these things.
391
392  To protect your rights, we need to make restrictions that forbid
393distributors to deny you these rights or to ask you to surrender these
394rights.  These restrictions translate to certain responsibilities for
395you if you distribute copies of the library or if you modify it.
396
397  For example, if you distribute copies of the library, whether gratis
398or for a fee, you must give the recipients all the rights that we gave
399you.  You must make sure that they, too, receive or can get the source
400code.  If you link other code with the library, you must provide
401complete object files to the recipients, so that they can relink them
402with the library after making changes to the library and recompiling
403it.  And you must show them these terms so they know their rights.
404
405  We protect your rights with a two-step method: (1) we copyright the
406library, and (2) we offer you this license, which gives you legal
407permission to copy, distribute and/or modify the library.
408
409  To protect each distributor, we want to make it very clear that
410there is no warranty for the free library.  Also, if the library is
411modified by someone else and passed on, the recipients should know
412that what they have is not the original version, so that the original
413author's reputation will not be affected by problems that might be
414introduced by others.
415
416  Finally, software patents pose a constant threat to the existence of
417any free program.  We wish to make sure that a company cannot
418effectively restrict the users of a free program by obtaining a
419restrictive license from a patent holder.  Therefore, we insist that
420any patent license obtained for a version of the library must be
421consistent with the full freedom of use specified in this license.
422
423  Most GNU software, including some libraries, is covered by the
424ordinary GNU General Public License.  This license, the GNU Lesser
425General Public License, applies to certain designated libraries, and
426is quite different from the ordinary General Public License.  We use
427this license for certain libraries in order to permit linking those
428libraries into non-free programs.
429
430  When a program is linked with a library, whether statically or using
431a shared library, the combination of the two is legally speaking a
432combined work, a derivative of the original library.  The ordinary
433General Public License therefore permits such linking only if the
434entire combination fits its criteria of freedom.  The Lesser General
435Public License permits more lax criteria for linking other code with
436the library.
437
438  We call this license the "Lesser" General Public License because it
439does Less to protect the user's freedom than the ordinary General
440Public License.  It also provides other free software developers Less
441of an advantage over competing non-free programs.  These disadvantages
442are the reason we use the ordinary General Public License for many
443libraries.  However, the Lesser license provides advantages in certain
444special circumstances.
445
446  For example, on rare occasions, there may be a special need to
447encourage the widest possible use of a certain library, so that it becomes
448a de-facto standard.  To achieve this, non-free programs must be
449allowed to use the library.  A more frequent case is that a free
450library does the same job as widely used non-free libraries.  In this
451case, there is little to gain by limiting the free library to free
452software only, so we use the Lesser General Public License.
453
454  In other cases, permission to use a particular library in non-free
455programs enables a greater number of people to use a large body of
456free software.  For example, permission to use the GNU C Library in
457non-free programs enables many more people to use the whole GNU
458operating system, as well as its variant, the GNU/Linux operating
459system.
460
461  Although the Lesser General Public License is Less protective of the
462users' freedom, it does ensure that the user of a program that is
463linked with the Library has the freedom and the wherewithal to run
464that program using a modified version of the Library.
465
466  The precise terms and conditions for copying, distribution and
467modification follow.  Pay close attention to the difference between a
468"work based on the library" and a "work that uses the library".  The
469former contains code derived from the library, whereas the latter must
470be combined with the library in order to run.
471
472GNU LESSER GENERAL PUBLIC LICENSE
473TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
474
475  0. This License Agreement applies to any software library or other
476program which contains a notice placed by the copyright holder or
477other authorized party saying it may be distributed under the terms of
478this Lesser General Public License (also called "this License").
479Each licensee is addressed as "you".
480
481  A "library" means a collection of software functions and/or data
482prepared so as to be conveniently linked with application programs
483(which use some of those functions and data) to form executables.
484
485  The "Library", below, refers to any such software library or work
486which has been distributed under these terms.  A "work based on the
487Library" means either the Library or any derivative work under
488copyright law: that is to say, a work containing the Library or a
489portion of it, either verbatim or with modifications and/or translated
490straightforwardly into another language.  (Hereinafter, translation is
491included without limitation in the term "modification".)
492
493  "Source code" for a work means the preferred form of the work for
494making modifications to it.  For a library, complete source code means
495all the source code for all modules it contains, plus any associated
496interface definition files, plus the scripts used to control compilation
497and installation of the library.
498
499  Activities other than copying, distribution and modification are not
500covered by this License; they are outside its scope.  The act of
501running a program using the Library is not restricted, and output from
502such a program is covered only if its contents constitute a work based
503on the Library (independent of the use of the Library in a tool for
504writing it).  Whether that is true depends on what the Library does
505and what the program that uses the Library does.
506
507  1. You may copy and distribute verbatim copies of the Library's
508complete source code as you receive it, in any medium, provided that
509you conspicuously and appropriately publish on each copy an
510appropriate copyright notice and disclaimer of warranty; keep intact
511all the notices that refer to this License and to the absence of any
512warranty; and distribute a copy of this License along with the
513Library.
514
515  You may charge a fee for the physical act of transferring a copy,
516and you may at your option offer warranty protection in exchange for a
517fee.
518
519  2. You may modify your copy or copies of the Library or any portion
520of it, thus forming a work based on the Library, and copy and
521distribute such modifications or work under the terms of Section 1
522above, provided that you also meet all of these conditions:
523
524    a) The modified work must itself be a software library.
525
526    b) You must cause the files modified to carry prominent notices
527    stating that you changed the files and the date of any change.
528
529    c) You must cause the whole of the work to be licensed at no
530    charge to all third parties under the terms of this License.
531
532    d) If a facility in the modified Library refers to a function or a
533    table of data to be supplied by an application program that uses
534    the facility, other than as an argument passed when the facility
535    is invoked, then you must make a good faith effort to ensure that,
536    in the event an application does not supply such function or
537    table, the facility still operates, and performs whatever part of
538    its purpose remains meaningful.
539
540    (For example, a function in a library to compute square roots has
541    a purpose that is entirely well-defined independent of the
542    application.  Therefore, Subsection 2d requires that any
543    application-supplied function or table used by this function must
544    be optional: if the application does not supply it, the square
545    root function must still compute square roots.)
546
547These requirements apply to the modified work as a whole.  If
548identifiable sections of that work are not derived from the Library,
549and can be reasonably considered independent and separate works in
550themselves, then this License, and its terms, do not apply to those
551sections when you distribute them as separate works.  But when you
552distribute the same sections as part of a whole which is a work based
553on the Library, the distribution of the whole must be on the terms of
554this License, whose permissions for other licensees extend to the
555entire whole, and thus to each and every part regardless of who wrote
556it.
557
558Thus, it is not the intent of this section to claim rights or contest
559your rights to work written entirely by you; rather, the intent is to
560exercise the right to control the distribution of derivative or
561collective works based on the Library.
562
563In addition, mere aggregation of another work not based on the Library
564with the Library (or with a work based on the Library) on a volume of
565a storage or distribution medium does not bring the other work under
566the scope of this License.
567
568  3. You may opt to apply the terms of the ordinary GNU General Public
569License instead of this License to a given copy of the Library.  To do
570this, you must alter all the notices that refer to this License, so
571that they refer to the ordinary GNU General Public License, version 2,
572instead of to this License.  (If a newer version than version 2 of the
573ordinary GNU General Public License has appeared, then you can specify
574that version instead if you wish.)  Do not make any other change in
575these notices.
576
577  Once this change is made in a given copy, it is irreversible for
578that copy, so the ordinary GNU General Public License applies to all
579subsequent copies and derivative works made from that copy.
580
581  This option is useful when you wish to copy part of the code of
582the Library into a program that is not a library.
583
584  4. You may copy and distribute the Library (or a portion or
585derivative of it, under Section 2) in object code or executable form
586under the terms of Sections 1 and 2 above provided that you accompany
587it with the complete corresponding machine-readable source code, which
588must be distributed under the terms of Sections 1 and 2 above on a
589medium customarily used for software interchange.
590
591  If distribution of object code is made by offering access to copy
592from a designated place, then offering equivalent access to copy the
593source code from the same place satisfies the requirement to
594distribute the source code, even though third parties are not
595compelled to copy the source along with the object code.
596
597  5. A program that contains no derivative of any portion of the
598Library, but is designed to work with the Library by being compiled or
599linked with it, is called a "work that uses the Library".  Such a
600work, in isolation, is not a derivative work of the Library, and
601therefore falls outside the scope of this License.
602
603  However, linking a "work that uses the Library" with the Library
604creates an executable that is a derivative of the Library (because it
605contains portions of the Library), rather than a "work that uses the
606library".  The executable is therefore covered by this License.
607Section 6 states terms for distribution of such executables.
608
609  When a "work that uses the Library" uses material from a header file
610that is part of the Library, the object code for the work may be a
611derivative work of the Library even though the source code is not.
612Whether this is true is especially significant if the work can be
613linked without the Library, or if the work is itself a library.  The
614threshold for this to be true is not precisely defined by law.
615
616  If such an object file uses only numerical parameters, data
617structure layouts and accessors, and small macros and small inline
618functions (ten lines or less in length), then the use of the object
619file is unrestricted, regardless of whether it is legally a derivative
620work.  (Executables containing this object code plus portions of the
621Library will still fall under Section 6.)
622
623  Otherwise, if the work is a derivative of the Library, you may
624distribute the object code for the work under the terms of Section 6.
625Any executables containing that work also fall under Section 6,
626whether or not they are linked directly with the Library itself.
627
628  6. As an exception to the Sections above, you may also combine or
629link a "work that uses the Library" with the Library to produce a
630work containing portions of the Library, and distribute that work
631under terms of your choice, provided that the terms permit
632modification of the work for the customer's own use and reverse
633engineering for debugging such modifications.
634
635  You must give prominent notice with each copy of the work that the
636Library is used in it and that the Library and its use are covered by
637this License.  You must supply a copy of this License.  If the work
638during execution displays copyright notices, you must include the
639copyright notice for the Library among them, as well as a reference
640directing the user to the copy of this License.  Also, you must do one
641of these things:
642
643    a) Accompany the work with the complete corresponding
644    machine-readable source code for the Library including whatever
645    changes were used in the work (which must be distributed under
646    Sections 1 and 2 above); and, if the work is an executable linked
647    with the Library, with the complete machine-readable "work that
648    uses the Library", as object code and/or source code, so that the
649    user can modify the Library and then relink to produce a modified
650    executable containing the modified Library.  (It is understood
651    that the user who changes the contents of definitions files in the
652    Library will not necessarily be able to recompile the application
653    to use the modified definitions.)
654
655    b) Use a suitable shared library mechanism for linking with the
656    Library.  A suitable mechanism is one that (1) uses at run time a
657    copy of the library already present on the user's computer system,
658    rather than copying library functions into the executable, and (2)
659    will operate properly with a modified version of the library, if
660    the user installs one, as long as the modified version is
661    interface-compatible with the version that the work was made with.
662
663    c) Accompany the work with a written offer, valid for at
664    least three years, to give the same user the materials
665    specified in Subsection 6a, above, for a charge no more
666    than the cost of performing this distribution.
667
668    d) If distribution of the work is made by offering access to copy
669    from a designated place, offer equivalent access to copy the above
670    specified materials from the same place.
671
672    e) Verify that the user has already received a copy of these
673    materials or that you have already sent this user a copy.
674
675  For an executable, the required form of the "work that uses the
676Library" must include any data and utility programs needed for
677reproducing the executable from it.  However, as a special exception,
678the materials to be distributed need not include anything that is
679normally distributed (in either source or binary form) with the major
680components (compiler, kernel, and so on) of the operating system on
681which the executable runs, unless that component itself accompanies
682the executable.
683
684  It may happen that this requirement contradicts the license
685restrictions of other proprietary libraries that do not normally
686accompany the operating system.  Such a contradiction means you cannot
687use both them and the Library together in an executable that you
688distribute.
689
690  7. You may place library facilities that are a work based on the
691Library side-by-side in a single library together with other library
692facilities not covered by this License, and distribute such a combined
693library, provided that the separate distribution of the work based on
694the Library and of the other library facilities is otherwise
695permitted, and provided that you do these two things:
696
697    a) Accompany the combined library with a copy of the same work
698    based on the Library, uncombined with any other library
699    facilities.  This must be distributed under the terms of the
700    Sections above.
701
702    b) Give prominent notice with the combined library of the fact
703    that part of it is a work based on the Library, and explaining
704    where to find the accompanying uncombined form of the same work.
705
706  8. You may not copy, modify, sublicense, link with, or distribute
707the Library except as expressly provided under this License.  Any
708attempt otherwise to copy, modify, sublicense, link with, or
709distribute the Library is void, and will automatically terminate your
710rights under this License.  However, parties who have received copies,
711or rights, from you under this License will not have their licenses
712terminated so long as such parties remain in full compliance.
713
714  9. You are not required to accept this License, since you have not
715signed it.  However, nothing else grants you permission to modify or
716distribute the Library or its derivative works.  These actions are
717prohibited by law if you do not accept this License.  Therefore, by
718modifying or distributing the Library (or any work based on the
719Library), you indicate your acceptance of this License to do so, and
720all its terms and conditions for copying, distributing or modifying
721the Library or works based on it.
722
723  10. Each time you redistribute the Library (or any work based on the
724Library), the recipient automatically receives a license from the
725original licensor to copy, distribute, link with or modify the Library
726subject to these terms and conditions.  You may not impose any further
727restrictions on the recipients' exercise of the rights granted herein.
728You are not responsible for enforcing compliance by third parties with
729this License.
730
731  11. If, as a consequence of a court judgment or allegation of patent
732infringement or for any other reason (not limited to patent issues),
733conditions are imposed on you (whether by court order, agreement or
734otherwise) that contradict the conditions of this License, they do not
735excuse you from the conditions of this License.  If you cannot
736distribute so as to satisfy simultaneously your obligations under this
737License and any other pertinent obligations, then as a consequence you
738may not distribute the Library at all.  For example, if a patent
739license would not permit royalty-free redistribution of the Library by
740all those who receive copies directly or indirectly through you, then
741the only way you could satisfy both it and this License would be to
742refrain entirely from distribution of the Library.
743
744If any portion of this section is held invalid or unenforceable under any
745particular circumstance, the balance of the section is intended to apply,
746and the section as a whole is intended to apply in other circumstances.
747
748It is not the purpose of this section to induce you to infringe any
749patents or other property right claims or to contest validity of any
750such claims; this section has the sole purpose of protecting the
751integrity of the free software distribution system which is
752implemented by public license practices.  Many people have made
753generous contributions to the wide range of software distributed
754through that system in reliance on consistent application of that
755system; it is up to the author/donor to decide if he or she is willing
756to distribute software through any other system and a licensee cannot
757impose that choice.
758
759This section is intended to make thoroughly clear what is believed to
760be a consequence of the rest of this License.
761
762  12. If the distribution and/or use of the Library is restricted in
763certain countries either by patents or by copyrighted interfaces, the
764original copyright holder who places the Library under this License may add
765an explicit geographical distribution limitation excluding those countries,
766so that distribution is permitted only in or among countries not thus
767excluded.  In such case, this License incorporates the limitation as if
768written in the body of this License.
769
770  13. The Free Software Foundation may publish revised and/or new
771versions of the Lesser General Public License from time to time.
772Such new versions will be similar in spirit to the present version,
773but may differ in detail to address new problems or concerns.
774
775Each version is given a distinguishing version number.  If the Library
776specifies a version number of this License which applies to it and
777"any later version", you have the option of following the terms and
778conditions either of that version or of any later version published by
779the Free Software Foundation.  If the Library does not specify a
780license version number, you may choose any version ever published by
781the Free Software Foundation.
782
783  14. If you wish to incorporate parts of the Library into other free
784programs whose distribution conditions are incompatible with these,
785write to the author to ask for permission.  For software which is
786copyrighted by the Free Software Foundation, write to the Free
787Software Foundation; we sometimes make exceptions for this.  Our
788decision will be guided by the two goals of preserving the free status
789of all derivatives of our free software and of promoting the sharing
790and reuse of software generally.
791
792NO WARRANTY
793
794  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
795WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
796EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
797OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
798KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
799IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
800PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
801LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
802THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
803
804  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
805WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
806AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
807FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
808CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
809LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
810RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
811FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
812SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
813DAMAGES.
814
815END OF TERMS AND CONDITIONS
816```
817
818Appendix C: The MPL License
819---------------------------
820
821```
822MOZILLA PUBLIC LICENSE
823Version 1.1
824
8251. Definitions.
826
827     1.0.1. "Commercial Use" means distribution or otherwise making the
828     Covered Code available to a third party.
829
830     1.1. "Contributor" means each entity that creates or contributes to
831     the creation of Modifications.
832
833     1.2. "Contributor Version" means the combination of the Original
834     Code, prior Modifications used by a Contributor, and the Modifications
835     made by that particular Contributor.
836
837     1.3. "Covered Code" means the Original Code or Modifications or the
838     combination of the Original Code and Modifications, in each case
839     including portions thereof.
840
841     1.4. "Electronic Distribution Mechanism" means a mechanism generally
842     accepted in the software development community for the electronic
843     transfer of data.
844
845     1.5. "Executable" means Covered Code in any form other than Source
846     Code.
847
848     1.6. "Initial Developer" means the individual or entity identified
849     as the Initial Developer in the Source Code notice required by Exhibit
850     A.
851
852     1.7. "Larger Work" means a work which combines Covered Code or
853     portions thereof with code not governed by the terms of this License.
854
855     1.8. "License" means this document.
856
857     1.8.1. "Licensable" means having the right to grant, to the maximum
858     extent possible, whether at the time of the initial grant or
859     subsequently acquired, any and all of the rights conveyed herein.
860
861     1.9. "Modifications" means any addition to or deletion from the
862     substance or structure of either the Original Code or any previous
863     Modifications. When Covered Code is released as a series of files, a
864     Modification is:
865          A. Any addition to or deletion from the contents of a file
866          containing Original Code or previous Modifications.
867
868          B. Any new file that contains any part of the Original Code or
869          previous Modifications.
870
871     1.10. "Original Code" means Source Code of computer software code
872     which is described in the Source Code notice required by Exhibit A as
873     Original Code, and which, at the time of its release under this
874     License is not already Covered Code governed by this License.
875
876     1.10.1. "Patent Claims" means any patent claim(s), now owned or
877     hereafter acquired, including without limitation,  method, process,
878     and apparatus claims, in any patent Licensable by grantor.
879
880     1.11. "Source Code" means the preferred form of the Covered Code for
881     making modifications to it, including all modules it contains, plus
882     any associated interface definition files, scripts used to control
883     compilation and installation of an Executable, or source code
884     differential comparisons against either the Original Code or another
885     well known, available Covered Code of the Contributor's choice. The
886     Source Code can be in a compressed or archival form, provided the
887     appropriate decompression or de-archiving software is widely available
888     for no charge.
889
890     1.12. "You" (or "Your")  means an individual or a legal entity
891     exercising rights under, and complying with all of the terms of, this
892     License or a future version of this License issued under Section 6.1.
893     For legal entities, "You" includes any entity which controls, is
894     controlled by, or is under common control with You. For purposes of
895     this definition, "control" means (a) the power, direct or indirect,
896     to cause the direction or management of such entity, whether by
897     contract or otherwise, or (b) ownership of more than fifty percent
898     (50%) of the outstanding shares or beneficial ownership of such
899     entity.
900
9012. Source Code License.
902
903     2.1. The Initial Developer Grant.
904     The Initial Developer hereby grants You a world-wide, royalty-free,
905     non-exclusive license, subject to third party intellectual property
906     claims:
907          (a)  under intellectual property rights (other than patent or
908          trademark) Licensable by Initial Developer to use, reproduce,
909          modify, display, perform, sublicense and distribute the Original
910          Code (or portions thereof) with or without Modifications, and/or
911          as part of a Larger Work; and
912
913          (b) under Patents Claims infringed by the making, using or
914          selling of Original Code, to make, have made, use, practice,
915          sell, and offer for sale, and/or otherwise dispose of the
916          Original Code (or portions thereof).
917
918          (c) the licenses granted in this Section 2.1(a) and (b) are
919          effective on the date Initial Developer first distributes
920          Original Code under the terms of this License.
921
922          (d) Notwithstanding Section 2.1(b) above, no patent license is
923          granted: 1) for code that You delete from the Original Code; 2)
924          separate from the Original Code;  or 3) for infringements caused
925          by: i) the modification of the Original Code or ii) the
926          combination of the Original Code with other software or devices.
927
928     2.2. Contributor Grant.
929     Subject to third party intellectual property claims, each Contributor
930     hereby grants You a world-wide, royalty-free, non-exclusive license
931
932          (a)  under intellectual property rights (other than patent or
933          trademark) Licensable by Contributor, to use, reproduce, modify,
934          display, perform, sublicense and distribute the Modifications
935          created by such Contributor (or portions thereof) either on an
936          unmodified basis, with other Modifications, as Covered Code
937          and/or as part of a Larger Work; and
938
939          (b) under Patent Claims infringed by the making, using, or
940          selling of  Modifications made by that Contributor either alone
941          and/or in combination with its Contributor Version (or portions
942          of such combination), to make, use, sell, offer for sale, have
943          made, and/or otherwise dispose of: 1) Modifications made by that
944          Contributor (or portions thereof); and 2) the combination of
945          Modifications made by that Contributor with its Contributor
946          Version (or portions of such combination).
947
948          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
949          effective on the date Contributor first makes Commercial Use of
950          the Covered Code.
951
952          (d)    Notwithstanding Section 2.2(b) above, no patent license is
953          granted: 1) for any code that Contributor has deleted from the
954          Contributor Version; 2)  separate from the Contributor Version;
955          3)  for infringements caused by: i) third party modifications of
956          Contributor Version or ii)  the combination of Modifications made
957          by that Contributor with other software  (except as part of the
958          Contributor Version) or other devices; or 4) under Patent Claims
959          infringed by Covered Code in the absence of Modifications made by
960          that Contributor.
961
9623. Distribution Obligations.
963
964     3.1. Application of License.
965     The Modifications which You create or to which You contribute are
966     governed by the terms of this License, including without limitation
967     Section 2.2. The Source Code version of Covered Code may be
968     distributed only under the terms of this License or a future version
969     of this License released under Section 6.1, and You must include a
970     copy of this License with every copy of the Source Code You
971     distribute. You may not offer or impose any terms on any Source Code
972     version that alters or restricts the applicable version of this
973     License or the recipients' rights hereunder. However, You may include
974     an additional document offering the additional rights described in
975     Section 3.5.
976
977     3.2. Availability of Source Code.
978     Any Modification which You create or to which You contribute must be
979     made available in Source Code form under the terms of this License
980     either on the same media as an Executable version or via an accepted
981     Electronic Distribution Mechanism to anyone to whom you made an
982     Executable version available; and if made available via Electronic
983     Distribution Mechanism, must remain available for at least twelve (12)
984     months after the date it initially became available, or at least six
985     (6) months after a subsequent version of that particular Modification
986     has been made available to such recipients. You are responsible for
987     ensuring that the Source Code version remains available even if the
988     Electronic Distribution Mechanism is maintained by a third party.
989
990     3.3. Description of Modifications.
991     You must cause all Covered Code to which You contribute to contain a
992     file documenting the changes You made to create that Covered Code and
993     the date of any change. You must include a prominent statement that
994     the Modification is derived, directly or indirectly, from Original
995     Code provided by the Initial Developer and including the name of the
996     Initial Developer in (a) the Source Code, and (b) in any notice in an
997     Executable version or related documentation in which You describe the
998     origin or ownership of the Covered Code.
999
1000     3.4. Intellectual Property Matters
1001          (a) Third Party Claims.
1002          If Contributor has knowledge that a license under a third party's
1003          intellectual property rights is required to exercise the rights
1004          granted by such Contributor under Sections 2.1 or 2.2,
1005          Contributor must include a text file with the Source Code
1006          distribution titled "LEGAL" which describes the claim and the
1007          party making the claim in sufficient detail that a recipient will
1008          know whom to contact. If Contributor obtains such knowledge after
1009          the Modification is made available as described in Section 3.2,
1010          Contributor shall promptly modify the LEGAL file in all copies
1011          Contributor makes available thereafter and shall take other steps
1012          (such as notifying appropriate mailing lists or newsgroups)
1013          reasonably calculated to inform those who received the Covered
1014          Code that new knowledge has been obtained.
1015
1016          (b) Contributor APIs.
1017          If Contributor's Modifications include an application programming
1018          interface and Contributor has knowledge of patent licenses which
1019          are reasonably necessary to implement that API, Contributor must
1020          also include this information in the LEGAL file.
1021
1022               (c)    Representations.
1023          Contributor represents that, except as disclosed pursuant to
1024          Section 3.4(a) above, Contributor believes that Contributor's
1025          Modifications are Contributor's original creation(s) and/or
1026          Contributor has sufficient rights to grant the rights conveyed by
1027          this License.
1028
1029     3.5. Required Notices.
1030     You must duplicate the notice in Exhibit A in each file of the Source
1031     Code.  If it is not possible to put such notice in a particular Source
1032     Code file due to its structure, then You must include such notice in a
1033     location (such as a relevant directory) where a user would be likely
1034     to look for such a notice.  If You created one or more Modification(s)
1035     You may add your name as a Contributor to the notice described in
1036     Exhibit A.  You must also duplicate this License in any documentation
1037     for the Source Code where You describe recipients' rights or ownership
1038     rights relating to Covered Code.  You may choose to offer, and to
1039     charge a fee for, warranty, support, indemnity or liability
1040     obligations to one or more recipients of Covered Code. However, You
1041     may do so only on Your own behalf, and not on behalf of the Initial
1042     Developer or any Contributor. You must make it absolutely clear than
1043     any such warranty, support, indemnity or liability obligation is
1044     offered by You alone, and You hereby agree to indemnify the Initial
1045     Developer and every Contributor for any liability incurred by the
1046     Initial Developer or such Contributor as a result of warranty,
1047     support, indemnity or liability terms You offer.
1048
1049     3.6. Distribution of Executable Versions.
1050     You may distribute Covered Code in Executable form only if the
1051     requirements of Section 3.1-3.5 have been met for that Covered Code,
1052     and if You include a notice stating that the Source Code version of
1053     the Covered Code is available under the terms of this License,
1054     including a description of how and where You have fulfilled the
1055     obligations of Section 3.2. The notice must be conspicuously included
1056     in any notice in an Executable version, related documentation or
1057     collateral in which You describe recipients' rights relating to the
1058     Covered Code. You may distribute the Executable version of Covered
1059     Code or ownership rights under a license of Your choice, which may
1060     contain terms different from this License, provided that You are in
1061     compliance with the terms of this License and that the license for the
1062     Executable version does not attempt to limit or alter the recipient's
1063     rights in the Source Code version from the rights set forth in this
1064     License. If You distribute the Executable version under a different
1065     license You must make it absolutely clear that any terms which differ
1066     from this License are offered by You alone, not by the Initial
1067     Developer or any Contributor. You hereby agree to indemnify the
1068     Initial Developer and every Contributor for any liability incurred by
1069     the Initial Developer or such Contributor as a result of any such
1070     terms You offer.
1071
1072     3.7. Larger Works.
1073     You may create a Larger Work by combining Covered Code with other code
1074     not governed by the terms of this License and distribute the Larger
1075     Work as a single product. In such a case, You must make sure the
1076     requirements of this License are fulfilled for the Covered Code.
1077
10784. Inability to Comply Due to Statute or Regulation.
1079
1080     If it is impossible for You to comply with any of the terms of this
1081     License with respect to some or all of the Covered Code due to
1082     statute, judicial order, or regulation then You must: (a) comply with
1083     the terms of this License to the maximum extent possible; and (b)
1084     describe the limitations and the code they affect. Such description
1085     must be included in the LEGAL file described in Section 3.4 and must
1086     be included with all distributions of the Source Code. Except to the
1087     extent prohibited by statute or regulation, such description must be
1088     sufficiently detailed for a recipient of ordinary skill to be able to
1089     understand it.
1090
10915. Application of this License.
1092
1093     This License applies to code to which the Initial Developer has
1094     attached the notice in Exhibit A and to related Covered Code.
1095
10966. Versions of the License.
1097
1098     6.1. New Versions.
1099     Netscape Communications Corporation ("Netscape") may publish revised
1100     and/or new versions of the License from time to time. Each version
1101     will be given a distinguishing version number.
1102
1103     6.2. Effect of New Versions.
1104     Once Covered Code has been published under a particular version of the
1105     License, You may always continue to use it under the terms of that
1106     version. You may also choose to use such Covered Code under the terms
1107     of any subsequent version of the License published by Netscape. No one
1108     other than Netscape has the right to modify the terms applicable to
1109     Covered Code created under this License.
1110
1111     6.3. Derivative Works.
1112     If You create or use a modified version of this License (which you may
1113     only do in order to apply it to code which is not already Covered Code
1114     governed by this License), You must (a) rename Your license so that
1115     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
1116     "MPL", "NPL" or any confusingly similar phrase do not appear in your
1117     license (except to note that your license differs from this License)
1118     and (b) otherwise make it clear that Your version of the license
1119     contains terms which differ from the Mozilla Public License and
1120     Netscape Public License. (Filling in the name of the Initial
1121     Developer, Original Code or Contributor in the notice described in
1122     Exhibit A shall not of themselves be deemed to be modifications of
1123     this License.)
1124
11257. DISCLAIMER OF WARRANTY.
1126
1127     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
1128     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
1129     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
1130     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
1131     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
1132     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
1133     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
1134     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
1135     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
1136     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
1137
11388. TERMINATION.
1139
1140     8.1.  This License and the rights granted hereunder will terminate
1141     automatically if You fail to comply with terms herein and fail to cure
1142     such breach within 30 days of becoming aware of the breach. All
1143     sublicenses to the Covered Code which are properly granted shall
1144     survive any termination of this License. Provisions which, by their
1145     nature, must remain in effect beyond the termination of this License
1146     shall survive.
1147
1148     8.2.  If You initiate litigation by asserting a patent infringement
1149     claim (excluding declatory judgment actions) against Initial Developer
1150     or a Contributor (the Initial Developer or Contributor against whom
1151     You file such action is referred to as "Participant")  alleging that:
1152
1153     (a)  such Participant's Contributor Version directly or indirectly
1154     infringes any patent, then any and all rights granted by such
1155     Participant to You under Sections 2.1 and/or 2.2 of this License
1156     shall, upon 60 days notice from Participant terminate prospectively,
1157     unless if within 60 days after receipt of notice You either: (i)
1158     agree in writing to pay Participant a mutually agreeable reasonable
1159     royalty for Your past and future use of Modifications made by such
1160     Participant, or (ii) withdraw Your litigation claim with respect to
1161     the Contributor Version against such Participant.  If within 60 days
1162     of notice, a reasonable royalty and payment arrangement are not
1163     mutually agreed upon in writing by the parties or the litigation claim
1164     is not withdrawn, the rights granted by Participant to You under
1165     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
1166     the 60 day notice period specified above.
1167
1168     (b)  any software, hardware, or device, other than such Participant's
1169     Contributor Version, directly or indirectly infringes any patent, then
1170     any rights granted to You by such Participant under Sections 2.1(b)
1171     and 2.2(b) are revoked effective as of the date You first made, used,
1172     sold, distributed, or had made, Modifications made by that
1173     Participant.
1174
1175     8.3.  If You assert a patent infringement claim against Participant
1176     alleging that such Participant's Contributor Version directly or
1177     indirectly infringes any patent where such claim is resolved (such as
1178     by license or settlement) prior to the initiation of patent
1179     infringement litigation, then the reasonable value of the licenses
1180     granted by such Participant under Sections 2.1 or 2.2 shall be taken
1181     into account in determining the amount or value of any payment or
1182     license.
1183
1184     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
1185     all end user license agreements (excluding distributors and resellers)
1186     which have been validly granted by You or any distributor hereunder
1187     prior to termination shall survive termination.
1188
11899. LIMITATION OF LIABILITY.
1190
1191     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
1192     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
1193     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
1194     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
1195     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
1196     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
1197     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
1198     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
1199     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
1200     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
1201     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
1202     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
1203     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
1204     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
1205
120610. U.S. GOVERNMENT END USERS.
1207
1208     The Covered Code is a "commercial item," as that term is defined in
1209     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
1210     software" and "commercial computer software documentation," as such
1211     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
1212     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
1213     all U.S. Government End Users acquire Covered Code with only those
1214     rights set forth herein.
1215
121611. MISCELLANEOUS.
1217
1218     This License represents the complete agreement concerning subject
1219     matter hereof. If any provision of this License is held to be
1220     unenforceable, such provision shall be reformed only to the extent
1221     necessary to make it enforceable. This License shall be governed by
1222     California law provisions (except to the extent applicable law, if
1223     any, provides otherwise), excluding its conflict-of-law provisions.
1224     With respect to disputes in which at least one party is a citizen of,
1225     or an entity chartered or registered to do business in the United
1226     States of America, any litigation relating to this License shall be
1227     subject to the jurisdiction of the Federal Courts of the Northern
1228     District of California, with venue lying in Santa Clara County,
1229     California, with the losing party responsible for costs, including
1230     without limitation, court costs and reasonable attorneys' fees and
1231     expenses. The application of the United Nations Convention on
1232     Contracts for the International Sale of Goods is expressly excluded.
1233     Any law or regulation which provides that the language of a contract
1234     shall be construed against the drafter shall not apply to this
1235     License.
1236
123712. RESPONSIBILITY FOR CLAIMS.
1238
1239     As between Initial Developer and the Contributors, each party is
1240     responsible for claims and damages arising, directly or indirectly,
1241     out of its utilization of rights under this License and You agree to
1242     work with Initial Developer and Contributors to distribute such
1243     responsibility on an equitable basis. Nothing herein is intended or
1244     shall be deemed to constitute any admission of liability.
1245
124613. MULTIPLE-LICENSED CODE.
1247
1248     Initial Developer may designate portions of the Covered Code as
1249     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
1250     Developer permits you to utilize portions of the Covered Code under
1251     Your choice of the NPL or the alternative licenses, if any, specified
1252     by the Initial Developer in the file described in Exhibit A.
1253
1254EXHIBIT A -Mozilla Public License.
1255
1256     ``The contents of this file are subject to the Mozilla Public License
1257     Version 1.1 (the "License"); you may not use this file except in
1258     compliance with the License. You may obtain a copy of the License at
1259     http://www.mozilla.org/MPL/
1260
1261     Software distributed under the License is distributed on an "AS IS"
1262     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
1263     License for the specific language governing rights and limitations
1264     under the License.
1265
1266     The Original Code is ______________________________________.
1267
1268     The Initial Developer of the Original Code is ________________________.
1269     Portions created by ______________________ are Copyright (C) ______
1270     _______________________. All Rights Reserved.
1271
1272     Contributor(s): ______________________________________.
1273
1274     Alternatively, the contents of this file may be used under the terms
1275     of the _____ license (the  "[___] License"), in which case the
1276     provisions of [______] License are applicable instead of those
1277     above.  If you wish to allow use of your version of this file only
1278     under the terms of the [____] License and not to allow others to use
1279     your version of this file under the MPL, indicate your decision by
1280     deleting  the provisions above and replace  them with the notice and
1281     other provisions required by the [___] License.  If you do not delete
1282     the provisions above, a recipient may use your version of this file
1283     under either the MPL or the [___] License."
1284
1285     [NOTE: The text of this Exhibit A may differ slightly from the text of
1286     the notices in the Source Code files of the Original Code. You should
1287     use the text of this Exhibit A rather than the text found in the
1288     Original Code Source Code for Your Modifications.]
1289```
1290
1291Appendix D: The MIT License
1292---------------------------
1293
1294```
1295The MIT License (MIT)
1296
1297Permission is hereby granted, free of charge, to any person obtaining a copy
1298of this software and associated documentation files (the "Software"), to deal
1299in the Software without restriction, including without limitation the rights
1300to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1301copies of the Software, and to permit persons to whom the Software is
1302furnished to do so, subject to the following conditions:
1303
1304The above copyright notice and this permission notice shall be included in
1305all copies or substantial portions of the Software.
1306
1307THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1308IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1309FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1310AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1311LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1312OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1313THE SOFTWARE.
1314```
1315
1316Appendix E: The SIL Open Font License Version 1.1
1317---------------------------------------------
1318
1319```
1320SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
1321-----------------------------------------------------------
1322
1323PREAMBLE
1324The goals of the Open Font License (OFL) are to stimulate worldwide
1325development of collaborative font projects, to support the font creation
1326efforts of academic and linguistic communities, and to provide a free and
1327open framework in which fonts may be shared and improved in partnership
1328with others.
1329
1330The OFL allows the licensed fonts to be used, studied, modified and
1331redistributed freely as long as they are not sold by themselves. The
1332fonts, including any derivative works, can be bundled, embedded,
1333redistributed and/or sold with any software provided that any reserved
1334names are not used by derivative works. The fonts and derivatives,
1335however, cannot be released under any other type of license. The
1336requirement for fonts to remain under this license does not apply
1337to any document created using the fonts or their derivatives.
1338
1339DEFINITIONS
1340"Font Software" refers to the set of files released by the Copyright
1341Holder(s) under this license and clearly marked as such. This may
1342include source files, build scripts and documentation.
1343
1344"Reserved Font Name" refers to any names specified as such after the
1345copyright statement(s).
1346
1347"Original Version" refers to the collection of Font Software components as
1348distributed by the Copyright Holder(s).
1349
1350"Modified Version" refers to any derivative made by adding to, deleting,
1351or substituting -- in part or in whole -- any of the components of the
1352Original Version, by changing formats or by porting the Font Software to a
1353new environment.
1354
1355"Author" refers to any designer, engineer, programmer, technical
1356writer or other person who contributed to the Font Software.
1357
1358PERMISSION & CONDITIONS
1359Permission is hereby granted, free of charge, to any person obtaining
1360a copy of the Font Software, to use, study, copy, merge, embed, modify,
1361redistribute, and sell modified and unmodified copies of the Font
1362Software, subject to the following conditions:
1363
13641) Neither the Font Software nor any of its individual components,
1365in Original or Modified Versions, may be sold by itself.
1366
13672) Original or Modified Versions of the Font Software may be bundled,
1368redistributed and/or sold with any software, provided that each copy
1369contains the above copyright notice and this license. These can be
1370included either as stand-alone text files, human-readable headers or
1371in the appropriate machine-readable metadata fields within text or
1372binary files as long as those fields can be easily viewed by the user.
1373
13743) No Modified Version of the Font Software may use the Reserved Font
1375Name(s) unless explicit written permission is granted by the corresponding
1376Copyright Holder. This restriction only applies to the primary font name as
1377presented to the users.
1378
13794) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
1380Software shall not be used to promote, endorse or advertise any
1381Modified Version, except to acknowledge the contribution(s) of the
1382Copyright Holder(s) and the Author(s) or with their explicit written
1383permission.
1384
13855) The Font Software, modified or unmodified, in part or in whole,
1386must be distributed entirely under this license, and must not be
1387distributed under any other license. The requirement for fonts to
1388remain under this license does not apply to any document created
1389using the Font Software.
1390
1391TERMINATION
1392This license becomes null and void if any of the above conditions are
1393not met.
1394
1395DISCLAIMER
1396THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1397EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
1398MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1399OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
1400COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1401INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
1402DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1403FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
1404OTHER DEALINGS IN THE FONT SOFTWARE.
1405```
1406
1407Appendix F: The BSD-3 License
1408-----------------------------
1409
1410```
1411Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1412
14131. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
1414
14152. 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.
1416
14173. 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.
1418
1419THIS 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.
1420```
1421