"Fossies" - the Fresh Open Source Software Archive

Member "ampache-5.0.0/public/lib/modules/aurora.js/aac.js.map" (31 Aug 2021, 182049 Bytes) of package /linux/www/ampache-5.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "version": 3,
    3   "file": "generated.js",
    4   "sources": [
    5     "/Users/devongovett/projects/codecs/aac.js/node_modules/browserify/node_modules/browser-pack/_prelude.js",
    6     "/Users/devongovett/projects/codecs/aac.js/src/adts_demuxer.js",
    7     "/Users/devongovett/projects/codecs/aac.js/src/cce.js",
    8     "/Users/devongovett/projects/codecs/aac.js/src/cpe.js",
    9     "/Users/devongovett/projects/codecs/aac.js/src/decoder.js",
   10     "/Users/devongovett/projects/codecs/aac.js/src/fft.js",
   11     "/Users/devongovett/projects/codecs/aac.js/src/filter_bank.js",
   12     "/Users/devongovett/projects/codecs/aac.js/src/huffman.js",
   13     "/Users/devongovett/projects/codecs/aac.js/src/ics.js",
   14     "/Users/devongovett/projects/codecs/aac.js/src/mdct.js",
   15     "/Users/devongovett/projects/codecs/aac.js/src/mdct_tables.js",
   16     "/Users/devongovett/projects/codecs/aac.js/src/tables.js",
   17     "/Users/devongovett/projects/codecs/aac.js/src/tns.js"
   18   ],
   19   "names": [],
   20   "mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACr9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1nCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",
   21   "sourcesContent": [
   22     "(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error(\"Cannot find module '\"+o+\"'\")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})",
   23     "var AV = (window.AV);\nvar tables = require('./tables');\n\nvar ADTSDemuxer = AV.Demuxer.extend(function() {\n    AV.Demuxer.register(this);\n    \n    this.probe = function(stream) {\n        var offset = stream.offset;\n        \n        // attempt to find ADTS syncword\n        while (stream.available(2)) {\n            if ((stream.readUInt16() & 0xfff6) === 0xfff0) {\n                stream.seek(offset);\n                return true;\n            }\n        }\n        \n        stream.seek(offset);\n        return false;\n    };\n        \n    this.prototype.init = function() {\n        this.bitstream = new AV.Bitstream(this.stream);\n    };\n    \n    // Reads an ADTS header\n    // See http://wiki.multimedia.cx/index.php?title=ADTS\n    this.readHeader = function(stream) {\n        if (stream.read(12) !== 0xfff)\n            throw new Error('Invalid ADTS header.');\n            \n        var ret = {};\n        stream.advance(3); // mpeg version and layer\n        var protectionAbsent = !!stream.read(1);\n        \n        ret.profile = stream.read(2) + 1;\n        ret.samplingIndex = stream.read(4);\n        \n        stream.advance(1); // private\n        ret.chanConfig = stream.read(3);\n        stream.advance(4); // original/copy, home, copywrite, and copywrite start\n        \n        ret.frameLength = stream.read(13);\n        stream.advance(11); // fullness\n        \n        ret.numFrames = stream.read(2) + 1;\n        \n        if (!protectionAbsent)\n            stream.advance(16);\n        \n        return ret;\n    };\n    \n    this.prototype.readChunk = function() {\n        if (!this.sentHeader) {\n            var offset = this.stream.offset;\n            var header = ADTSDemuxer.readHeader(this.bitstream);\n            \n            this.emit('format', {\n                formatID: 'aac ',\n                sampleRate: tables.SAMPLE_RATES[header.samplingIndex],\n                channelsPerFrame: header.chanConfig,\n                bitsPerChannel: 16\n            });\n            \n            // generate a magic cookie from the ADTS header\n            var cookie = new Uint8Array(2);\n            cookie[0] = (header.profile << 3) | ((header.samplingIndex >> 1) & 7);\n            cookie[1] = ((header.samplingIndex & 1) << 7) | (header.chanConfig << 3);\n            this.emit('cookie', new AV.Buffer(cookie));\n            \n            this.stream.seek(offset);\n            this.sentHeader = true;\n        }\n        \n        while (this.stream.available(1)) {\n            var buffer = this.stream.readSingleBuffer(this.stream.remainingBytes());\n            this.emit('data', buffer);\n        }\n    };\n});",
   24     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\nvar ICStream = require('./ics');\nvar Huffman = require('./huffman');\n    \n// Channel Coupling Element\nfunction CCEElement(config) {\n    this.ics = new ICStream(config);\n    this.channelPair = new Array(8);\n    this.idSelect = new Int32Array(8);\n    this.chSelect = new Int32Array(8);\n    this.gain = new Array(16);\n}\n\nCCEElement.BEFORE_TNS = 0;\nCCEElement.AFTER_TNS = 1;\nCCEElement.AFTER_IMDCT = 2;\n\nconst CCE_SCALE = new Float32Array([\n    1.09050773266525765921,\n    1.18920711500272106672,\n    1.4142135623730950488016887,\n    2.0\n]);\n\nCCEElement.prototype = {\n    decode: function(stream, config) {\n        var channelPair = this.channelPair,\n            idSelect = this.idSelect,\n            chSelect = this.chSelect;\n\n        this.couplingPoint = 2 * stream.read(1);\n        this.coupledCount = stream.read(3);\n\n        var gainCount = 0;\n        for (var i = 0; i <= this.coupledCount; i++) {\n            gainCount++;\n            channelPair[i] = stream.read(1);\n            idSelect[i] = stream.read(4);\n\n            if (channelPair[i]) {\n                chSelect[i] = stream.read(2);\n                if (chSelect[i] === 3)\n                    gainCount++;\n\n            } else {\n                chSelect[i] = 2;\n            }\n        }\n\n        this.couplingPoint += stream.read(1);\n        this.couplingPoint |= (this.couplingPoint >>> 1);\n\n        var sign = stream.read(1),\n            scale = CCE_SCALE[stream.read(2)];\n\n        this.ics.decode(stream, config, false);\n\n        var groupCount = this.ics.info.groupCount,\n            maxSFB = this.ics.info.maxSFB,\n            bandTypes = this.ics.bandTypes;\n\n        for (var i = 0; i < gainCount; i++) {\n            var idx = 0,\n                cge = 1,\n                gain = 0,\n                gainCache = 1;\n\n            if (i > 0) {\n                cge = this.couplingPoint === CCEElement.AFTER_IMDCT ? 1 : stream.read(1);\n                gain = cge ? Huffman.decodeScaleFactor(stream) - 60 : 0;\n                gainCache = Math.pow(scale, -gain);\n            }\n\n            var gain_i = this.gain[i] = new Float32Array(120);\n\n            if (this.couplingPoint === CCEElement.AFTER_IMDCT) {\n                gain_i[0] = gainCache;\n            } else {\n                for (var g = 0; g < groupCount; g++) {\n                    for (var sfb = 0; sfb < maxSFB; sfb++) {\n                        if (bandTypes[idx] !== ICStream.ZERO_BT) {\n                            if (cge === 0) {\n                                var t = Huffman.decodeScaleFactor(stream) - 60;\n                                if (t !== 0) {\n                                    var s = 1;\n                                    t = gain += t;\n                                    if (sign) {\n                                        s -= 2 * (t * 0x1);\n                                        t >>>= 1;\n                                    }\n                                    gainCache = Math.pow(scale, -t) * s;\n                                }\n                            }\n                            gain_i[idx++] = gainCache;\n                        }\n                    }\n                }\n            }\n        }\n    },\n\n    applyIndependentCoupling: function(index, data) {\n        var gain = this.gain[index][0],\n            iqData = this.ics.data;\n\n        for (var i = 0; i < data.length; i++) {\n            data[i] += gain * iqData[i];\n        }\n    },\n\n    applyDependentCoupling: function(index, data) {\n        var info = this.ics.info,\n            swbOffsets = info.swbOffsets,\n            groupCount = info.groupCount,\n            maxSFB = info.maxSFB,\n            bandTypes = this.ics.bandTypes,\n            iqData = this.ics.data;\n\n        var idx = 0,\n            offset = 0,\n            gains = this.gain[index];\n\n        for (var g = 0; g < groupCount; g++) {\n            var len = info.groupLength[g];\n\n            for (var sfb = 0; sfb < maxSFB; sfb++, idx++) {\n                if (bandTypes[idx] !== ICStream.ZERO_BT) {\n                    var gain = gains[idx];\n                    for (var group = 0; group < len; group++) {\n                        for (var k = swbOffsets[sfb]; k < swbOffsets[swb + 1]; k++) {\n                            data[offset + group * 128 + k] += gain * iqData[offset + group * 128 + k];\n                        }\n                    }\n                }\n            }\n\n            offset += len * 128;\n        }\n    }\n};\n\nmodule.exports = CCEElement;\n",
   25     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\nvar ICStream = require('./ics');\n    \n// Channel Pair Element\nfunction CPEElement(config) {\n    this.ms_used = [];\n    this.left = new ICStream(config);\n    this.right = new ICStream(config);\n}\n\nconst MAX_MS_MASK = 128;\n\nconst MASK_TYPE_ALL_0 = 0,\n      MASK_TYPE_USED = 1,\n      MASK_TYPE_ALL_1 = 2,\n      MASK_TYPE_RESERVED = 3;\n\nCPEElement.prototype.decode = function(stream, config) {\n    var left = this.left,\n        right = this.right,\n        ms_used = this.ms_used;\n        \n    if (this.commonWindow = !!stream.read(1)) {\n        left.info.decode(stream, config, true);\n        right.info = left.info;\n\n        var mask = stream.read(2);\n        this.maskPresent = !!mask;\n        \n        switch (mask) {\n            case MASK_TYPE_USED:\n                var len = left.info.groupCount * left.info.maxSFB;\n                for (var i = 0; i < len; i++) {\n                    ms_used[i] = !!stream.read(1);\n                }\n                break;\n            \n            case MASK_TYPE_ALL_0:    \n            case MASK_TYPE_ALL_1:\n                var val = !!mask;\n                for (var i = 0; i < MAX_MS_MASK; i++) {\n                    ms_used[i] = val;\n                }\n                break;\n                \n            default:\n                throw new Error(\"Reserved ms mask type: \" + mask);\n        }\n    } else {\n        for (var i = 0; i < MAX_MS_MASK; i++)\n            ms_used[i] = false;\n    }\n    \n    left.decode(stream, config, this.commonWindow);\n    right.decode(stream, config, this.commonWindow);\n};\n\nmodule.exports = CPEElement;\n",
   26     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\nvar AV          = (window.AV);\nvar ADTSDemuxer = require('./adts_demuxer');\nvar ICStream    = require('./ics');\nvar CPEElement  = require('./cpe');\nvar CCEElement  = require('./cce');\nvar FilterBank  = require('./filter_bank');\nvar tables      = require('./tables');\n\nvar AACDecoder = AV.Decoder.extend(function() {\n    AV.Decoder.register('mp4a', this);\n    AV.Decoder.register('aac ', this);\n    \n    // AAC profiles\n    const AOT_AAC_MAIN = 1, // no\n          AOT_AAC_LC = 2,   // yes\n          AOT_AAC_LTP = 4,  // no\n          AOT_ESCAPE = 31;\n          \n    // Channel configurations\n    const CHANNEL_CONFIG_NONE = 0,\n          CHANNEL_CONFIG_MONO = 1,\n          CHANNEL_CONFIG_STEREO = 2,\n          CHANNEL_CONFIG_STEREO_PLUS_CENTER = 3,\n          CHANNEL_CONFIG_STEREO_PLUS_CENTER_PLUS_REAR_MONO = 4,\n          CHANNEL_CONFIG_FIVE = 5,\n          CHANNEL_CONFIG_FIVE_PLUS_ONE = 6,\n          CHANNEL_CONFIG_SEVEN_PLUS_ONE = 8;\n          \n    this.prototype.init = function() {\n      this.format.floatingPoint = true;\n    }\n    \n    this.prototype.setCookie = function(buffer) {\n        var data = AV.Stream.fromBuffer(buffer),\n            stream = new AV.Bitstream(data);\n        \n        this.config = {};\n        \n        this.config.profile = stream.read(5);\n        if (this.config.profile === AOT_ESCAPE)\n            this.config.profile = 32 + stream.read(6);\n            \n        this.config.sampleIndex = stream.read(4);\n        if (this.config.sampleIndex === 0x0f) {\n            this.config.sampleRate = stream.read(24);\n            for (var i = 0; i < tables.SAMPLE_RATES.length; i++) {\n                if (tables.SAMPLE_RATES[i] === this.config.sampleRate) {\n                    this.config.sampleIndex = i;\n                    break;\n                }\n            }\n        } else {\n            this.config.sampleRate = tables.SAMPLE_RATES[this.config.sampleIndex];\n        }\n            \n        this.config.chanConfig = stream.read(4);\n        this.format.channelsPerFrame = this.config.chanConfig; // sometimes m4a files encode this wrong\n        \n        switch (this.config.profile) {\n            case AOT_AAC_MAIN:\n            case AOT_AAC_LC:\n            case AOT_AAC_LTP:\n                if (stream.read(1)) // frameLengthFlag\n                    throw new Error('frameLengthFlag not supported');\n                    \n                this.config.frameLength = 1024;\n                    \n                if (stream.read(1)) // dependsOnCoreCoder\n                    stream.advance(14); // coreCoderDelay\n                    \n                if (stream.read(1)) { // extensionFlag\n                    if (this.config.profile > 16) { // error resiliant profile\n                        this.config.sectionDataResilience = stream.read(1);\n                        this.config.scalefactorResilience = stream.read(1);\n                        this.config.spectralDataResilience = stream.read(1);\n                    }\n                    \n                    stream.advance(1);\n                }\n                \n                if (this.config.chanConfig === CHANNEL_CONFIG_NONE) {\n                    stream.advance(4) // element_instance_tag\n                    throw new Error('PCE unimplemented');\n                }\n                \n                break;\n                \n            default:\n                throw new Error('AAC profile ' + this.config.profile + ' not supported.');\n        }\n        \n        this.filter_bank = new FilterBank(false, this.config.chanConfig);        \n        this.ics = new ICStream(this.config);\n        this.cpe = new CPEElement(this.config);\n        this.cce = new CCEElement(this.config);\n    };\n    \n    const SCE_ELEMENT = 0,\n          CPE_ELEMENT = 1,\n          CCE_ELEMENT = 2,\n          LFE_ELEMENT = 3,\n          DSE_ELEMENT = 4,\n          PCE_ELEMENT = 5,\n          FIL_ELEMENT = 6,\n          END_ELEMENT = 7;\n    \n    // The main decoding function.\n    this.prototype.readChunk = function() {\n        var stream = this.bitstream;\n        \n        // check if there is an ADTS header, and read it if so\n        if (stream.peek(12) === 0xfff)\n            ADTSDemuxer.readHeader(stream);\n        \n        this.cces = [];\n        var elements = [],\n            config = this.config,\n            frameLength = config.frameLength,\n            elementType = null;\n        \n        while ((elementType = stream.read(3)) !== END_ELEMENT) {\n            var id = stream.read(4);\n            \n            switch (elementType) {\n                // single channel and low frequency elements\n                case SCE_ELEMENT:\n                case LFE_ELEMENT:\n                    var ics = this.ics;\n                    ics.id = id;\n                    elements.push(ics);\n                    ics.decode(stream, config, false);\n                    break;\n                    \n                // channel pair element\n                case CPE_ELEMENT:\n                    var cpe = this.cpe;\n                    cpe.id = id;\n                    elements.push(cpe);\n                    cpe.decode(stream, config);\n                    break;\n                \n                // channel coupling element\n                case CCE_ELEMENT:\n                    var cce = this.cce;\n                    this.cces.push(cce);\n                    cce.decode(stream, config);\n                    break;\n                    \n                // data-stream element\n                case DSE_ELEMENT:\n                    var align = stream.read(1),\n                        count = stream.read(8);\n                        \n                    if (count === 255)\n                        count += stream.read(8);\n                        \n                    if (align)\n                        stream.align();\n                        \n                    // skip for now...\n                    stream.advance(count * 8);\n                    break;\n                    \n                // program configuration element\n                case PCE_ELEMENT:\n                    throw new Error(\"TODO: PCE_ELEMENT\")\n                    break;\n                    \n                // filler element\n                case FIL_ELEMENT:\n                    if (id === 15)\n                        id += stream.read(8) - 1;\n                        \n                    // skip for now...\n                    stream.advance(id * 8);\n                    break;\n                    \n                default:\n                    throw new Error('Unknown element')\n            }\n        }\n        \n        stream.align();\n        this.process(elements);\n        \n        // Interleave channels\n        var data = this.data,\n            channels = data.length,\n            output = new Float32Array(frameLength * channels),\n            j = 0;\n            \n        for (var k = 0; k < frameLength; k++) {\n            for (var i = 0; i < channels; i++) {\n                output[j++] = data[i][k] / 32768;\n            }\n        }\n        \n        return output;\n    };\n    \n    this.prototype.process = function(elements) {\n        var channels = this.config.chanConfig;\n        \n        // if (channels === 1 &&  psPresent)\n        // TODO: sbrPresent (2)\n        var mult = 1;\n        \n        var len = mult * this.config.frameLength;\n        var data = this.data = [];\n        \n        // Initialize channels\n        for (var i = 0; i < channels; i++) {\n            data[i] = new Float32Array(len);\n        }\n        \n        var channel = 0;\n        for (var i = 0; i < elements.length && channel < channels; i++) {\n            var e = elements[i];\n            \n            if (e instanceof ICStream) { // SCE or LFE element\n                channel += this.processSingle(e, channel);\n            } else if (e instanceof CPEElement) {\n                this.processPair(e, channel);\n                channel += 2;\n            } else if (e instanceof CCEElement) {\n                channel++;\n            } else {\n                throw new Error(\"Unknown element found.\")\n            }\n        }\n    };\n    \n    this.prototype.processSingle = function(element, channel) {\n        var profile = this.config.profile,\n            info = element.info,\n            data = element.data;\n            \n        if (profile === AOT_AAC_MAIN)\n            throw new Error(\"Main prediction unimplemented\");\n            \n        if (profile === AOT_AAC_LTP)\n            throw new Error(\"LTP prediction unimplemented\");\n            \n        this.applyChannelCoupling(element, CCEElement.BEFORE_TNS, data, null);\n        \n        if (element.tnsPresent)\n            element.tns.process(element, data, false);\n            \n        this.applyChannelCoupling(element, CCEElement.AFTER_TNS, data, null);\n        \n        // filterbank\n        this.filter_bank.process(info, data, this.data[channel], channel);\n        \n        if (profile === AOT_AAC_LTP)\n            throw new Error(\"LTP prediction unimplemented\");\n        \n        this.applyChannelCoupling(element, CCEElement.AFTER_IMDCT, this.data[channel], null);\n        \n        if (element.gainPresent)\n            throw new Error(\"Gain control not implemented\");\n            \n        if (this.sbrPresent)\n            throw new Error(\"SBR not implemented\");\n            \n        return 1;\n    };\n    \n    this.prototype.processPair = function(element, channel) {\n        var profile = this.config.profile,\n            left = element.left,\n            right = element.right,\n            l_info = left.info,\n            r_info = right.info,\n            l_data = left.data,\n            r_data = right.data;\n            \n        // Mid-side stereo\n        if (element.commonWindow && element.maskPresent)\n            this.processMS(element, l_data, r_data);\n            \n        if (profile === AOT_AAC_MAIN)\n            throw new Error(\"Main prediction unimplemented\");\n        \n        // Intensity stereo    \n        this.processIS(element, l_data, r_data);\n            \n        if (profile === AOT_AAC_LTP)\n            throw new Error(\"LTP prediction unimplemented\");\n            \n        this.applyChannelCoupling(element, CCEElement.BEFORE_TNS, l_data, r_data);\n        \n        if (left.tnsPresent)\n            left.tns.process(left, l_data, false);\n            \n        if (right.tnsPresent)\n            right.tns.process(right, r_data, false);\n        \n        this.applyChannelCoupling(element, CCEElement.AFTER_TNS, l_data, r_data);\n        \n        // filterbank\n        this.filter_bank.process(l_info, l_data, this.data[channel], channel);\n        this.filter_bank.process(r_info, r_data, this.data[channel + 1], channel + 1);\n        \n        if (profile === AOT_AAC_LTP)\n            throw new Error(\"LTP prediction unimplemented\");\n        \n        this.applyChannelCoupling(element, CCEElement.AFTER_IMDCT, this.data[channel], this.data[channel + 1]);\n        \n        if (left.gainPresent)\n            throw new Error(\"Gain control not implemented\");\n            \n        if (right.gainPresent)\n            throw new Error(\"Gain control not implemented\");\n            \n        if (this.sbrPresent)\n            throw new Error(\"SBR not implemented\");\n    };\n    \n    // Intensity stereo\n    this.prototype.processIS = function(element, left, right) {\n        var ics = element.right,\n            info = ics.info,\n            offsets = info.swbOffsets,\n            windowGroups = info.groupCount,\n            maxSFB = info.maxSFB,\n            bandTypes = ics.bandTypes,\n            sectEnd = ics.sectEnd,\n            scaleFactors = ics.scaleFactors;\n        \n        var idx = 0, groupOff = 0;\n        for (var g = 0; g < windowGroups; g++) {\n            for (var i = 0; i < maxSFB;) {\n                var end = sectEnd[idx];\n                \n                if (bandTypes[idx] === ICStream.INTENSITY_BT || bandTypes[idx] === ICStream.INTENSITY_BT2) {\n                    for (; i < end; i++, idx++) {\n                        var c = bandTypes[idx] === ICStream.INTENSITY_BT ? 1 : -1;\n                        if (element.maskPresent)\n                            c *= element.ms_used[idx] ? -1 : 1;\n                            \n                        var scale = c * scaleFactors[idx];\n                        for (var w = 0; w < info.groupLength[g]; w++) {\n                            var off = groupOff + w * 128 + offsets[i],\n                                len = offsets[i + 1] - offsets[i];\n                                \n                            for (var j = 0; j < len; j++) {\n                                right[off + j] = left[off + j] * scale;\n                            }\n                        }\n                    }\n                } else  {\n                    idx += end - i;\n                    i = end;\n                }\n            }\n            \n            groupOff += info.groupLength[g] * 128;\n        }\n    };\n    \n    // Mid-side stereo\n    this.prototype.processMS = function(element, left, right) {\n        var ics = element.left,\n            info = ics.info,\n            offsets = info.swbOffsets,\n            windowGroups = info.groupCount,\n            maxSFB = info.maxSFB,\n            sfbCBl = ics.bandTypes,\n            sfbCBr = element.right.bandTypes;\n            \n        var groupOff = 0, idx = 0;\n        for (var g = 0; g < windowGroups; g++) {\n            for (var i = 0; i < maxSFB; i++, idx++) {\n                if (element.ms_used[idx] && sfbCBl[idx] < ICStream.NOISE_BT && sfbCBr[idx] < ICStream.NOISE_BT) {\n                    for (var w = 0; w < info.groupLength[g]; w++) {\n                        var off = groupOff + w * 128 + offsets[i];\n                        for (var j = 0; j < offsets[i + 1] - offsets[i]; j++) {\n                            var t = left[off + j] - right[off + j];\n                            left[off + j] += right[off + j];\n                            right[off + j] = t;\n                        }\n                    }\n                }\n            }\n            groupOff += info.groupLength[g] * 128;\n        }\n    };\n    \n    this.prototype.applyChannelCoupling = function(element, couplingPoint, data1, data2) {\n        var cces = this.cces,\n            isChannelPair = element instanceof CPEElement,\n            applyCoupling = couplingPoint === CCEElement.AFTER_IMDCT ? 'applyIndependentCoupling' : 'applyDependentCoupling';\n        \n        for (var i = 0; i < cces.length; i++) {\n            var cce = cces[i],\n                index = 0;\n                \n            if (cce.couplingPoint === couplingPoint) {\n                for (var c = 0; c < cce.coupledCount; c++) {\n                    var chSelect = cce.chSelect[c];\n                    if (cce.channelPair[c] === isChannelPair && cce.idSelect[c] === element.id) {\n                        if (chSelect !== 1) {\n                            cce[applyCoupling](index, data1);\n                            if (chSelect) index++;\n                        }\n                        \n                        if (chSelect !== 2)\n                            cce[applyCoupling](index++, data2);\n                            \n                    } else {\n                        index += 1 + (chSelect === 3 ? 1 : 0);\n                    }\n                }\n            }\n        }\n    };\n    \n});\n\nmodule.exports = AACDecoder;\n",
   27     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n    \nfunction FFT(length) {\n    this.length = length;\n\n    switch (length) {\n        case 64:\n            this.roots = generateFFTTableShort(64);\n            break;\n\n        case 512:\n            this.roots = generateFFTTableLong(512);\n            break;\n\n        case 60:\n            this.roots = generateFFTTableShort(60);\n            break;\n\n        case 480:\n            this.roots = generateFFTTableLong(480);\n            break;\n\n        default:\n            throw new Error(\"unexpected FFT length: \" + length);\n    }\n\n    // processing buffers\n    this.rev = new Array(length);\n    for (var i = 0; i < length; i++) {\n        this.rev[i] = new Float32Array(2);\n    }\n\n    this.a = new Float32Array(2);\n    this.b = new Float32Array(2);\n    this.c = new Float32Array(2);\n    this.d = new Float32Array(2);     \n    this.e1 = new Float32Array(2);\n    this.e2 = new Float32Array(2);\n}\n\nfunction generateFFTTableShort(len) {\n    var t = 2 * Math.PI / len,\n        cosT = Math.cos(t),\n        sinT = Math.sin(t),\n        f = new Array(len);\n\n    for (var i = 0; i < len; i++) {\n        f[i] = new Float32Array(2);\n    }\n\n    f[0][0] = 1;\n    f[0][1] = 0;\n    var lastImag = 0;\n\n    for (var i = 1; i < len; i++) {\n        f[i][0] = f[i - 1][0] * cosT + lastImag * sinT;\n        lastImag = lastImag * cosT - f[i - 1][0] * sinT;\n        f[i][1] = -lastImag;\n    }\n\n    return f;\n}\n\nfunction generateFFTTableLong(len) {\n    var t = 2 * Math.PI / len,\n        cosT = Math.cos(t),\n        sinT = Math.sin(t),\n        f = new Array(len);\n\n    for (var i = 0; i < len; i++) {\n        f[i] = new Float32Array(3);\n    }\n\n    f[0][0] = 1;\n    f[0][1] = 0;\n    f[0][2] = 0;\n\n    for (var i = 1; i < len; i++) {\n        f[i][0] = f[i - 1][0] * cosT + f[i - 1][2] * sinT;\n        f[i][2] = f[i - 1][2] * cosT - f[i - 1][0] * sinT;\n        f[i][1] = -f[i][2];\n    }\n\n    return f;\n}\n\nFFT.prototype.process = function(input, forward) {\n    var length = this.length,\n        imOffset = (forward ? 2 : 1),\n        scale = (forward ? length : 1),\n        rev = this.rev,\n        roots = this.roots;\n\n    // bit-reversal\n    var ii = 0;\n    for (var i = 0; i < length; i++) {\n        rev[i][0] = input[ii][0];\n        rev[i][1] = input[ii][1];\n\n        var k = length >>> 1;\n        while (ii >= k && k > 0) {\n            ii -= k;\n            k >>= 1;\n        }\n\n        ii += k;\n    }\n\n    var a = this.a,\n        b = this.b,\n        c = this.c,\n        d = this.d,\n        e1 = this.e1,\n        e2 = this.e2;\n\n    for (var i = 0; i < length; i++) {\n        input[i][0] = rev[i][0];\n        input[i][1] = rev[i][1];\n    }\n\n    // bottom base-4 round\n    for (var i = 0; i < length; i += 4) {\n        a[0] = input[i][0] + input[i + 1][0];\n        a[1] = input[i][1] + input[i + 1][1];\n        b[0] = input[i + 2][0] + input[i + 3][0];\n        b[1] = input[i + 2][1] + input[i + 3][1];\n        c[0] = input[i][0] - input[i + 1][0];\n        c[1] = input[i][1] - input[i + 1][1];\n        d[0] = input[i + 2][0] - input[i + 3][0];\n        d[1] = input[i + 2][1] - input[i + 3][1];\n        input[i][0] = a[0] + b[0];\n        input[i][1] = a[1] + b[1];\n        input[i + 2][0] = a[0] - b[0];\n        input[i + 2][1] = a[1] - b[1];\n\n        e1[0] = c[0] - d[1];\n        e1[1] = c[1] + d[0];\n        e2[0] = c[0] + d[1];\n        e2[1] = c[1] - d[0];\n\n        if (forward) {\n            input[i + 1][0] = e2[0];\n            input[i + 1][1] = e2[1];\n            input[i + 3][0] = e1[0];\n            input[i + 3][1] = e1[1];\n        } else {\n            input[i + 1][0] = e1[0];\n            input[i + 1][1] = e1[1];\n            input[i + 3][0] = e2[0];\n            input[i + 3][1] = e2[1];\n        }\n    }\n\n    // iterations from bottom to top\n    for (var i = 4; i < length; i <<= 1) {\n        var shift = i << 1,\n            m = length / shift;\n\n        for(var j = 0; j < length; j += shift) {\n            for(var k = 0; k < i; k++) {\n                var km = k * m,\n                    rootRe = roots[km][0],\n                    rootIm = roots[km][imOffset],\n                    zRe = input[i + j + k][0] * rootRe - input[i + j + k][1] * rootIm,\n                    zIm = input[i + j + k][0] * rootIm + input[i + j + k][1] * rootRe;\n\n                input[i + j + k][0] = (input[j + k][0] - zRe) * scale;\n                input[i + j + k][1] = (input[j + k][1] - zIm) * scale;\n                input[j + k][0] = (input[j + k][0] + zRe) * scale;\n                input[j + k][1] = (input[j + k][1] + zIm) * scale;\n            }\n        }\n    }\n};\n\nmodule.exports = FFT;\n",
   28     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\nvar ICStream = require('./ics');\nvar MDCT = require('./mdct');\n  \nfunction FilterBank(smallFrames, channels) {\n    if (smallFrames) {\n        throw new Error(\"WHA?? No small frames allowed.\");\n    }\n\n    this.length = 1024;\n    this.shortLength = 128;\n\n    this.mid = (this.length - this.shortLength) / 2;\n    this.trans = this.shortLength / 2;\n\n    this.mdctShort = new MDCT(this.shortLength * 2);\n    this.mdctLong  = new MDCT(this.length * 2);\n\n    this.overlaps = new Array(channels);\n    for (var i = 0; i < channels; i++) {\n        this.overlaps[i] = new Float32Array(this.length);\n    }\n\n    this.buf = new Float32Array(2 * this.length);\n}\n  \nfunction generateSineWindow(len) {\n    var d = new Float32Array(len);\n    for (var i = 0; i < len; i++) {\n        d[i] = Math.sin((i + 0.5) * (Math.PI / (2.0 * len)))\n    }\n    return d;\n}\n\nfunction generateKBDWindow(alpha, len) {\n    var PIN = Math.PI / len,\n        out = new Float32Array(len),\n        sum = 0,\n        f = new Float32Array(len),\n        alpha2 = (alpha * PIN) * (alpha * PIN);\n\n    for (var n = 0; n < len; n++) {\n        var tmp = n * (len - n) * alpha2,\n            bessel = 1;\n\n        for (var j = 50; j > 0; j--) {\n            bessel = bessel * tmp / (j * j) + 1;\n        }\n\n        sum += bessel;\n        f[n] = sum;\n    }\n\n    sum++;\n    for (var n = 0; n < len; n++) {\n        out[n] = Math.sqrt(f[n] / sum);\n    }\n\n    return out;\n}\n\nconst SINE_1024 = generateSineWindow(1024),\n      SINE_128  = generateSineWindow(128),\n      KBD_1024  = generateKBDWindow(4, 1024),\n      KBD_128   = generateKBDWindow(6, 128),\n      LONG_WINDOWS = [SINE_1024, KBD_1024],\n      SHORT_WINDOWS = [SINE_128, KBD_128];\n\nFilterBank.prototype.process = function(info, input, output, channel) {\n    var overlap = this.overlaps[channel],\n        windowShape = info.windowShape[1],\n        windowShapePrev = info.windowShape[0],\n        longWindows = LONG_WINDOWS[windowShape],\n        shortWindows = SHORT_WINDOWS[windowShape],\n        longWindowsPrev = LONG_WINDOWS[windowShapePrev],\n        shortWindowsPrev = SHORT_WINDOWS[windowShapePrev],\n        length = this.length,\n        shortLen = this.shortLength,\n        mid = this.mid,\n        trans = this.trans,\n        buf = this.buf,\n        mdctLong = this.mdctLong,\n        mdctShort = this.mdctShort;\n\n    switch (info.windowSequence) {\n        case ICStream.ONLY_LONG_SEQUENCE:\n            mdctLong.process(input, 0, buf, 0);\n\n            // add second half output of previous frame to windowed output of current frame\n            for (var i = 0; i < length; i++) {\n                output[i] = overlap[i] + (buf[i] * longWindowsPrev[i]);\n            }\n\n            // window the second half and save as overlap for next frame\n            for (var i = 0; i < length; i++) {\n                overlap[i] = buf[length + i] * longWindows[length - 1 - i];\n            }\n\n            break;\n\n        case ICStream.LONG_START_SEQUENCE:\n            mdctLong.process(input, 0, buf, 0);\n\n            // add second half output of previous frame to windowed output of current frame\n            for (var i = 0; i < length; i++) {\n                output[i] = overlap[i] + (buf[i] * longWindowsPrev[i]);\n            }\n\n            // window the second half and save as overlap for next frame\n            for (var i = 0; i < mid; i++) {\n                overlap[i] = buf[length + i];\n            }\n\n            for (var i = 0; i < shortLen; i++) {\n                overlap[mid + i] = buf[length + mid + i] * shortWindows[shortLen - i - 1];\n            }\n\n            for (var i = 0; i < mid; i++) {\n                overlap[mid + shortLen + i] = 0;\n            }\n\n            break;\n\n        case ICStream.EIGHT_SHORT_SEQUENCE:\n            for (var i = 0; i < 8; i++) {\n                mdctShort.process(input, i * shortLen, buf, 2 * i * shortLen);\n            }\n\n            // add second half output of previous frame to windowed output of current frame\n            for (var i = 0; i < mid; i++) {\n                output[i] = overlap[i];\n            }\n\n            for (var i = 0; i < shortLen; i++) {\n                output[mid + i] = overlap[mid + i] + buf[i] * shortWindowsPrev[i];\n                output[mid + 1 * shortLen + i] = overlap[mid + shortLen * 1 + i] + (buf[shortLen * 1 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 2 + i]  * shortWindows[i]);\n                output[mid + 2 * shortLen + i] = overlap[mid + shortLen * 2 + i] + (buf[shortLen * 3 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 4 + i] * shortWindows[i]);\n                output[mid + 3 * shortLen + i] = overlap[mid + shortLen * 3 + i] + (buf[shortLen * 5 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 6 + i] * shortWindows[i]);\n\n                if (i < trans)\n                    output[mid + 4 * shortLen + i] = overlap[mid + shortLen * 4 + i] + (buf[shortLen * 7 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 8 + i] * shortWindows[i]);\n            }\n\n            // window the second half and save as overlap for next frame\n            for (var i = 0; i < shortLen; i++) {\n                if(i >= trans) \n                    overlap[mid + 4 * shortLen + i - length] = (buf[shortLen * 7 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 8 + i] * shortWindows[i]);\n\n                overlap[mid + 5 * shortLen + i - length] = (buf[shortLen * 9 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 10 + i] * shortWindows[i]);\n                overlap[mid + 6 * shortLen + i - length] = (buf[shortLen * 11 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 12 + i]*shortWindows[i]);\n                overlap[mid + 7 * shortLen + i - length] = (buf[shortLen * 13 + i] * shortWindows[shortLen - 1 - i]) + (buf[shortLen * 14 + i]*shortWindows[i]);\n                overlap[mid + 8 * shortLen + i - length] = (buf[shortLen * 15 + i] * shortWindows[shortLen - 1 - i]);\n            }\n\n            for (var i = 0; i < mid; i++) {\n                overlap[mid + shortLen + i] = 0;\n            }\n\n            break;\n\n        case ICStream.LONG_STOP_SEQUENCE:\n            mdctLong.process(input, 0, buf, 0);\n\n            // add second half output of previous frame to windowed output of current frame\n            // construct first half window using padding with 1's and 0's\n            for (var i = 0; i < mid; i++) {\n                output[i] = overlap[i];\n            }\n\n            for (var i = 0; i < shortLen; i++) {\n                output[mid + i] = overlap[mid + i] + (buf[mid + i] * shortWindowsPrev[i]);\n            }\n\n            for (var i = 0; i < mid; i++) {\n                output[mid + shortLen + i] = overlap[mid + shortLen + i] + buf[mid + shortLen + i];\n            }\n\n            // window the second half and save as overlap for next frame\n            for (var i = 0; i < length; i++) {\n                overlap[i] = buf[length + i] * longWindows[length - 1 - i];\n            }\n\n            break;\n    }\n};\n\nmodule.exports = FilterBank;\n",
   29     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\n// [bit length, codeword, values...]\nconst HCB1 = [\n    [1, 0, 0, 0, 0, 0],\n    [5, 16, 1, 0, 0, 0],\n    [5, 17, -1, 0, 0, 0],\n    [5, 18, 0, 0, 0, -1],\n    [5, 19, 0, 1, 0, 0],\n    [5, 20, 0, 0, 0, 1],\n    [5, 21, 0, 0, -1, 0],\n    [5, 22, 0, 0, 1, 0],\n    [5, 23, 0, -1, 0, 0],\n    [7, 96, 1, -1, 0, 0],\n    [7, 97, -1, 1, 0, 0],\n    [7, 98, 0, 0, -1, 1],\n    [7, 99, 0, 1, -1, 0],\n    [7, 100, 0, -1, 1, 0],\n    [7, 101, 0, 0, 1, -1],\n    [7, 102, 1, 1, 0, 0],\n    [7, 103, 0, 0, -1, -1],\n    [7, 104, -1, -1, 0, 0],\n    [7, 105, 0, -1, -1, 0],\n    [7, 106, 1, 0, -1, 0],\n    [7, 107, 0, 1, 0, -1],\n    [7, 108, -1, 0, 1, 0],\n    [7, 109, 0, 0, 1, 1],\n    [7, 110, 1, 0, 1, 0],\n    [7, 111, 0, -1, 0, 1],\n    [7, 112, 0, 1, 1, 0],\n    [7, 113, 0, 1, 0, 1],\n    [7, 114, -1, 0, -1, 0],\n    [7, 115, 1, 0, 0, 1],\n    [7, 116, -1, 0, 0, -1],\n    [7, 117, 1, 0, 0, -1],\n    [7, 118, -1, 0, 0, 1],\n    [7, 119, 0, -1, 0, -1],\n    [9, 480, 1, 1, -1, 0],\n    [9, 481, -1, 1, -1, 0],\n    [9, 482, 1, -1, 1, 0],\n    [9, 483, 0, 1, 1, -1],\n    [9, 484, 0, 1, -1, 1],\n    [9, 485, 0, -1, 1, 1],\n    [9, 486, 0, -1, 1, -1],\n    [9, 487, 1, -1, -1, 0],\n    [9, 488, 1, 0, -1, 1],\n    [9, 489, 0, 1, -1, -1],\n    [9, 490, -1, 1, 1, 0],\n    [9, 491, -1, 0, 1, -1],\n    [9, 492, -1, -1, 1, 0],\n    [9, 493, 0, -1, -1, 1],\n    [9, 494, 1, -1, 0, 1],\n    [9, 495, 1, -1, 0, -1],\n    [9, 496, -1, 1, 0, -1],\n    [9, 497, -1, -1, -1, 0],\n    [9, 498, 0, -1, -1, -1],\n    [9, 499, 0, 1, 1, 1],\n    [9, 500, 1, 0, 1, -1],\n    [9, 501, 1, 1, 0, 1],\n    [9, 502, -1, 1, 0, 1],\n    [9, 503, 1, 1, 1, 0],\n    [10, 1008, -1, -1, 0, 1],\n    [10, 1009, -1, 0, -1, -1],\n    [10, 1010, 1, 1, 0, -1],\n    [10, 1011, 1, 0, -1, -1],\n    [10, 1012, -1, 0, -1, 1],\n    [10, 1013, -1, -1, 0, -1],\n    [10, 1014, -1, 0, 1, 1],\n    [10, 1015, 1, 0, 1, 1],\n    [11, 2032, 1, -1, 1, -1],\n    [11, 2033, -1, 1, -1, 1],\n    [11, 2034, -1, 1, 1, -1],\n    [11, 2035, 1, -1, -1, 1],\n    [11, 2036, 1, 1, 1, 1],\n    [11, 2037, -1, -1, 1, 1],\n    [11, 2038, 1, 1, -1, -1],\n    [11, 2039, -1, -1, 1, -1],\n    [11, 2040, -1, -1, -1, -1],\n    [11, 2041, 1, 1, -1, 1],\n    [11, 2042, 1, -1, 1, 1],\n    [11, 2043, -1, 1, 1, 1],\n    [11, 2044, -1, 1, -1, -1],\n    [11, 2045, -1, -1, -1, 1],\n    [11, 2046, 1, -1, -1, -1],\n    [11, 2047, 1, 1, 1, -1]\n];\n\nconst HCB2 = [\n    [3, 0, 0, 0, 0, 0],\n    [4, 2, 1, 0, 0, 0],\n    [5, 6, -1, 0, 0, 0],\n    [5, 7, 0, 0, 0, 1],\n    [5, 8, 0, 0, -1, 0],\n    [5, 9, 0, 0, 0, -1],\n    [5, 10, 0, -1, 0, 0],\n    [5, 11, 0, 0, 1, 0],\n    [5, 12, 0, 1, 0, 0],\n    [6, 26, 0, -1, 1, 0],\n    [6, 27, -1, 1, 0, 0],\n    [6, 28, 0, 1, -1, 0],\n    [6, 29, 0, 0, 1, -1],\n    [6, 30, 0, 1, 0, -1],\n    [6, 31, 0, 0, -1, 1],\n    [6, 32, -1, 0, 0, -1],\n    [6, 33, 1, -1, 0, 0],\n    [6, 34, 1, 0, -1, 0],\n    [6, 35, -1, -1, 0, 0],\n    [6, 36, 0, 0, -1, -1],\n    [6, 37, 1, 0, 1, 0],\n    [6, 38, 1, 0, 0, 1],\n    [6, 39, 0, -1, 0, 1],\n    [6, 40, -1, 0, 1, 0],\n    [6, 41, 0, 1, 0, 1],\n    [6, 42, 0, -1, -1, 0],\n    [6, 43, -1, 0, 0, 1],\n    [6, 44, 0, -1, 0, -1],\n    [6, 45, -1, 0, -1, 0],\n    [6, 46, 1, 1, 0, 0],\n    [6, 47, 0, 1, 1, 0],\n    [6, 48, 0, 0, 1, 1],\n    [6, 49, 1, 0, 0, -1],\n    [7, 100, 0, 1, -1, 1],\n    [7, 101, 1, 0, -1, 1],\n    [7, 102, -1, 1, -1, 0],\n    [7, 103, 0, -1, 1, -1],\n    [7, 104, 1, -1, 1, 0],\n    [7, 105, 1, 1, 0, -1],\n    [7, 106, 1, 0, 1, 1],\n    [7, 107, -1, 1, 1, 0],\n    [7, 108, 0, -1, -1, 1],\n    [7, 109, 1, 1, 1, 0],\n    [7, 110, -1, 0, 1, -1],\n    [7, 111, -1, -1, -1, 0],\n    [7, 112, -1, 0, -1, 1],\n    [7, 113, 1, -1, -1, 0],\n    [7, 114, 1, 1, -1, 0],\n    [8, 230, 1, -1, 0, 1],\n    [8, 231, -1, 1, 0, -1],\n    [8, 232, -1, -1, 1, 0],\n    [8, 233, -1, 0, 1, 1],\n    [8, 234, -1, -1, 0, 1],\n    [8, 235, -1, -1, 0, -1],\n    [8, 236, 0, -1, -1, -1],\n    [8, 237, 1, 0, 1, -1],\n    [8, 238, 1, 0, -1, -1],\n    [8, 239, 0, 1, -1, -1],\n    [8, 240, 0, 1, 1, 1],\n    [8, 241, -1, 1, 0, 1],\n    [8, 242, -1, 0, -1, -1],\n    [8, 243, 0, 1, 1, -1],\n    [8, 244, 1, -1, 0, -1],\n    [8, 245, 0, -1, 1, 1],\n    [8, 246, 1, 1, 0, 1],\n    [8, 247, 1, -1, 1, -1],\n    [8, 248, -1, 1, -1, 1],\n    [9, 498, 1, -1, -1, 1],\n    [9, 499, -1, -1, -1, -1],\n    [9, 500, -1, 1, 1, -1],\n    [9, 501, -1, 1, 1, 1],\n    [9, 502, 1, 1, 1, 1],\n    [9, 503, -1, -1, 1, -1],\n    [9, 504, 1, -1, 1, 1],\n    [9, 505, -1, 1, -1, -1],\n    [9, 506, -1, -1, 1, 1],\n    [9, 507, 1, 1, -1, -1],\n    [9, 508, 1, -1, -1, -1],\n    [9, 509, -1, -1, -1, 1],\n    [9, 510, 1, 1, -1, 1],\n    [9, 511, 1, 1, 1, -1]\n];\n\nconst HCB3 = [\n    [1, 0, 0, 0, 0, 0],\n    [4, 8, 1, 0, 0, 0],\n    [4, 9, 0, 0, 0, 1],\n    [4, 10, 0, 1, 0, 0],\n    [4, 11, 0, 0, 1, 0],\n    [5, 24, 1, 1, 0, 0],\n    [5, 25, 0, 0, 1, 1],\n    [6, 52, 0, 1, 1, 0],\n    [6, 53, 0, 1, 0, 1],\n    [6, 54, 1, 0, 1, 0],\n    [6, 55, 0, 1, 1, 1],\n    [6, 56, 1, 0, 0, 1],\n    [6, 57, 1, 1, 1, 0],\n    [7, 116, 1, 1, 1, 1],\n    [7, 117, 1, 0, 1, 1],\n    [7, 118, 1, 1, 0, 1],\n    [8, 238, 2, 0, 0, 0],\n    [8, 239, 0, 0, 0, 2],\n    [8, 240, 0, 0, 1, 2],\n    [8, 241, 2, 1, 0, 0],\n    [8, 242, 1, 2, 1, 0],\n    [9, 486, 0, 0, 2, 1],\n    [9, 487, 0, 1, 2, 1],\n    [9, 488, 1, 2, 0, 0],\n    [9, 489, 0, 1, 1, 2],\n    [9, 490, 2, 1, 1, 0],\n    [9, 491, 0, 0, 2, 0],\n    [9, 492, 0, 2, 1, 0],\n    [9, 493, 0, 1, 2, 0],\n    [9, 494, 0, 2, 0, 0],\n    [9, 495, 0, 1, 0, 2],\n    [9, 496, 2, 0, 1, 0],\n    [9, 497, 1, 2, 1, 1],\n    [9, 498, 0, 2, 1, 1],\n    [9, 499, 1, 1, 2, 0],\n    [9, 500, 1, 1, 2, 1],\n    [10, 1002, 1, 2, 0, 1],\n    [10, 1003, 1, 0, 2, 0],\n    [10, 1004, 1, 0, 2, 1],\n    [10, 1005, 0, 2, 0, 1],\n    [10, 1006, 2, 1, 1, 1],\n    [10, 1007, 1, 1, 1, 2],\n    [10, 1008, 2, 1, 0, 1],\n    [10, 1009, 1, 0, 1, 2],\n    [10, 1010, 0, 0, 2, 2],\n    [10, 1011, 0, 1, 2, 2],\n    [10, 1012, 2, 2, 1, 0],\n    [10, 1013, 1, 2, 2, 0],\n    [10, 1014, 1, 0, 0, 2],\n    [10, 1015, 2, 0, 0, 1],\n    [10, 1016, 0, 2, 2, 1],\n    [11, 2034, 2, 2, 0, 0],\n    [11, 2035, 1, 2, 2, 1],\n    [11, 2036, 1, 1, 0, 2],\n    [11, 2037, 2, 0, 1, 1],\n    [11, 2038, 1, 1, 2, 2],\n    [11, 2039, 2, 2, 1, 1],\n    [11, 2040, 0, 2, 2, 0],\n    [11, 2041, 0, 2, 1, 2],\n    [12, 4084, 1, 0, 2, 2],\n    [12, 4085, 2, 2, 0, 1],\n    [12, 4086, 2, 1, 2, 0],\n    [12, 4087, 2, 2, 2, 0],\n    [12, 4088, 0, 2, 2, 2],\n    [12, 4089, 2, 2, 2, 1],\n    [12, 4090, 2, 1, 2, 1],\n    [12, 4091, 1, 2, 1, 2],\n    [12, 4092, 1, 2, 2, 2],\n    [13, 8186, 0, 2, 0, 2],\n    [13, 8187, 2, 0, 2, 0],\n    [13, 8188, 1, 2, 0, 2],\n    [14, 16378, 2, 0, 2, 1],\n    [14, 16379, 2, 1, 1, 2],\n    [14, 16380, 2, 1, 0, 2],\n    [15, 32762, 2, 2, 2, 2],\n    [15, 32763, 2, 2, 1, 2],\n    [15, 32764, 2, 1, 2, 2],\n    [15, 32765, 2, 0, 1, 2],\n    [15, 32766, 2, 0, 0, 2],\n    [16, 65534, 2, 2, 0, 2],\n    [16, 65535, 2, 0, 2, 2]\n];\n\nconst HCB4 = [\n    [4, 0, 1, 1, 1, 1],\n    [4, 1, 0, 1, 1, 1],\n    [4, 2, 1, 1, 0, 1],\n    [4, 3, 1, 1, 1, 0],\n    [4, 4, 1, 0, 1, 1],\n    [4, 5, 1, 0, 0, 0],\n    [4, 6, 1, 1, 0, 0],\n    [4, 7, 0, 0, 0, 0],\n    [4, 8, 0, 0, 1, 1],\n    [4, 9, 1, 0, 1, 0],\n    [5, 20, 1, 0, 0, 1],\n    [5, 21, 0, 1, 1, 0],\n    [5, 22, 0, 0, 0, 1],\n    [5, 23, 0, 1, 0, 1],\n    [5, 24, 0, 0, 1, 0],\n    [5, 25, 0, 1, 0, 0],\n    [7, 104, 2, 1, 1, 1],\n    [7, 105, 1, 1, 2, 1],\n    [7, 106, 1, 2, 1, 1],\n    [7, 107, 1, 1, 1, 2],\n    [7, 108, 2, 1, 1, 0],\n    [7, 109, 2, 1, 0, 1],\n    [7, 110, 1, 2, 1, 0],\n    [7, 111, 2, 0, 1, 1],\n    [7, 112, 0, 1, 2, 1],\n    [8, 226, 0, 1, 1, 2],\n    [8, 227, 1, 1, 2, 0],\n    [8, 228, 0, 2, 1, 1],\n    [8, 229, 1, 0, 1, 2],\n    [8, 230, 1, 2, 0, 1],\n    [8, 231, 1, 1, 0, 2],\n    [8, 232, 1, 0, 2, 1],\n    [8, 233, 2, 1, 0, 0],\n    [8, 234, 2, 0, 1, 0],\n    [8, 235, 1, 2, 0, 0],\n    [8, 236, 2, 0, 0, 1],\n    [8, 237, 0, 1, 0, 2],\n    [8, 238, 0, 2, 1, 0],\n    [8, 239, 0, 0, 1, 2],\n    [8, 240, 0, 1, 2, 0],\n    [8, 241, 0, 2, 0, 1],\n    [8, 242, 1, 0, 0, 2],\n    [8, 243, 0, 0, 2, 1],\n    [8, 244, 1, 0, 2, 0],\n    [8, 245, 2, 0, 0, 0],\n    [8, 246, 0, 0, 0, 2],\n    [9, 494, 0, 2, 0, 0],\n    [9, 495, 0, 0, 2, 0],\n    [9, 496, 1, 2, 2, 1],\n    [9, 497, 2, 2, 1, 1],\n    [9, 498, 2, 1, 2, 1],\n    [9, 499, 1, 1, 2, 2],\n    [9, 500, 1, 2, 1, 2],\n    [9, 501, 2, 1, 1, 2],\n    [10, 1004, 1, 2, 2, 0],\n    [10, 1005, 2, 2, 1, 0],\n    [10, 1006, 2, 1, 2, 0],\n    [10, 1007, 0, 2, 2, 1],\n    [10, 1008, 0, 1, 2, 2],\n    [10, 1009, 2, 2, 0, 1],\n    [10, 1010, 0, 2, 1, 2],\n    [10, 1011, 2, 0, 2, 1],\n    [10, 1012, 1, 0, 2, 2],\n    [10, 1013, 2, 2, 2, 1],\n    [10, 1014, 1, 2, 0, 2],\n    [10, 1015, 2, 0, 1, 2],\n    [10, 1016, 2, 1, 0, 2],\n    [10, 1017, 1, 2, 2, 2],\n    [11, 2036, 2, 1, 2, 2],\n    [11, 2037, 2, 2, 1, 2],\n    [11, 2038, 0, 2, 2, 0],\n    [11, 2039, 2, 2, 0, 0],\n    [11, 2040, 0, 0, 2, 2],\n    [11, 2041, 2, 0, 2, 0],\n    [11, 2042, 0, 2, 0, 2],\n    [11, 2043, 2, 0, 0, 2],\n    [11, 2044, 2, 2, 2, 2],\n    [11, 2045, 0, 2, 2, 2],\n    [11, 2046, 2, 2, 2, 0],\n    [12, 4094, 2, 2, 0, 2],\n    [12, 4095, 2, 0, 2, 2]\n];\n\nconst HCB5 = [\n    [1, 0, 0, 0],\n    [4, 8, -1, 0],\n    [4, 9, 1, 0],\n    [4, 10, 0, 1],\n    [4, 11, 0, -1],\n    [5, 24, 1, -1],\n    [5, 25, -1, 1],\n    [5, 26, -1, -1],\n    [5, 27, 1, 1],\n    [7, 112, -2, 0],\n    [7, 113, 0, 2],\n    [7, 114, 2, 0],\n    [7, 115, 0, -2],\n    [8, 232, -2, -1],\n    [8, 233, 2, 1],\n    [8, 234, -1, -2],\n    [8, 235, 1, 2],\n    [8, 236, -2, 1],\n    [8, 237, 2, -1],\n    [8, 238, -1, 2],\n    [8, 239, 1, -2],\n    [8, 240, -3, 0],\n    [8, 241, 3, 0],\n    [8, 242, 0, -3],\n    [8, 243, 0, 3],\n    [9, 488, -3, -1],\n    [9, 489, 1, 3],\n    [9, 490, 3, 1],\n    [9, 491, -1, -3],\n    [9, 492, -3, 1],\n    [9, 493, 3, -1],\n    [9, 494, 1, -3],\n    [9, 495, -1, 3],\n    [9, 496, -2, 2],\n    [9, 497, 2, 2],\n    [9, 498, -2, -2],\n    [9, 499, 2, -2],\n    [10, 1000, -3, -2],\n    [10, 1001, 3, -2],\n    [10, 1002, -2, 3],\n    [10, 1003, 2, -3],\n    [10, 1004, 3, 2],\n    [10, 1005, 2, 3],\n    [10, 1006, -3, 2],\n    [10, 1007, -2, -3],\n    [10, 1008, 0, -4],\n    [10, 1009, -4, 0],\n    [10, 1010, 4, 1],\n    [10, 1011, 4, 0],\n    [11, 2024, -4, -1],\n    [11, 2025, 0, 4],\n    [11, 2026, 4, -1],\n    [11, 2027, -1, -4],\n    [11, 2028, 1, 4],\n    [11, 2029, -1, 4],\n    [11, 2030, -4, 1],\n    [11, 2031, 1, -4],\n    [11, 2032, 3, -3],\n    [11, 2033, -3, -3],\n    [11, 2034, -3, 3],\n    [11, 2035, -2, 4],\n    [11, 2036, -4, -2],\n    [11, 2037, 4, 2],\n    [11, 2038, 2, -4],\n    [11, 2039, 2, 4],\n    [11, 2040, 3, 3],\n    [11, 2041, -4, 2],\n    [12, 4084, -2, -4],\n    [12, 4085, 4, -2],\n    [12, 4086, 3, -4],\n    [12, 4087, -4, -3],\n    [12, 4088, -4, 3],\n    [12, 4089, 3, 4],\n    [12, 4090, -3, 4],\n    [12, 4091, 4, 3],\n    [12, 4092, 4, -3],\n    [12, 4093, -3, -4],\n    [13, 8188, 4, -4],\n    [13, 8189, -4, 4],\n    [13, 8190, 4, 4],\n    [13, 8191, -4, -4]\n];\n\nconst HCB6 = [\n    [4, 0, 0, 0],\n    [4, 1, 1, 0],\n    [4, 2, 0, -1],\n    [4, 3, 0, 1],\n    [4, 4, -1, 0],\n    [4, 5, 1, 1],\n    [4, 6, -1, 1],\n    [4, 7, 1, -1],\n    [4, 8, -1, -1],\n    [6, 36, 2, -1],\n    [6, 37, 2, 1],\n    [6, 38, -2, 1],\n    [6, 39, -2, -1],\n    [6, 40, -2, 0],\n    [6, 41, -1, 2],\n    [6, 42, 2, 0],\n    [6, 43, 1, -2],\n    [6, 44, 1, 2],\n    [6, 45, 0, -2],\n    [6, 46, -1, -2],\n    [6, 47, 0, 2],\n    [6, 48, 2, -2],\n    [6, 49, -2, 2],\n    [6, 50, -2, -2],\n    [6, 51, 2, 2],\n    [7, 104, -3, 1],\n    [7, 105, 3, 1],\n    [7, 106, 3, -1],\n    [7, 107, -1, 3],\n    [7, 108, -3, -1],\n    [7, 109, 1, 3],\n    [7, 110, 1, -3],\n    [7, 111, -1, -3],\n    [7, 112, 3, 0],\n    [7, 113, -3, 0],\n    [7, 114, 0, -3],\n    [7, 115, 0, 3],\n    [7, 116, 3, 2],\n    [8, 234, -3, -2],\n    [8, 235, -2, 3],\n    [8, 236, 2, 3],\n    [8, 237, 3, -2],\n    [8, 238, 2, -3],\n    [8, 239, -2, -3],\n    [8, 240, -3, 2],\n    [8, 241, 3, 3],\n    [9, 484, 3, -3],\n    [9, 485, -3, -3],\n    [9, 486, -3, 3],\n    [9, 487, 1, -4],\n    [9, 488, -1, -4],\n    [9, 489, 4, 1],\n    [9, 490, -4, 1],\n    [9, 491, -4, -1],\n    [9, 492, 1, 4],\n    [9, 493, 4, -1],\n    [9, 494, -1, 4],\n    [9, 495, 0, -4],\n    [9, 496, -4, 2],\n    [9, 497, -4, -2],\n    [9, 498, 2, 4],\n    [9, 499, -2, -4],\n    [9, 500, -4, 0],\n    [9, 501, 4, 2],\n    [9, 502, 4, -2],\n    [9, 503, -2, 4],\n    [9, 504, 4, 0],\n    [9, 505, 2, -4],\n    [9, 506, 0, 4],\n    [10, 1014, -3, -4],\n    [10, 1015, -3, 4],\n    [10, 1016, 3, -4],\n    [10, 1017, 4, -3],\n    [10, 1018, 3, 4],\n    [10, 1019, 4, 3],\n    [10, 1020, -4, 3],\n    [10, 1021, -4, -3],\n    [11, 2044, 4, 4],\n    [11, 2045, -4, 4],\n    [11, 2046, -4, -4],\n    [11, 2047, 4, -4]\n];\n\nconst HCB7 = [\n    [1, 0, 0, 0],\n    [3, 4, 1, 0],\n    [3, 5, 0, 1],\n    [4, 12, 1, 1],\n    [6, 52, 2, 1],\n    [6, 53, 1, 2],\n    [6, 54, 2, 0],\n    [6, 55, 0, 2],\n    [7, 112, 3, 1],\n    [7, 113, 1, 3],\n    [7, 114, 2, 2],\n    [7, 115, 3, 0],\n    [7, 116, 0, 3],\n    [8, 234, 2, 3],\n    [8, 235, 3, 2],\n    [8, 236, 1, 4],\n    [8, 237, 4, 1],\n    [8, 238, 1, 5],\n    [8, 239, 5, 1],\n    [8, 240, 3, 3],\n    [8, 241, 2, 4],\n    [8, 242, 0, 4],\n    [8, 243, 4, 0],\n    [9, 488, 4, 2],\n    [9, 489, 2, 5],\n    [9, 490, 5, 2],\n    [9, 491, 0, 5],\n    [9, 492, 6, 1],\n    [9, 493, 5, 0],\n    [9, 494, 1, 6],\n    [9, 495, 4, 3],\n    [9, 496, 3, 5],\n    [9, 497, 3, 4],\n    [9, 498, 5, 3],\n    [9, 499, 2, 6],\n    [9, 500, 6, 2],\n    [9, 501, 1, 7],\n    [10, 1004, 3, 6],\n    [10, 1005, 0, 6],\n    [10, 1006, 6, 0],\n    [10, 1007, 4, 4],\n    [10, 1008, 7, 1],\n    [10, 1009, 4, 5],\n    [10, 1010, 7, 2],\n    [10, 1011, 5, 4],\n    [10, 1012, 6, 3],\n    [10, 1013, 2, 7],\n    [10, 1014, 7, 3],\n    [10, 1015, 6, 4],\n    [10, 1016, 5, 5],\n    [10, 1017, 4, 6],\n    [10, 1018, 3, 7],\n    [11, 2038, 7, 0],\n    [11, 2039, 0, 7],\n    [11, 2040, 6, 5],\n    [11, 2041, 5, 6],\n    [11, 2042, 7, 4],\n    [11, 2043, 4, 7],\n    [11, 2044, 5, 7],\n    [11, 2045, 7, 5],\n    [12, 4092, 7, 6],\n    [12, 4093, 6, 6],\n    [12, 4094, 6, 7],\n    [12, 4095, 7, 7]\n];\n\nconst HCB8 = [\n    [3, 0, 1, 1],\n    [4, 2, 2, 1],\n    [4, 3, 1, 0],\n    [4, 4, 1, 2],\n    [4, 5, 0, 1],\n    [4, 6, 2, 2],\n    [5, 14, 0, 0],\n    [5, 15, 2, 0],\n    [5, 16, 0, 2],\n    [5, 17, 3, 1],\n    [5, 18, 1, 3],\n    [5, 19, 3, 2],\n    [5, 20, 2, 3],\n    [6, 42, 3, 3],\n    [6, 43, 4, 1],\n    [6, 44, 1, 4],\n    [6, 45, 4, 2],\n    [6, 46, 2, 4],\n    [6, 47, 3, 0],\n    [6, 48, 0, 3],\n    [6, 49, 4, 3],\n    [6, 50, 3, 4],\n    [6, 51, 5, 2],\n    [7, 104, 5, 1],\n    [7, 105, 2, 5],\n    [7, 106, 1, 5],\n    [7, 107, 5, 3],\n    [7, 108, 3, 5],\n    [7, 109, 4, 4],\n    [7, 110, 5, 4],\n    [7, 111, 0, 4],\n    [7, 112, 4, 5],\n    [7, 113, 4, 0],\n    [7, 114, 2, 6],\n    [7, 115, 6, 2],\n    [7, 116, 6, 1],\n    [7, 117, 1, 6],\n    [8, 236, 3, 6],\n    [8, 237, 6, 3],\n    [8, 238, 5, 5],\n    [8, 239, 5, 0],\n    [8, 240, 6, 4],\n    [8, 241, 0, 5],\n    [8, 242, 4, 6],\n    [8, 243, 7, 1],\n    [8, 244, 7, 2],\n    [8, 245, 2, 7],\n    [8, 246, 6, 5],\n    [8, 247, 7, 3],\n    [8, 248, 1, 7],\n    [8, 249, 5, 6],\n    [8, 250, 3, 7],\n    [9, 502, 6, 6],\n    [9, 503, 7, 4],\n    [9, 504, 6, 0],\n    [9, 505, 4, 7],\n    [9, 506, 0, 6],\n    [9, 507, 7, 5],\n    [9, 508, 7, 6],\n    [9, 509, 6, 7],\n    [10, 1020, 5, 7],\n    [10, 1021, 7, 0],\n    [10, 1022, 0, 7],\n    [10, 1023, 7, 7]\n];\n\nconst HCB9 = [\n    [1, 0, 0, 0],\n    [3, 4, 1, 0],\n    [3, 5, 0, 1],\n    [4, 12, 1, 1],\n    [6, 52, 2, 1],\n    [6, 53, 1, 2],\n    [6, 54, 2, 0],\n    [6, 55, 0, 2],\n    [7, 112, 3, 1],\n    [7, 113, 2, 2],\n    [7, 114, 1, 3],\n    [8, 230, 3, 0],\n    [8, 231, 0, 3],\n    [8, 232, 2, 3],\n    [8, 233, 3, 2],\n    [8, 234, 1, 4],\n    [8, 235, 4, 1],\n    [8, 236, 2, 4],\n    [8, 237, 1, 5],\n    [9, 476, 4, 2],\n    [9, 477, 3, 3],\n    [9, 478, 0, 4],\n    [9, 479, 4, 0],\n    [9, 480, 5, 1],\n    [9, 481, 2, 5],\n    [9, 482, 1, 6],\n    [9, 483, 3, 4],\n    [9, 484, 5, 2],\n    [9, 485, 6, 1],\n    [9, 486, 4, 3],\n    [10, 974, 0, 5],\n    [10, 975, 2, 6],\n    [10, 976, 5, 0],\n    [10, 977, 1, 7],\n    [10, 978, 3, 5],\n    [10, 979, 1, 8],\n    [10, 980, 8, 1],\n    [10, 981, 4, 4],\n    [10, 982, 5, 3],\n    [10, 983, 6, 2],\n    [10, 984, 7, 1],\n    [10, 985, 0, 6],\n    [10, 986, 8, 2],\n    [10, 987, 2, 8],\n    [10, 988, 3, 6],\n    [10, 989, 2, 7],\n    [10, 990, 4, 5],\n    [10, 991, 9, 1],\n    [10, 992, 1, 9],\n    [10, 993, 7, 2],\n    [11, 1988, 6, 0],\n    [11, 1989, 5, 4],\n    [11, 1990, 6, 3],\n    [11, 1991, 8, 3],\n    [11, 1992, 0, 7],\n    [11, 1993, 9, 2],\n    [11, 1994, 3, 8],\n    [11, 1995, 4, 6],\n    [11, 1996, 3, 7],\n    [11, 1997, 0, 8],\n    [11, 1998, 10, 1],\n    [11, 1999, 6, 4],\n    [11, 2000, 2, 9],\n    [11, 2001, 5, 5],\n    [11, 2002, 8, 0],\n    [11, 2003, 7, 0],\n    [11, 2004, 7, 3],\n    [11, 2005, 10, 2],\n    [11, 2006, 9, 3],\n    [11, 2007, 8, 4],\n    [11, 2008, 1, 10],\n    [11, 2009, 7, 4],\n    [11, 2010, 6, 5],\n    [11, 2011, 5, 6],\n    [11, 2012, 4, 8],\n    [11, 2013, 4, 7],\n    [11, 2014, 3, 9],\n    [11, 2015, 11, 1],\n    [11, 2016, 5, 8],\n    [11, 2017, 9, 0],\n    [11, 2018, 8, 5],\n    [12, 4038, 10, 3],\n    [12, 4039, 2, 10],\n    [12, 4040, 0, 9],\n    [12, 4041, 11, 2],\n    [12, 4042, 9, 4],\n    [12, 4043, 6, 6],\n    [12, 4044, 12, 1],\n    [12, 4045, 4, 9],\n    [12, 4046, 8, 6],\n    [12, 4047, 1, 11],\n    [12, 4048, 9, 5],\n    [12, 4049, 10, 4],\n    [12, 4050, 5, 7],\n    [12, 4051, 7, 5],\n    [12, 4052, 2, 11],\n    [12, 4053, 1, 12],\n    [12, 4054, 12, 2],\n    [12, 4055, 11, 3],\n    [12, 4056, 3, 10],\n    [12, 4057, 5, 9],\n    [12, 4058, 6, 7],\n    [12, 4059, 8, 7],\n    [12, 4060, 11, 4],\n    [12, 4061, 0, 10],\n    [12, 4062, 7, 6],\n    [12, 4063, 12, 3],\n    [12, 4064, 10, 0],\n    [12, 4065, 10, 5],\n    [12, 4066, 4, 10],\n    [12, 4067, 6, 8],\n    [12, 4068, 2, 12],\n    [12, 4069, 9, 6],\n    [12, 4070, 9, 7],\n    [12, 4071, 4, 11],\n    [12, 4072, 11, 0],\n    [12, 4073, 6, 9],\n    [12, 4074, 3, 11],\n    [12, 4075, 5, 10],\n    [13, 8152, 8, 8],\n    [13, 8153, 7, 8],\n    [13, 8154, 12, 5],\n    [13, 8155, 3, 12],\n    [13, 8156, 11, 5],\n    [13, 8157, 7, 7],\n    [13, 8158, 12, 4],\n    [13, 8159, 11, 6],\n    [13, 8160, 10, 6],\n    [13, 8161, 4, 12],\n    [13, 8162, 7, 9],\n    [13, 8163, 5, 11],\n    [13, 8164, 0, 11],\n    [13, 8165, 12, 6],\n    [13, 8166, 6, 10],\n    [13, 8167, 12, 0],\n    [13, 8168, 10, 7],\n    [13, 8169, 5, 12],\n    [13, 8170, 7, 10],\n    [13, 8171, 9, 8],\n    [13, 8172, 0, 12],\n    [13, 8173, 11, 7],\n    [13, 8174, 8, 9],\n    [13, 8175, 9, 9],\n    [13, 8176, 10, 8],\n    [13, 8177, 7, 11],\n    [13, 8178, 12, 7],\n    [13, 8179, 6, 11],\n    [13, 8180, 8, 11],\n    [13, 8181, 11, 8],\n    [13, 8182, 7, 12],\n    [13, 8183, 6, 12],\n    [14, 16368, 8, 10],\n    [14, 16369, 10, 9],\n    [14, 16370, 8, 12],\n    [14, 16371, 9, 10],\n    [14, 16372, 9, 11],\n    [14, 16373, 9, 12],\n    [14, 16374, 10, 11],\n    [14, 16375, 12, 9],\n    [14, 16376, 10, 10],\n    [14, 16377, 11, 9],\n    [14, 16378, 12, 8],\n    [14, 16379, 11, 10],\n    [14, 16380, 12, 10],\n    [14, 16381, 12, 11],\n    [15, 32764, 10, 12],\n    [15, 32765, 11, 11],\n    [15, 32766, 11, 12],\n    [15, 32767, 12, 12]\n];\n\nconst HCB10 = [\n    [4, 0, 1, 1],\n    [4, 1, 1, 2],\n    [4, 2, 2, 1],\n    [5, 6, 2, 2],\n    [5, 7, 1, 0],\n    [5, 8, 0, 1],\n    [5, 9, 1, 3],\n    [5, 10, 3, 2],\n    [5, 11, 3, 1],\n    [5, 12, 2, 3],\n    [5, 13, 3, 3],\n    [6, 28, 2, 0],\n    [6, 29, 0, 2],\n    [6, 30, 2, 4],\n    [6, 31, 4, 2],\n    [6, 32, 1, 4],\n    [6, 33, 4, 1],\n    [6, 34, 0, 0],\n    [6, 35, 4, 3],\n    [6, 36, 3, 4],\n    [6, 37, 3, 0],\n    [6, 38, 0, 3],\n    [6, 39, 4, 4],\n    [6, 40, 2, 5],\n    [6, 41, 5, 2],\n    [7, 84, 1, 5],\n    [7, 85, 5, 1],\n    [7, 86, 5, 3],\n    [7, 87, 3, 5],\n    [7, 88, 5, 4],\n    [7, 89, 4, 5],\n    [7, 90, 6, 2],\n    [7, 91, 2, 6],\n    [7, 92, 6, 3],\n    [7, 93, 4, 0],\n    [7, 94, 6, 1],\n    [7, 95, 0, 4],\n    [7, 96, 1, 6],\n    [7, 97, 3, 6],\n    [7, 98, 5, 5],\n    [7, 99, 6, 4],\n    [7, 100, 4, 6],\n    [8, 202, 6, 5],\n    [8, 203, 7, 2],\n    [8, 204, 3, 7],\n    [8, 205, 2, 7],\n    [8, 206, 5, 6],\n    [8, 207, 8, 2],\n    [8, 208, 7, 3],\n    [8, 209, 5, 0],\n    [8, 210, 7, 1],\n    [8, 211, 0, 5],\n    [8, 212, 8, 1],\n    [8, 213, 1, 7],\n    [8, 214, 8, 3],\n    [8, 215, 7, 4],\n    [8, 216, 4, 7],\n    [8, 217, 2, 8],\n    [8, 218, 6, 6],\n    [8, 219, 7, 5],\n    [8, 220, 1, 8],\n    [8, 221, 3, 8],\n    [8, 222, 8, 4],\n    [8, 223, 4, 8],\n    [8, 224, 5, 7],\n    [8, 225, 8, 5],\n    [8, 226, 5, 8],\n    [9, 454, 7, 6],\n    [9, 455, 6, 7],\n    [9, 456, 9, 2],\n    [9, 457, 6, 0],\n    [9, 458, 6, 8],\n    [9, 459, 9, 3],\n    [9, 460, 3, 9],\n    [9, 461, 9, 1],\n    [9, 462, 2, 9],\n    [9, 463, 0, 6],\n    [9, 464, 8, 6],\n    [9, 465, 9, 4],\n    [9, 466, 4, 9],\n    [9, 467, 10, 2],\n    [9, 468, 1, 9],\n    [9, 469, 7, 7],\n    [9, 470, 8, 7],\n    [9, 471, 9, 5],\n    [9, 472, 7, 8],\n    [9, 473, 10, 3],\n    [9, 474, 5, 9],\n    [9, 475, 10, 4],\n    [9, 476, 2, 10],\n    [9, 477, 10, 1],\n    [9, 478, 3, 10],\n    [9, 479, 9, 6],\n    [9, 480, 6, 9],\n    [9, 481, 8, 0],\n    [9, 482, 4, 10],\n    [9, 483, 7, 0],\n    [9, 484, 11, 2],\n    [10, 970, 7, 9],\n    [10, 971, 11, 3],\n    [10, 972, 10, 6],\n    [10, 973, 1, 10],\n    [10, 974, 11, 1],\n    [10, 975, 9, 7],\n    [10, 976, 0, 7],\n    [10, 977, 8, 8],\n    [10, 978, 10, 5],\n    [10, 979, 3, 11],\n    [10, 980, 5, 10],\n    [10, 981, 8, 9],\n    [10, 982, 11, 5],\n    [10, 983, 0, 8],\n    [10, 984, 11, 4],\n    [10, 985, 2, 11],\n    [10, 986, 7, 10],\n    [10, 987, 6, 10],\n    [10, 988, 10, 7],\n    [10, 989, 4, 11],\n    [10, 990, 1, 11],\n    [10, 991, 12, 2],\n    [10, 992, 9, 8],\n    [10, 993, 12, 3],\n    [10, 994, 11, 6],\n    [10, 995, 5, 11],\n    [10, 996, 12, 4],\n    [10, 997, 11, 7],\n    [10, 998, 12, 5],\n    [10, 999, 3, 12],\n    [10, 1000, 6, 11],\n    [10, 1001, 9, 0],\n    [10, 1002, 10, 8],\n    [10, 1003, 10, 0],\n    [10, 1004, 12, 1],\n    [10, 1005, 0, 9],\n    [10, 1006, 4, 12],\n    [10, 1007, 9, 9],\n    [10, 1008, 12, 6],\n    [10, 1009, 2, 12],\n    [10, 1010, 8, 10],\n    [11, 2022, 9, 10],\n    [11, 2023, 1, 12],\n    [11, 2024, 11, 8],\n    [11, 2025, 12, 7],\n    [11, 2026, 7, 11],\n    [11, 2027, 5, 12],\n    [11, 2028, 6, 12],\n    [11, 2029, 10, 9],\n    [11, 2030, 8, 11],\n    [11, 2031, 12, 8],\n    [11, 2032, 0, 10],\n    [11, 2033, 7, 12],\n    [11, 2034, 11, 0],\n    [11, 2035, 10, 10],\n    [11, 2036, 11, 9],\n    [11, 2037, 11, 10],\n    [11, 2038, 0, 11],\n    [11, 2039, 11, 11],\n    [11, 2040, 9, 11],\n    [11, 2041, 10, 11],\n    [11, 2042, 12, 0],\n    [11, 2043, 8, 12],\n    [12, 4088, 12, 9],\n    [12, 4089, 10, 12],\n    [12, 4090, 9, 12],\n    [12, 4091, 11, 12],\n    [12, 4092, 12, 11],\n    [12, 4093, 0, 12],\n    [12, 4094, 12, 10],\n    [12, 4095, 12, 12]\n];\n\nconst HCB11 = [\n    [4, 0, 0, 0],\n    [4, 1, 1, 1],\n    [5, 4, 16, 16],\n    [5, 5, 1, 0],\n    [5, 6, 0, 1],\n    [5, 7, 2, 1],\n    [5, 8, 1, 2],\n    [5, 9, 2, 2],\n    [6, 20, 1, 3],\n    [6, 21, 3, 1],\n    [6, 22, 3, 2],\n    [6, 23, 2, 0],\n    [6, 24, 2, 3],\n    [6, 25, 0, 2],\n    [6, 26, 3, 3],\n    [7, 54, 4, 1],\n    [7, 55, 1, 4],\n    [7, 56, 4, 2],\n    [7, 57, 2, 4],\n    [7, 58, 4, 3],\n    [7, 59, 3, 4],\n    [7, 60, 3, 0],\n    [7, 61, 0, 3],\n    [7, 62, 5, 1],\n    [7, 63, 5, 2],\n    [7, 64, 2, 5],\n    [7, 65, 4, 4],\n    [7, 66, 1, 5],\n    [7, 67, 5, 3],\n    [7, 68, 3, 5],\n    [7, 69, 5, 4],\n    [8, 140, 4, 5],\n    [8, 141, 6, 2],\n    [8, 142, 2, 6],\n    [8, 143, 6, 1],\n    [8, 144, 6, 3],\n    [8, 145, 3, 6],\n    [8, 146, 1, 6],\n    [8, 147, 4, 16],\n    [8, 148, 3, 16],\n    [8, 149, 16, 5],\n    [8, 150, 16, 3],\n    [8, 151, 16, 4],\n    [8, 152, 6, 4],\n    [8, 153, 16, 6],\n    [8, 154, 4, 0],\n    [8, 155, 4, 6],\n    [8, 156, 0, 4],\n    [8, 157, 2, 16],\n    [8, 158, 5, 5],\n    [8, 159, 5, 16],\n    [8, 160, 16, 7],\n    [8, 161, 16, 2],\n    [8, 162, 16, 8],\n    [8, 163, 2, 7],\n    [8, 164, 7, 2],\n    [8, 165, 3, 7],\n    [8, 166, 6, 5],\n    [8, 167, 5, 6],\n    [8, 168, 6, 16],\n    [8, 169, 16, 10],\n    [8, 170, 7, 3],\n    [8, 171, 7, 1],\n    [8, 172, 16, 9],\n    [8, 173, 7, 16],\n    [8, 174, 1, 16],\n    [8, 175, 1, 7],\n    [8, 176, 4, 7],\n    [8, 177, 16, 11],\n    [8, 178, 7, 4],\n    [8, 179, 16, 12],\n    [8, 180, 8, 16],\n    [8, 181, 16, 1],\n    [8, 182, 6, 6],\n    [8, 183, 9, 16],\n    [8, 184, 2, 8],\n    [8, 185, 5, 7],\n    [8, 186, 10, 16],\n    [8, 187, 16, 13],\n    [8, 188, 8, 3],\n    [8, 189, 8, 2],\n    [8, 190, 3, 8],\n    [8, 191, 5, 0],\n    [8, 192, 16, 14],\n    [8, 193, 11, 16],\n    [8, 194, 7, 5],\n    [8, 195, 4, 8],\n    [8, 196, 6, 7],\n    [8, 197, 7, 6],\n    [8, 198, 0, 5],\n    [9, 398, 8, 4],\n    [9, 399, 16, 15],\n    [9, 400, 12, 16],\n    [9, 401, 1, 8],\n    [9, 402, 8, 1],\n    [9, 403, 14, 16],\n    [9, 404, 5, 8],\n    [9, 405, 13, 16],\n    [9, 406, 3, 9],\n    [9, 407, 8, 5],\n    [9, 408, 7, 7],\n    [9, 409, 2, 9],\n    [9, 410, 8, 6],\n    [9, 411, 9, 2],\n    [9, 412, 9, 3],\n    [9, 413, 15, 16],\n    [9, 414, 4, 9],\n    [9, 415, 6, 8],\n    [9, 416, 6, 0],\n    [9, 417, 9, 4],\n    [9, 418, 5, 9],\n    [9, 419, 8, 7],\n    [9, 420, 7, 8],\n    [9, 421, 1, 9],\n    [9, 422, 10, 3],\n    [9, 423, 0, 6],\n    [9, 424, 10, 2],\n    [9, 425, 9, 1],\n    [9, 426, 9, 5],\n    [9, 427, 4, 10],\n    [9, 428, 2, 10],\n    [9, 429, 9, 6],\n    [9, 430, 3, 10],\n    [9, 431, 6, 9],\n    [9, 432, 10, 4],\n    [9, 433, 8, 8],\n    [9, 434, 10, 5],\n    [9, 435, 9, 7],\n    [9, 436, 11, 3],\n    [9, 437, 1, 10],\n    [9, 438, 7, 0],\n    [9, 439, 10, 6],\n    [9, 440, 7, 9],\n    [9, 441, 3, 11],\n    [9, 442, 5, 10],\n    [9, 443, 10, 1],\n    [9, 444, 4, 11],\n    [9, 445, 11, 2],\n    [9, 446, 13, 2],\n    [9, 447, 6, 10],\n    [9, 448, 13, 3],\n    [9, 449, 2, 11],\n    [9, 450, 16, 0],\n    [9, 451, 5, 11],\n    [9, 452, 11, 5],\n    [10, 906, 11, 4],\n    [10, 907, 9, 8],\n    [10, 908, 7, 10],\n    [10, 909, 8, 9],\n    [10, 910, 0, 16],\n    [10, 911, 4, 13],\n    [10, 912, 0, 7],\n    [10, 913, 3, 13],\n    [10, 914, 11, 6],\n    [10, 915, 13, 1],\n    [10, 916, 13, 4],\n    [10, 917, 12, 3],\n    [10, 918, 2, 13],\n    [10, 919, 13, 5],\n    [10, 920, 8, 10],\n    [10, 921, 6, 11],\n    [10, 922, 10, 8],\n    [10, 923, 10, 7],\n    [10, 924, 14, 2],\n    [10, 925, 12, 4],\n    [10, 926, 1, 11],\n    [10, 927, 4, 12],\n    [10, 928, 11, 1],\n    [10, 929, 3, 12],\n    [10, 930, 1, 13],\n    [10, 931, 12, 2],\n    [10, 932, 7, 11],\n    [10, 933, 3, 14],\n    [10, 934, 5, 12],\n    [10, 935, 5, 13],\n    [10, 936, 14, 4],\n    [10, 937, 4, 14],\n    [10, 938, 11, 7],\n    [10, 939, 14, 3],\n    [10, 940, 12, 5],\n    [10, 941, 13, 6],\n    [10, 942, 12, 6],\n    [10, 943, 8, 0],\n    [10, 944, 11, 8],\n    [10, 945, 2, 12],\n    [10, 946, 9, 9],\n    [10, 947, 14, 5],\n    [10, 948, 6, 13],\n    [10, 949, 10, 10],\n    [10, 950, 15, 2],\n    [10, 951, 8, 11],\n    [10, 952, 9, 10],\n    [10, 953, 14, 6],\n    [10, 954, 10, 9],\n    [10, 955, 5, 14],\n    [10, 956, 11, 9],\n    [10, 957, 14, 1],\n    [10, 958, 2, 14],\n    [10, 959, 6, 12],\n    [10, 960, 1, 12],\n    [10, 961, 13, 8],\n    [10, 962, 0, 8],\n    [10, 963, 13, 7],\n    [10, 964, 7, 12],\n    [10, 965, 12, 7],\n    [10, 966, 7, 13],\n    [10, 967, 15, 3],\n    [10, 968, 12, 1],\n    [10, 969, 6, 14],\n    [10, 970, 2, 15],\n    [10, 971, 15, 5],\n    [10, 972, 15, 4],\n    [10, 973, 1, 14],\n    [10, 974, 9, 11],\n    [10, 975, 4, 15],\n    [10, 976, 14, 7],\n    [10, 977, 8, 13],\n    [10, 978, 13, 9],\n    [10, 979, 8, 12],\n    [10, 980, 5, 15],\n    [10, 981, 3, 15],\n    [10, 982, 10, 11],\n    [10, 983, 11, 10],\n    [10, 984, 12, 8],\n    [10, 985, 15, 6],\n    [10, 986, 15, 7],\n    [10, 987, 8, 14],\n    [10, 988, 15, 1],\n    [10, 989, 7, 14],\n    [10, 990, 9, 0],\n    [10, 991, 0, 9],\n    [10, 992, 9, 13],\n    [10, 993, 9, 12],\n    [10, 994, 12, 9],\n    [10, 995, 14, 8],\n    [10, 996, 10, 13],\n    [10, 997, 14, 9],\n    [10, 998, 12, 10],\n    [10, 999, 6, 15],\n    [10, 1000, 7, 15],\n    [11, 2002, 9, 14],\n    [11, 2003, 15, 8],\n    [11, 2004, 11, 11],\n    [11, 2005, 11, 14],\n    [11, 2006, 1, 15],\n    [11, 2007, 10, 12],\n    [11, 2008, 10, 14],\n    [11, 2009, 13, 11],\n    [11, 2010, 13, 10],\n    [11, 2011, 11, 13],\n    [11, 2012, 11, 12],\n    [11, 2013, 8, 15],\n    [11, 2014, 14, 11],\n    [11, 2015, 13, 12],\n    [11, 2016, 12, 13],\n    [11, 2017, 15, 9],\n    [11, 2018, 14, 10],\n    [11, 2019, 10, 0],\n    [11, 2020, 12, 11],\n    [11, 2021, 9, 15],\n    [11, 2022, 0, 10],\n    [11, 2023, 12, 12],\n    [11, 2024, 11, 0],\n    [11, 2025, 12, 14],\n    [11, 2026, 10, 15],\n    [11, 2027, 13, 13],\n    [11, 2028, 0, 13],\n    [11, 2029, 14, 12],\n    [11, 2030, 15, 10],\n    [11, 2031, 15, 11],\n    [11, 2032, 11, 15],\n    [11, 2033, 14, 13],\n    [11, 2034, 13, 0],\n    [11, 2035, 0, 11],\n    [11, 2036, 13, 14],\n    [11, 2037, 15, 12],\n    [11, 2038, 15, 13],\n    [11, 2039, 12, 15],\n    [11, 2040, 14, 0],\n    [11, 2041, 14, 14],\n    [11, 2042, 13, 15],\n    [11, 2043, 12, 0],\n    [11, 2044, 14, 15],\n    [12, 4090, 0, 14],\n    [12, 4091, 0, 12],\n    [12, 4092, 15, 14],\n    [12, 4093, 15, 0],\n    [12, 4094, 0, 15],\n    [12, 4095, 15, 15]\n];\n\nconst HCB_SF = [\n    [1, 0, 60],\n    [3, 4, 59],\n    [4, 10, 61],\n    [4, 11, 58],\n    [4, 12, 62],\n    [5, 26, 57],\n    [5, 27, 63],\n    [6, 56, 56],\n    [6, 57, 64],\n    [6, 58, 55],\n    [6, 59, 65],\n    [7, 120, 66],\n    [7, 121, 54],\n    [7, 122, 67],\n    [8, 246, 53],\n    [8, 247, 68],\n    [8, 248, 52],\n    [8, 249, 69],\n    [8, 250, 51],\n    [9, 502, 70],\n    [9, 503, 50],\n    [9, 504, 49],\n    [9, 505, 71],\n    [10, 1012, 72],\n    [10, 1013, 48],\n    [10, 1014, 73],\n    [10, 1015, 47],\n    [10, 1016, 74],\n    [10, 1017, 46],\n    [11, 2036, 76],\n    [11, 2037, 75],\n    [11, 2038, 77],\n    [11, 2039, 78],\n    [11, 2040, 45],\n    [11, 2041, 43],\n    [12, 4084, 44],\n    [12, 4085, 79],\n    [12, 4086, 42],\n    [12, 4087, 41],\n    [12, 4088, 80],\n    [12, 4089, 40],\n    [13, 8180, 81],\n    [13, 8181, 39],\n    [13, 8182, 82],\n    [13, 8183, 38],\n    [13, 8184, 83],\n    [14, 16370, 37],\n    [14, 16371, 35],\n    [14, 16372, 85],\n    [14, 16373, 33],\n    [14, 16374, 36],\n    [14, 16375, 34],\n    [14, 16376, 84],\n    [14, 16377, 32],\n    [15, 32756, 87],\n    [15, 32757, 89],\n    [15, 32758, 30],\n    [15, 32759, 31],\n    [16, 65520, 86],\n    [16, 65521, 29],\n    [16, 65522, 26],\n    [16, 65523, 27],\n    [16, 65524, 28],\n    [16, 65525, 24],\n    [16, 65526, 88],\n    [17, 131054, 25],\n    [17, 131055, 22],\n    [17, 131056, 23],\n    [18, 262114, 90],\n    [18, 262115, 21],\n    [18, 262116, 19],\n    [18, 262117, 3],\n    [18, 262118, 1],\n    [18, 262119, 2],\n    [18, 262120, 0],\n    [19, 524242, 98],\n    [19, 524243, 99],\n    [19, 524244, 100],\n    [19, 524245, 101],\n    [19, 524246, 102],\n    [19, 524247, 117],\n    [19, 524248, 97],\n    [19, 524249, 91],\n    [19, 524250, 92],\n    [19, 524251, 93],\n    [19, 524252, 94],\n    [19, 524253, 95],\n    [19, 524254, 96],\n    [19, 524255, 104],\n    [19, 524256, 111],\n    [19, 524257, 112],\n    [19, 524258, 113],\n    [19, 524259, 114],\n    [19, 524260, 115],\n    [19, 524261, 116],\n    [19, 524262, 110],\n    [19, 524263, 105],\n    [19, 524264, 106],\n    [19, 524265, 107],\n    [19, 524266, 108],\n    [19, 524267, 109],\n    [19, 524268, 118],\n    [19, 524269, 6],\n    [19, 524270, 8],\n    [19, 524271, 9],\n    [19, 524272, 10],\n    [19, 524273, 5],\n    [19, 524274, 103],\n    [19, 524275, 120],\n    [19, 524276, 119],\n    [19, 524277, 4],\n    [19, 524278, 7],\n    [19, 524279, 15],\n    [19, 524280, 16],\n    [19, 524281, 18],\n    [19, 524282, 20],\n    [19, 524283, 17],\n    [19, 524284, 11],\n    [19, 524285, 12],\n    [19, 524286, 14],\n    [19, 524287, 13]\n];\n\nconst CODEBOOKS = [HCB1, HCB2, HCB3, HCB4, HCB5, HCB6, HCB7, HCB8, HCB9, HCB10, HCB11];\nconst UNSIGNED = [false, false, true, true, false, false, true, true, true, true, true],\n      QUAD_LEN = 4, \n      PAIR_LEN = 2;\n\nvar Huffman = {\n    findOffset: function(stream, table) {\n        var off = 0,\n            len = table[off][0],\n            cw = stream.read(len);\n            \n        while (cw !== table[off][1]) {\n            var j = table[++off][0] - len;\n            len = table[off][0];\n            cw <<= j;\n            cw |= stream.read(j);\n        }\n        \n        return off;\n    },\n    \n    signValues: function(stream, data, off, len) {\n        for (var i = off; i < off + len; i++) {\n            if (data[i] && stream.read(1))\n                data[i] = -data[i];\n        }\n    },\n    \n    getEscape: function(stream, s) {\n        var i = 4;\n        while (stream.read(1))\n            i++;\n            \n        var j = stream.read(i) | (1 << i);\n        return s < 0 ? -j : j;\n    },\n    \n    decodeScaleFactor: function(stream) {\n        var offset = this.findOffset(stream, HCB_SF);\n        return HCB_SF[offset][2];\n    },\n    \n    decodeSpectralData: function(stream, cb, data, off) {\n        var HCB = CODEBOOKS[cb - 1],\n            offset = this.findOffset(stream, HCB);\n            \n        data[off] = HCB[offset][2];\n        data[off + 1] = HCB[offset][3];\n        \n        if (cb < 5) {\n            data[off + 2] = HCB[offset][4];\n            data[off + 3] = HCB[offset][5];\n        }\n        \n        // sign and escape\n        if (cb < 11) {\n            if (UNSIGNED[cb - 1])\n                this.signValues(stream, data, off, cb < 5 ? QUAD_LEN : PAIR_LEN);\n                \n        } else if (cb === 11 || cb > 15) {\n            this.signValues(stream, data, off, cb < 5 ? QUAD_LEN : PAIR_LEN);\n            \n            if (Math.abs(data[off]) === 16) \n                data[off] = this.getEscape(stream, data[off]);\n                \n            if (Math.abs(data[off + 1]) === 16)\n                data[off + 1] = this.getEscape(stream, data[off + 1]);\n        } else {\n            throw new Error(\"Huffman: unknown spectral codebook: \" + cb);\n        }\n    }\n};\n\nmodule.exports = Huffman;\n",
   30     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\nvar tables = require('./tables');\nvar Huffman = require('./huffman');\nvar TNS = require('./tns');\n    \n// Individual Channel Stream\nfunction ICStream(config) {\n    this.info = new ICSInfo();\n    this.bandTypes = new Int32Array(MAX_SECTIONS);\n    this.sectEnd = new Int32Array(MAX_SECTIONS);\n    this.data = new Float32Array(config.frameLength);\n    this.scaleFactors = new Float32Array(MAX_SECTIONS);\n    this.randomState = 0x1F2E3D4C;\n    this.tns = new TNS(config);\n    this.specBuf = new Int32Array(4);\n}\n      \nICStream.ZERO_BT = 0;         // Scalefactors and spectral data are all zero.\nICStream.FIRST_PAIR_BT = 5;   // This and later band types encode two values (rather than four) with one code word.\nICStream.ESC_BT = 11;         // Spectral data are coded with an escape sequence.\nICStream.NOISE_BT = 13;       // Spectral data are scaled white noise not coded in the bitstream.\nICStream.INTENSITY_BT2 = 14;  // Scalefactor data are intensity stereo positions.\nICStream.INTENSITY_BT = 15;   // Scalefactor data are intensity stereo positions.\n\nICStream.ONLY_LONG_SEQUENCE = 0;\nICStream.LONG_START_SEQUENCE = 1;\nICStream.EIGHT_SHORT_SEQUENCE = 2;\nICStream.LONG_STOP_SEQUENCE = 3;\n\nconst MAX_SECTIONS = 120,\n      MAX_WINDOW_GROUP_COUNT = 8;\n\nconst SF_DELTA = 60,\n      SF_OFFSET = 200;\n\nICStream.prototype = {\n    decode: function(stream, config, commonWindow) {\n        this.globalGain = stream.read(8);\n        \n        if (!commonWindow)\n            this.info.decode(stream, config, commonWindow);\n            \n        this.decodeBandTypes(stream, config);\n        this.decodeScaleFactors(stream);\n        \n        if (this.pulsePresent = stream.read(1)) {\n            if (this.info.windowSequence === ICStream.EIGHT_SHORT_SEQUENCE)\n                throw new Error(\"Pulse tool not allowed in eight short sequence.\");\n                \n            this.decodePulseData(stream);\n        }\n        \n        if (this.tnsPresent = stream.read(1)) {\n            this.tns.decode(stream, this.info);\n        }\n        \n        if (this.gainPresent = stream.read(1)) {\n            throw new Error(\"TODO: decode gain control/SSR\");\n        }\n        \n        this.decodeSpectralData(stream);\n    },\n    \n    decodeBandTypes: function(stream, config) {\n        var bits = this.info.windowSequence === ICStream.EIGHT_SHORT_SEQUENCE ? 3 : 5,\n            groupCount = this.info.groupCount,\n            maxSFB = this.info.maxSFB,\n            bandTypes = this.bandTypes,\n            sectEnd = this.sectEnd,\n            idx = 0,\n            escape = (1 << bits) - 1;\n        \n        for (var g = 0; g < groupCount; g++) {\n            var k = 0;\n            while (k < maxSFB) {\n                var end = k,\n                    bandType = stream.read(4);\n                    \n                if (bandType === 12)\n                    throw new Error(\"Invalid band type: 12\");\n                    \n                var incr;\n                while ((incr = stream.read(bits)) === escape)\n                    end += incr;\n                    \n                end += incr;\n                \n                if (end > maxSFB)\n                    throw new Error(\"Too many bands (\" + end + \" > \" + maxSFB + \")\");\n                    \n                for (; k < end; k++) {\n                    bandTypes[idx] = bandType;\n                    sectEnd[idx++] = end;\n                }\n            }\n        }\n    },\n    \n    decodeScaleFactors: function(stream) {\n        var groupCount = this.info.groupCount,\n            maxSFB = this.info.maxSFB,\n            offset = [this.globalGain, this.globalGain - 90, 0], // spectrum, noise, intensity\n            idx = 0,\n            noiseFlag = true,\n            scaleFactors = this.scaleFactors,\n            sectEnd = this.sectEnd,\n            bandTypes = this.bandTypes;\n                        \n        for (var g = 0; g < groupCount; g++) {\n            for (var i = 0; i < maxSFB;) {\n                var runEnd = sectEnd[idx];\n                \n                switch (bandTypes[idx]) {\n                    case ICStream.ZERO_BT:\n                        for (; i < runEnd; i++, idx++) {\n                            scaleFactors[idx] = 0;\n                        }\n                        break;\n                        \n                    case ICStream.INTENSITY_BT:\n                    case ICStream.INTENSITY_BT2:\n                        for(; i < runEnd; i++, idx++) {\n                            offset[2] += Huffman.decodeScaleFactor(stream) - SF_DELTA;\n                            var tmp = Math.min(Math.max(offset[2], -155), 100);\n                            scaleFactors[idx] = tables.SCALEFACTOR_TABLE[-tmp + SF_OFFSET];\n                        }\n                        break;\n                        \n                    case ICStream.NOISE_BT:\n                        for(; i < runEnd; i++, idx++) {\n                            if (noiseFlag) {\n                                offset[1] += stream.read(9) - 256;\n                                noiseFlag = false;\n                            } else {\n                                offset[1] += Huffman.decodeScaleFactor(stream) - SF_DELTA;\n                            }\n                            var tmp = Math.min(Math.max(offset[1], -100), 155);\n                            scaleFactors[idx] = -tables.SCALEFACTOR_TABLE[tmp + SF_OFFSET];\n                        }\n                        break;\n                        \n                    default:\n                        for(; i < runEnd; i++, idx++) {\n                            offset[0] += Huffman.decodeScaleFactor(stream) - SF_DELTA;\n                            if(offset[0] > 255) \n                                throw new Error(\"Scalefactor out of range: \" + offset[0]);\n                                \n                            scaleFactors[idx] = tables.SCALEFACTOR_TABLE[offset[0] - 100 + SF_OFFSET];\n                        }\n                        break;\n                }\n            }\n        }\n    },\n    \n    decodePulseData: function(stream) {\n        var pulseCount = stream.read(2) + 1,\n            pulseSWB = stream.read(6);\n            \n        if (pulseSWB >= this.info.swbCount)\n            throw new Error(\"Pulse SWB out of range: \" + pulseSWB);\n            \n        if (!this.pulseOffset || this.pulseOffset.length !== pulseCount) {\n            // only reallocate if needed\n            this.pulseOffset = new Int32Array(pulseCount);\n            this.pulseAmp = new Int32Array(pulseCount);\n        }\n        \n        this.pulseOffset[0] = this.info.swbOffsets[pulseSWB] + stream.read(5);\n        this.pulseAmp[0] = stream.read(4);\n        \n        if (this.pulseOffset[0] > 1023)\n            throw new Error(\"Pulse offset out of range: \" + this.pulseOffset[0]);\n        \n        for (var i = 1; i < pulseCount; i++) {\n            this.pulseOffset[i] = stream.read(5) + this.pulseOffset[i - 1];\n            if (this.pulseOffset[i] > 1023)\n                throw new Error(\"Pulse offset out of range: \" + this.pulseOffset[i]);\n                \n            this.pulseAmp[i] = stream.read(4);\n        }\n    },\n    \n    decodeSpectralData: function(stream) {\n        var data = this.data,\n            info = this.info,\n            maxSFB = info.maxSFB,\n            windowGroups = info.groupCount,\n            offsets = info.swbOffsets,\n            bandTypes = this.bandTypes,\n            scaleFactors = this.scaleFactors,\n            buf = this.specBuf;\n            \n        var groupOff = 0, idx = 0;\n        for (var g = 0; g < windowGroups; g++) {\n            var groupLen = info.groupLength[g];\n            \n            for (var sfb = 0; sfb < maxSFB; sfb++, idx++) {\n                var hcb = bandTypes[idx],\n                    off = groupOff + offsets[sfb],\n                    width = offsets[sfb + 1] - offsets[sfb];\n                    \n                if (hcb === ICStream.ZERO_BT || hcb === ICStream.INTENSITY_BT || hcb === ICStream.INTENSITY_BT2) {\n                    for (var group = 0; group < groupLen; group++, off += 128) {\n                        for (var i = off; i < off + width; i++) {\n                            data[i] = 0;\n                        }\n                    }\n                } else if (hcb === ICStream.NOISE_BT) {\n                    // fill with random values\n                    for (var group = 0; group < groupLen; group++, off += 128) {\n                        var energy = 0;\n                        \n                        for (var k = 0; k < width; k++) {\n                            this.randomState *= 1664525 + 1013904223;\n                            data[off + k] = this.randomState;\n                            energy += data[off + k] * data[off + k];\n                        }\n                        \n                        var scale = scaleFactors[idx] / Math.sqrt(energy);\n                        for (var k = 0; k < width; k++) {\n                            data[off + k] *= scale;\n                        }\n                    }\n                } else {\n                    for (var group = 0; group < groupLen; group++, off += 128) {\n                        var num = (hcb >= ICStream.FIRST_PAIR_BT) ? 2 : 4;\n                        for (var k = 0; k < width; k += num) {\n                            Huffman.decodeSpectralData(stream, hcb, buf, 0);\n                            \n                            // inverse quantization & scaling\n                            for (var j = 0; j < num; j++) {\n                                data[off + k + j] = (buf[j] > 0) ? tables.IQ_TABLE[buf[j]] : -tables.IQ_TABLE[-buf[j]];\n                                data[off + k + j] *= scaleFactors[idx];\n                            }\n                        }\n                    }\n                }\n            }\n            groupOff += groupLen << 7;\n        }\n        \n        // add pulse data, if present\n        if (this.pulsePresent) {\n            throw new Error('TODO: add pulse data');\n        }\n    }\n}\n\n// Individual Channel Stream Info\nfunction ICSInfo() {\n    this.windowShape = new Int32Array(2);\n    this.windowSequence = ICStream.ONLY_LONG_SEQUENCE;\n    this.groupLength = new Int32Array(MAX_WINDOW_GROUP_COUNT);\n    this.ltpData1Present = false;\n    this.ltpData2Present = false;\n}\n\nICSInfo.prototype = {\n    decode: function(stream, config, commonWindow) {\n        stream.advance(1); // reserved\n        \n        this.windowSequence = stream.read(2);\n        this.windowShape[0] = this.windowShape[1];\n        this.windowShape[1] = stream.read(1);\n        \n        this.groupCount = 1;\n        this.groupLength[0] = 1;\n        \n        if (this.windowSequence === ICStream.EIGHT_SHORT_SEQUENCE) {\n            this.maxSFB = stream.read(4);\n            for (var i = 0; i < 7; i++) {\n                if (stream.read(1)) {\n                    this.groupLength[this.groupCount - 1]++;\n                } else {\n                    this.groupCount++;\n                    this.groupLength[this.groupCount - 1] = 1;\n                }\n            }\n            \n            this.windowCount = 8;\n            this.swbOffsets = tables.SWB_OFFSET_128[config.sampleIndex];\n            this.swbCount = tables.SWB_SHORT_WINDOW_COUNT[config.sampleIndex];\n            this.predictorPresent = false;\n        } else {\n            this.maxSFB = stream.read(6);\n            this.windowCount = 1;\n            this.swbOffsets = tables.SWB_OFFSET_1024[config.sampleIndex];\n            this.swbCount = tables.SWB_LONG_WINDOW_COUNT[config.sampleIndex];\n            this.predictorPresent = !!stream.read(1);\n            \n            if (this.predictorPresent)\n                this.decodePrediction(stream, config, commonWindow);\n        }\n    },\n    \n    decodePrediction: function(stream, config, commonWindow) {\n        throw new Error('Prediction not implemented.');\n        \n        switch (config.profile) {\n            case AOT_AAC_MAIN:\n                throw new Error('Prediction not implemented.');\n                break;\n                \n            case AOT_AAC_LTP:\n                throw new Error('LTP prediction not implemented.');\n                break;\n                \n            default:\n                throw new Error('Unsupported profile for prediction ' + config.profile);\n        }\n    }\n};\n\nmodule.exports = ICStream;\n",
   31     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\nvar tables = require('./mdct_tables');\nvar FFT = require('./fft');\n\n// Modified Discrete Cosine Transform\nfunction MDCT(length) {\n    this.N = length;\n    this.N2 = length >>> 1;\n    this.N4 = length >>> 2;\n    this.N8 = length >>> 3;\n    \n    switch (length) {\n        case 2048:\n            this.sincos = tables.MDCT_TABLE_2048;\n            break;\n            \n        case 256:\n            this.sincos = tables.MDCT_TABLE_256;\n            break;\n            \n        case 1920:\n            this.sincos = tables.MDCT_TABLE_1920;\n            break;\n            \n        case 240:\n            this.sincos = tables.MDCT_TABLE_240;\n            break;\n            \n        default:\n            throw new Error(\"unsupported MDCT length: \" + length);\n    }\n    \n    this.fft = new FFT(this.N4);\n    \n    this.buf = new Array(this.N4);\n    for (var i = 0; i < this.N4; i++) {\n        this.buf[i] = new Float32Array(2);\n    }\n    \n    this.tmp = new Float32Array(2);\n}\n\nMDCT.prototype.process = function(input, inOffset, output, outOffset) {\n    // local access\n    var N2 = this.N2,\n        N4 = this.N4,\n        N8 = this.N8,\n        buf = this.buf,\n        tmp = this.tmp,\n        sincos = this.sincos,\n        fft = this.fft;\n    \n    // pre-IFFT complex multiplication\n    for (var k = 0; k < N4; k++) {\n        buf[k][1] = (input[inOffset + 2 * k] * sincos[k][0]) + (input[inOffset + N2 - 1 - 2 * k] * sincos[k][1]);\n        buf[k][0] = (input[inOffset + N2 - 1 - 2 * k] * sincos[k][0]) - (input[inOffset + 2 * k] * sincos[k][1]);\n    }\n    \n    // complex IFFT, non-scaling\n    fft.process(buf, false);\n    \n    // post-IFFT complex multiplication\n    for (var k = 0; k < N4; k++) {\n        tmp[0] = buf[k][0];\n        tmp[1] = buf[k][1];\n        buf[k][1] = (tmp[1] * sincos[k][0]) + (tmp[0] * sincos[k][1]);\n        buf[k][0] = (tmp[0] * sincos[k][0]) - (tmp[1] * sincos[k][1]);\n    }\n    \n    // reordering\n    for (var k = 0; k < N8; k += 2) {\n        output[outOffset + 2 * k] = buf[N8 + k][1];\n        output[outOffset + 2 + 2 * k] = buf[N8 + 1 + k][1];\n\n        output[outOffset + 1 + 2 * k] = -buf[N8 - 1 - k][0];\n        output[outOffset + 3 + 2 * k] = -buf[N8 - 2 - k][0];\n\n        output[outOffset + N4 + 2 * k] = buf[k][0];\n        output[outOffset + N4 + 2 + 2 * k] = buf[1 + k][0];\n\n        output[outOffset + N4 + 1 + 2 * k] = -buf[N4 - 1 - k][1];\n        output[outOffset + N4 + 3 + 2 * k] = -buf[N4 - 2 - k][1];\n\n        output[outOffset + N2 + 2 * k] = buf[N8 + k][0];\n        output[outOffset + N2 + 2 + 2 * k] = buf[N8 + 1 + k][0];\n\n        output[outOffset + N2 + 1 + 2 * k] = -buf[N8 - 1 - k][1];\n        output[outOffset + N2 + 3 + 2 * k] = -buf[N8 - 2 - k][1];\n\n        output[outOffset + N2 + N4 + 2 * k] = -buf[k][1];\n        output[outOffset + N2 + N4 + 2 + 2 * k] = -buf[1 + k][1];\n\n        output[outOffset + N2 + N4 + 1 + 2 * k] = buf[N4 - 1 - k][0];\n        output[outOffset + N2 + N4 + 3 + 2 * k] = buf[N4 - 2 - k][0];\n    }\n};\n\nmodule.exports = MDCT;\n",
   32     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\nexports.MDCT_TABLE_2048 = [\n    [0.031249997702054, 0.000011984224612],\n    [0.031249813866531, 0.000107857810004],\n    [0.031249335895858, 0.000203730380198],\n    [0.031248563794535, 0.000299601032804],\n    [0.031247497569829, 0.000395468865451],\n    [0.031246137231775, 0.000491332975794],\n    [0.031244482793177, 0.000587192461525],\n    [0.031242534269608, 0.000683046420376],\n    [0.031240291679407, 0.000778893950134],\n    [0.031237755043684, 0.000874734148645],\n    [0.031234924386313, 0.000970566113826],\n    [0.031231799733938, 0.001066388943669],\n    [0.031228381115970, 0.001162201736253],\n    [0.031224668564585, 0.001258003589751],\n    [0.031220662114728, 0.001353793602441],\n    [0.031216361804108, 0.001449570872710],\n    [0.031211767673203, 0.001545334499065],\n    [0.031206879765253, 0.001641083580144],\n    [0.031201698126266, 0.001736817214719],\n    [0.031196222805014, 0.001832534501709],\n    [0.031190453853031, 0.001928234540186],\n    [0.031184391324617, 0.002023916429386],\n    [0.031178035276836, 0.002119579268713],\n    [0.031171385769513, 0.002215222157753],\n    [0.031164442865236, 0.002310844196278],\n    [0.031157206629353, 0.002406444484258],\n    [0.031149677129975, 0.002502022121865],\n    [0.031141854437973, 0.002597576209488],\n    [0.031133738626977, 0.002693105847734],\n    [0.031125329773375, 0.002788610137442],\n    [0.031116627956316, 0.002884088179689],\n    [0.031107633257703, 0.002979539075801],\n    [0.031098345762200, 0.003074961927355],\n    [0.031088765557222, 0.003170355836197],\n    [0.031078892732942, 0.003265719904442],\n    [0.031068727382288, 0.003361053234488],\n    [0.031058269600939, 0.003456354929021],\n    [0.031047519487329, 0.003551624091024],\n    [0.031036477142640, 0.003646859823790],\n    [0.031025142670809, 0.003742061230921],\n    [0.031013516178519, 0.003837227416347],\n    [0.031001597775203, 0.003932357484328],\n    [0.030989387573042, 0.004027450539462],\n    [0.030976885686963, 0.004122505686697],\n    [0.030964092234638, 0.004217522031340],\n    [0.030951007336485, 0.004312498679058],\n    [0.030937631115663, 0.004407434735897],\n    [0.030923963698074, 0.004502329308281],\n    [0.030910005212362, 0.004597181503027],\n    [0.030895755789908, 0.004691990427350],\n    [0.030881215564835, 0.004786755188872],\n    [0.030866384674000, 0.004881474895632],\n    [0.030851263256996, 0.004976148656090],\n    [0.030835851456154, 0.005070775579142],\n    [0.030820149416533, 0.005165354774124],\n    [0.030804157285929, 0.005259885350819],\n    [0.030787875214864, 0.005354366419469],\n    [0.030771303356593, 0.005448797090784],\n    [0.030754441867095, 0.005543176475946],\n    [0.030737290905077, 0.005637503686619],\n    [0.030719850631972, 0.005731777834961],\n    [0.030702121211932, 0.005825998033626],\n    [0.030684102811835, 0.005920163395780],\n    [0.030665795601276, 0.006014273035101],\n    [0.030647199752570, 0.006108326065793],\n    [0.030628315440748, 0.006202321602594],\n    [0.030609142843557, 0.006296258760782],\n    [0.030589682141455, 0.006390136656185],\n    [0.030569933517616, 0.006483954405188],\n    [0.030549897157919, 0.006577711124743],\n    [0.030529573250956, 0.006671405932375],\n    [0.030508961988022, 0.006765037946194],\n    [0.030488063563118, 0.006858606284900],\n    [0.030466878172949, 0.006952110067791],\n    [0.030445406016919, 0.007045548414774],\n    [0.030423647297133, 0.007138920446372],\n    [0.030401602218392, 0.007232225283733],\n    [0.030379270988192, 0.007325462048634],\n    [0.030356653816724, 0.007418629863497],\n    [0.030333750916869, 0.007511727851390],\n    [0.030310562504198, 0.007604755136040],\n    [0.030287088796968, 0.007697710841838],\n    [0.030263330016124, 0.007790594093851],\n    [0.030239286385293, 0.007883404017824],\n    [0.030214958130781, 0.007976139740197],\n    [0.030190345481576, 0.008068800388104],\n    [0.030165448669342, 0.008161385089390],\n    [0.030140267928416, 0.008253892972610],\n    [0.030114803495809, 0.008346323167047],\n    [0.030089055611203, 0.008438674802711],\n    [0.030063024516947, 0.008530947010354],\n    [0.030036710458054, 0.008623138921475],\n    [0.030010113682202, 0.008715249668328],\n    [0.029983234439732, 0.008807278383932],\n    [0.029956072983640, 0.008899224202078],\n    [0.029928629569580, 0.008991086257336],\n    [0.029900904455860, 0.009082863685067],\n    [0.029872897903441, 0.009174555621425],\n    [0.029844610175929, 0.009266161203371],\n    [0.029816041539579, 0.009357679568679],\n    [0.029787192263292, 0.009449109855944],\n    [0.029758062618606, 0.009540451204587],\n    [0.029728652879702, 0.009631702754871],\n    [0.029698963323395, 0.009722863647900],\n    [0.029668994229134, 0.009813933025633],\n    [0.029638745879000, 0.009904910030891],\n    [0.029608218557702, 0.009995793807363],\n    [0.029577412552575, 0.010086583499618],\n    [0.029546328153577, 0.010177278253107],\n    [0.029514965653285, 0.010267877214177],\n    [0.029483325346896, 0.010358379530076],\n    [0.029451407532220, 0.010448784348962],\n    [0.029419212509679, 0.010539090819911],\n    [0.029386740582307, 0.010629298092923],\n    [0.029353992055740, 0.010719405318933],\n    [0.029320967238220, 0.010809411649818],\n    [0.029287666440590, 0.010899316238403],\n    [0.029254089976290, 0.010989118238474],\n    [0.029220238161353, 0.011078816804778],\n    [0.029186111314406, 0.011168411093039],\n    [0.029151709756664, 0.011257900259961],\n    [0.029117033811927, 0.011347283463239],\n    [0.029082083806579, 0.011436559861563],\n    [0.029046860069582, 0.011525728614630],\n    [0.029011362932476, 0.011614788883150],\n    [0.028975592729373, 0.011703739828853],\n    [0.028939549796957, 0.011792580614500],\n    [0.028903234474475, 0.011881310403886],\n    [0.028866647103744, 0.011969928361855],\n    [0.028829788029135, 0.012058433654299],\n    [0.028792657597583, 0.012146825448172],\n    [0.028755256158571, 0.012235102911499],\n    [0.028717584064137, 0.012323265213377],\n    [0.028679641668864, 0.012411311523990],\n    [0.028641429329882, 0.012499241014612],\n    [0.028602947406859, 0.012587052857618],\n    [0.028564196262001, 0.012674746226488],\n    [0.028525176260050, 0.012762320295819],\n    [0.028485887768276, 0.012849774241331],\n    [0.028446331156478, 0.012937107239875],\n    [0.028406506796976, 0.013024318469437],\n    [0.028366415064615, 0.013111407109155],\n    [0.028326056336751, 0.013198372339315],\n    [0.028285430993258, 0.013285213341368],\n    [0.028244539416515, 0.013371929297933],\n    [0.028203381991411, 0.013458519392807],\n    [0.028161959105334, 0.013544982810971],\n    [0.028120271148172, 0.013631318738598],\n    [0.028078318512309, 0.013717526363062],\n    [0.028036101592619, 0.013803604872943],\n    [0.027993620786463, 0.013889553458039],\n    [0.027950876493687, 0.013975371309367],\n    [0.027907869116616, 0.014061057619178],\n    [0.027864599060052, 0.014146611580959],\n    [0.027821066731270, 0.014232032389445],\n    [0.027777272540012, 0.014317319240622],\n    [0.027733216898487, 0.014402471331737],\n    [0.027688900221361, 0.014487487861307],\n    [0.027644322925762, 0.014572368029123],\n    [0.027599485431266, 0.014657111036262],\n    [0.027554388159903, 0.014741716085090],\n    [0.027509031536144, 0.014826182379271],\n    [0.027463415986904, 0.014910509123778],\n    [0.027417541941533, 0.014994695524894],\n    [0.027371409831816, 0.015078740790225],\n    [0.027325020091965, 0.015162644128704],\n    [0.027278373158618, 0.015246404750603],\n    [0.027231469470833, 0.015330021867534],\n    [0.027184309470088, 0.015413494692460],\n    [0.027136893600268, 0.015496822439704],\n    [0.027089222307671, 0.015580004324954],\n    [0.027041296040997, 0.015663039565269],\n    [0.026993115251345, 0.015745927379091],\n    [0.026944680392213, 0.015828666986247],\n    [0.026895991919487, 0.015911257607961],\n    [0.026847050291442, 0.015993698466859],\n    [0.026797855968734, 0.016075988786976],\n    [0.026748409414401, 0.016158127793763],\n    [0.026698711093851, 0.016240114714099],\n    [0.026648761474864, 0.016321948776289],\n    [0.026598561027585, 0.016403629210082],\n    [0.026548110224519, 0.016485155246669],\n    [0.026497409540530, 0.016566526118696],\n    [0.026446459452830, 0.016647741060271],\n    [0.026395260440982, 0.016728799306966],\n    [0.026343812986890, 0.016809700095831],\n    [0.026292117574797, 0.016890442665397],\n    [0.026240174691280, 0.016971026255683],\n    [0.026187984825246, 0.017051450108208],\n    [0.026135548467924, 0.017131713465990],\n    [0.026082866112867, 0.017211815573560],\n    [0.026029938255941, 0.017291755676967],\n    [0.025976765395322, 0.017371533023784],\n    [0.025923348031494, 0.017451146863116],\n    [0.025869686667242, 0.017530596445607],\n    [0.025815781807646, 0.017609881023449],\n    [0.025761633960080, 0.017688999850383],\n    [0.025707243634204, 0.017767952181715],\n    [0.025652611341960, 0.017846737274313],\n    [0.025597737597568, 0.017925354386623],\n    [0.025542622917522, 0.018003802778671],\n    [0.025487267820581, 0.018082081712071],\n    [0.025431672827768, 0.018160190450031],\n    [0.025375838462365, 0.018238128257362],\n    [0.025319765249906, 0.018315894400484],\n    [0.025263453718173, 0.018393488147432],\n    [0.025206904397193, 0.018470908767865],\n    [0.025150117819228, 0.018548155533070],\n    [0.025093094518776, 0.018625227715971],\n    [0.025035835032562, 0.018702124591135],\n    [0.024978339899534, 0.018778845434780],\n    [0.024920609660858, 0.018855389524780],\n    [0.024862644859912, 0.018931756140672],\n    [0.024804446042284, 0.019007944563666],\n    [0.024746013755764, 0.019083954076646],\n    [0.024687348550337, 0.019159783964183],\n    [0.024628450978184, 0.019235433512536],\n    [0.024569321593670, 0.019310902009663],\n    [0.024509960953345, 0.019386188745225],\n    [0.024450369615932, 0.019461293010596],\n    [0.024390548142329, 0.019536214098866],\n    [0.024330497095598, 0.019610951304848],\n    [0.024270217040961, 0.019685503925087],\n    [0.024209708545799, 0.019759871257867],\n    [0.024148972179639, 0.019834052603212],\n    [0.024088008514157, 0.019908047262901],\n    [0.024026818123164, 0.019981854540467],\n    [0.023965401582609, 0.020055473741208],\n    [0.023903759470567, 0.020128904172192],\n    [0.023841892367236, 0.020202145142264],\n    [0.023779800854935, 0.020275195962052],\n    [0.023717485518092, 0.020348055943974],\n    [0.023654946943242, 0.020420724402244],\n    [0.023592185719023, 0.020493200652878],\n    [0.023529202436167, 0.020565484013703],\n    [0.023465997687496, 0.020637573804361],\n    [0.023402572067918, 0.020709469346314],\n    [0.023338926174419, 0.020781169962854],\n    [0.023275060606058, 0.020852674979108],\n    [0.023210975963963, 0.020923983722044],\n    [0.023146672851322, 0.020995095520475],\n    [0.023082151873380, 0.021066009705072],\n    [0.023017413637435, 0.021136725608363],\n    [0.022952458752826, 0.021207242564742],\n    [0.022887287830934, 0.021277559910478],\n    [0.022821901485173, 0.021347676983716],\n    [0.022756300330983, 0.021417593124488],\n    [0.022690484985827, 0.021487307674717],\n    [0.022624456069185, 0.021556819978223],\n    [0.022558214202547, 0.021626129380729],\n    [0.022491760009405, 0.021695235229869],\n    [0.022425094115252, 0.021764136875192],\n    [0.022358217147572, 0.021832833668171],\n    [0.022291129735838, 0.021901324962204],\n    [0.022223832511501, 0.021969610112625],\n    [0.022156326107988, 0.022037688476709],\n    [0.022088611160696, 0.022105559413676],\n    [0.022020688306983, 0.022173222284699],\n    [0.021952558186166, 0.022240676452909],\n    [0.021884221439510, 0.022307921283403],\n    [0.021815678710228, 0.022374956143245],\n    [0.021746930643469, 0.022441780401478],\n    [0.021677977886316, 0.022508393429127],\n    [0.021608821087780, 0.022574794599206],\n    [0.021539460898790, 0.022640983286719],\n    [0.021469897972190, 0.022706958868676],\n    [0.021400132962735, 0.022772720724087],\n    [0.021330166527077, 0.022838268233979],\n    [0.021259999323769, 0.022903600781391],\n    [0.021189632013250, 0.022968717751391],\n    [0.021119065257845, 0.023033618531071],\n    [0.021048299721754, 0.023098302509561],\n    [0.020977336071050, 0.023162769078031],\n    [0.020906174973670, 0.023227017629698],\n    [0.020834817099409, 0.023291047559828],\n    [0.020763263119915, 0.023354858265748],\n    [0.020691513708680, 0.023418449146848],\n    [0.020619569541038, 0.023481819604585],\n    [0.020547431294155, 0.023544969042494],\n    [0.020475099647023, 0.023607896866186],\n    [0.020402575280455, 0.023670602483363],\n    [0.020329858877078, 0.023733085303813],\n    [0.020256951121327, 0.023795344739427],\n    [0.020183852699437, 0.023857380204193],\n    [0.020110564299439, 0.023919191114211],\n    [0.020037086611150, 0.023980776887692],\n    [0.019963420326171, 0.024042136944968],\n    [0.019889566137877, 0.024103270708495],\n    [0.019815524741412, 0.024164177602859],\n    [0.019741296833681, 0.024224857054779],\n    [0.019666883113346, 0.024285308493120],\n    [0.019592284280817, 0.024345531348888],\n    [0.019517501038246, 0.024405525055242],\n    [0.019442534089523, 0.024465289047500],\n    [0.019367384140264, 0.024524822763141],\n    [0.019292051897809, 0.024584125641809],\n    [0.019216538071215, 0.024643197125323],\n    [0.019140843371246, 0.024702036657681],\n    [0.019064968510369, 0.024760643685063],\n    [0.018988914202748, 0.024819017655836],\n    [0.018912681164234, 0.024877158020562],\n    [0.018836270112363, 0.024935064232003],\n    [0.018759681766343, 0.024992735745123],\n    [0.018682916847054, 0.025050172017095],\n    [0.018605976077037, 0.025107372507308],\n    [0.018528860180486, 0.025164336677369],\n    [0.018451569883247, 0.025221063991110],\n    [0.018374105912805, 0.025277553914591],\n    [0.018296468998280, 0.025333805916107],\n    [0.018218659870421, 0.025389819466194],\n    [0.018140679261596, 0.025445594037630],\n    [0.018062527905790, 0.025501129105445],\n    [0.017984206538592, 0.025556424146920],\n    [0.017905715897192, 0.025611478641598],\n    [0.017827056720375, 0.025666292071285],\n    [0.017748229748511, 0.025720863920056],\n    [0.017669235723550, 0.025775193674260],\n    [0.017590075389012, 0.025829280822525],\n    [0.017510749489986, 0.025883124855762],\n    [0.017431258773116, 0.025936725267170],\n    [0.017351603986600, 0.025990081552242],\n    [0.017271785880180, 0.026043193208768],\n    [0.017191805205132, 0.026096059736841],\n    [0.017111662714267, 0.026148680638861],\n    [0.017031359161915, 0.026201055419541],\n    [0.016950895303924, 0.026253183585908],\n    [0.016870271897651, 0.026305064647313],\n    [0.016789489701954, 0.026356698115431],\n    [0.016708549477186, 0.026408083504269],\n    [0.016627451985187, 0.026459220330167],\n    [0.016546197989277, 0.026510108111806],\n    [0.016464788254250, 0.026560746370212],\n    [0.016383223546365, 0.026611134628757],\n    [0.016301504633341, 0.026661272413168],\n    [0.016219632284346, 0.026711159251530],\n    [0.016137607269996, 0.026760794674288],\n    [0.016055430362340, 0.026810178214254],\n    [0.015973102334858, 0.026859309406613],\n    [0.015890623962454, 0.026908187788922],\n    [0.015807996021446, 0.026956812901119],\n    [0.015725219289558, 0.027005184285527],\n    [0.015642294545918, 0.027053301486856],\n    [0.015559222571044, 0.027101164052208],\n    [0.015476004146842, 0.027148771531083],\n    [0.015392640056594, 0.027196123475380],\n    [0.015309131084956, 0.027243219439406],\n    [0.015225478017946, 0.027290058979875],\n    [0.015141681642938, 0.027336641655915],\n    [0.015057742748656, 0.027382967029073],\n    [0.014973662125164, 0.027429034663317],\n    [0.014889440563862, 0.027474844125040],\n    [0.014805078857474, 0.027520394983066],\n    [0.014720577800046, 0.027565686808654],\n    [0.014635938186934, 0.027610719175499],\n    [0.014551160814797, 0.027655491659740],\n    [0.014466246481592, 0.027700003839960],\n    [0.014381195986567, 0.027744255297195],\n    [0.014296010130247, 0.027788245614933],\n    [0.014210689714436, 0.027831974379120],\n    [0.014125235542201, 0.027875441178165],\n    [0.014039648417870, 0.027918645602941],\n    [0.013953929147020, 0.027961587246792],\n    [0.013868078536476, 0.028004265705534],\n    [0.013782097394294, 0.028046680577462],\n    [0.013695986529763, 0.028088831463351],\n    [0.013609746753390, 0.028130717966461],\n    [0.013523378876898, 0.028172339692540],\n    [0.013436883713214, 0.028213696249828],\n    [0.013350262076462, 0.028254787249062],\n    [0.013263514781960, 0.028295612303478],\n    [0.013176642646205, 0.028336171028814],\n    [0.013089646486871, 0.028376463043317],\n    [0.013002527122799, 0.028416487967743],\n    [0.012915285373990, 0.028456245425361],\n    [0.012827922061597, 0.028495735041960],\n    [0.012740438007915, 0.028534956445849],\n    [0.012652834036379, 0.028573909267859],\n    [0.012565110971550, 0.028612593141354],\n    [0.012477269639111, 0.028651007702224],\n    [0.012389310865858, 0.028689152588899],\n    [0.012301235479693, 0.028727027442343],\n    [0.012213044309615, 0.028764631906065],\n    [0.012124738185712, 0.028801965626115],\n    [0.012036317939156, 0.028839028251097],\n    [0.011947784402191, 0.028875819432161],\n    [0.011859138408130, 0.028912338823015],\n    [0.011770380791341, 0.028948586079925],\n    [0.011681512387245, 0.028984560861718],\n    [0.011592534032306, 0.029020262829785],\n    [0.011503446564022, 0.029055691648087],\n    [0.011414250820918, 0.029090846983152],\n    [0.011324947642537, 0.029125728504087],\n    [0.011235537869437, 0.029160335882573],\n    [0.011146022343175, 0.029194668792871],\n    [0.011056401906305, 0.029228726911828],\n    [0.010966677402371, 0.029262509918876],\n    [0.010876849675891, 0.029296017496036],\n    [0.010786919572361, 0.029329249327922],\n    [0.010696887938235, 0.029362205101743],\n    [0.010606755620926, 0.029394884507308],\n    [0.010516523468793, 0.029427287237024],\n    [0.010426192331137, 0.029459412985906],\n    [0.010335763058187, 0.029491261451573],\n    [0.010245236501099, 0.029522832334255],\n    [0.010154613511943, 0.029554125336796],\n    [0.010063894943698, 0.029585140164654],\n    [0.009973081650240, 0.029615876525905],\n    [0.009882174486340, 0.029646334131247],\n    [0.009791174307650, 0.029676512694001],\n    [0.009700081970699, 0.029706411930116],\n    [0.009608898332881, 0.029736031558168],\n    [0.009517624252453, 0.029765371299366],\n    [0.009426260588521, 0.029794430877553],\n    [0.009334808201034, 0.029823210019210],\n    [0.009243267950778, 0.029851708453456],\n    [0.009151640699363, 0.029879925912053],\n    [0.009059927309220, 0.029907862129408],\n    [0.008968128643591, 0.029935516842573],\n    [0.008876245566520, 0.029962889791254],\n    [0.008784278942845, 0.029989980717805],\n    [0.008692229638191, 0.030016789367235],\n    [0.008600098518961, 0.030043315487212],\n    [0.008507886452329, 0.030069558828062],\n    [0.008415594306230, 0.030095519142772],\n    [0.008323222949351, 0.030121196186994],\n    [0.008230773251129, 0.030146589719046],\n    [0.008138246081733, 0.030171699499915],\n    [0.008045642312067, 0.030196525293257],\n    [0.007952962813750, 0.030221066865402],\n    [0.007860208459119, 0.030245323985357],\n    [0.007767380121212, 0.030269296424803],\n    [0.007674478673766, 0.030292983958103],\n    [0.007581504991203, 0.030316386362302],\n    [0.007488459948628, 0.030339503417126],\n    [0.007395344421816, 0.030362334904989],\n    [0.007302159287206, 0.030384880610993],\n    [0.007208905421891, 0.030407140322928],\n    [0.007115583703613, 0.030429113831278],\n    [0.007022195010752, 0.030450800929220],\n    [0.006928740222316, 0.030472201412626],\n    [0.006835220217939, 0.030493315080068],\n    [0.006741635877866, 0.030514141732814],\n    [0.006647988082948, 0.030534681174838],\n    [0.006554277714635, 0.030554933212813],\n    [0.006460505654964, 0.030574897656119],\n    [0.006366672786553, 0.030594574316845],\n    [0.006272779992593, 0.030613963009786],\n    [0.006178828156839, 0.030633063552447],\n    [0.006084818163601, 0.030651875765048],\n    [0.005990750897737, 0.030670399470520],\n    [0.005896627244644, 0.030688634494512],\n    [0.005802448090250, 0.030706580665388],\n    [0.005708214321004, 0.030724237814232],\n    [0.005613926823871, 0.030741605774849],\n    [0.005519586486321, 0.030758684383764],\n    [0.005425194196321, 0.030775473480228],\n    [0.005330750842327, 0.030791972906214],\n    [0.005236257313276, 0.030808182506425],\n    [0.005141714498576, 0.030824102128288],\n    [0.005047123288102, 0.030839731621963],\n    [0.004952484572181, 0.030855070840339],\n    [0.004857799241589, 0.030870119639036],\n    [0.004763068187541, 0.030884877876411],\n    [0.004668292301681, 0.030899345413553],\n    [0.004573472476075, 0.030913522114288],\n    [0.004478609603205, 0.030927407845180],\n    [0.004383704575956, 0.030941002475530],\n    [0.004288758287610, 0.030954305877381],\n    [0.004193771631837, 0.030967317925516],\n    [0.004098745502689, 0.030980038497461],\n    [0.004003680794587, 0.030992467473486],\n    [0.003908578402316, 0.031004604736602],\n    [0.003813439221017, 0.031016450172571],\n    [0.003718264146176, 0.031028003669899],\n    [0.003623054073616, 0.031039265119839],\n    [0.003527809899492, 0.031050234416394],\n    [0.003432532520278, 0.031060911456318],\n    [0.003337222832760, 0.031071296139114],\n    [0.003241881734029, 0.031081388367037],\n    [0.003146510121474, 0.031091188045095],\n    [0.003051108892766, 0.031100695081051],\n    [0.002955678945860, 0.031109909385419],\n    [0.002860221178978, 0.031118830871473],\n    [0.002764736490604, 0.031127459455239],\n    [0.002669225779478, 0.031135795055501],\n    [0.002573689944583, 0.031143837593803],\n    [0.002478129885137, 0.031151586994444],\n    [0.002382546500589, 0.031159043184484],\n    [0.002286940690606, 0.031166206093743],\n    [0.002191313355067, 0.031173075654800],\n    [0.002095665394051, 0.031179651802998],\n    [0.001999997707835, 0.031185934476438],\n    [0.001904311196878, 0.031191923615985],\n    [0.001808606761820, 0.031197619165268],\n    [0.001712885303465, 0.031203021070678],\n    [0.001617147722782, 0.031208129281370],\n    [0.001521394920889, 0.031212943749264],\n    [0.001425627799047, 0.031217464429043],\n    [0.001329847258653, 0.031221691278159],\n    [0.001234054201231, 0.031225624256825],\n    [0.001138249528420, 0.031229263328024],\n    [0.001042434141971, 0.031232608457502],\n    [0.000946608943736, 0.031235659613775],\n    [0.000850774835656, 0.031238416768124],\n    [0.000754932719759, 0.031240879894597],\n    [0.000659083498149, 0.031243048970010],\n    [0.000563228072993, 0.031244923973948],\n    [0.000467367346520, 0.031246504888762],\n    [0.000371502221008, 0.031247791699571],\n    [0.000275633598775, 0.031248784394264],\n    [0.000179762382174, 0.031249482963498],\n    [0.000083889473581, 0.031249887400697]\n];\n\nexports.MDCT_TABLE_256 = [\n    [0.088387931675923, 0.000271171628935],\n    [0.088354655998507, 0.002440238387037],\n    [0.088268158780110, 0.004607835236780],\n    [0.088128492123423, 0.006772656498875],\n    [0.087935740158418, 0.008933398165942],\n    [0.087690018991670, 0.011088758687994],\n    [0.087391476636423, 0.013237439756448],\n    [0.087040292923427, 0.015378147086172],\n    [0.086636679392621, 0.017509591195118],\n    [0.086180879165703, 0.019630488181053],\n    [0.085673166799686, 0.021739560494940],\n    [0.085113848121515, 0.023835537710479],\n    [0.084503260043847, 0.025917157289369],\n    [0.083841770362110, 0.027983165341813],\n    [0.083129777532952, 0.030032317381813],\n    [0.082367710434230, 0.032063379076803],\n    [0.081556028106671, 0.034075126991164],\n    [0.080695219477356, 0.036066349323177],\n    [0.079785803065216, 0.038035846634965],\n    [0.078828326668693, 0.039982432574992],\n    [0.077823367035766, 0.041904934592675],\n    [0.076771529516540, 0.043802194644686],\n    [0.075673447698606, 0.045673069892513],\n    [0.074529783025390, 0.047516433390863],\n    [0.073341224397728, 0.049331174766491],\n    [0.072108487758894, 0.051116200887052],\n    [0.070832315663343, 0.052870436519557],\n    [0.069513476829429, 0.054592824978055],\n    [0.068152765676348, 0.056282328760143],\n    [0.066751001845620, 0.057937930171918],\n    [0.065309029707361, 0.059558631940996],\n    [0.063827717851668, 0.061143457817234],\n    [0.062307958565413, 0.062691453160784],\n    [0.060750667294763, 0.064201685517134],\n    [0.059156782093749, 0.065673245178784],\n    [0.057527263059216, 0.067105245733220],\n    [0.055863091752499, 0.068496824596852],\n    [0.054165270608165, 0.069847143534609],\n    [0.052434822330188, 0.071155389164853],\n    [0.050672789275903, 0.072420773449336],\n    [0.048880232828135, 0.073642534167879],\n    [0.047058232755862, 0.074819935377512],\n    [0.045207886563797, 0.075952267855771],\n    [0.043330308831298, 0.077038849527912],\n    [0.041426630540984, 0.078079025877766],\n    [0.039497998397473, 0.079072170341994],\n    [0.037545574136653, 0.080017684687506],\n    [0.035570533825892, 0.080914999371817],\n    [0.033574067155622, 0.081763573886112],\n    [0.031557376722714, 0.082562897080836],\n    [0.029521677306074, 0.083312487473584],\n    [0.027468195134911, 0.084011893539132],\n    [0.025398167150101, 0.084660693981419],\n    [0.023312840259098, 0.085258497987320],\n    [0.021213470584847, 0.085804945462053],\n    [0.019101322709138, 0.086299707246093],\n    [0.016977668910873, 0.086742485313442],\n    [0.014843788399692, 0.087133012951149],\n    [0.012700966545425, 0.087471054919968],\n    [0.010550494103830, 0.087756407596056],\n    [0.008393666439096, 0.087988899093631],\n    [0.006231782743558, 0.088168389368510],\n    [0.004066145255116, 0.088294770302461],\n    [0.001898058472816, 0.088367965768336]\n];                                      \n\nexports.MDCT_TABLE_1920 = [             \n    [0.032274858518097, 0.000013202404176],\n    [0.032274642494505, 0.000118821372483],\n    [0.032274080835421, 0.000224439068308],\n    [0.032273173546860, 0.000330054360572],\n    [0.032271920638538, 0.000435666118218],\n    [0.032270322123873, 0.000541273210231],\n    [0.032268378019984, 0.000646874505642],\n    [0.032266088347691, 0.000752468873546],\n    [0.032263453131514, 0.000858055183114],\n    [0.032260472399674, 0.000963632303600],\n    [0.032257146184092, 0.001069199104358],\n    [0.032253474520390, 0.001174754454853],\n    [0.032249457447888, 0.001280297224671],\n    [0.032245095009606, 0.001385826283535],\n    [0.032240387252262, 0.001491340501313],\n    [0.032235334226272, 0.001596838748031],\n    [0.032229935985750, 0.001702319893890],\n    [0.032224192588507, 0.001807782809271],\n    [0.032218104096050, 0.001913226364749],\n    [0.032211670573582, 0.002018649431111],\n    [0.032204892090000, 0.002124050879359],\n    [0.032197768717898, 0.002229429580728],\n    [0.032190300533560, 0.002334784406698],\n    [0.032182487616965, 0.002440114229003],\n    [0.032174330051782, 0.002545417919644],\n    [0.032165827925374, 0.002650694350905],\n    [0.032156981328790, 0.002755942395358],\n    [0.032147790356771, 0.002861160925883],\n    [0.032138255107744, 0.002966348815672],\n    [0.032128375683825, 0.003071504938250],\n    [0.032118152190814, 0.003176628167476],\n    [0.032107584738196, 0.003281717377568],\n    [0.032096673439141, 0.003386771443102],\n    [0.032085418410500, 0.003491789239036],\n    [0.032073819772804, 0.003596769640711],\n    [0.032061877650267, 0.003701711523874],\n    [0.032049592170778, 0.003806613764680],\n    [0.032036963465906, 0.003911475239711],\n    [0.032023991670893, 0.004016294825985],\n    [0.032010676924657, 0.004121071400967],\n    [0.031997019369789, 0.004225803842586],\n    [0.031983019152549, 0.004330491029241],\n    [0.031968676422869, 0.004435131839816],\n    [0.031953991334348, 0.004539725153692],\n    [0.031938964044252, 0.004644269850758],\n    [0.031923594713510, 0.004748764811426],\n    [0.031907883506716, 0.004853208916638],\n    [0.031891830592124, 0.004957601047881],\n    [0.031875436141648, 0.005061940087200],\n    [0.031858700330859, 0.005166224917208],\n    [0.031841623338985, 0.005270454421097],\n    [0.031824205348907, 0.005374627482653],\n    [0.031806446547156, 0.005478742986267],\n    [0.031788347123916, 0.005582799816945],\n    [0.031769907273017, 0.005686796860323],\n    [0.031751127191935, 0.005790733002674],\n    [0.031732007081789, 0.005894607130928],\n    [0.031712547147340, 0.005998418132675],\n    [0.031692747596989, 0.006102164896182],\n    [0.031672608642773, 0.006205846310406],\n    [0.031652130500364, 0.006309461265002],\n    [0.031631313389067, 0.006413008650337],\n    [0.031610157531816, 0.006516487357501],\n    [0.031588663155172, 0.006619896278321],\n    [0.031566830489325, 0.006723234305370],\n    [0.031544659768083, 0.006826500331981],\n    [0.031522151228878, 0.006929693252258],\n    [0.031499305112758, 0.007032811961088],\n    [0.031476121664387, 0.007135855354151],\n    [0.031452601132040, 0.007238822327937],\n    [0.031428743767604, 0.007341711779751],\n    [0.031404549826572, 0.007444522607730],\n    [0.031380019568042, 0.007547253710853],\n    [0.031355153254712, 0.007649903988952],\n    [0.031329951152882, 0.007752472342725],\n    [0.031304413532445, 0.007854957673748],\n    [0.031278540666888, 0.007957358884484],\n    [0.031252332833290, 0.008059674878300],\n    [0.031225790312316, 0.008161904559473],\n    [0.031198913388214, 0.008264046833205],\n    [0.031171702348814, 0.008366100605636],\n    [0.031144157485525, 0.008468064783849],\n    [0.031116279093331, 0.008569938275893],\n    [0.031088067470786, 0.008671719990782],\n    [0.031059522920014, 0.008773408838517],\n    [0.031030645746705, 0.008875003730092],\n    [0.031001436260110, 0.008976503577507],\n    [0.030971894773039, 0.009077907293780],\n    [0.030942021601857, 0.009179213792959],\n    [0.030911817066483, 0.009280421990133],\n    [0.030881281490382, 0.009381530801444],\n    [0.030850415200566, 0.009482539144097],\n    [0.030819218527589, 0.009583445936373],\n    [0.030787691805541, 0.009684250097643],\n    [0.030755835372048, 0.009784950548375],\n    [0.030723649568268, 0.009885546210147],\n    [0.030691134738883, 0.009986036005661],\n    [0.030658291232103, 0.010086418858753],\n    [0.030625119399655, 0.010186693694402],\n    [0.030591619596781, 0.010286859438745],\n    [0.030557792182239, 0.010386915019088],\n    [0.030523637518292, 0.010486859363916],\n    [0.030489155970710, 0.010586691402906],\n    [0.030454347908763, 0.010686410066936],\n    [0.030419213705216, 0.010786014288099],\n    [0.030383753736329, 0.010885502999714],\n    [0.030347968381849, 0.010984875136338],\n    [0.030311858025010, 0.011084129633775],\n    [0.030275423052523, 0.011183265429088],\n    [0.030238663854579, 0.011282281460612],\n    [0.030201580824838, 0.011381176667967],\n    [0.030164174360430, 0.011479949992062],\n    [0.030126444861948, 0.011578600375117],\n    [0.030088392733446, 0.011677126760663],\n    [0.030050018382430, 0.011775528093563],\n    [0.030011322219859, 0.011873803320018],\n    [0.029972304660138, 0.011971951387578],\n    [0.029932966121114, 0.012069971245157],\n    [0.029893307024070, 0.012167861843041],\n    [0.029853327793724, 0.012265622132901],\n    [0.029813028858222, 0.012363251067801],\n    [0.029772410649132, 0.012460747602215],\n    [0.029731473601443, 0.012558110692033],\n    [0.029690218153558, 0.012655339294575],\n    [0.029648644747289, 0.012752432368600],\n    [0.029606753827855, 0.012849388874320],\n    [0.029564545843872, 0.012946207773407],\n    [0.029522021247356, 0.013042888029011],\n    [0.029479180493710, 0.013139428605762],\n    [0.029436024041725, 0.013235828469789],\n    [0.029392552353570, 0.013332086588727],\n    [0.029348765894794, 0.013428201931728],\n    [0.029304665134313, 0.013524173469475],\n    [0.029260250544412, 0.013620000174189],\n    [0.029215522600735, 0.013715681019643],\n    [0.029170481782283, 0.013811214981173],\n    [0.029125128571406, 0.013906601035686],\n    [0.029079463453801, 0.014001838161674],\n    [0.029033486918505, 0.014096925339225],\n    [0.028987199457889, 0.014191861550031],\n    [0.028940601567655, 0.014286645777401],\n    [0.028893693746829, 0.014381277006273],\n    [0.028846476497755, 0.014475754223221],\n    [0.028798950326094, 0.014570076416472],\n    [0.028751115740811, 0.014664242575910],\n    [0.028702973254178, 0.014758251693091],\n    [0.028654523381760, 0.014852102761253],\n    [0.028605766642418, 0.014945794775326],\n    [0.028556703558297, 0.015039326731945],\n    [0.028507334654823, 0.015132697629457],\n    [0.028457660460698, 0.015225906467935],\n    [0.028407681507891, 0.015318952249187],\n    [0.028357398331639, 0.015411833976768],\n    [0.028306811470432, 0.015504550655988],\n    [0.028255921466016, 0.015597101293927],\n    [0.028204728863381, 0.015689484899442],\n    [0.028153234210760, 0.015781700483179],\n    [0.028101438059619, 0.015873747057582],\n    [0.028049340964652, 0.015965623636907],\n    [0.027996943483779, 0.016057329237229],\n    [0.027944246178133, 0.016148862876456],\n    [0.027891249612061, 0.016240223574335],\n    [0.027837954353113, 0.016331410352467],\n    [0.027784360972039, 0.016422422234315],\n    [0.027730470042780, 0.016513258245214],\n    [0.027676282142466, 0.016603917412384],\n    [0.027621797851405, 0.016694398764938],\n    [0.027567017753080, 0.016784701333894],\n    [0.027511942434143, 0.016874824152183],\n    [0.027456572484404, 0.016964766254662],\n    [0.027400908496833, 0.017054526678124],\n    [0.027344951067546, 0.017144104461307],\n    [0.027288700795801, 0.017233498644904],\n    [0.027232158283994, 0.017322708271577],\n    [0.027175324137651, 0.017411732385960],\n    [0.027118198965418, 0.017500570034678],\n    [0.027060783379060, 0.017589220266351],\n    [0.027003077993454, 0.017677682131607],\n    [0.026945083426576, 0.017765954683088],\n    [0.026886800299502, 0.017854036975468],\n    [0.026828229236397, 0.017941928065456],\n    [0.026769370864511, 0.018029627011808],\n    [0.026710225814170, 0.018117132875340],\n    [0.026650794718768, 0.018204444718934],\n    [0.026591078214767, 0.018291561607551],\n    [0.026531076941680, 0.018378482608238],\n    [0.026470791542075, 0.018465206790142],\n    [0.026410222661558, 0.018551733224515],\n    [0.026349370948775, 0.018638060984730],\n    [0.026288237055398, 0.018724189146286],\n    [0.026226821636121, 0.018810116786819],\n    [0.026165125348656, 0.018895842986112],\n    [0.026103148853718, 0.018981366826109],\n    [0.026040892815028, 0.019066687390916],\n    [0.025978357899296, 0.019151803766819],\n    [0.025915544776223, 0.019236715042290],\n    [0.025852454118485, 0.019321420307998],\n    [0.025789086601733, 0.019405918656817],\n    [0.025725442904582, 0.019490209183837],\n    [0.025661523708606, 0.019574290986376],\n    [0.025597329698327, 0.019658163163984],\n    [0.025532861561211, 0.019741824818458],\n    [0.025468119987662, 0.019825275053848],\n    [0.025403105671008, 0.019908512976470],\n    [0.025337819307501, 0.019991537694913],\n    [0.025272261596305, 0.020074348320047],\n    [0.025206433239491, 0.020156943965039],\n    [0.025140334942028, 0.020239323745355],\n    [0.025073967411776, 0.020321486778774],\n    [0.025007331359476, 0.020403432185395],\n    [0.024940427498748, 0.020485159087650],\n    [0.024873256546079, 0.020566666610309],\n    [0.024805819220816, 0.020647953880491],\n    [0.024738116245157, 0.020729020027676],\n    [0.024670148344147, 0.020809864183709],\n    [0.024601916245669, 0.020890485482816],\n    [0.024533420680433, 0.020970883061607],\n    [0.024464662381971, 0.021051056059087],\n    [0.024395642086630, 0.021131003616670],\n    [0.024326360533561, 0.021210724878181],\n    [0.024256818464715, 0.021290218989868],\n    [0.024187016624830, 0.021369485100415],\n    [0.024116955761430, 0.021448522360944],\n    [0.024046636624808, 0.021527329925030],\n    [0.023976059968027, 0.021605906948708],\n    [0.023905226546906, 0.021684252590480],\n    [0.023834137120014, 0.021762366011328],\n    [0.023762792448662, 0.021840246374720],\n    [0.023691193296893, 0.021917892846620],\n    [0.023619340431478, 0.021995304595495],\n    [0.023547234621902, 0.022072480792330],\n    [0.023474876640361, 0.022149420610628],\n    [0.023402267261751, 0.022226123226426],\n    [0.023329407263659, 0.022302587818300],\n    [0.023256297426359, 0.022378813567377],\n    [0.023182938532797, 0.022454799657339],\n    [0.023109331368588, 0.022530545274437],\n    [0.023035476722006, 0.022606049607496],\n    [0.022961375383975, 0.022681311847926],\n    [0.022887028148061, 0.022756331189727],\n    [0.022812435810462, 0.022831106829504],\n    [0.022737599170003, 0.022905637966469],\n    [0.022662519028125, 0.022979923802453],\n    [0.022587196188874, 0.023053963541915],\n    [0.022511631458899, 0.023127756391950],\n    [0.022435825647437, 0.023201301562294],\n    [0.022359779566306, 0.023274598265338],\n    [0.022283494029900, 0.023347645716133],\n    [0.022206969855176, 0.023420443132400],\n    [0.022130207861645, 0.023492989734537],\n    [0.022053208871367, 0.023565284745628],\n    [0.021975973708940, 0.023637327391451],\n    [0.021898503201489, 0.023709116900488],\n    [0.021820798178663, 0.023780652503931],\n    [0.021742859472618, 0.023851933435691],\n    [0.021664687918017, 0.023922958932406],\n    [0.021586284352013, 0.023993728233451],\n    [0.021507649614247, 0.024064240580942],\n    [0.021428784546832, 0.024134495219750],\n    [0.021349689994350, 0.024204491397504],\n    [0.021270366803840, 0.024274228364600],\n    [0.021190815824791, 0.024343705374213],\n    [0.021111037909128, 0.024412921682298],\n    [0.021031033911210, 0.024481876547605],\n    [0.020950804687815, 0.024550569231683],\n    [0.020870351098134, 0.024618998998889],\n    [0.020789674003759, 0.024687165116394],\n    [0.020708774268678, 0.024755066854194],\n    [0.020627652759262, 0.024822703485116],\n    [0.020546310344257, 0.024890074284826],\n    [0.020464747894775, 0.024957178531837],\n    [0.020382966284284, 0.025024015507516],\n    [0.020300966388600, 0.025090584496093],\n    [0.020218749085876, 0.025156884784668],\n    [0.020136315256592, 0.025222915663218],\n    [0.020053665783549, 0.025288676424605],\n    [0.019970801551857, 0.025354166364584],\n    [0.019887723448925, 0.025419384781811],\n    [0.019804432364452, 0.025484330977848],\n    [0.019720929190419, 0.025549004257175],\n    [0.019637214821078, 0.025613403927192],\n    [0.019553290152943, 0.025677529298230],\n    [0.019469156084779, 0.025741379683559],\n    [0.019384813517595, 0.025804954399392],\n    [0.019300263354632, 0.025868252764895],\n    [0.019215506501354, 0.025931274102193],\n    [0.019130543865439, 0.025994017736379],\n    [0.019045376356769, 0.026056482995518],\n    [0.018960004887419, 0.026118669210657],\n    [0.018874430371648, 0.026180575715833],\n    [0.018788653725892, 0.026242201848076],\n    [0.018702675868750, 0.026303546947421],\n    [0.018616497720974, 0.026364610356909],\n    [0.018530120205464, 0.026425391422602],\n    [0.018443544247254, 0.026485889493583],\n    [0.018356770773502, 0.026546103921965],\n    [0.018269800713483, 0.026606034062902],\n    [0.018182634998576, 0.026665679274589],\n    [0.018095274562256, 0.026725038918274],\n    [0.018007720340083, 0.026784112358263],\n    [0.017919973269692, 0.026842898961926],\n    [0.017832034290785, 0.026901398099707],\n    [0.017743904345116, 0.026959609145127],\n    [0.017655584376488, 0.027017531474792],\n    [0.017567075330734, 0.027075164468401],\n    [0.017478378155718, 0.027132507508750],\n    [0.017389493801313, 0.027189559981742],\n    [0.017300423219401, 0.027246321276391],\n    [0.017211167363854, 0.027302790784828],\n    [0.017121727190533, 0.027358967902310],\n    [0.017032103657269, 0.027414852027226],\n    [0.016942297723858, 0.027470442561102],\n    [0.016852310352050, 0.027525738908608],\n    [0.016762142505537, 0.027580740477564],\n    [0.016671795149944, 0.027635446678948],\n    [0.016581269252819, 0.027689856926900],\n    [0.016490565783622, 0.027743970638730],\n    [0.016399685713714, 0.027797787234924],\n    [0.016308630016347, 0.027851306139149],\n    [0.016217399666655, 0.027904526778260],\n    [0.016125995641641, 0.027957448582309],\n    [0.016034418920170, 0.028010070984544],\n    [0.015942670482954, 0.028062393421421],\n    [0.015850751312545, 0.028114415332610],\n    [0.015758662393324, 0.028166136160998],\n    [0.015666404711489, 0.028217555352697],\n    [0.015573979255046, 0.028268672357047],\n    [0.015481387013797, 0.028319486626627],\n    [0.015388628979331, 0.028369997617257],\n    [0.015295706145012, 0.028420204788004],\n    [0.015202619505968, 0.028470107601191],\n    [0.015109370059084, 0.028519705522399],\n    [0.015015958802984, 0.028568998020472],\n    [0.014922386738030, 0.028617984567529],\n    [0.014828654866302, 0.028666664638963],\n    [0.014734764191593, 0.028715037713449],\n    [0.014640715719398, 0.028763103272951],\n    [0.014546510456900, 0.028810860802724],\n    [0.014452149412962, 0.028858309791325],\n    [0.014357633598114, 0.028905449730613],\n    [0.014262964024545, 0.028952280115756],\n    [0.014168141706090, 0.028998800445240],\n    [0.014073167658220, 0.029045010220868],\n    [0.013978042898030, 0.029090908947771],\n    [0.013882768444231, 0.029136496134411],\n    [0.013787345317136, 0.029181771292585],\n    [0.013691774538648, 0.029226733937433],\n    [0.013596057132255, 0.029271383587441],\n    [0.013500194123014, 0.029315719764447],\n    [0.013404186537539, 0.029359741993647],\n    [0.013308035403995, 0.029403449803598],\n    [0.013211741752084, 0.029446842726223],\n    [0.013115306613032, 0.029489920296820],\n    [0.013018731019584, 0.029532682054063],\n    [0.012922016005985, 0.029575127540008],\n    [0.012825162607977, 0.029617256300097],\n    [0.012728171862781, 0.029659067883165],\n    [0.012631044809089, 0.029700561841444],\n    [0.012533782487056, 0.029741737730567],\n    [0.012436385938281, 0.029782595109573],\n    [0.012338856205805, 0.029823133540913],\n    [0.012241194334091, 0.029863352590452],\n    [0.012143401369021, 0.029903251827477],\n    [0.012045478357878, 0.029942830824699],\n    [0.011947426349339, 0.029982089158259],\n    [0.011849246393462, 0.030021026407731],\n    [0.011750939541676, 0.030059642156129],\n    [0.011652506846768, 0.030097935989909],\n    [0.011553949362874, 0.030135907498976],\n    [0.011455268145464, 0.030173556276684],\n    [0.011356464251335, 0.030210881919845],\n    [0.011257538738598, 0.030247884028732],\n    [0.011158492666665, 0.030284562207083],\n    [0.011059327096240, 0.030320916062102],\n    [0.010960043089307, 0.030356945204470],\n    [0.010860641709118, 0.030392649248343],\n    [0.010761124020182, 0.030428027811361],\n    [0.010661491088253, 0.030463080514646],\n    [0.010561743980319, 0.030497806982812],\n    [0.010461883764593, 0.030532206843968],\n    [0.010361911510496, 0.030566279729717],\n    [0.010261828288652, 0.030600025275167],\n    [0.010161635170872, 0.030633443118931],\n    [0.010061333230142, 0.030666532903129],\n    [0.009960923540617, 0.030699294273397],\n    [0.009860407177603, 0.030731726878888],\n    [0.009759785217550, 0.030763830372273],\n    [0.009659058738038, 0.030795604409750],\n    [0.009558228817767, 0.030827048651045],\n    [0.009457296536545, 0.030858162759415],\n    [0.009356262975275, 0.030888946401653],\n    [0.009255129215945, 0.030919399248091],\n    [0.009153896341616, 0.030949520972603],\n    [0.009052565436412, 0.030979311252611],\n    [0.008951137585505, 0.031008769769084],\n    [0.008849613875105, 0.031037896206544],\n    [0.008747995392451, 0.031066690253072],\n    [0.008646283225794, 0.031095151600306],\n    [0.008544478464390, 0.031123279943448],\n    [0.008442582198486, 0.031151074981266],\n    [0.008340595519310, 0.031178536416098],\n    [0.008238519519057, 0.031205663953853],\n    [0.008136355290878, 0.031232457304017],\n    [0.008034103928871, 0.031258916179656],\n    [0.007931766528065, 0.031285040297416],\n    [0.007829344184412, 0.031310829377528],\n    [0.007726837994772, 0.031336283143813],\n    [0.007624249056906, 0.031361401323680],\n    [0.007521578469457, 0.031386183648135],\n    [0.007418827331946, 0.031410629851778],\n    [0.007315996744755, 0.031434739672811],\n    [0.007213087809115, 0.031458512853036],\n    [0.007110101627101, 0.031481949137863],\n    [0.007007039301610, 0.031505048276306],\n    [0.006903901936357, 0.031527810020993],\n    [0.006800690635862, 0.031550234128164],\n    [0.006697406505433, 0.031572320357675],\n    [0.006594050651161, 0.031594068473000],\n    [0.006490624179905, 0.031615478241233],\n    [0.006387128199278, 0.031636549433095],\n    [0.006283563817639, 0.031657281822929],\n    [0.006179932144080, 0.031677675188707],\n    [0.006076234288412, 0.031697729312034],\n    [0.005972471361157, 0.031717443978146],\n    [0.005868644473532, 0.031736818975914],\n    [0.005764754737440, 0.031755854097848],\n    [0.005660803265456, 0.031774549140098],\n    [0.005556791170816, 0.031792903902453],\n    [0.005452719567407, 0.031810918188350],\n    [0.005348589569753, 0.031828591804869],\n    [0.005244402293001, 0.031845924562742],\n    [0.005140158852914, 0.031862916276347],\n    [0.005035860365855, 0.031879566763717],\n    [0.004931507948778, 0.031895875846539],\n    [0.004827102719212, 0.031911843350155],\n    [0.004722645795254, 0.031927469103567],\n    [0.004618138295554, 0.031942752939435],\n    [0.004513581339303, 0.031957694694082],\n    [0.004408976046222, 0.031972294207493],\n    [0.004304323536549, 0.031986551323320],\n    [0.004199624931030, 0.032000465888879],\n    [0.004094881350902, 0.032014037755158],\n    [0.003990093917884, 0.032027266776813],\n    [0.003885263754166, 0.032040152812170],\n    [0.003780391982394, 0.032052695723232],\n    [0.003675479725661, 0.032064895375674],\n    [0.003570528107494, 0.032076751638847],\n    [0.003465538251839, 0.032088264385780],\n    [0.003360511283053, 0.032099433493181],\n    [0.003255448325892, 0.032110258841438],\n    [0.003150350505494, 0.032120740314619],\n    [0.003045218947373, 0.032130877800478],\n    [0.002940054777404, 0.032140671190449],\n    [0.002834859121810, 0.032150120379653],\n    [0.002729633107153, 0.032159225266897],\n    [0.002624377860318, 0.032167985754674],\n    [0.002519094508504, 0.032176401749168],\n    [0.002413784179212, 0.032184473160250],\n    [0.002308448000231, 0.032192199901481],\n    [0.002203087099626, 0.032199581890114],\n    [0.002097702605728, 0.032206619047093],\n    [0.001992295647121, 0.032213311297057],\n    [0.001886867352628, 0.032219658568338],\n    [0.001781418851302, 0.032225660792960],\n    [0.001675951272410, 0.032231317906644],\n    [0.001570465745428, 0.032236629848809],\n    [0.001464963400018, 0.032241596562566],\n    [0.001359445366028, 0.032246217994727],\n    [0.001253912773470, 0.032250494095799],\n    [0.001148366752513, 0.032254424819990],\n    [0.001042808433471, 0.032258010125204],\n    [0.000937238946789, 0.032261249973045],\n    [0.000831659423030, 0.032264144328817],\n    [0.000726070992868, 0.032266693161525],\n    [0.000620474787068, 0.032268896443871],\n    [0.000514871936481, 0.032270754152261],\n    [0.000409263572030, 0.032272266266801],\n    [0.000303650824695, 0.032273432771295],\n    [0.000198034825504, 0.032274253653254],\n    [0.000092416705518, 0.032274728903884]\n];\n\nexports.MDCT_TABLE_240 = [              \n    [0.091286604111815, 0.000298735779793],\n    [0.091247502481454, 0.002688238127538],\n    [0.091145864370807, 0.005075898091152],\n    [0.090981759437558, 0.007460079287760],\n    [0.090755300151030, 0.009839147718664],\n    [0.090466641715108, 0.012211472889198],\n    [0.090115981961863, 0.014575428926191],\n    [0.089703561215976, 0.016929395692256],\n    [0.089229662130024, 0.019271759896156],\n    [0.088694609490769, 0.021600916198470],\n    [0.088098769996564, 0.023915268311810],\n    [0.087442552006035, 0.026213230094844],\n    [0.086726405258214, 0.028493226639351],\n    [0.085950820564309, 0.030753695349588],\n    [0.085116329471329, 0.032993087013213],\n    [0.084223503897785, 0.035209866863042],\n    [0.083272955741727, 0.037402515628894],\n    [0.082265336461381, 0.039569530578832],\n    [0.081201336628670, 0.041709426549053],\n    [0.080081685455930, 0.043820736961749],\n    [0.078907150296148, 0.045902014830227],\n    [0.077678536117054, 0.047951833750597],\n    [0.076396684949434, 0.049968788879362],\n    [0.075062475310050, 0.051951497896226],\n    [0.073676821599542, 0.053898601951466],\n    [0.072240673475749, 0.055808766597225],\n    [0.070755015202858, 0.057680682702068],\n    [0.069220864976840, 0.059513067348201],\n    [0.067639274227625, 0.061304664710718],\n    [0.066011326898512, 0.063054246918278],\n    [0.064338138703282, 0.064760614894630],\n    [0.062620856361546, 0.066422599180399],\n    [0.060860656812842, 0.068039060734572],\n    [0.059058746410016, 0.069608891715145],\n    [0.057216360092450, 0.071131016238378],\n    [0.055334760539699, 0.072604391116154],\n    [0.053415237306106, 0.074028006570930],\n    [0.051459105937014, 0.075400886927784],\n    [0.049467707067153, 0.076722091283096],\n    [0.047442405501835, 0.077990714149396],\n    [0.045384589281588, 0.079205886075941],\n    [0.043295668730857, 0.080366774244592],\n    [0.041177075491445, 0.081472583040586],\n    [0.039030261541332, 0.082522554597810],\n    [0.036856698199564, 0.083515969318206],\n    [0.034657875117883, 0.084452146364948],\n    [0.032435299259796, 0.085330444129049],\n    [0.030190493867775, 0.086150260669096],\n    [0.027924997419306, 0.086911034123781],\n    [0.025640362572491, 0.087612243096981],\n    [0.023338155101933, 0.088253407015092],\n    [0.021019952825636, 0.088834086456390],\n    [0.018687344523641, 0.089353883452193],\n    [0.016341928849164, 0.089812441759604],\n    [0.013985313232951, 0.090209447105664],\n    [0.011619112781631, 0.090544627402740],\n    [0.009244949170797, 0.090817752935000],\n    [0.006864449533597, 0.091028636515846],\n    [0.004479245345574, 0.091177133616206],\n    [0.002090971306534, 0.091263142463585]\n];                    ",
   33     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n\n/********************************************************************************\n * Sample offset into the window indicating the beginning of a scalefactor\n * window band\n *\n * scalefactor window band - term for scalefactor bands within a window,\n * given in Table 4.110 to Table 4.128.\n *\n * scalefactor band - a set of spectral coefficients which are scaled by one\n * scalefactor. In case of EIGHT_SHORT_SEQUENCE and grouping a scalefactor band\n * may contain several scalefactor window bands of corresponding frequency. For\n * all other window_sequences scalefactor bands and scalefactor window bands are\n * identical.\n *******************************************************************************/\nconst SWB_OFFSET_1024_96 = new Uint16Array([\n      0,   4,   8,  12,  16,  20,  24,  28,\n     32,  36,  40,  44,  48,  52,  56,  64,\n     72,  80,  88,  96, 108, 120, 132, 144,\n    156, 172, 188, 212, 240, 276, 320, 384,\n    448, 512, 576, 640, 704, 768, 832, 896,\n    960, 1024\n]);\n\nconst SWB_OFFSET_128_96 = new Uint16Array([\n    0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 92, 128\n]);\n\nconst SWB_OFFSET_1024_64 = new Uint16Array([\n      0,   4,   8,  12,  16,  20,  24,  28,\n     32,  36,  40,  44,  48,  52,  56,  64,\n     72,  80,  88, 100, 112, 124, 140, 156,\n    172, 192, 216, 240, 268, 304, 344, 384,\n    424, 464, 504, 544, 584, 624, 664, 704,\n    744, 784, 824, 864, 904, 944, 984, 1024\n]);\n\nconst SWB_OFFSET_128_64 = new Uint16Array([\n    0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 92, 128\n]);\n\nconst SWB_OFFSET_1024_48 = new Uint16Array([\n      0,   4,   8,  12,  16,  20,  24,  28,\n     32,  36,  40,  48,  56,  64,  72,  80,\n     88,  96, 108, 120, 132, 144, 160, 176,\n    196, 216, 240, 264, 292, 320, 352, 384,\n    416, 448, 480, 512, 544, 576, 608, 640,\n    672, 704, 736, 768, 800, 832, 864, 896,\n    928, 1024\n]);\n\nconst SWB_OFFSET_128_48 = new Uint16Array([\n     0,   4,   8,  12,  16,  20,  28,  36,\n    44,  56,  68,  80,  96, 112, 128\n]);\n\nconst SWB_OFFSET_1024_32 = new Uint16Array([\n      0,   4,   8,  12,  16,  20,  24,  28,\n     32,  36,  40,  48,  56,  64,  72,  80,\n     88,  96, 108, 120, 132, 144, 160, 176,\n    196, 216, 240, 264, 292, 320, 352, 384,\n    416, 448, 480, 512, 544, 576, 608, 640,\n    672, 704, 736, 768, 800, 832, 864, 896,\n    928, 960, 992, 1024\n]);\n\nconst SWB_OFFSET_1024_24 = new Uint16Array([\n      0,   4,   8,  12,  16,  20,  24,  28,\n     32,  36,  40,  44,  52,  60,  68,  76,\n     84,  92, 100, 108, 116, 124, 136, 148,\n    160, 172, 188, 204, 220, 240, 260, 284,\n    308, 336, 364, 396, 432, 468, 508, 552,\n    600, 652, 704, 768, 832, 896, 960, 1024\n]);\n\nconst SWB_OFFSET_128_24 = new Uint16Array([\n     0,   4,   8,  12,  16,  20,  24,  28,\n    36,  44,  52,  64,  76,  92, 108, 128\n]);\n\nconst SWB_OFFSET_1024_16 = new Uint16Array([\n      0,   8,  16,  24,  32,  40,  48,  56,\n     64,  72,  80,  88, 100, 112, 124, 136,\n    148, 160, 172, 184, 196, 212, 228, 244,\n    260, 280, 300, 320, 344, 368, 396, 424,\n    456, 492, 532, 572, 616, 664, 716, 772,\n    832, 896, 960, 1024\n]);\n\nconst SWB_OFFSET_128_16 = new Uint16Array([\n     0,   4,   8,  12,  16,  20,  24,  28,\n    32,  40,  48,  60,  72,  88, 108, 128\n]);\n\nconst SWB_OFFSET_1024_8 = new Uint16Array([\n      0,  12,  24,  36,  48,  60,  72,  84,\n     96, 108, 120, 132, 144, 156, 172, 188,\n    204, 220, 236, 252, 268, 288, 308, 328,\n    348, 372, 396, 420, 448, 476, 508, 544,\n    580, 620, 664, 712, 764, 820, 880, 944,\n    1024\n]);\n\nconst SWB_OFFSET_128_8 = new Uint16Array([\n     0,   4,   8,  12,  16,  20,  24,  28,\n    36,  44,  52,  60,  72,  88, 108, 128\n]);\n\nexports.SWB_OFFSET_1024 = [\n    SWB_OFFSET_1024_96,\n    SWB_OFFSET_1024_96,\n    SWB_OFFSET_1024_64,\n    SWB_OFFSET_1024_48,\n    SWB_OFFSET_1024_48,\n    SWB_OFFSET_1024_32,\n    SWB_OFFSET_1024_24,\n    SWB_OFFSET_1024_24,\n    SWB_OFFSET_1024_16,\n    SWB_OFFSET_1024_16,\n    SWB_OFFSET_1024_16,\n    SWB_OFFSET_1024_8\n];\n\nexports.SWB_OFFSET_128 = [\n    SWB_OFFSET_128_96,\n    SWB_OFFSET_128_96,\n    SWB_OFFSET_128_64,\n    SWB_OFFSET_128_48,\n    SWB_OFFSET_128_48,\n    SWB_OFFSET_128_48,\n    SWB_OFFSET_128_24,\n    SWB_OFFSET_128_24,\n    SWB_OFFSET_128_16,\n    SWB_OFFSET_128_16,\n    SWB_OFFSET_128_16,\n    SWB_OFFSET_128_8\n];\n\nexports.SWB_SHORT_WINDOW_COUNT = new Uint8Array([\n    12, 12, 12, 14, 14, 14, 15, 15, 15, 15, 15, 15\n]);\n\nexports.SWB_LONG_WINDOW_COUNT = new Uint8Array([\n    41, 41, 47, 49, 49, 51, 47, 47, 43, 43, 43, 40\n]);\n\n/*\n * Scalefactor lookup table\n */\nexports.SCALEFACTOR_TABLE = (function() {\n    var table = new Float32Array(428);\n    \n    for (var i = 0; i < 428; i++) {\n        table[i] = Math.pow(2, (i - 200) / 4);\n    }\n    \n    return table;\n})();\n\n\n/**\n * Inverse quantization lookup table\n */\nexports.IQ_TABLE = (function() {\n    var table = new Float32Array(8191),\n        four_thirds = 4/3;\n        \n    for (var i = 0; i < 8191; i++) {\n        table[i] = Math.pow(i, four_thirds);\n    }\n    \n    return table;\n})();\n\nexports.SAMPLE_RATES = new Int32Array([\n    96000, 88200, 64000, 48000, 44100, 32000,\n    24000, 22050, 16000, 12000, 11025, 8000, 7350    \n]);\n",
   34     "/*\n * AAC.js - Advanced Audio Coding decoder in JavaScript\n * Created by Devon Govett\n * Copyright (c) 2012, Official.fm Labs\n *\n * AAC.js is free software; you can redistribute it and/or modify it \n * under the terms of the GNU Lesser General Public License as \n * published by the Free Software Foundation; either version 3 of the \n * License, or (at your option) any later version.\n *\n * AAC.js is distributed in the hope that it will be useful, but WITHOUT \n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General \n * Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http://www.gnu.org/licenses/>.\n */\n    \n// Temporal Noise Shaping\nfunction TNS(config) {\n    this.maxBands = TNS_MAX_BANDS_1024[config.sampleIndex]\n    this.nFilt = new Int32Array(8);\n    this.length = new Array(8);\n    this.direction = new Array(8);\n    this.order = new Array(8);\n    this.coef = new Array(8);\n    \n    // Probably could allocate these as needed\n    for (var w = 0; w < 8; w++) {\n        this.length[w] = new Int32Array(4);\n        this.direction[w] = new Array(4);\n        this.order[w] = new Int32Array(4);\n        this.coef[w] = new Array(4);\n        \n        for (var filt = 0; filt < 4; filt++) {\n            this.coef[w][filt] = new Float32Array(TNS_MAX_ORDER);\n        }\n    }\n    \n    this.lpc = new Float32Array(TNS_MAX_ORDER);\n    this.tmp = new Float32Array(TNS_MAX_ORDER);\n}\n\nconst TNS_MAX_ORDER = 20,\n      SHORT_BITS = [1, 4, 3],\n      LONG_BITS = [2, 6, 5];\n      \nconst TNS_COEF_1_3 = [0.00000000, -0.43388373, 0.64278758, 0.34202015],\n\n      TNS_COEF_0_3 = [0.00000000, -0.43388373, -0.78183150, -0.97492790,\n                      0.98480773, 0.86602539, 0.64278758, 0.34202015],\n                      \n      TNS_COEF_1_4 = [0.00000000, -0.20791170, -0.40673664, -0.58778524,\n                      0.67369562, 0.52643216, 0.36124167, 0.18374951],\n                      \n      TNS_COEF_0_4 = [0.00000000, -0.20791170, -0.40673664, -0.58778524,\n                      -0.74314481, -0.86602539, -0.95105654, -0.99452192,\n                      0.99573416, 0.96182561, 0.89516330, 0.79801720,\n                      0.67369562, 0.52643216, 0.36124167, 0.18374951],\n                      \n      TNS_TABLES = [TNS_COEF_0_3, TNS_COEF_0_4, TNS_COEF_1_3, TNS_COEF_1_4];\n      \nconst TNS_MAX_BANDS_1024 = [31, 31, 34, 40, 42, 51, 46, 46, 42, 42, 42, 39, 39],\n      TNS_MAX_BANDS_128 = [9, 9, 10, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14];\n\nTNS.prototype.decode = function(stream, info) {\n    var windowCount = info.windowCount,\n        bits = info.windowSequence === 2 ? SHORT_BITS : LONG_BITS;\n    \n    for (var w = 0; w < windowCount; w++) {\n        if (this.nFilt[w] = stream.read(bits[0])) {\n            var coefRes = stream.read(1),\n                nFilt_w = this.nFilt[w],\n                length_w = this.length[w],\n                order_w = this.order[w],\n                direction_w = this.direction[w],\n                coef_w = this.coef[w];\n            \n            for (var filt = 0; filt < nFilt_w; filt++) {\n                length_w[filt] = stream.read(bits[1]);\n                \n                if ((order_w[filt] = stream.read(bits[2])) > 20)\n                    throw new Error(\"TNS filter out of range: \" + order_w[filt]);\n                \n                if (order_w[filt]) {\n                    direction_w[filt] = !!stream.read(1);\n                    var coefCompress = stream.read(1),\n                        coefLen = coefRes + 3 - coefCompress,\n                        tmp = 2 * coefCompress + coefRes,\n                        table = TNS_TABLES[tmp],\n                        order_w_filt = order_w[filt],\n                        coef_w_filt = coef_w[filt];\n                        \n                    for (var i = 0; i < order_w_filt; i++)\n                        coef_w_filt[i] = table[stream.read(coefLen)];\n                }\n                    \n            }\n        }\n    }\n};\n\nTNS.prototype.process = function(ics, data, decode) {\n    var mmm = Math.min(this.maxBands, ics.maxSFB),\n        lpc = this.lpc,\n        tmp = this.tmp,\n        info = ics.info,\n        windowCount = info.windowCount;\n        \n    for (var w = 0; w < windowCount; w++) {\n        var bottom = info.swbCount,\n            nFilt_w = this.nFilt[w],\n            length_w = this.length[w],\n            order_w = this.order[w],\n            coef_w = this.coef[w],\n            direction_w = this.direction[w];\n        \n        for (var filt = 0; filt < nFilt_w; filt++) {\n            var top = bottom,\n                bottom = Math.max(0, tmp - length_w[filt]),\n                order = order_w[filt];\n                \n            if (order === 0) continue;\n            \n            // calculate lpc coefficients\n            var autoc = coef_w[filt];\n            for (var i = 0; i < order; i++) {\n                var r = -autoc[i];\n                lpc[i] = r;\n\n                for (var j = 0, len = (i + 1) >> 1; j < len; j++) {\n                    var f = lpc[j],\n                        b = lpc[i - 1 - j];\n\n                    lpc[j] = f + r * b;\n                    lpc[i - 1 - j] = b + r * f;\n                }\n            }\n            \n            var start = info.swbOffsets[Math.min(bottom, mmm)],\n                end = info.swbOffsets[Math.min(top, mmm)],\n                size,\n                inc = 1;\n                \n            if ((size = end - start) <= 0) continue;\n            \n            if (direction_w[filt]) {\n                inc = -1;\n                start = end - 1;\n            }\n            \n            start += w * 128;\n            \n            if (decode) {\n                // ar filter\n                for (var m = 0; m < size; m++, start += inc) {\n                    for (var i = 1; i <= Math.min(m, order); i++) {\n                        data[start] -= data[start - i * inc] * lpc[i - 1];\n                    }\n                }\n            } else {\n                // ma filter\n                for (var m = 0; m < size; m++, start += inc) {\n                    tmp[0] = data[start];\n                    \n                    for (var i = 1; i <= Math.min(m, order); i++)\n                        data[start] += tmp[i] * lpc[i - 1];\n                    \n                    for (var i = order; i > 0; i--)\n                        tmp[i] = tmp[i - 1];\n                }\n            }\n        }\n    }\n};\n    \nmodule.exports = TNS;\n"
   35   ],
   36   "sourceRoot": ""
   37 }