THIRD-PARTY NOTICES - vendor/tesseract/

The four files in this directory are unmodified third-party releases. This file
records what they are, who wrote them, and under what terms they are
redistributed here. Their SHA-256 sums are published in the add-on's AMO
reviewer notes so each can be checked against its official source.

--------------------------------------------------------------------------------
1. DIRECTLY REDISTRIBUTED COMPONENTS
--------------------------------------------------------------------------------

tesseract.min.js
    Tesseract.js 5.1.1
    https://github.com/naptha/tesseract.js
    Apache License 2.0 - full text in LICENSE-Apache-2.0.txt

worker.min.js
    Tesseract.js 5.1.1 (worker build)
    https://github.com/naptha/tesseract.js
    Apache License 2.0 - full text in LICENSE-Apache-2.0.txt

tesseract-core-simd-lstm.wasm.js
    tesseract.js-core 5.1.0
    https://github.com/naptha/tesseract.js-core
    Apache License 2.0 - full text in LICENSE-Apache-2.0.txt

eng.traineddata
    tessdata_fast 4.1.0, English
    https://github.com/tesseract-ocr/tessdata_fast
    Apache License 2.0 - full text in LICENSE-Apache-2.0.txt

--------------------------------------------------------------------------------
2. COMPONENTS BUNDLED INSIDE THOSE FILES
--------------------------------------------------------------------------------

The two minified Tesseract.js builds are webpack output and carry code from
several other projects inside them. The upstream banner comments extracted by
webpack ship as tesseract.min.js.LICENSE.txt and worker.min.js.LICENSE.txt; the
full terms those banners point at are reproduced below, because a URL in a
comment is not a licence copy.

buffer - MIT
    The buffer module from node.js, for the browser.
    Copyright (c) Feross Aboukhadijeh, and other contributors.
    https://github.com/feross/buffer

regenerator-runtime - MIT
    Copyright (c) 2014-present, Facebook, Inc.
    https://github.com/facebook/regenerator

zlib.js - MIT
    Copyright (c) 2012 imaya
    https://github.com/imaya/zlib.js

ieee754 - BSD-3-Clause
    Copyright (c) 2008, Fair Oaks Labs, Inc. All rights reserved.
    https://github.com/feross/ieee754

--------------------------------------------------------------------------------
3. THE MIT LICENSE
--------------------------------------------------------------------------------

Applies to buffer, regenerator-runtime and zlib.js above, each under its own
copyright notice as given.

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.

--------------------------------------------------------------------------------
4. THE BSD 3-CLAUSE LICENSE
--------------------------------------------------------------------------------

Applies to ieee754 above.

Copyright (c) 2008, Fair Oaks Labs, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
   may be used to endorse or promote products derived from this software without
   specific prior written permission.

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.
