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KAAMd,WAE/B,OAAOqB,EAA2BP,KAAMkB,IEfhD,MASG,aCPY,SAAmBG,EAAUC,GAC1C,GAA0B,oBAAfA,GAA4C,OAAfA,EACtC,MAAM,IAAI7D,UAAU,sDAGtB4D,EAAS/C,UAAYT,OAAOqC,OAAOoB,GAAcA,EAAWhD,UAAW,CACrE2B,YAAa,CACXE,MAAOkB,EACPhB,UAAU,EACVC,cAAc,KAGdgB,GAAY,EAAeD,EAAUC,G,CDdrCC,EAAiB,G,QAAjBA,G,SAAAA,I,cAAAA,G,+BAAAA,EAAiB,UACrBC,QAAAA,SAAQC,GAIN,OADAzB,KAAK0B,KAAKC,YAAYC,EAAsBH,EAAO,GAAG,MAC/C,GALLF,EASH,CP+BMjC,EOxCuBuC,wBAS1BD,EAAwB,SAACE,GAI7B,IAHA,IAAIC,EAA8BD,EAAOE,OACnCC,EAA+B,IAAIC,WAAWH,GAE7CA,KACLE,EAAiBF,GAAkE,MAA3CI,KAAKC,IAAI,EAAGN,EAAOC,IAG7D,OAAOE,GAGTI,kBAAkB,oBAAqBd,G","sources":["webpack://_N_E/./node_modules/@swc/helpers/src/_class_call_check.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_set_prototype_of.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_construct.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_get_prototype_of.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_wrap_native_super.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_is_native_function.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_possible_constructor_return.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_type_of.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_assert_this_initialized.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_create_super.mjs","webpack://_N_E/./node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs","webpack://_N_E/./src/audioInput/MicInputProcessor.ts","webpack://_N_E/./node_modules/@swc/helpers/src/_inherits.mjs"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function setPrototypeOf(o, p) {\n setPrototypeOf = Object.setPrototypeOf || function setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return setPrototypeOf(o, p);\n}\n\nexport default function _setPrototypeOf(o, p) {\n return setPrototypeOf(o, p);\n}\n","import _setPrototypeOf from \"./_set_prototype_of.mjs\";\n\nfunction isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () { }));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n construct = Reflect.construct;\n } else {\n construct = function construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return construct.apply(null, arguments);\n}\n\nexport default function _construct(Parent, args, Class) {\n return construct.apply(null, arguments);\n}\n","function getPrototypeOf(o) {\n getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return getPrototypeOf(o);\n}\n\nexport default function _getPrototypeOf(o) {\n return getPrototypeOf(o);\n}","import construct from './_construct.mjs';\nimport isNativeFunction from './_is_native_function.mjs';\nimport getPrototypeOf from './_get_prototype_of.mjs';\nimport setPrototypeOf from './_set_prototype_of.mjs';\n\nfunction wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n wrapNativeSuper = function wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n return wrapNativeSuper(Class);\n}\n\nexport default function _wrapNativeSuper(Class) {\n return wrapNativeSuper(Class);\n}\n","export default function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n","import assertThisInitialized from './_assert_this_initialized.mjs';\nimport _typeof from './_type_of.mjs';\n\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}\n","export default function _typeof(obj) {\n \"@swc/helpers - typeof\";\n return obj && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n","import _isNativeReflectConstruct from \"./_is_native_reflect_construct.mjs\";\nimport _getPrototypeOf from \"./_get_prototype_of.mjs\";\nimport _possibleConstructorReturn from './_possible_constructor_return.mjs';\n\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () { }));\n return true;\n } catch (e) {\n return false;\n }\n}","class MicInputProcessor extends AudioWorkletProcessor {\n process(inputs: Float32Array[][]) {\n // get the first channel of the first input since the processor might have multiple inputs and multiple channels for each input.\n // then after converting the data, send it to the AudioWorkletNode that is listening to messages from the processors.\n this.port.postMessage(convertFloat32ToInt16(inputs[0][0]));\n return true;\n }\n}\n\nconst convertFloat32ToInt16 = (buffer: Float32Array): Int16Array => {\n let float32BufferLength: number = buffer.length;\n const int16ArrayBuffer: Int16Array = new Int16Array(float32BufferLength);\n // eslint-disable-next-line no-plusplus\n while (float32BufferLength--) {\n int16ArrayBuffer[float32BufferLength] = Math.min(1, buffer[float32BufferLength]) * 0x7fff;\n }\n\n return int16ArrayBuffer;\n};\n\nregisterProcessor('MicInputProcessor', MicInputProcessor);\nexport default MicInputProcessor;\n","import setPrototypeOf from './_set_prototype_of.mjs';\n\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n"],"names":["_classCallCheck","instance","Constructor","TypeError","setPrototypeOf","o","p","Object","__proto__","_setPrototypeOf","isNativeReflectConstruct","Reflect","construct","sham","Proxy","Date","prototype","toString","call","e","Parent","args","Class","a","push","apply","Function","bind","arguments","_construct","getPrototypeOf","_getPrototypeOf","wrapNativeSuper","_cache","Map","undefined","fn","indexOf","has","get","set","Wrapper","this","constructor","create","value","enumerable","writable","configurable","_possibleConstructorReturn","self","obj","Symbol","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","Boolean","valueOf","_isNativeReflectConstruct","result","Super","NewTarget","subClass","superClass","MicInputProcessor","process","inputs","port","postMessage","convertFloat32ToInt16","AudioWorkletProcessor","buffer","float32BufferLength","length","int16ArrayBuffer","Int16Array","Math","min","registerProcessor"],"sourceRoot":""}