1 All files not explicitly mentioned below are MPL 2.0:
3 Mozilla Public License Version 2.0
4 ==================================
10 means each individual or legal entity that creates, contributes to
11 the creation of, or owns Covered Software.
13 1.2. "Contributor Version"
14 means the combination of the Contributions of others (if any) used
15 by a Contributor and that particular Contributor's Contribution.
18 means Covered Software of a particular Contributor.
20 1.4. "Covered Software"
21 means Source Code Form to which the initial Contributor has attached
22 the notice in Exhibit A, the Executable Form of such Source Code
23 Form, and Modifications of such Source Code Form, in each case
24 including portions thereof.
26 1.5. "Incompatible With Secondary Licenses"
29 (a) that the initial Contributor has attached the notice described
30 in Exhibit B to the Covered Software; or
32 (b) that the Covered Software was made available under the terms of
33 version 1.1 or earlier of the License, but not also under the
34 terms of a Secondary License.
36 1.6. "Executable Form"
37 means any form of the work other than Source Code Form.
40 means a work that combines Covered Software with other material, in
41 a separate file or files, that is not Covered Software.
47 means having the right to grant, to the maximum extent possible,
48 whether at the time of the initial grant or subsequently, any and
49 all of the rights conveyed by this License.
52 means any of the following:
54 (a) any file in Source Code Form that results from an addition to,
55 deletion from, or modification of the contents of Covered
58 (b) any new file in Source Code Form that contains any Covered
61 1.11. "Patent Claims" of a Contributor
62 means any patent claim(s), including without limitation, method,
63 process, and apparatus claims, in any patent Licensable by such
64 Contributor that would be infringed, but for the grant of the
65 License, by the making, using, selling, offering for sale, having
66 made, import, or transfer of either its Contributions or its
69 1.12. "Secondary License"
70 means either the GNU General Public License, Version 2.0, the GNU
71 Lesser General Public License, Version 2.1, the GNU Affero General
72 Public License, Version 3.0, or any later versions of those
75 1.13. "Source Code Form"
76 means the form of the work preferred for making modifications.
78 1.14. "You" (or "Your")
79 means an individual or a legal entity exercising rights under this
80 License. For legal entities, "You" includes any entity that
81 controls, is controlled by, or is under common control with You. For
82 purposes of this definition, "control" means (a) the power, direct
83 or indirect, to cause the direction or management of such entity,
84 whether by contract or otherwise, or (b) ownership of more than
85 fifty percent (50%) of the outstanding shares or beneficial
86 ownership of such entity.
88 2. License Grants and Conditions
89 --------------------------------
93 Each Contributor hereby grants You a world-wide, royalty-free,
94 non-exclusive license:
96 (a) under intellectual property rights (other than patent or trademark)
97 Licensable by such Contributor to use, reproduce, make available,
98 modify, display, perform, distribute, and otherwise exploit its
99 Contributions, either on an unmodified basis, with Modifications, or
100 as part of a Larger Work; and
102 (b) under Patent Claims of such Contributor to make, use, sell, offer
103 for sale, have made, import, and otherwise transfer either its
104 Contributions or its Contributor Version.
108 The licenses granted in Section 2.1 with respect to any Contribution
109 become effective for each Contribution on the date the Contributor first
110 distributes such Contribution.
112 2.3. Limitations on Grant Scope
114 The licenses granted in this Section 2 are the only rights granted under
115 this License. No additional rights or licenses will be implied from the
116 distribution or licensing of Covered Software under this License.
117 Notwithstanding Section 2.1(b) above, no patent license is granted by a
120 (a) for any code that a Contributor has removed from Covered Software;
123 (b) for infringements caused by: (i) Your and any other third party's
124 modifications of Covered Software, or (ii) the combination of its
125 Contributions with other software (except as part of its Contributor
128 (c) under Patent Claims infringed by Covered Software in the absence of
131 This License does not grant any rights in the trademarks, service marks,
132 or logos of any Contributor (except as may be necessary to comply with
133 the notice requirements in Section 3.4).
135 2.4. Subsequent Licenses
137 No Contributor makes additional grants as a result of Your choice to
138 distribute the Covered Software under a subsequent version of this
139 License (see Section 10.2) or under the terms of a Secondary License (if
140 permitted under the terms of Section 3.3).
144 Each Contributor represents that the Contributor believes its
145 Contributions are its original creation(s) or it has sufficient rights
146 to grant the rights to its Contributions conveyed by this License.
150 This License is not intended to limit any rights You have under
151 applicable copyright doctrines of fair use, fair dealing, or other
156 Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
162 3.1. Distribution of Source Form
164 All distribution of Covered Software in Source Code Form, including any
165 Modifications that You create or to which You contribute, must be under
166 the terms of this License. You must inform recipients that the Source
167 Code Form of the Covered Software is governed by the terms of this
168 License, and how they can obtain a copy of this License. You may not
169 attempt to alter or restrict the recipients' rights in the Source Code
172 3.2. Distribution of Executable Form
174 If You distribute Covered Software in Executable Form then:
176 (a) such Covered Software must also be made available in Source Code
177 Form, as described in Section 3.1, and You must inform recipients of
178 the Executable Form how they can obtain a copy of such Source Code
179 Form by reasonable means in a timely manner, at a charge no more
180 than the cost of distribution to the recipient; and
182 (b) You may distribute such Executable Form under the terms of this
183 License, or sublicense it under different terms, provided that the
184 license for the Executable Form does not attempt to limit or alter
185 the recipients' rights in the Source Code Form under this License.
187 3.3. Distribution of a Larger Work
189 You may create and distribute a Larger Work under terms of Your choice,
190 provided that You also comply with the requirements of this License for
191 the Covered Software. If the Larger Work is a combination of Covered
192 Software with a work governed by one or more Secondary Licenses, and the
193 Covered Software is not Incompatible With Secondary Licenses, this
194 License permits You to additionally distribute such Covered Software
195 under the terms of such Secondary License(s), so that the recipient of
196 the Larger Work may, at their option, further distribute the Covered
197 Software under the terms of either this License or such Secondary
202 You may not remove or alter the substance of any license notices
203 (including copyright notices, patent notices, disclaimers of warranty,
204 or limitations of liability) contained within the Source Code Form of
205 the Covered Software, except that You may alter any license notices to
206 the extent required to remedy known factual inaccuracies.
208 3.5. Application of Additional Terms
210 You may choose to offer, and to charge a fee for, warranty, support,
211 indemnity or liability obligations to one or more recipients of Covered
212 Software. However, You may do so only on Your own behalf, and not on
213 behalf of any Contributor. You must make it absolutely clear that any
214 such warranty, support, indemnity, or liability obligation is offered by
215 You alone, and You hereby agree to indemnify every Contributor for any
216 liability incurred by such Contributor as a result of warranty, support,
217 indemnity or liability terms You offer. You may include additional
218 disclaimers of warranty and limitations of liability specific to any
221 4. Inability to Comply Due to Statute or Regulation
222 ---------------------------------------------------
224 If it is impossible for You to comply with any of the terms of this
225 License with respect to some or all of the Covered Software due to
226 statute, judicial order, or regulation then You must: (a) comply with
227 the terms of this License to the maximum extent possible; and (b)
228 describe the limitations and the code they affect. Such description must
229 be placed in a text file included with all distributions of the Covered
230 Software under this License. Except to the extent prohibited by statute
231 or regulation, such description must be sufficiently detailed for a
232 recipient of ordinary skill to be able to understand it.
237 5.1. The rights granted under this License will terminate automatically
238 if You fail to comply with any of its terms. However, if You become
239 compliant, then the rights granted under this License from a particular
240 Contributor are reinstated (a) provisionally, unless and until such
241 Contributor explicitly and finally terminates Your grants, and (b) on an
242 ongoing basis, if such Contributor fails to notify You of the
243 non-compliance by some reasonable means prior to 60 days after You have
244 come back into compliance. Moreover, Your grants from a particular
245 Contributor are reinstated on an ongoing basis if such Contributor
246 notifies You of the non-compliance by some reasonable means, this is the
247 first time You have received notice of non-compliance with this License
248 from such Contributor, and You become compliant prior to 30 days after
249 Your receipt of the notice.
251 5.2. If You initiate litigation against any entity by asserting a patent
252 infringement claim (excluding declaratory judgment actions,
253 counter-claims, and cross-claims) alleging that a Contributor Version
254 directly or indirectly infringes any patent, then the rights granted to
255 You by any and all Contributors for the Covered Software under Section
256 2.1 of this License shall terminate.
258 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
259 end user license agreements (excluding distributors and resellers) which
260 have been validly granted by You or Your distributors under this License
261 prior to termination shall survive termination.
263 ************************************************************************
265 * 6. Disclaimer of Warranty *
266 * ------------------------- *
268 * Covered Software is provided under this License on an "as is" *
269 * basis, without warranty of any kind, either expressed, implied, or *
270 * statutory, including, without limitation, warranties that the *
271 * Covered Software is free of defects, merchantable, fit for a *
272 * particular purpose or non-infringing. The entire risk as to the *
273 * quality and performance of the Covered Software is with You. *
274 * Should any Covered Software prove defective in any respect, You *
275 * (not any Contributor) assume the cost of any necessary servicing, *
276 * repair, or correction. This disclaimer of warranty constitutes an *
277 * essential part of this License. No use of any Covered Software is *
278 * authorized under this License except under this disclaimer. *
280 ************************************************************************
282 ************************************************************************
284 * 7. Limitation of Liability *
285 * -------------------------- *
287 * Under no circumstances and under no legal theory, whether tort *
288 * (including negligence), contract, or otherwise, shall any *
289 * Contributor, or anyone who distributes Covered Software as *
290 * permitted above, be liable to You for any direct, indirect, *
291 * special, incidental, or consequential damages of any character *
292 * including, without limitation, damages for lost profits, loss of *
293 * goodwill, work stoppage, computer failure or malfunction, or any *
294 * and all other commercial damages or losses, even if such party *
295 * shall have been informed of the possibility of such damages. This *
296 * limitation of liability shall not apply to liability for death or *
297 * personal injury resulting from such party's negligence to the *
298 * extent applicable law prohibits such limitation. Some *
299 * jurisdictions do not allow the exclusion or limitation of *
300 * incidental or consequential damages, so this exclusion and *
301 * limitation may not apply to You. *
303 ************************************************************************
308 Any litigation relating to this License may be brought only in the
309 courts of a jurisdiction where the defendant maintains its principal
310 place of business and such litigation shall be governed by laws of that
311 jurisdiction, without reference to its conflict-of-law provisions.
312 Nothing in this Section shall prevent a party's ability to bring
313 cross-claims or counter-claims.
318 This License represents the complete agreement concerning the subject
319 matter hereof. If any provision of this License is held to be
320 unenforceable, such provision shall be reformed only to the extent
321 necessary to make it enforceable. Any law or regulation which provides
322 that the language of a contract shall be construed against the drafter
323 shall not be used to construe this License against a Contributor.
325 10. Versions of the License
326 ---------------------------
330 Mozilla Foundation is the license steward. Except as provided in Section
331 10.3, no one other than the license steward has the right to modify or
332 publish new versions of this License. Each version will be given a
333 distinguishing version number.
335 10.2. Effect of New Versions
337 You may distribute the Covered Software under the terms of the version
338 of the License under which You originally received the Covered Software,
339 or under the terms of any subsequent version published by the license
342 10.3. Modified Versions
344 If you create software not governed by this License, and you want to
345 create a new license for such software, you may create and use a
346 modified version of this License if you rename the license and remove
347 any references to the name of the license steward (except to note that
348 such modified license differs from this License).
350 10.4. Distributing Source Code Form that is Incompatible With Secondary
353 If You choose to distribute Source Code Form that is Incompatible With
354 Secondary Licenses under the terms of this version of the License, the
355 notice described in Exhibit B of this License must be attached.
357 Exhibit A - Source Code Form License Notice
358 -------------------------------------------
360 This Source Code Form is subject to the terms of the Mozilla Public
361 License, v. 2.0. If a copy of the MPL was not distributed with this
362 file, You can obtain one at http://mozilla.org/MPL/2.0/.
364 If it is not possible or desirable to put the notice in a particular
365 file, then You may include the notice in a location (such as a LICENSE
366 file in a relevant directory) where a recipient would be likely to look
369 You may add additional accurate notices of copyright ownership.
371 Exhibit B - "Incompatible With Secondary Licenses" Notice
372 ---------------------------------------------------------
374 This Source Code Form is "Incompatible With Secondary Licenses", as
375 defined by the Mozilla Public License, v. 2.0.
377 ================================================================================
378 ================================================================================
379 ================================================================================
383 audio-beat-detection.js
384 audio-beat-detection-data.js
390 audio-oscillator-data.js
394 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
396 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
398 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
400 ================================================================================
401 ================================================================================
402 ================================================================================
405 imaging-darkroom-data.js
406 stanford-crypto-aes.js
407 stanford-crypto-ccm.js
408 stanford-crypto-pbkdf2.js
409 stanford-crypto-sha256-iterative.js
413 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
415 Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
416 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.
417 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
419 ================================================================================
420 ================================================================================
421 ================================================================================
423 imaging-desaturate.js
427 MOZILLA PUBLIC LICENSE
434 1.0.1. "Commercial Use" means distribution or otherwise making the
435 Covered Code available to a third party.
437 1.1. "Contributor" means each entity that creates or contributes to
438 the creation of Modifications.
440 1.2. "Contributor Version" means the combination of the Original
441 Code, prior Modifications used by a Contributor, and the Modifications
442 made by that particular Contributor.
444 1.3. "Covered Code" means the Original Code or Modifications or the
445 combination of the Original Code and Modifications, in each case
446 including portions thereof.
448 1.4. "Electronic Distribution Mechanism" means a mechanism generally
449 accepted in the software development community for the electronic
452 1.5. "Executable" means Covered Code in any form other than Source
455 1.6. "Initial Developer" means the individual or entity identified
456 as the Initial Developer in the Source Code notice required by Exhibit
459 1.7. "Larger Work" means a work which combines Covered Code or
460 portions thereof with code not governed by the terms of this License.
462 1.8. "License" means this document.
464 1.8.1. "Licensable" means having the right to grant, to the maximum
465 extent possible, whether at the time of the initial grant or
466 subsequently acquired, any and all of the rights conveyed herein.
468 1.9. "Modifications" means any addition to or deletion from the
469 substance or structure of either the Original Code or any previous
470 Modifications. When Covered Code is released as a series of files, a
472 A. Any addition to or deletion from the contents of a file
473 containing Original Code or previous Modifications.
475 B. Any new file that contains any part of the Original Code or
476 previous Modifications.
478 1.10. "Original Code" means Source Code of computer software code
479 which is described in the Source Code notice required by Exhibit A as
480 Original Code, and which, at the time of its release under this
481 License is not already Covered Code governed by this License.
483 1.10.1. "Patent Claims" means any patent claim(s), now owned or
484 hereafter acquired, including without limitation, method, process,
485 and apparatus claims, in any patent Licensable by grantor.
487 1.11. "Source Code" means the preferred form of the Covered Code for
488 making modifications to it, including all modules it contains, plus
489 any associated interface definition files, scripts used to control
490 compilation and installation of an Executable, or source code
491 differential comparisons against either the Original Code or another
492 well known, available Covered Code of the Contributor's choice. The
493 Source Code can be in a compressed or archival form, provided the
494 appropriate decompression or de-archiving software is widely available
497 1.12. "You" (or "Your") means an individual or a legal entity
498 exercising rights under, and complying with all of the terms of, this
499 License or a future version of this License issued under Section 6.1.
500 For legal entities, "You" includes any entity which controls, is
501 controlled by, or is under common control with You. For purposes of
502 this definition, "control" means (a) the power, direct or indirect,
503 to cause the direction or management of such entity, whether by
504 contract or otherwise, or (b) ownership of more than fifty percent
505 (50%) of the outstanding shares or beneficial ownership of such
508 2. Source Code License.
510 2.1. The Initial Developer Grant.
511 The Initial Developer hereby grants You a world-wide, royalty-free,
512 non-exclusive license, subject to third party intellectual property
514 (a) under intellectual property rights (other than patent or
515 trademark) Licensable by Initial Developer to use, reproduce,
516 modify, display, perform, sublicense and distribute the Original
517 Code (or portions thereof) with or without Modifications, and/or
518 as part of a Larger Work; and
520 (b) under Patents Claims infringed by the making, using or
521 selling of Original Code, to make, have made, use, practice,
522 sell, and offer for sale, and/or otherwise dispose of the
523 Original Code (or portions thereof).
525 (c) the licenses granted in this Section 2.1(a) and (b) are
526 effective on the date Initial Developer first distributes
527 Original Code under the terms of this License.
529 (d) Notwithstanding Section 2.1(b) above, no patent license is
530 granted: 1) for code that You delete from the Original Code; 2)
531 separate from the Original Code; or 3) for infringements caused
532 by: i) the modification of the Original Code or ii) the
533 combination of the Original Code with other software or devices.
535 2.2. Contributor Grant.
536 Subject to third party intellectual property claims, each Contributor
537 hereby grants You a world-wide, royalty-free, non-exclusive license
539 (a) under intellectual property rights (other than patent or
540 trademark) Licensable by Contributor, to use, reproduce, modify,
541 display, perform, sublicense and distribute the Modifications
542 created by such Contributor (or portions thereof) either on an
543 unmodified basis, with other Modifications, as Covered Code
544 and/or as part of a Larger Work; and
546 (b) under Patent Claims infringed by the making, using, or
547 selling of Modifications made by that Contributor either alone
548 and/or in combination with its Contributor Version (or portions
549 of such combination), to make, use, sell, offer for sale, have
550 made, and/or otherwise dispose of: 1) Modifications made by that
551 Contributor (or portions thereof); and 2) the combination of
552 Modifications made by that Contributor with its Contributor
553 Version (or portions of such combination).
555 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
556 effective on the date Contributor first makes Commercial Use of
559 (d) Notwithstanding Section 2.2(b) above, no patent license is
560 granted: 1) for any code that Contributor has deleted from the
561 Contributor Version; 2) separate from the Contributor Version;
562 3) for infringements caused by: i) third party modifications of
563 Contributor Version or ii) the combination of Modifications made
564 by that Contributor with other software (except as part of the
565 Contributor Version) or other devices; or 4) under Patent Claims
566 infringed by Covered Code in the absence of Modifications made by
569 3. Distribution Obligations.
571 3.1. Application of License.
572 The Modifications which You create or to which You contribute are
573 governed by the terms of this License, including without limitation
574 Section 2.2. The Source Code version of Covered Code may be
575 distributed only under the terms of this License or a future version
576 of this License released under Section 6.1, and You must include a
577 copy of this License with every copy of the Source Code You
578 distribute. You may not offer or impose any terms on any Source Code
579 version that alters or restricts the applicable version of this
580 License or the recipients' rights hereunder. However, You may include
581 an additional document offering the additional rights described in
584 3.2. Availability of Source Code.
585 Any Modification which You create or to which You contribute must be
586 made available in Source Code form under the terms of this License
587 either on the same media as an Executable version or via an accepted
588 Electronic Distribution Mechanism to anyone to whom you made an
589 Executable version available; and if made available via Electronic
590 Distribution Mechanism, must remain available for at least twelve (12)
591 months after the date it initially became available, or at least six
592 (6) months after a subsequent version of that particular Modification
593 has been made available to such recipients. You are responsible for
594 ensuring that the Source Code version remains available even if the
595 Electronic Distribution Mechanism is maintained by a third party.
597 3.3. Description of Modifications.
598 You must cause all Covered Code to which You contribute to contain a
599 file documenting the changes You made to create that Covered Code and
600 the date of any change. You must include a prominent statement that
601 the Modification is derived, directly or indirectly, from Original
602 Code provided by the Initial Developer and including the name of the
603 Initial Developer in (a) the Source Code, and (b) in any notice in an
604 Executable version or related documentation in which You describe the
605 origin or ownership of the Covered Code.
607 3.4. Intellectual Property Matters
608 (a) Third Party Claims.
609 If Contributor has knowledge that a license under a third party's
610 intellectual property rights is required to exercise the rights
611 granted by such Contributor under Sections 2.1 or 2.2,
612 Contributor must include a text file with the Source Code
613 distribution titled "LEGAL" which describes the claim and the
614 party making the claim in sufficient detail that a recipient will
615 know whom to contact. If Contributor obtains such knowledge after
616 the Modification is made available as described in Section 3.2,
617 Contributor shall promptly modify the LEGAL file in all copies
618 Contributor makes available thereafter and shall take other steps
619 (such as notifying appropriate mailing lists or newsgroups)
620 reasonably calculated to inform those who received the Covered
621 Code that new knowledge has been obtained.
623 (b) Contributor APIs.
624 If Contributor's Modifications include an application programming
625 interface and Contributor has knowledge of patent licenses which
626 are reasonably necessary to implement that API, Contributor must
627 also include this information in the LEGAL file.
630 Contributor represents that, except as disclosed pursuant to
631 Section 3.4(a) above, Contributor believes that Contributor's
632 Modifications are Contributor's original creation(s) and/or
633 Contributor has sufficient rights to grant the rights conveyed by
636 3.5. Required Notices.
637 You must duplicate the notice in Exhibit A in each file of the Source
638 Code. If it is not possible to put such notice in a particular Source
639 Code file due to its structure, then You must include such notice in a
640 location (such as a relevant directory) where a user would be likely
641 to look for such a notice. If You created one or more Modification(s)
642 You may add your name as a Contributor to the notice described in
643 Exhibit A. You must also duplicate this License in any documentation
644 for the Source Code where You describe recipients' rights or ownership
645 rights relating to Covered Code. You may choose to offer, and to
646 charge a fee for, warranty, support, indemnity or liability
647 obligations to one or more recipients of Covered Code. However, You
648 may do so only on Your own behalf, and not on behalf of the Initial
649 Developer or any Contributor. You must make it absolutely clear than
650 any such warranty, support, indemnity or liability obligation is
651 offered by You alone, and You hereby agree to indemnify the Initial
652 Developer and every Contributor for any liability incurred by the
653 Initial Developer or such Contributor as a result of warranty,
654 support, indemnity or liability terms You offer.
656 3.6. Distribution of Executable Versions.
657 You may distribute Covered Code in Executable form only if the
658 requirements of Section 3.1-3.5 have been met for that Covered Code,
659 and if You include a notice stating that the Source Code version of
660 the Covered Code is available under the terms of this License,
661 including a description of how and where You have fulfilled the
662 obligations of Section 3.2. The notice must be conspicuously included
663 in any notice in an Executable version, related documentation or
664 collateral in which You describe recipients' rights relating to the
665 Covered Code. You may distribute the Executable version of Covered
666 Code or ownership rights under a license of Your choice, which may
667 contain terms different from this License, provided that You are in
668 compliance with the terms of this License and that the license for the
669 Executable version does not attempt to limit or alter the recipient's
670 rights in the Source Code version from the rights set forth in this
671 License. If You distribute the Executable version under a different
672 license You must make it absolutely clear that any terms which differ
673 from this License are offered by You alone, not by the Initial
674 Developer or any Contributor. You hereby agree to indemnify the
675 Initial Developer and every Contributor for any liability incurred by
676 the Initial Developer or such Contributor as a result of any such
680 You may create a Larger Work by combining Covered Code with other code
681 not governed by the terms of this License and distribute the Larger
682 Work as a single product. In such a case, You must make sure the
683 requirements of this License are fulfilled for the Covered Code.
685 4. Inability to Comply Due to Statute or Regulation.
687 If it is impossible for You to comply with any of the terms of this
688 License with respect to some or all of the Covered Code due to
689 statute, judicial order, or regulation then You must: (a) comply with
690 the terms of this License to the maximum extent possible; and (b)
691 describe the limitations and the code they affect. Such description
692 must be included in the LEGAL file described in Section 3.4 and must
693 be included with all distributions of the Source Code. Except to the
694 extent prohibited by statute or regulation, such description must be
695 sufficiently detailed for a recipient of ordinary skill to be able to
698 5. Application of this License.
700 This License applies to code to which the Initial Developer has
701 attached the notice in Exhibit A and to related Covered Code.
703 6. Versions of the License.
706 Netscape Communications Corporation ("Netscape") may publish revised
707 and/or new versions of the License from time to time. Each version
708 will be given a distinguishing version number.
710 6.2. Effect of New Versions.
711 Once Covered Code has been published under a particular version of the
712 License, You may always continue to use it under the terms of that
713 version. You may also choose to use such Covered Code under the terms
714 of any subsequent version of the License published by Netscape. No one
715 other than Netscape has the right to modify the terms applicable to
716 Covered Code created under this License.
718 6.3. Derivative Works.
719 If You create or use a modified version of this License (which you may
720 only do in order to apply it to code which is not already Covered Code
721 governed by this License), You must (a) rename Your license so that
722 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
723 "MPL", "NPL" or any confusingly similar phrase do not appear in your
724 license (except to note that your license differs from this License)
725 and (b) otherwise make it clear that Your version of the license
726 contains terms which differ from the Mozilla Public License and
727 Netscape Public License. (Filling in the name of the Initial
728 Developer, Original Code or Contributor in the notice described in
729 Exhibit A shall not of themselves be deemed to be modifications of
732 7. DISCLAIMER OF WARRANTY.
734 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
735 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
736 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
737 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
738 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
739 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
740 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
741 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
742 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
743 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
747 8.1. This License and the rights granted hereunder will terminate
748 automatically if You fail to comply with terms herein and fail to cure
749 such breach within 30 days of becoming aware of the breach. All
750 sublicenses to the Covered Code which are properly granted shall
751 survive any termination of this License. Provisions which, by their
752 nature, must remain in effect beyond the termination of this License
755 8.2. If You initiate litigation by asserting a patent infringement
756 claim (excluding declatory judgment actions) against Initial Developer
757 or a Contributor (the Initial Developer or Contributor against whom
758 You file such action is referred to as "Participant") alleging that:
760 (a) such Participant's Contributor Version directly or indirectly
761 infringes any patent, then any and all rights granted by such
762 Participant to You under Sections 2.1 and/or 2.2 of this License
763 shall, upon 60 days notice from Participant terminate prospectively,
764 unless if within 60 days after receipt of notice You either: (i)
765 agree in writing to pay Participant a mutually agreeable reasonable
766 royalty for Your past and future use of Modifications made by such
767 Participant, or (ii) withdraw Your litigation claim with respect to
768 the Contributor Version against such Participant. If within 60 days
769 of notice, a reasonable royalty and payment arrangement are not
770 mutually agreed upon in writing by the parties or the litigation claim
771 is not withdrawn, the rights granted by Participant to You under
772 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
773 the 60 day notice period specified above.
775 (b) any software, hardware, or device, other than such Participant's
776 Contributor Version, directly or indirectly infringes any patent, then
777 any rights granted to You by such Participant under Sections 2.1(b)
778 and 2.2(b) are revoked effective as of the date You first made, used,
779 sold, distributed, or had made, Modifications made by that
782 8.3. If You assert a patent infringement claim against Participant
783 alleging that such Participant's Contributor Version directly or
784 indirectly infringes any patent where such claim is resolved (such as
785 by license or settlement) prior to the initiation of patent
786 infringement litigation, then the reasonable value of the licenses
787 granted by such Participant under Sections 2.1 or 2.2 shall be taken
788 into account in determining the amount or value of any payment or
791 8.4. In the event of termination under Sections 8.1 or 8.2 above,
792 all end user license agreements (excluding distributors and resellers)
793 which have been validly granted by You or any distributor hereunder
794 prior to termination shall survive termination.
796 9. LIMITATION OF LIABILITY.
798 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
799 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
800 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
801 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
802 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
803 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
804 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
805 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
806 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
807 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
808 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
809 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
810 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
811 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
813 10. U.S. GOVERNMENT END USERS.
815 The Covered Code is a "commercial item," as that term is defined in
816 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
817 software" and "commercial computer software documentation," as such
818 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
819 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
820 all U.S. Government End Users acquire Covered Code with only those
821 rights set forth herein.
825 This License represents the complete agreement concerning subject
826 matter hereof. If any provision of this License is held to be
827 unenforceable, such provision shall be reformed only to the extent
828 necessary to make it enforceable. This License shall be governed by
829 California law provisions (except to the extent applicable law, if
830 any, provides otherwise), excluding its conflict-of-law provisions.
831 With respect to disputes in which at least one party is a citizen of,
832 or an entity chartered or registered to do business in the United
833 States of America, any litigation relating to this License shall be
834 subject to the jurisdiction of the Federal Courts of the Northern
835 District of California, with venue lying in Santa Clara County,
836 California, with the losing party responsible for costs, including
837 without limitation, court costs and reasonable attorneys' fees and
838 expenses. The application of the United Nations Convention on
839 Contracts for the International Sale of Goods is expressly excluded.
840 Any law or regulation which provides that the language of a contract
841 shall be construed against the drafter shall not apply to this
844 12. RESPONSIBILITY FOR CLAIMS.
846 As between Initial Developer and the Contributors, each party is
847 responsible for claims and damages arising, directly or indirectly,
848 out of its utilization of rights under this License and You agree to
849 work with Initial Developer and Contributors to distribute such
850 responsibility on an equitable basis. Nothing herein is intended or
851 shall be deemed to constitute any admission of liability.
853 13. MULTIPLE-LICENSED CODE.
855 Initial Developer may designate portions of the Covered Code as
856 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
857 Developer permits you to utilize portions of the Covered Code under
858 Your choice of the NPL or the alternative licenses, if any, specified
859 by the Initial Developer in the file described in Exhibit A.
861 EXHIBIT A -Mozilla Public License.
863 ``The contents of this file are subject to the Mozilla Public License
864 Version 1.1 (the "License"); you may not use this file except in
865 compliance with the License. You may obtain a copy of the License at
866 http://www.mozilla.org/MPL/
868 Software distributed under the License is distributed on an "AS IS"
869 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
870 License for the specific language governing rights and limitations
873 The Original Code is ______________________________________.
875 The Initial Developer of the Original Code is ________________________.
876 Portions created by ______________________ are Copyright (C) ______
877 _______________________. All Rights Reserved.
879 Contributor(s): ______________________________________.
881 Alternatively, the contents of this file may be used under the terms
882 of the _____ license (the "[___] License"), in which case the
883 provisions of [______] License are applicable instead of those
884 above. If you wish to allow use of your version of this file only
885 under the terms of the [____] License and not to allow others to use
886 your version of this file under the MPL, indicate your decision by
887 deleting the provisions above and replace them with the notice and
888 other provisions required by the [___] License. If you do not delete
889 the provisions above, a recipient may use your version of this file
890 under either the MPL or the [___] License."
892 [NOTE: The text of this Exhibit A may differ slightly from the text of
893 the notices in the Source Code files of the Original Code. You should
894 use the text of this Exhibit A rather than the text found in the
895 Original Code Source Code for Your Modifications.]
897 ================================================================================
898 ================================================================================
899 ================================================================================
901 imaging-guassian-blur.js
903 Copyright (C) 2008 John Resig
904 Copyright (C) 2009-2011; see the AUTHORS file for authors and
907 Permission is hereby granted, free of charge, to any person obtaining
908 a copy of this software and associated documentation files (the
909 "Software"), to deal in the Software without restriction, including
910 without limitation the rights to use, copy, modify, merge, publish,
911 distribute, sublicense, and/or sell copies of the Software, and to
912 permit persons to whom the Software is furnished to do so, subject to
913 the following conditions:
915 The above copyright notice and this permission notice shall be
916 included in all copies or substantial portions of the Software.
918 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
919 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
920 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
921 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
922 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
923 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
924 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.