1159cl/lib/icecast-metadata-player-1.17.3.common.min.js

22 lines
7.3 KiB
JavaScript
Raw Normal View History

2024-12-06 23:38:18 +00:00
/*!
* Copyright 2021-2023 Ethan Halsall
* https://github.com/eshaz/icecast-metadata-js
*
* This file is part of icecast-metadata-player.
*
* icecast-metadata-player free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* icecast-metadata-player distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
"use strict";(self.webpackChunkIcecastMetadataPlayer=self.webpackChunkIcecastMetadataPlayer||[]).push([[385],{209:(U,e,t)=>{t.d(e,{A:()=>a});var s=t(178);function a(){const U=Uint8Array,e=Float32Array;a.modules||Object.defineProperties(a,{modules:{value:new WeakMap},setModule:{value(U,e){a.modules.set(U,Promise.resolve(e))}},getModule:{value(U,e){let t=a.modules.get(U);return t||(e?t=WebAssembly.compile((0,s.D4)(e)):(e=U.wasm,t=a.inflateDynEncodeString(e).then((U=>WebAssembly.compile(U)))),a.modules.set(U,t)),t}},concatFloat32:{value(U,t){let s=new e(t),a=0,n=0;for(;a<U.length;)s.set(U[a],n),n+=U[a++].length;return s}},getDecodedAudio:{value:(U,e,t,s,a)=>({errors:U,channelData:e,samplesDecoded:t,sampleRate:s,bitDepth:a})},getDecodedAudioMultiChannel:{value(U,e,t,s,n,r){let i,T,o=[];for(i=0;i<t;i++){const U=[];for(T=0;T<e.length;)U.push(e[T++][i]||[]);o.push(a.concatFloat32(U,s))}return a.getDecodedAudio(U,o,s,n,r)}},inflateDynEncodeString:{value:e=>(e=(0,s.D4)(e),new Promise((t=>{const s=String.raw`dynEncode0114db91da9bu‡*t“““t“““““t““““$#“U¤¤“U¤¤3yƒ†„‰zzss|yu„svu‡yÚ&ˆ“4<054<,5T44^T44<(6U~J(44< ~A544U~6J0444ˆ†545 444J0444‰J,4U“4ˆU“‡…Ò“7U45“4U4Z“4U4U^/6545T4T44BUˆ~64CU~O4U54U~5 U5T4B4Z!4U~5U5U5T4U~6U4ZTU5U5T44~4O4U2ZTU5T44Z!4B6T44Uˆ~64B6U~O44Uˆ~4O4U~54U~5 44~C4~54U~5 44~5454Uˆ4B6Ub!444~UO4U~5 “U5“4U4ZTUŠ#44U$4†64<4~B6^“4<444~Uˆ~B4U~54Uˆ544~544~Uˆ5 µ“Uä#UJUè#5TT4U0ZTTUX5U5T4T4Uà#~4OU4U $~Cˆ4~54U~5 T44$6U\!TTT4UaT4<6T4<64<Z!44~4N4<U~5 4U”Z!4_TUŠ#44U•Uˆ6~B$544$6U\!4Uˆ6U¤#~B44Uä#~B$~64<6_TU‰#444U”~B~6~54<Y!44<_!T4Y!4<64~444~AN44<U~6J4U5 44J4U”[!U#44UŠO4U~54U~5 U54 “7U6844J44J 4UJ4UJ04VK(44<J44<J$4U´~54U~5 4~5!TTT4U$5"U“5TTTTTTT4U$"4VK,U54<(6U~64<$6_!4< 64~6A54A544U~6#J(U’54A4U‡[!44J(44#~A4Uˆ6U“‡UŠU…[!44†64~64_!4<64~54<6T4<4]TU5 T4Y!44~44~AN4U~54U~54U5 44J(44J A!U5U”#UôJU"UÔJUœ#UÔ"JU˜#U´"JT4U´ZTU5T4ZTU5T4UDZTU5T4U$[T44~UO4U~5 4U~U´$.U5T4UP[T4U~4~UO4U~5 U˜#<Uœ#<4U~U2$.UÄUN 44 ~UO4U~5 44!~UO4U~5 4U~4~UO4U~5 44J44J(U5 44~J@44~J<44UD~J844U~J44U$54U$5U‘54U$54U1^4U1^†!4U•~54U~5U”54U~6U4U^/65T4T4U$54U~4BUˆ~4O4U54U~5 UU'464U'_/54UˆU”~5T4T4U~4BUˆ~UO4U54U~5 U54~4~4U~U'$!44~5U5T44\T44U<~$6U\!4U#aT4U~4Uˆ~4O4U~5 U5U5U5TTT4U$"4YTU5 4Uˆ4~C5U5 U5U5444$4~64~\TUŽ5 4U~4Uˆ~5T4Y!44O4U~54U~54U5 4CYTU‹5 4~4~4U~4$6TU54U\!44Bæ4Bä~[!4U~4UD~4U~4Uˆ~4$6TUŒ54U\!44B†4B„~[!44U<~4U4~$5 4U"U˜#$544"†Y!454U^!44<J44<(J454U~84­U”N!#%'+/37?GOWgw‡—·×÷;U”9$%& !"#`;a.getModule(a,s).then((U=>WebAssembly.instantiate(U,{}))).then((({exports:s})=>{const a=new Map(Object.entries(s)),n=a.get("puff"),r=a.get("memory").buffer,i=new U(r),T=new DataView(r);let o=a.get("__heap_base");const l=e.length,u=o;o+=4,T.setInt32(u,l,!0);const c=o;o+=l,i.set(e,c);cons
//# sourceMappingURL=icecast-metadata-player-1.17.3.common.min.js.map