(()=>{var e={},t={};function r(o){var a=t[o];if(void 0!==a)return a.exports;var n=t[o]={exports:{}},s=!0;try{e[o](n,n.exports,r),s=!1}finally{s&&delete t[o]}return n.exports}r.m=e,r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>"static/chunks/"+e+".d30eb661bb8383f9.js",r.miniCssF=e=>{},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.U=function(e){var t=new URL(e,"x:/"),r={};for(var o in t)r[o]=t[o];for(var o in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=()=>e,r)Object.defineProperty(this,o,{enumerable:!0,configurable:!0,value:r[o]})},r.U.prototype=URL.prototype,(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={7804:1};r.f.i=(t,o)=>{e[t]||importScripts(r.tu(r.p+r.u(t)))};var t=self.webpackChunk_N_E=self.webpackChunk_N_E||[],o=t.push.bind(t);t.push=t=>{var[a,n,s]=t;for(var i in n)r.o(n,i)&&(r.m[i]=n[i]);for(s&&s(r);a.length;)e[a.pop()]=1;o(t)}})(),(()=>{"use strict";self.onmessage=async e=>{try{let{samples:t,sampleRate:o,nFft:a,winLength:n,hopLength:s,fMin:i,fMax:p,nMels:l,topDb:c}=e.data,u=await r.e(6065).then(r.bind(r,16065));await u.default();let f=u.mel_spectrogram_db(o,t,a,n,s,i,p,l,c);self.postMessage({type:"result",data:f})}catch(t){let e={type:"error",error:t instanceof Error?t.message:"Unknown error"};self.postMessage(e)}}})(),_N_E={}})();