@mooncompany/uplink-chat 0.32.3 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/bin/uplink.js +1 -1
  2. package/middleware/error-handler.js +1 -1
  3. package/package.json +1 -1
  4. package/public/css/{app.bc7e7484.css → app.09572269.css} +14 -13
  5. package/public/css/markdown.css +28 -0
  6. package/public/css/mobile.540efab9.css +610 -0
  7. package/public/css/mobile.css +9 -13
  8. package/public/css/{split-view.4bc23474.css → split-view.4e286356.css} +145 -9
  9. package/public/css/themes.css +687 -19
  10. package/public/dist/bundle.9b202855.js +1 -0
  11. package/public/img/wordmark.svg +2 -16
  12. package/public/index.html +107 -7
  13. package/public/js/agents-data.js +1 -1
  14. package/public/js/agents-ui.js +1 -1
  15. package/public/js/agents.js +1 -1
  16. package/public/js/app.js +1 -1
  17. package/public/js/appearance-settings.js +1 -1
  18. package/public/js/artifacts.js +1 -1
  19. package/public/js/audio-pcm-processor.js +1 -1
  20. package/public/js/audio-queue.js +1 -1
  21. package/public/js/bootstrap.js +1 -1
  22. package/public/js/chat.js +1 -1
  23. package/public/js/commands.js +1 -1
  24. package/public/js/connection-api.js +1 -1
  25. package/public/js/connection.js +1 -1
  26. package/public/js/context-tracker.js +1 -1
  27. package/public/js/core.js +1 -1
  28. package/public/js/cron-panel.js +1 -1
  29. package/public/js/dashboard.js +1 -1
  30. package/public/js/developer.js +1 -1
  31. package/public/js/encryption.js +1 -1
  32. package/public/js/errors.js +1 -1
  33. package/public/js/event-bus.js +1 -1
  34. package/public/js/fetch-utils.js +1 -1
  35. package/public/js/file-handler.js +1 -1
  36. package/public/js/files.js +1 -1
  37. package/public/js/gateway-chat.js +1 -1
  38. package/public/js/logger.js +1 -1
  39. package/public/js/markdown.js +1 -1
  40. package/public/js/message-actions.js +1 -1
  41. package/public/js/message-renderer.js +1 -1
  42. package/public/js/missed-messages.js +1 -1
  43. package/public/js/mobile-debug.js +1 -1
  44. package/public/js/notifications.js +1 -1
  45. package/public/js/offline-queue.js +1 -1
  46. package/public/js/onboarding.js +1 -1
  47. package/public/js/panels.js +1 -1
  48. package/public/js/premium.js +1 -1
  49. package/public/js/primary-header.js +1 -1
  50. package/public/js/realtime-voice.js +1 -1
  51. package/public/js/satellite-sync.js +1 -1
  52. package/public/js/satellite-ui.js +1 -1
  53. package/public/js/satellites.js +1 -1
  54. package/public/js/settings.js +1 -1
  55. package/public/js/shortcuts.js +1 -1
  56. package/public/js/split-chat.js +1 -1
  57. package/public/js/split-resize.js +1 -1
  58. package/public/js/splitview.js +1 -1
  59. package/public/js/storage.js +1 -1
  60. package/public/js/streaming-handler.js +1 -1
  61. package/public/js/stt-settings.js +1 -1
  62. package/public/js/themes.js +1 -1
  63. package/public/js/timestamps.js +1 -1
  64. package/public/js/tts-settings.js +1 -1
  65. package/public/js/ui.js +1 -1
  66. package/public/js/update-notifier.js +1 -1
  67. package/public/js/utils/constants.js +1 -1
  68. package/public/js/utils/icons.js +1 -1
  69. package/public/js/utils/sanitize.js +1 -1
  70. package/public/js/utils/sse-parser.js +1 -1
  71. package/public/js/vad.js +1 -1
  72. package/public/js/vendor/dompurify.min.js +1 -1
  73. package/public/js/voice-settings-v2.js +1 -1
  74. package/public/js/voice.js +1 -1
  75. package/public/sw.js +1 -1
  76. package/server/channel.js +1 -1
  77. package/server/chat.js +1 -1
  78. package/server/config-store.js +1 -1
  79. package/server/config.js +1 -1
  80. package/server/context.js +1 -1
  81. package/server/gateway-api-proxy.js +1 -1
  82. package/server/gateway-commands.js +1 -1
  83. package/server/gateway-proxy.js +1 -1
  84. package/server/index.js +1 -1
  85. package/server/logger.js +1 -1
  86. package/server/message-store.js +1 -1
  87. package/server/middleware/auth.js +1 -1
  88. package/server/middleware.js +1 -1
  89. package/server/openclaw-discover.js +1 -1
  90. package/server/premium/index.js +1 -1
  91. package/server/premium/license.js +1 -1
  92. package/server/realtime/bridge.js +1 -1
  93. package/server/realtime/index.js +1 -1
  94. package/server/realtime/tts-stream.js +1 -1
  95. package/server/routes/agents.js +1 -1
  96. package/server/routes/artifacts.js +1 -1
  97. package/server/routes/chat.js +1 -1
  98. package/server/routes/config-settings.js +1 -1
  99. package/server/routes/config.js +1 -1
  100. package/server/routes/cron.js +1 -1
  101. package/server/routes/files.js +1 -1
  102. package/server/routes/index.js +1 -1
  103. package/server/routes/media.js +1 -1
  104. package/server/routes/missed-messages.js +1 -1
  105. package/server/routes/premium.js +1 -1
  106. package/server/routes/push.js +1 -1
  107. package/server/routes/satellite.js +1 -1
  108. package/server/routes/status.js +1 -1
  109. package/server/routes/stt.js +1 -1
  110. package/server/routes/voice.js +1 -1
  111. package/server/routes/webhooks.js +1 -1
  112. package/server/routes.js +1 -1
  113. package/server/runtime-config.js +1 -1
  114. package/server/share.js +1 -1
  115. package/server/stt/faster-whisper.js +1 -1
  116. package/server/stt/groq.js +1 -1
  117. package/server/stt/index.js +1 -1
  118. package/server/stt/openai.js +1 -1
  119. package/server/sync.js +1 -1
  120. package/server/tailscale-https.js +1 -1
  121. package/server/tts.js +1 -1
  122. package/server/update-checker.js +1 -1
  123. package/server/utils/filename.js +1 -1
  124. package/server/utils.js +1 -1
  125. package/server/watchdog.js +1 -1
  126. package/server/websocket/broadcast.js +1 -1
  127. package/server/websocket/connections.js +1 -1
  128. package/server/websocket/index.js +1 -1
  129. package/server/websocket/routing.js +1 -1
  130. package/server/websocket/sync.js +1 -1
  131. package/server.js +1 -1
  132. package/utils/detect-tool-usage.js +1 -1
  133. package/utils/errors.js +1 -1
  134. package/utils/html-escape.js +1 -1
  135. package/utils/id-sanitize.js +1 -1
  136. package/utils/response.js +1 -1
  137. package/utils/with-retry.js +1 -1
  138. package/public/dist/bundle.493af136.js +0 -1
@@ -1 +1 @@
1
- (function(_0x99897b,_0x5af1b4){function _0x31cde0(_0x550459,_0x4c69f3){return _0x26d7(_0x550459- -0x90,_0x4c69f3);}const _0x124b4c=_0x99897b();function _0x31b4e1(_0x309f49,_0x35a07d){return _0x26d7(_0x35a07d- -0x258,_0x309f49);}while(!![]){try{const _0x58c261=parseInt(_0x31cde0(0xef,0xd6))/(-0x41*-0x65+0x2*0x409+-0x35f*0xa)*(parseInt(_0x31cde0(0x104,0x116))/(-0x644+-0xb*-0x123+-0x63b))+parseInt(_0x31cde0(0x122,0xfd))/(-0x4b*0x5+-0x2591*0x1+0x1*0x270b)+parseInt(_0x31b4e1(-0x8f,-0xb8))/(-0x9c8*-0x2+0x1b78+-0xbc1*0x4)+-parseInt(_0x31b4e1(-0x84,-0xb4))/(-0x2612*-0x1+0xdb*0x27+0x115*-0x42)+parseInt(_0x31cde0(0x136,0x10b))/(0x6*-0x48b+0x23e0+-0x113*0x8)*(parseInt(_0x31cde0(0x13c,0x16e))/(0x1a89+0xf1b+-0x3*0xddf))+parseInt(_0x31b4e1(-0xb6,-0x86))/(-0x25b6+0x1c02+0x9bc)+parseInt(_0x31cde0(0x128,0x10e))/(-0xb*-0xe5+-0x3f*0x26+-0x3a*0x2)*(-parseInt(_0x31cde0(0x108,0x118))/(-0x7f*0x1c+-0x102d+-0x3*-0xa09));if(_0x58c261===_0x5af1b4)break;else _0x124b4c['push'](_0x124b4c['shift']());}catch(_0x4e6cc1){_0x124b4c['push'](_0x124b4c['shift']());}}}(_0x5c2f,0x3*-0x30b52+-0x15c*0x268+-0x2*-0x87ec1));const _0x27273a=(function(){const _0x18bd47={};_0x18bd47[_0x1e7503(0x18,0x45)]=function(_0x1c6f84,_0x71fb79){return _0x1c6f84!==_0x71fb79;};function _0x1e7503(_0x136483,_0x2f7600){return _0x26d7(_0x136483- -0x160,_0x2f7600);}_0x18bd47['NxBpN']=function(_0x114f8c,_0x2a1904){return _0x114f8c===_0x2a1904;};function _0x409c4f(_0x46c8bf,_0xcdfd92){return _0x26d7(_0xcdfd92-0xdf,_0x46c8bf);}_0x18bd47[_0x409c4f(0x2af,0x281)]='iAVdb';const _0x4d29f1=_0x18bd47;let _0x3d3ea3=!![];return function(_0x1c96be,_0x1399f6){function _0x167ca3(_0xafa234,_0x3c13c5){return _0x1e7503(_0xafa234-0x3d1,_0x3c13c5);}function _0x48f890(_0x56dd3b,_0x1dfaa1){return _0x1e7503(_0x1dfaa1-0x3da,_0x56dd3b);}const _0x2895b3={'WMDsO':function(_0x45255b,_0x3ce9b8){function _0x2b8d69(_0x223f2c,_0x535199){return _0x26d7(_0x535199-0x2f4,_0x223f2c);}return _0x4d29f1[_0x2b8d69(0x4a1,0x46c)](_0x45255b,_0x3ce9b8);},'yfFJE':_0x167ca3(0x3ea,0x404)};if(_0x4d29f1['NxBpN'](_0x4d29f1[_0x48f890(0x41b,0x41c)],_0x48f890(0x3ee,0x401))){const _0x185578=_0x3d3ea3?function(){function _0x33bffc(_0x9e6604,_0x22a9d3){return _0x167ca3(_0x22a9d3- -0x167,_0x9e6604);}function _0x3c29ae(_0x963f,_0x8a6e0){return _0x167ca3(_0x963f- -0xc8,_0x8a6e0);}if(_0x2895b3['WMDsO'](_0x2895b3[_0x3c29ae(0x327,0x319)],'TvLBG')){const _0x4706c3={};return _0x4706c3[_0x33bffc(0x2a1,0x27a)]=_0x3c29ae(0x36c,0x388),_0x4706c3;}else{if(_0x1399f6){const _0x328343=_0x1399f6['apply'](_0x1c96be,arguments);return _0x1399f6=null,_0x328343;}}}:function(){};return _0x3d3ea3=![],_0x185578;}else{if(this['buffe'+'r'][_0x167ca3(0x439,0x40d)]()){const _0x218d74=this['parse'+'Line'](this[_0x167ca3(0x3f3,0x3c6)+'r']);return this['buffe'+'r']='',_0x218d74;}return null;}};}()),_0x151465=_0x27273a(this,function(){function _0x4cccf9(_0x36d3e7,_0x530fde){return _0x26d7(_0x530fde-0x81,_0x36d3e7);}const _0x472dea={};_0x472dea['lamow']=_0x4cccf9(0x1ff,0x202)+_0x4cccf9(0x26a,0x24e)+'+$';const _0x3fd4ea=_0x472dea;function _0x209e4f(_0x2a5fbc,_0x2f5532){return _0x26d7(_0x2a5fbc-0x2c7,_0x2f5532);}return _0x151465[_0x4cccf9(0x224,0x245)+_0x4cccf9(0x229,0x231)]()[_0x4cccf9(0x1f8,0x213)+'h'](_0x3fd4ea[_0x4cccf9(0x21f,0x1f2)])[_0x209e4f(0x48b,0x4b5)+'ing']()['const'+_0x4cccf9(0x1f3,0x20a)+'r'](_0x151465)[_0x4cccf9(0x1f5,0x213)+'h'](_0x3fd4ea[_0x4cccf9(0x1c4,0x1f2)]);});function _0x12e747(_0x15dcf8,_0x25ae45){return _0x26d7(_0x25ae45- -0x52,_0x15dcf8);}function _0x5c2f(){const _0x16d799=['GwuKc','1357992HUCBKb','Mbilg','rser:','paylo','ssStr','heLBN','WiKAs','ixMai','aded','arser','type','lamow','Line','start','YmDFO','seLoc','eMyrh','oDopz','vsOWh','TvLBG','IHOHm','le\x20lo','cbmup','Error','yfFJE','1syfIUd','sXETY','(((.+','buffe','pFhSC','reset','raw','fiTWj','iAVdb','failF','ructo','YVtnm','ssChu','const','data','MWGEY','[DONE','sDQtV','Abort','searc','read','1071058xfyPSB','parse','GEhDV','data:','10Iywjbb','okNxn','relea','Yxwqz','WCykv','name','ZNOYj','KOtlv','2398724YQXBxY','body','TlsmO','CNUML','1427905osjoiw','proce','SSEPa','uuNTq','Uplin','onRaw','onDon','qQWRg','aGZdp','ThDfM','AFwVE','cTLGS','ing','XsGQZ','795033IjWxGt','sWith','split','decod','EKvrB','gDkuV','9594216QmQgAt','undef','aGIDu','onDat','rser','flush','XhTgx','eNTRz','eam','push','getRe','done','toStr','cvLfG','6huABVZ','slice','trim','uTLkj','BOlBM','ader','575561diYTDK',')+)+)','OsCri','TaPnf','ined'];_0x5c2f=function(){return _0x16d799;};return _0x5c2f();}_0x151465();function _0x2ed769(_0x20606f,_0x1b2f2a){return _0x26d7(_0x20606f- -0x3a2,_0x1b2f2a);}export class SSEParser{constructor(){function _0x16d4a3(_0x1fcc53,_0x17eb31){return _0x26d7(_0x17eb31-0x9e,_0x1fcc53);}function _0x336c6c(_0x17f24a,_0x3eeaae){return _0x26d7(_0x3eeaae- -0x33b,_0x17f24a);}this[_0x336c6c(-0x1d2,-0x1b9)+'r']='',this[_0x16d4a3(0x22d,0x253)+'er']=new TextDecoder();}[_0x12e747(0x119,0x132)](){this['buffe'+'r']='';}[_0x12e747(0x151,0x153)+'ssChu'+'nk'](_0x250101){function _0x18c83e(_0xd35936,_0x450fd4){return _0x12e747(_0x450fd4,_0xd35936- -0xfb);}const _0x1cbc58={'pFhSC':'Abort'+_0x18c83e(0x30,0x44),'YmDFO':function(_0x74604e){return _0x74604e?.();},'oDopz':function(_0x382781,_0x2ae03f){return _0x382781!==_0x2ae03f;},'wZDms':'MXSbI','eNTRz':'RwUBS','aGZdp':_0x4d1460(0x177,0x1a1),'PELem':_0x18c83e(0x56,0x20)};function _0x4d1460(_0x5b3d93,_0x454b9c){return _0x12e747(_0x454b9c,_0x5b3d93-0x1e);}const _0x5aa3c9=[],_0x1f313c={};_0x1f313c['strea'+'m']=!![],this[_0x4d1460(0x14e,0x140)+'r']+=this[_0x4d1460(0x181,0x15b)+'er']['decod'+'e'](_0x250101,_0x1f313c);const _0x1c661b=this[_0x4d1460(0x14e,0x134)+'r'][_0x4d1460(0x180,0x195)]('\x0a');this[_0x4d1460(0x14e,0x121)+'r']=_0x1c661b['pop']()||'';for(const _0x55e63e of _0x1c661b){if(_0x1cbc58[_0x18c83e(0x2a,0x4b)](_0x1cbc58['wZDms'],_0x1cbc58[_0x18c83e(0x72,0x5c)])){const _0x479394=this[_0x18c83e(0x48,0x56)+_0x18c83e(0x25,0xa)](_0x55e63e);_0x479394!==null&&(_0x1cbc58[_0x4d1460(0x178,0x14b)]===_0x1cbc58['PELem']?_0x1f3564[_0x4d1460(0x166,0x18d)+_0x18c83e(0x28,0x57)+'k']():_0x5aa3c9[_0x4d1460(0x18d,0x195)](_0x479394));}else _0xe5137e['name']===_0x1cbc58[_0x4d1460(0x14f,0x153)]?_0x1cbc58[_0x4d1460(0x140,0x12f)](_0x3ad0dd):_0x4d5e88?.(_0x3d6e15);}return _0x5aa3c9;}['parse'+_0x2ed769(-0x230,-0x20d)](_0x3569fb){function _0x349815(_0x468b6d,_0x3e8b4c){return _0x2ed769(_0x468b6d-0x18f,_0x3e8b4c);}const _0x305820={};_0x305820[_0x349815(-0x5c,-0x6d)]=function(_0x5921dd,_0x2e6592){return _0x5921dd!==_0x2e6592;},_0x305820[_0x6d88c9(-0x100,-0xd4)]=function(_0x5e2e58,_0x372343){return _0x5e2e58!==_0x372343;},_0x305820['EKvrB']=_0x349815(-0x40,-0x3f),_0x305820[_0x6d88c9(-0xfa,-0xe6)]=_0x349815(-0x7c,-0x62)+'\x20',_0x305820[_0x6d88c9(-0xd9,-0xa8)]=function(_0x201928,_0x2da7a6){return _0x201928===_0x2da7a6;},_0x305820[_0x349815(-0x85,-0x78)]=_0x349815(-0x84,-0x62)+']',_0x305820[_0x349815(-0x93,-0x89)]='pHRjO',_0x305820[_0x349815(-0x66,-0x48)]=_0x6d88c9(-0xc7,-0xca),_0x305820[_0x6d88c9(-0x110,-0xf3)]=_0x6d88c9(-0xdb,-0xac);function _0x6d88c9(_0x3b9933,_0x201715){return _0x2ed769(_0x3b9933-0x118,_0x201715);}_0x305820[_0x6d88c9(-0xef,-0xd1)]=_0x349815(-0x74,-0x76),_0x305820['WCykv']=_0x6d88c9(-0xfd,-0xd0);const _0x1510ae=_0x305820;if(!_0x3569fb[_0x6d88c9(-0xc2,-0xaa)]())return null;if(_0x3569fb[_0x6d88c9(-0x117,-0x115)+_0x349815(-0x60,-0x62)](':')){if(_0x1510ae[_0x6d88c9(-0x100,-0x136)]('Mbilg',_0x1510ae[_0x349815(-0x5d,-0x69)])){const _0x468c86=this[_0x6d88c9(-0xf5,-0xdd)+_0x349815(-0xa1,-0x7b)](_0x208a8);rAykZc[_0x349815(-0x5c,-0x59)](_0x468c86,null)&&_0x13bc9d[_0x6d88c9(-0xc9,-0xd0)](_0x468c86);}else return null;}if(!_0x3569fb[_0x349815(-0xa0,-0x76)+_0x349815(-0x60,-0x82)](_0x1510ae['sDQtV']))return null;const _0xe31d57=_0x3569fb[_0x6d88c9(-0xc3,-0xcb)](0x2129+0xea8+-0x2fcb);if(_0x1510ae[_0x6d88c9(-0xd9,-0x10e)](_0xe31d57,_0x1510ae[_0x6d88c9(-0xfc,-0xef)])){if(_0x1510ae['sXETY']!==_0x1510ae[_0x6d88c9(-0x10a,-0x108)])return null;else{const _0x3662c1={};return _0x3662c1[_0x6d88c9(-0x11a,-0x11f)]=_0x1510ae[_0x6d88c9(-0xdd,-0xe8)],_0x3662c1;}}try{if(_0x1510ae['IHOHm']===_0x1510ae[_0x349815(-0x78,-0x91)])return null;else{const _0x511dd6=JSON[_0x349815(-0x7e,-0x84)](_0xe31d57),_0x190b29={};return _0x190b29[_0x349815(-0xa3,-0xc3)]=_0x1510ae[_0x6d88c9(-0xee,-0xc9)],_0x190b29['paylo'+'ad']=_0x511dd6,_0x190b29;}}catch(_0x512b6b){const _0x350af6={};return _0x350af6[_0x6d88c9(-0x11a,-0x12c)]=_0x6d88c9(-0x105,-0xe5),_0x350af6[_0x349815(-0x86,-0x96)]=_0xe31d57,_0x350af6;}}[_0x12e747(0x186,0x16b)](){function _0x59ff62(_0x28b9d4,_0x4e52e3){return _0x12e747(_0x28b9d4,_0x4e52e3-0x3cc);}const _0x483737={};_0x483737['ZNOYj']=function(_0x28a9d5,_0x3cd455){return _0x28a9d5===_0x3cd455;};function _0x16a2fb(_0x1c3431,_0x3dbe14){return _0x12e747(_0x3dbe14,_0x1c3431- -0x308);}_0x483737[_0x59ff62(0x54e,0x534)]=_0x16a2fb(-0x195,-0x1a0);const _0x21fb40=_0x483737;if(this[_0x16a2fb(-0x1d8,-0x1f3)+'r']['trim']()){if(_0x21fb40[_0x16a2fb(-0x1bc,-0x194)](_0x21fb40[_0x16a2fb(-0x1a0,-0x1ba)],_0x16a2fb(-0x1ac,-0x185)))_0x20a2f8?.();else{const _0xc10e9c=this['parse'+_0x16a2fb(-0x1e8,-0x211)](this[_0x59ff62(0x4c8,0x4fc)+'r']);return this[_0x59ff62(0x4ee,0x4fc)+'r']='',_0xc10e9c;}}return null;}}function handleEvent(_0x21663e,_0x577a14){const _0x469a8f={};_0x469a8f[_0x266082(-0xf,0x27)]='raw';function _0x266082(_0x3628ac,_0xa8473d){return _0x12e747(_0xa8473d,_0x3628ac- -0x194);}const _0x1ebe7c=_0x469a8f;function _0x4b9816(_0x329773,_0x1fb9a8){return _0x12e747(_0x1fb9a8,_0x329773-0xac);}switch(_0x21663e[_0x266082(-0x76,-0x5a)]){case'data':_0x577a14['onDat'+'a']?.(_0x21663e[_0x266082(-0x11,-0x2e)+'ad']);break;case _0x266082(-0x23,-0x3a):_0x577a14['onDon'+'e']?.();break;case _0x1ebe7c['heLBN']:_0x577a14['onRaw']?.(_0x21663e[_0x266082(-0x59,-0x8f)]);break;}}export async function processStream(_0x16a940,_0x335c87,_0x2d987c){const _0x272bd5={'uuNTq':_0x16c1d8(0x27c,0x269)+')+)+)'+'+$','GwuKc':function(_0x7670cd,_0x1b2a35,_0x362cf5){return _0x7670cd(_0x1b2a35,_0x362cf5);},'ixMai':function(_0x1ea4ec,_0x31d9d6,_0x58ffe){return _0x1ea4ec(_0x31d9d6,_0x58ffe);},'XhTgx':function(_0x32ffee,_0x240023){return _0x32ffee===_0x240023;},'UsfcG':_0x16c1d8(0x291,0x271),'failF':function(_0x18cce8,_0x5e3086){return _0x18cce8!==_0x5e3086;},'ltdtA':_0x16c1d8(0x281,0x2b4),'uTLkj':_0x2ad419(0x19f,0x192),'OISFa':_0x16c1d8(0x277,0x28b),'OsCri':_0x16c1d8(0x28c,0x26a)+_0x2ad419(0x14d,0x138),'sAcBS':_0x16c1d8(0x271,0x276),'uxzJR':function(_0x487db2){return _0x487db2?.();},'UtgBp':function(_0x11edf8,_0xd63e55){return _0x11edf8?.(_0xd63e55);},'WiKAs':_0x16c1d8(0x2c5,0x2dc)};function _0x2ad419(_0x33a170,_0x1fb046){return _0x12e747(_0x1fb046,_0x33a170-0x22);}const {onData:_0x302fb0,onDone:_0x34a535,onError:_0x50ced5,onRaw:_0xfb36e1}=_0x335c87;function _0x16c1d8(_0x20e1bd,_0x431d7e){return _0x12e747(_0x431d7e,_0x20e1bd-0x14d);}const _0x411ce6=new SSEParser(),_0x5cb0c9=_0x16a940[_0x16c1d8(0x29c,0x296)][_0x16c1d8(0x2bd,0x2e5)+_0x16c1d8(0x2c6,0x2aa)]();try{if(_0x272bd5[_0x2ad419(0x18e,0x19b)]('TaiHa',_0x272bd5['UsfcG']))return _0x46e3b0[_0x2ad419(0x194,0x18b)+_0x16c1d8(0x2ab,0x2d9)]()[_0x16c1d8(0x28d,0x2b4)+'h']('(((.+'+_0x2ad419(0x19d,0x18b)+'+$')[_0x2ad419(0x194,0x1a4)+_0x16c1d8(0x2ab,0x2c6)]()[_0x2ad419(0x15c,0x166)+_0x2ad419(0x159,0x178)+'r'](_0x575955)['searc'+'h'](NxcxmS[_0x2ad419(0x177,0x172)]);else while(!![]){if(_0x2d987c?.['abort'+'ed'])break;const {done:_0x3ad76e,value:_0x17e5a5}=await _0x5cb0c9[_0x2ad419(0x163,0x16c)]();if(_0x3ad76e){const _0x232b40=_0x411ce6[_0x16c1d8(0x2b8,0x2e5)]();if(_0x232b40){if(_0x272bd5[_0x2ad419(0x158,0x147)](_0x272bd5['ltdtA'],_0x272bd5[_0x16c1d8(0x2c4,0x2c7)])){const _0xc9e9c3={};_0xc9e9c3['onDat'+'a']=_0x302fb0,_0xc9e9c3[_0x16c1d8(0x2a5,0x2cf)+'e']=_0x34a535,_0xc9e9c3[_0x2ad419(0x179,0x169)]=_0xfb36e1,handleEvent(_0x232b40,_0xc9e9c3);}else return null;}_0x34a535?.();break;}const _0x1c6335=_0x411ce6[_0x2ad419(0x175,0x162)+_0x2ad419(0x15b,0x15a)+'nk'](_0x17e5a5);for(const _0x595427 of _0x1c6335){const _0x495026={};_0x495026[_0x16c1d8(0x2b6,0x2e3)+'a']=_0x302fb0,_0x495026[_0x16c1d8(0x2a5,0x2b9)+'e']=_0x34a535,_0x495026['onRaw']=_0xfb36e1,_0x272bd5['ixMai'](handleEvent,_0x595427,_0x495026);}}}catch(_0x267035){if(_0x272bd5['OISFa']===_0x2ad419(0x169,0x17d)){const _0x113f2e={};_0x113f2e[_0x16c1d8(0x2b6,0x293)+'a']=_0x36c4cd,_0x113f2e[_0x2ad419(0x17a,0x1ae)+'e']=_0x3cbd73,_0x113f2e['onRaw']=_0x5ac727,_0x272bd5[_0x16c1d8(0x2cc,0x2dc)](_0x210ecc,_0x305f01,_0x113f2e);}else{if(_0x272bd5[_0x16c1d8(0x2b9,0x2d5)](_0x267035[_0x2ad419(0x16d,0x199)],_0x272bd5[_0x16c1d8(0x2c9,0x2dd)])){if(_0x272bd5['failF'](_0x272bd5['sAcBS'],_0x16c1d8(0x271,0x289))){const _0x5be303={};_0x5be303[_0x2ad419(0x18b,0x19c)+'a']=_0x33abc1,_0x5be303[_0x16c1d8(0x2a5,0x27d)+'e']=_0x24427c,_0x5be303[_0x2ad419(0x179,0x1a3)]=_0x527e4a,_0x272bd5[_0x16c1d8(0x2d4,0x300)](_0x566e17,_0x20917e,_0x5be303);}else _0x272bd5['uxzJR'](_0x34a535);}else _0x272bd5['UtgBp'](_0x50ced5,_0x267035);}}finally{_0x272bd5[_0x16c1d8(0x2b9,0x2e6)](_0x272bd5[_0x16c1d8(0x2d3,0x2ab)],_0x272bd5['WiKAs'])?_0x5cb0c9[_0x16c1d8(0x295,0x282)+_0x16c1d8(0x270,0x270)+'k']():this['buffe'+'r']='';}}function _0x26d7(_0x5354f8,_0x5239f0){_0x5354f8=_0x5354f8-(-0xef*-0x28+0x2f4+-0x3*0xcf4);const _0x13b935=_0x5c2f();let _0x2f8aa1=_0x13b935[_0x5354f8];return _0x2f8aa1;}const _0x2fc36f={};_0x2fc36f[_0x2ed769(-0x1fc,-0x22e)+_0x12e747(0x14e,0x16a)]=SSEParser,_0x2fc36f[_0x12e747(0x12b,0x153)+_0x2ed769(-0x1cc,-0x19c)+_0x2ed769(-0x1e2,-0x208)]=processStream;export const UplinkSSEParser=_0x2fc36f;window[_0x12e747(0x163,0x156)+'kSSEP'+_0x2ed769(-0x1c7,-0x1df)]=UplinkSSEParser;typeof logger!==_0x12e747(0x184,0x167)+_0x2ed769(-0x1d2,-0x1fd)&&logger['debug'](_0x12e747(0x165,0x154)+_0x2ed769(-0x1ce,-0x1cd)+'\x20Modu'+_0x12e747(0x123,0x129)+_0x2ed769(-0x1c8,-0x1e6));
1
+ (function(_0x3fe766,_0x423c10){function _0x48bed6(_0x1fc764,_0x36cff1){return _0x5aac(_0x36cff1-0x99,_0x1fc764);}function _0x22d071(_0xe8b008,_0x3dafae){return _0x5aac(_0x3dafae- -0x216,_0xe8b008);}const _0x4f7cd2=_0x3fe766();while(!![]){try{const _0x21c7c0=-parseInt(_0x48bed6(0x1a5,0x1bb))/(0x1626+-0x22*0x22+0x11a1*-0x1)*(-parseInt(_0x22d071(-0x11a,-0x128))/(-0x1*-0x1401+-0x25*0xfb+0x1048))+parseInt(_0x22d071(-0x111,-0x127))/(-0xfec+0x533+-0xe5*-0xc)+-parseInt(_0x48bed6(0x1d5,0x1d2))/(-0x228c+0x2*-0x49c+0x2bc8)+parseInt(_0x22d071(-0x10f,-0xe4))/(-0xb2b*0x1+0x183+0x9ad)*(-parseInt(_0x22d071(-0xdc,-0xf8))/(0x1*0xf9+-0x1ecb+0x5*0x5f8))+parseInt(_0x48bed6(0x1d1,0x1c7))/(-0x20d8*0x1+0xd37+0x13a8)+-parseInt(_0x48bed6(0x191,0x1a1))/(0x805*-0x2+-0x56*-0x35+-0x3*0x94)*(-parseInt(_0x22d071(-0xc3,-0xce))/(0x2*-0x617+0x3dd*0x3+0x2*0x50))+-parseInt(_0x22d071(-0x137,-0x110))/(-0x2457+-0x3*-0x9f3+0x2*0x344);if(_0x21c7c0===_0x423c10)break;else _0x4f7cd2['push'](_0x4f7cd2['shift']());}catch(_0x5a984a){_0x4f7cd2['push'](_0x4f7cd2['shift']());}}}(_0x3451,0x4ec3*0x6+-0x2ba11+0x49fbc));const _0x13cea3=(function(){const _0x208f12={};_0x208f12[_0x2c4fc1(-0x195,-0x1b8)]=function(_0x45edff,_0x23d4c8){return _0x45edff!==_0x23d4c8;};function _0x98b150(_0x39beb0,_0x4b47a9){return _0x5aac(_0x39beb0-0x186,_0x4b47a9);}_0x208f12['FBjLE']=_0x98b150(0x276,0x249);function _0x2c4fc1(_0xa0c48c,_0x41c21d){return _0x5aac(_0x41c21d- -0x2f3,_0xa0c48c);}_0x208f12['Rotsi']=_0x98b150(0x282,0x284);const _0x56306e=_0x208f12;let _0x517658=!![];return function(_0x522563,_0x192a03){function _0x56b01d(_0x44bfa9,_0x397d0b){return _0x2c4fc1(_0x44bfa9,_0x397d0b-0xc3);}function _0x539712(_0x5a17aa,_0x3ceeb8){return _0x2c4fc1(_0x3ceeb8,_0x5a17aa-0x7c);}if(_0x56306e[_0x56b01d(-0x118,-0xf5)](_0x56306e[_0x56b01d(-0x102,-0x11b)],_0x56306e[_0x56b01d(-0xc1,-0xe9)])){const _0x4e57ca=_0x517658?function(){function _0x13dae9(_0x542297,_0x5b1343){return _0x539712(_0x542297-0x4e5,_0x5b1343);}if(_0x192a03){const _0x1f16de=_0x192a03[_0x13dae9(0x360,0x359)](_0x522563,arguments);return _0x192a03=null,_0x1f16de;}}:function(){};return _0x517658=![],_0x4e57ca;}else _0x8f3b91?.();};}()),_0x2668f7=_0x13cea3(this,function(){function _0x4ffc58(_0x4e6079,_0x1f10ed){return _0x5aac(_0x1f10ed-0x167,_0x4e6079);}const _0x159fe3={};_0x159fe3[_0x4ffc58(0x286,0x271)]=_0x4ffc58(0x29a,0x27d)+_0x28155d(0x42,0x61)+'+$';function _0x28155d(_0x23cf05,_0x1d0be0){return _0x5aac(_0x23cf05- -0xb2,_0x1d0be0);}const _0x25a43a=_0x159fe3;return _0x2668f7[_0x4ffc58(0x29b,0x291)+_0x28155d(0x98,0x92)]()[_0x4ffc58(0x258,0x27a)+'h'](_0x28155d(0x64,0x84)+_0x4ffc58(0x262,0x25b)+'+$')[_0x4ffc58(0x28e,0x291)+_0x28155d(0x98,0x91)]()[_0x28155d(0x8b,0x75)+'ructo'+'r'](_0x2668f7)[_0x28155d(0x61,0x87)+'h'](_0x25a43a['eZSwv']);});_0x2668f7();export class SSEParser{constructor(){function _0x52ee0c(_0xc19224,_0x221c7c){return _0x5aac(_0xc19224- -0xe6,_0x221c7c);}this['buffe'+'r']='',this[_0x52ee0c(0x4e,0x6a)+'er']=new TextDecoder();}[_0x12e8a1(0x433,0x456)](){function _0x559932(_0x2e8a0d,_0x4c32c5){return _0x12e8a1(_0x4c32c5- -0x3e7,_0x2e8a0d);}this[_0x559932(0x13,0xf)+'r']='';}['proce'+'ssChu'+'nk'](_0x381fba){const _0x22236b={};_0x22236b[_0x48bc9d(0x359,0x36a)]=function(_0x13cbd3,_0x4becbc){return _0x13cbd3!==_0x4becbc;},_0x22236b[_0x48bc9d(0x380,0x376)]=_0x48bc9d(0x351,0x32e);const _0x28a9cf=_0x22236b,_0x43e872=[],_0x259331={};function _0x48bc9d(_0xc91dee,_0x3c3f01){return _0x12e8a1(_0x3c3f01- -0xce,_0xc91dee);}_0x259331[_0x48bc9d(0x32f,0x343)+'m']=!![],this[_0x569c07(0x291,0x260)+'r']+=this[_0x569c07(0x2d2,0x2cc)+'er'][_0x569c07(0x2d2,0x2ff)+'e'](_0x381fba,_0x259331);const _0x5aa430=this[_0x48bc9d(0x2f9,0x328)+'r']['split']('\x0a');this[_0x48bc9d(0x32f,0x328)+'r']=_0x5aa430[_0x48bc9d(0x33b,0x334)]()||'';for(const _0x166387 of _0x5aa430){const _0x2f22ee=this[_0x48bc9d(0x33b,0x342)+'Line'](_0x166387);if(_0x28a9cf[_0x569c07(0x2d3,0x2f5)](_0x2f22ee,null)){if(_0x28a9cf[_0x569c07(0x2d3,0x2eb)](_0x28a9cf[_0x48bc9d(0x34d,0x376)],_0x48bc9d(0x326,0x32e))){const _0xe024d7=this[_0x569c07(0x2ab,0x2da)+_0x48bc9d(0x34e,0x354)](_0x121eb2);_0x28a9cf[_0x48bc9d(0x356,0x36a)](_0xe024d7,null)&&_0x3cb093[_0x48bc9d(0x328,0x351)](_0xe024d7);}else _0x43e872[_0x48bc9d(0x36a,0x351)](_0x2f22ee);}}function _0x569c07(_0x20d314,_0x4242e2){return _0x12e8a1(_0x20d314- -0x165,_0x4242e2);}return _0x43e872;}[_0x12e8a1(0x410,0x403)+_0x12e8a1(0x422,0x447)](_0x35944e){const _0x224d8d={};_0x224d8d['XRQxh']=function(_0x931d5a,_0x536504){return _0x931d5a!==_0x536504;};function _0x4b6d14(_0x3a2bc0,_0x4afca2){return _0x327bf8(_0x3a2bc0,_0x4afca2-0x2f0);}_0x224d8d[_0x4b6d14(0x2b8,0x2b4)]=_0x24811e(-0x4f,-0x39),_0x224d8d[_0x24811e(-0x57,-0x29)]='data:'+'\x20',_0x224d8d[_0x24811e(-0x31,-0x25)]='[DONE'+']',_0x224d8d[_0x24811e(-0x47,-0x71)]=_0x4b6d14(0x2e8,0x2da),_0x224d8d[_0x4b6d14(0x329,0x30a)]='FrkYH';function _0x24811e(_0x1ea001,_0x116e6d){return _0x327bf8(_0x116e6d,_0x1ea001- -0x36);}_0x224d8d[_0x4b6d14(0x308,0x2f1)]='tQMDp',_0x224d8d[_0x24811e(-0x52,-0x75)]=function(_0x2c8c17,_0x62e02f){return _0x2c8c17!==_0x62e02f;},_0x224d8d[_0x4b6d14(0x2e2,0x2e3)]='NEUfR',_0x224d8d[_0x24811e(-0x3d,-0x49)]=_0x24811e(-0x26,-0x3e);const _0x15f7e8=_0x224d8d;if(!_0x35944e[_0x4b6d14(0x2b1,0x2b3)]())return null;if(_0x35944e['start'+_0x24811e(-0x13,-0x25)](':')){if(_0x15f7e8[_0x4b6d14(0x2e1,0x2e8)]('VTYcl',_0x15f7e8[_0x24811e(-0x72,-0xa3)])){const _0x52d862=this[_0x24811e(-0x51,-0x53)+_0x4b6d14(0x301,0x2e7)](this['buffe'+'r']);return this[_0x4b6d14(0x2e5,0x2bb)+'r']='',_0x52d862;}else return null;}if(!_0x35944e[_0x24811e(-0x20,-0x3)+'sWith'](_0x15f7e8[_0x4b6d14(0x2c7,0x2cf)]))return null;const _0x504f68=_0x35944e[_0x24811e(-0x5d,-0x62)](-0x1823*0x1+-0x53a*-0x3+0x87b);if(_0x504f68===_0x15f7e8[_0x24811e(-0x31,-0x1a)]){const _0x5a123b={};return _0x5a123b[_0x24811e(-0x6d,-0x92)]=_0x15f7e8[_0x24811e(-0x47,-0x17)],_0x5a123b;}try{if(_0x15f7e8[_0x4b6d14(0x308,0x30a)]===_0x15f7e8[_0x24811e(-0x35,-0x4)]){const _0x343db3={};_0x343db3[_0x4b6d14(0x336,0x304)+'a']=_0x51a7ec,_0x343db3[_0x4b6d14(0x304,0x2d9)+'e']=_0x12fb7a,_0x343db3[_0x24811e(-0x5c,-0x65)]=_0x57765b,_0x14649f(_0x849e1d,_0x343db3);}else{const _0x3b7bf8=JSON[_0x24811e(-0x51,-0x39)](_0x504f68),_0x26785a={};return _0x26785a[_0x4b6d14(0x2d5,0x2b9)]=_0x24811e(-0x64,-0x6f),_0x26785a[_0x24811e(-0x37,-0x8)+'ad']=_0x3b7bf8,_0x26785a;}}catch(_0x44991c){if(_0x15f7e8['TyyMF'](_0x15f7e8['LFKqz'],_0x15f7e8[_0x4b6d14(0x2de,0x2e9)])){const _0x4be478={};return _0x4be478['type']='raw',_0x4be478[_0x24811e(-0x64,-0x3e)]=_0x504f68,_0x4be478;}else{if(this[_0x24811e(-0x6b,-0x94)+'r'][_0x24811e(-0x73,-0x83)]()){const _0x2ce3b0=this['parse'+_0x24811e(-0x3f,-0x1a)](this[_0x4b6d14(0x2e2,0x2bb)+'r']);return this['buffe'+'r']='',_0x2ce3b0;}return null;}}}[_0x12e8a1(0x448,0x46c)](){if(this[_0x27f9c3(-0x1e0,-0x1b3)+'r']['trim']()){const _0x593766=this[_0x27f9c3(-0x1c6,-0x1e3)+_0x1952f5(0x1f8,0x1d4)](this[_0x27f9c3(-0x1e0,-0x207)+'r']);return this[_0x1952f5(0x1b8,0x1a8)+'r']='',_0x593766;}function _0x27f9c3(_0xf689c2,_0x25c866){return _0x12e8a1(_0xf689c2- -0x5d6,_0x25c866);}function _0x1952f5(_0xdea32c,_0x1bff7c){return _0x12e8a1(_0x1bff7c- -0x24e,_0xdea32c);}return null;}}function handleEvent(_0x288b05,_0x1c3f26){function _0x56fed0(_0x2beac3,_0x177709){return _0x12e8a1(_0x2beac3-0xbd,_0x177709);}const _0x145fbf={};_0x145fbf[_0x56fed0(0x4e5,0x4ea)]=_0x56fed0(0x4ba,0x4e5);const _0x42403d=_0x145fbf;function _0x508dd5(_0x193848,_0x5ebc5c){return _0x12e8a1(_0x193848- -0xd3,_0x5ebc5c);}switch(_0x288b05[_0x508dd5(0x321,0x349)]){case _0x42403d[_0x508dd5(0x355,0x335)]:_0x1c3f26[_0x56fed0(0x4fc,0x508)+'a']?.(_0x288b05[_0x508dd5(0x357,0x36f)+'ad']);break;case _0x508dd5(0x342,0x359):_0x1c3f26[_0x508dd5(0x341,0x363)+'e']?.();break;case _0x56fed0(0x4f3,0x4c2):_0x1c3f26['onRaw']?.(_0x288b05[_0x508dd5(0x32a,0x34c)]);break;}}export async function processStream(_0x5a848c,_0x51db42,_0x311e4c){const _0x4369d1={'utroo':function(_0x51d0f5,_0x30c03a){return _0x51d0f5?.(_0x30c03a);},'cYxsb':_0x53303f(0x23a,0x226)+_0x53303f(0x1c3,0x1cf),'LISlY':function(_0x19c67d){return _0x19c67d?.();},'tBiLQ':function(_0x3a5ffb,_0x22cc1f){return _0x3a5ffb?.(_0x22cc1f);},'yYsSh':_0x53303f(0x1d0,0x1f0)+_0x2fae25(-0x236,-0x22b)+'+$','CqerN':function(_0x43ed38,_0x553d38){return _0x43ed38===_0x553d38;},'bSNzk':_0x53303f(0x225,0x21a),'GXnsE':'DdUGi','TSrwI':'BLGKG','YRyDW':function(_0x238272,_0x50a1d1){return _0x238272!==_0x50a1d1;},'wxtZn':_0x2fae25(-0x23b,-0x227),'OGrAg':_0x53303f(0x1ee,0x1d7),'OWdEJ':'rnard','RBxAQ':function(_0x251d8f,_0x160b7e,_0x203359){return _0x251d8f(_0x160b7e,_0x203359);},'YSxMu':function(_0x591e9b,_0x43b792){return _0x591e9b===_0x43b792;},'bGRXb':_0x53303f(0x22e,0x209),'gQpni':_0x53303f(0x223,0x214),'SgkyH':function(_0x3fd063,_0x1ec67b,_0x37b480){return _0x3fd063(_0x1ec67b,_0x37b480);},'ONHBr':_0x53303f(0x1f5,0x210),'lQTLb':_0x2fae25(-0x1d8,-0x1dc)};function _0x53303f(_0x49d267,_0x13de0b){return _0x12e8a1(_0x13de0b- -0x229,_0x49d267);}const {onData:_0x45b5db,onDone:_0x5769a0,onError:_0x2d3cac,onRaw:_0x496177}=_0x51db42;function _0x2fae25(_0x449cd1,_0x11caa9){return _0x12e8a1(_0x11caa9- -0x622,_0x449cd1);}const _0xbf077b=new SSEParser(),_0x3bc05d=_0x5a848c['body'][_0x2fae25(-0x1ea,-0x1f3)+_0x2fae25(-0x1dd,-0x1d6)]();try{if(_0x4369d1[_0x53303f(0x1ec,0x202)](_0x4369d1[_0x53303f(0x1dc,0x20b)],_0x4369d1[_0x53303f(0x227,0x20b)]))while(!![]){if(_0x4369d1[_0x2fae25(-0x1fd,-0x202)]===_0x4369d1[_0x2fae25(-0x1e4,-0x20f)])_0x4369d1['utroo'](_0x25feae,_0x3dab38);else{if(_0x311e4c?.['abort'+'ed'])break;const {done:_0x4f2f21,value:_0xac0df}=await _0x3bc05d['read']();if(_0x4f2f21){if(_0x4369d1['YRyDW'](_0x4369d1[_0x2fae25(-0x229,-0x206)],_0x4369d1[_0x53303f(0x222,0x1fd)])){const _0x4beea8=_0xbf077b[_0x2fae25(-0x1da,-0x1da)]();if(_0x4beea8){if(_0x4369d1[_0x2fae25(-0x257,-0x232)]==='rnard'){const _0xf1260e={};_0xf1260e[_0x2fae25(-0x211,-0x1e3)+'a']=_0x45b5db,_0xf1260e['onDon'+'e']=_0x5769a0,_0xf1260e[_0x53303f(0x1e2,0x1dc)]=_0x496177,_0x4369d1[_0x2fae25(-0x1d9,-0x207)](handleEvent,_0x4beea8,_0xf1260e);}else return null;}_0x4369d1[_0x2fae25(-0x21e,-0x228)](_0x5769a0);break;}else _0x104a96['name']===_0x4369d1[_0x2fae25(-0x222,-0x205)]?_0x4369d1[_0x2fae25(-0x226,-0x228)](_0x540cd2):_0x4369d1[_0x53303f(0x212,0x205)](_0x11eeb2,_0x24fddd);}const _0x5fc0a1=_0xbf077b[_0x2fae25(-0x1d0,-0x1e8)+_0x53303f(0x1de,0x1dd)+'nk'](_0xac0df);for(const _0x26951d of _0x5fc0a1){if(_0x4369d1[_0x2fae25(-0x22d,-0x21f)](_0x4369d1[_0x53303f(0x205,0x1ee)],_0x4369d1['gQpni']))return _0x305c12[_0x53303f(0x21c,0x204)+'ing']()[_0x53303f(0x210,0x1ed)+'h'](bwUigk['yYsSh'])[_0x53303f(0x1d7,0x204)+'ing']()[_0x53303f(0x23a,0x217)+_0x53303f(0x212,0x1e3)+'r'](_0x14e8d1)[_0x2fae25(-0x1da,-0x20c)+'h'](_0x2fae25(-0x1e5,-0x209)+_0x2fae25(-0x25d,-0x22b)+'+$');else{const _0x5eed36={};_0x5eed36[_0x53303f(0x1e6,0x216)+'a']=_0x45b5db,_0x5eed36[_0x53303f(0x1ea,0x1eb)+'e']=_0x5769a0,_0x5eed36[_0x53303f(0x1c4,0x1dc)]=_0x496177,_0x4369d1[_0x53303f(0x1c4,0x1d0)](handleEvent,_0x26951d,_0x5eed36);}}}}else _0x3f5fe7[_0x2fae25(-0x1dc,-0x203)](_0x10f2b0);}catch(_0x168fda){if(_0x4369d1['YRyDW'](_0x4369d1['ONHBr'],_0x4369d1[_0x2fae25(-0x1bc,-0x1e0)]))_0x4369d1[_0x53303f(0x21b,0x202)](_0x168fda[_0x2fae25(-0x239,-0x224)],_0x4369d1[_0x53303f(0x1f1,0x1f4)])?_0x4369d1[_0x53303f(0x1c5,0x1d1)](_0x5769a0):_0x4369d1['utroo'](_0x2d3cac,_0x168fda);else{const _0x3f0a78={};return _0x3f0a78[_0x53303f(0x1c8,0x1cb)]='done',_0x3f0a78;}}finally{_0x3bc05d['relea'+_0x2fae25(-0x1c9,-0x1d9)+'k']();}}function _0x3451(){const _0x442a67=['LFKqz','push','GXnsE','6YWogyT','Line','XRQxh','HBItr','73611VwFInn','OGrAg','undef','FbMpi','SSEPa','paylo','CqerN','mrtSp','toStr','tBiLQ','getRe','ZWVaL','722575hxEkMq','oTcvb','reset','bSNzk','1186985wNbreC','raw','decod','Prnlf','aHbug','proce','GhlIE','837008CrZpPO','Owocs','KXyTZ','onDat','const','start','lQTLb','twLGc','OQWRk','kiVGZ','rjYTw','le\x20lo','flush','seLoc','Rotsi','9jILARt','ader','ing','sWith','Abort','ined','trim','xfimE','OWdEJ','2UweVGy','507306PoqOxv','GbgFe','type','apply','buffe',')+)+)','Error','SgkyH','LISlY','UfhiX','pDVuT','data','name','FAHQm','DbTwN','Uplin','pop','YSxMu','slice','onRaw','ssChu','arser','rser:','609480nsKxHH','uzHiL','3255744awJEYL','ructo','eZSwv','rser','TyyMF','parse','strea','VTYcl','TSrwI','onDon','done','searc','bGRXb','FBjLE','(((.+','DWPPi','RBxAQ','wxtZn','cYxsb'];_0x3451=function(){return _0x442a67;};return _0x3451();}const _0x29e869={};_0x29e869['SSEPa'+_0x327bf8(-0x48,-0x1d)]=SSEParser,_0x29e869[_0x327bf8(0x30,0xf)+'ssStr'+'eam']=processStream;function _0x12e8a1(_0x37dbf6,_0x4307b5){return _0x5aac(_0x37dbf6-0x303,_0x4307b5);}export const UplinkSSEParser=_0x29e869;function _0x327bf8(_0xff502e,_0x5ce427){return _0x5aac(_0x5ce427- -0x128,_0xff502e);}function _0x5aac(_0x38ab2c,_0x599575){_0x38ab2c=_0x38ab2c-(-0x7*0x30b+0x1272+0x1e3*0x2);const _0x4acd59=_0x3451();let _0x3795c9=_0x4acd59[_0x38ab2c];return _0x3795c9;}window[_0x12e8a1(0x401,0x40f)+'kSSEP'+_0x12e8a1(0x407,0x3fa)]=UplinkSSEParser;typeof logger!==_0x327bf8(0x2d,-0x4)+_0x12e8a1(0x450,0x46d)&&logger['debug'](_0x327bf8(-0xf,-0x2)+_0x12e8a1(0x408,0x42c)+'\x20Modu'+_0x327bf8(-0x11,0x1c)+'aded');
package/public/js/vad.js CHANGED
@@ -1 +1 @@
1
- (function(_0x12383e,_0x4c532b){function _0x4c67bc(_0x5963ce,_0x340427){return _0x4901(_0x340427- -0x29a,_0x5963ce);}const _0x1cddd7=_0x12383e();function _0x8a1009(_0x1edc47,_0x2b8957){return _0x4901(_0x1edc47-0x2e5,_0x2b8957);}while(!![]){try{const _0x5abdd7=-parseInt(_0x4c67bc(-0x98,-0xba))/(-0x2*-0xb1d+-0x6b*-0x59+-0x1*0x3b6c)+parseInt(_0x8a1009(0x4c8,0x4c4))/(0x26b*0xa+0x1761+-0x2f8d)*(parseInt(_0x8a1009(0x508,0x4f2))/(0x5b1+0x2*-0xc4d+0x12ec))+-parseInt(_0x4c67bc(-0xca,-0x96))/(0x370+-0x60*0x5d+0xa7c*0x3)*(-parseInt(_0x4c67bc(-0xa6,-0x87))/(0x1ba+0x1649+-0x17fe*0x1))+parseInt(_0x8a1009(0x4d4,0x4ec))/(-0x1*0x2065+-0x1*-0xee5+0x1186)+-parseInt(_0x4c67bc(-0x7d,-0x6a))/(0xef0*0x1+-0x2d1*0xd+0x15b4)+-parseInt(_0x8a1009(0x525,0x53c))/(0xd*0x53+0x1*0x5c9+0x4fc*-0x2)*(parseInt(_0x8a1009(0x4d9,0x4e1))/(0x10f3*-0x1+-0x1487+0x369*0xb))+-parseInt(_0x4c67bc(-0x61,-0x63))/(0x95d+0xc37*-0x1+0x25*0x14);if(_0x5abdd7===_0x4c532b)break;else _0x1cddd7['push'](_0x1cddd7['shift']());}catch(_0x270a8a){_0x1cddd7['push'](_0x1cddd7['shift']());}}}(_0x1f27,0x6abe8+0x1b7*0xd+-0xab3));const _0x5c7e23=(function(){let _0x201426=!![];return function(_0x1e8a09,_0x3b2def){const _0x48396f=_0x201426?function(){if(_0x3b2def){const _0x1b570a=_0x3b2def['apply'](_0x1e8a09,arguments);return _0x3b2def=null,_0x1b570a;}}:function(){};return _0x201426=![],_0x48396f;};}()),_0x28e4bc=_0x5c7e23(this,function(){const _0x4f8826={};_0x4f8826[_0x1cd1dc(-0x1c2,-0x198)]='(((.+'+')+)+)'+'+$';function _0x2679aa(_0x1e5948,_0x12c99e){return _0x4901(_0x12c99e- -0x3cc,_0x1e5948);}function _0x1cd1dc(_0x33e0fb,_0x47723b){return _0x4901(_0x47723b- -0x376,_0x33e0fb);}const _0x37279f=_0x4f8826;return _0x28e4bc[_0x2679aa(-0x1bf,-0x1a6)+_0x1cd1dc(-0x170,-0x173)]()[_0x1cd1dc(-0x16f,-0x13b)+'h'](_0x37279f[_0x1cd1dc(-0x180,-0x198)])['toStr'+'ing']()['const'+'ructo'+'r'](_0x28e4bc)[_0x1cd1dc(-0x144,-0x13b)+'h'](_0x37279f[_0x1cd1dc(-0x1bc,-0x198)]);});_0x28e4bc();import{UplinkLogger}from'./logger.js';function _0x4901(_0x17020c,_0x31fae6){_0x17020c=_0x17020c-(-0x2*0x2fa+-0x3*-0x5c9+0xbc*-0xd);const _0x1ee544=_0x1f27();let _0x4f7c9c=_0x1ee544[_0x17020c];return _0x4f7c9c;}function _0x1f27(){const _0x2a7bfa=['min','sqrt','SFPHd','rted','ixyqW','FrOqL','puwQS','getFl','zxkDB','CGFoE','ceil','532691efpXWF','eAnal','FWTBh','188ywVhxd','debug','RGiVR','trail','encyB','pOipP','BWfGN','YSwpD','conne','sAsMq','xqbBl','Speec','3450762VsZUvZ','quenc','speec','KzIIo','GLMhA','9hSpaQU','aStre','creat','stop','IYQjY','wSqKp','lwjnb','amSou','floor','h\x20end','split','fftSi','oatTi','hstOD','now','ing','2764hIDqwt','LmtFN','(((.+','WwSdV','sCYsz','ufLVZ','getBy','Start','silen','|0|2|','CteRk','otVmj','eMedi','eRate','zSkTW','5535vhayNa','HaRSx','mLezS','meDom','lhkCM','nnect','IbYZP','lengt','zuTqp','VVxBL','ructo','h\x20sta','inCou','teFre','LusRL','disco','18237knLPCW','nstan','VXOPC','toStr','MfoHx','ainDa','JorTx','INLMX','jXZLu','ueauk','NfnId','CkdgU','5|4|3','2154677HnUkqg',')+)+)','buSNW','NmLND','mCBhN','imeCo','qCTfh','127590alWHXH','XUDhz','SPhiD','oKuun','searc','YpoQV','cEMQP','wKFKn','const','4944296iKnZCq','NGgaM','Stopp','VAD:\x20'];_0x1f27=function(){return _0x2a7bfa;};return _0x1f27();}const STATE_SILENCE=_0x1e0ac4(0x481,0x472)+'ce',STATE_SPEECH=_0x5503c3(-0x1db,-0x1bd)+'h',STATE_TRAILING=_0x5503c3(-0x200,-0x1c8)+_0x1e0ac4(0x455,0x469),FFT_SIZE=0x2254+0x3d*0x34+-0x2cb8,POLL_INTERVAL_MS=0x92*-0x29+0x1*-0x2389+-0x1*-0x3b1d,RMS_SPEECH_THRESHOLD=0x54e*-0x4+0x1*-0x1d3+-0x15b*-0x11+0.015,RMS_SILENCE_THRESHOLD=-0x3*0x113+-0x1e5+0x51e+0.008,SPEECH_FREQ_LOW=0xad*0x24+-0x1*-0x20cf+0x1*-0x38ce,SPEECH_FREQ_HIGH=-0x1741+0x15e4+-0x503*-0x3,SPEECH_BAND_RATIO=-0x29*0x38+0x264+0x34a*0x2+0.35;function _0x5503c3(_0x24e9fe,_0x5e3c09){return _0x4901(_0x5e3c09- -0x3ae,_0x24e9fe);}function _0x1e0ac4(_0x4b6c06,_0x2569cf){return _0x4901(_0x2569cf-0x266,_0x4b6c06);}const SPEECH_CONFIRM_MS=-0x18d1*-0x1+0x32*0x1d+-0x1*0x1de5,SILENCE_CONFIRM_MS=0xd*-0x101+-0x1*-0x24a9+0x2e*-0x72,TRAILING_MAX_MS=0xd*-0x2ed+-0x4eb*-0x4+-0x1*-0x1a2d;export function createVAD({audioContext:_0x13141d,stream:_0x3b18e1,onSpeechStart:_0x2ef7e1,onSpeechEnd:_0x3e9811,onVolumeChange:_0x250e08}){const _0x2e807b={'CkdgU':function(_0x26b63e,_0x354320){return _0x26b63e!==_0x354320;},'CvoST':_0x1b38e3(0x4b6,0x491),'rUEnF':_0x3d3111(0x295,0x2ab),'RGiVR':function(_0x5c767b,_0x30596b){return _0x5c767b<_0x30596b;},'wKFKn':function(_0x3b9838,_0x2df341){return _0x3b9838*_0x2df341;},'pOipP':function(_0x7fbeb1,_0x1fd181){return _0x7fbeb1/_0x1fd181;},'IYQjY':function(_0xcbc313){return _0xcbc313();},'mCBhN':function(_0x228999,_0x48747c){return _0x228999<=_0x48747c;},'buSNW':function(_0x39170d,_0x399c2b){return _0x39170d<_0x399c2b;},'LusRL':_0x3d3111(0x271,0x29d),'XUDhz':function(_0x227b82,_0x271fe4){return _0x227b82===_0x271fe4;},'MgcDs':'VXOPC','zSkTW':function(_0x1d29eb,_0x27159a){return _0x1d29eb>_0x27159a;},'xqbBl':_0x3d3111(0x266,0x287)+_0x3d3111(0x2d7,0x2b2)+'+$','lwjnb':function(_0x59e32b){return _0x59e32b();},'LmtFN':function(_0x21807d,_0x8ce833){return _0x21807d>_0x8ce833;},'BWfGN':function(_0x528975,_0x2eea98){return _0x528975>=_0x2eea98;},'SFPHd':function(_0x48594a,_0x3a3bf7){return _0x48594a!==_0x3a3bf7;},'sAsMq':_0x3d3111(0x2ec,0x2c4)+_0x3d3111(0x299,0x26f)+_0x1b38e3(0x4bb,0x4a8)+'rted','sCYsz':_0x1b38e3(0x4be,0x4b1),'YSwpD':function(_0xe8868a,_0x18ca5a){return _0xe8868a!==_0x18ca5a;},'wSqKp':_0x1b38e3(0x4b2,0x498),'IbYZP':function(_0x278d9d,_0x41eeb5){return _0x278d9d>=_0x41eeb5;},'UoHzi':function(_0x37ae6f,_0x1fbd99){return _0x37ae6f-_0x1fbd99;},'YpoQV':function(_0x4c20a4,_0x38dbf8){return _0x4c20a4-_0x38dbf8;},'oKuun':_0x3d3111(0x2b2,0x2c2),'GArvS':function(_0x4e3c0a){return _0x4e3c0a();},'qCTfh':_0x1b38e3(0x4c5,0x4b9)+_0x3d3111(0x2bc,0x28e)+'1','ufLVZ':_0x3d3111(0x2c8,0x2c4)+_0x1b38e3(0x4b1,0x495)+'ed','KzIIo':function(_0x214c10,_0xe05152){return _0x214c10<_0xe05152;},'OvHgy':function(_0x2790ce,_0x5c7190){return _0x2790ce>=_0x5c7190;},'JorTx':function(_0x43c7d8,_0x43d1b8){return _0x43c7d8>_0x43d1b8;},'puwQS':function(_0x11d440,_0x4ea00e){return _0x11d440/_0x4ea00e;},'zuTqp':'SomCF','NfnId':function(_0x3df617,_0x1705fe){return _0x3df617(_0x1705fe);},'lhkCM':function(_0x418b4a,_0x44e304){return _0x418b4a!==_0x44e304;},'HaRSx':_0x1b38e3(0x472,0x48b),'zxkDB':_0x3d3111(0x2d6,0x2c4)+_0x3d3111(0x2b9,0x2c3)+'ed','cEMQP':function(_0x4734cd,_0x198258){return _0x4734cd(_0x198258);},'NmLND':_0x3d3111(0x2b1,0x2c9),'jXZLu':'pueXh','otVmj':function(_0xa1e247,_0x1ba89c){return _0xa1e247===_0x1ba89c;}},_0xcfde16=_0x13141d[_0x3d3111(0x240,0x277)+_0x3d3111(0x257,0x262)+'yser']();_0xcfde16[_0x3d3111(0x2ac,0x280)+'ze']=FFT_SIZE,_0xcfde16['smoot'+'hingT'+_0x3d3111(0x2df,0x2b6)+_0x3d3111(0x2a5,0x2a5)+'t']=0x1d7f+-0xf15+-0xcd*0x12+0.3;const _0x558b3b=_0x13141d[_0x1b38e3(0x49b,0x480)+_0x1b38e3(0x4bb,0x49a)+_0x3d3111(0x2a7,0x276)+_0x1b38e3(0x45a,0x485)+'rce'](_0x3b18e1);_0x558b3b[_0x1b38e3(0x449,0x475)+'ct'](_0xcfde16);const _0x4c746f=_0xcfde16['frequ'+_0x1b38e3(0x467,0x471)+_0x1b38e3(0x485,0x4a9)+'nt'],_0x5b9895=new Uint8Array(_0x4c746f);function _0x1b38e3(_0x483fca,_0x3be5c1){return _0x1e0ac4(_0x483fca,_0x3be5c1-0x24);}const _0x5d0c7f=new Float32Array(_0xcfde16[_0x3d3111(0x29a,0x280)+'ze']);function _0x3d3111(_0x3927c3,_0x238e0c){return _0x1e0ac4(_0x3927c3,_0x238e0c- -0x1e5);}const _0x254bf5=_0x2e807b[_0x1b38e3(0x431,0x465)](_0x13141d['sampl'+_0x1b38e3(0x4a6,0x49b)],_0xcfde16[_0x1b38e3(0x486,0x489)+'ze']),_0x1396b4=Math[_0x3d3111(0x264,0x27d)](_0x2e807b[_0x3d3111(0x227,0x25c)](SPEECH_FREQ_LOW,_0x254bf5)),_0x2fe072=Math[_0x3d3111(0x299,0x2c5)](Math[_0x1b38e3(0x48d,0x469)](SPEECH_FREQ_HIGH/_0x254bf5),_0x4c746f-(0x5cc+0x2*-0xf9+-0x3d9));let _0x7c0756=STATE_SILENCE,_0x501cb2=-0xf9c+-0x720*-0x4+-0xce4*0x1,_0x1684d9=null,_0x453ee3=![];function _0x575867(){function _0xde796c(_0x575e8e,_0x2a11e9){return _0x1b38e3(_0x575e8e,_0x2a11e9- -0x6b);}function _0x5261fb(_0x43eb8f,_0x355795){return _0x1b38e3(_0x43eb8f,_0x355795-0x10);}if(_0x2e807b[_0x5261fb(0x4f1,0x4c8)](_0x2e807b['CvoST'],_0x2e807b['rUEnF'])){_0xcfde16['getFl'+_0xde796c(0x40e,0x41f)+'meDom'+_0xde796c(0x456,0x447)+'ta'](_0x5d0c7f);let _0x377a07=-0x4*0x6d+-0x1160+0x1314;for(let _0x4ea745=0x1a91*0x1+0x12f*0x17+-0x35ca;_0x2e807b[_0x5261fb(0x464,0x47f)](_0x4ea745,_0x5d0c7f['lengt'+'h']);_0x4ea745++){_0x377a07+=_0x2e807b[_0xde796c(0x46a,0x45d)](_0x5d0c7f[_0x4ea745],_0x5d0c7f[_0x4ea745]);}return Math[_0x5261fb(0x4e0,0x4df)](_0x2e807b[_0xde796c(0x3e3,0x407)](_0x377a07,_0x5d0c7f[_0xde796c(0x462,0x439)+'h']));}else return _0x3b79e9;}function _0x1fbbe8(){function _0x38a93e(_0x1d3f1a,_0x1d2b1d){return _0x1b38e3(_0x1d3f1a,_0x1d2b1d- -0x2b1);}const _0x1fe4ee={'wabDU':function(_0x51004a,_0x2cba87){return _0x51004a>=_0x2cba87;},'ltJoT':function(_0x586177,_0x1d8929){return _0x2e807b['mCBhN'](_0x586177,_0x1d8929);}};_0xcfde16[_0x401240(0x338,0x362)+_0x401240(0x38d,0x378)+_0x401240(0x31b,0x348)+'yData'](_0x5b9895);let _0x14525f=0xb*-0xb2+-0x3b3+0xb59,_0x3919ca=0x3a2+-0x16a5+0x9d*0x1f;for(let _0xcc1f60=0x7f*0x1f+0x14b8+-0x2419;_0x2e807b['buSNW'](_0xcc1f60,_0x4c746f);_0xcc1f60++){if(_0x2e807b[_0x38a93e(0x21e,0x207)](_0x2e807b[_0x38a93e(0x22a,0x1fa)],_0x401240(0x356,0x374))){const _0x12d7d5=_0x3991f0[_0x3e9450];_0x4efa9d+=_0x12d7d5,_0x1fe4ee['wabDU'](_0x16f88e,_0x2db881)&&_0x1fe4ee['ltJoT'](_0x30fb41,_0x26ec4c)&&(_0x31a341+=_0x12d7d5);}else{const _0x2fb508=_0x5b9895[_0xcc1f60];_0x3919ca+=_0x2fb508;if(_0xcc1f60>=_0x1396b4&&_0xcc1f60<=_0x2fe072){if(_0x2e807b['XUDhz'](_0x2e807b['MgcDs'],_0x401240(0x3a5,0x37d)))_0x14525f+=_0x2fb508;else{_0x29ee46=_0x112692,_0x374e00=-0x1e8e+0x11f*0x1a+-0x5a*-0x4;if(_0x385d62)_0x2e807b[_0x38a93e(0x1ab,0x1d1)](_0x4e7dc3);}}}}function _0x401240(_0x22e129,_0x9d2981){return _0x1b38e3(_0x22e129,_0x9d2981- -0x132);}return _0x2e807b[_0x401240(0x39f,0x36a)](_0x3919ca,-0x1*-0xe30+0x12a0*-0x1+0x2*0x238)?_0x14525f/_0x3919ca:0x22c*0xe+-0x119d+0x5*-0x28f;}function _0x25a38f(){if(!_0x453ee3)return;function _0x55c614(_0x202c6f,_0x1dab87){return _0x3d3111(_0x1dab87,_0x202c6f-0x2fe);}const _0x140edc=Date[_0x55c614(0x581,0x5ac)](),_0x4072cb=_0x2e807b['IYQjY'](_0x575867),_0x5acdb8=_0x1fbbe8();function _0x598856(_0x3ad88c,_0x571f2e){return _0x3d3111(_0x571f2e,_0x3ad88c-0x11c);}const _0x474352=_0x2e807b[_0x55c614(0x584,0x579)](_0x4072cb,RMS_SPEECH_THRESHOLD)&&_0x2e807b[_0x55c614(0x584,0x5a5)](_0x5acdb8,SPEECH_BAND_RATIO),_0x167d75=_0x2e807b[_0x598856(0x3cf,0x3ab)](_0x4072cb,RMS_SILENCE_THRESHOLD);if(_0x250e08)_0x250e08(_0x4072cb);switch(_0x7c0756){case STATE_SILENCE:if(_0x474352){if(_0x2e807b[_0x55c614(0x5b7,0x5e0)](_0x501cb2,-0x53*0x2c+-0x43*-0x29+0x389*0x1))_0x501cb2=_0x140edc;if(_0x2e807b[_0x598856(0x386,0x3ae)](_0x140edc-_0x501cb2,SPEECH_CONFIRM_MS)){if(_0x2e807b['SFPHd'](_0x598856(0x37f,0x364),'FWTBh'))_0x48c30d+=_0x2e807b[_0x55c614(0x5bd,0x590)](_0x2dd993[_0x58812c],_0x68bfa1[_0xc49395]);else{_0x7c0756=STATE_SPEECH,_0x501cb2=0x49*0x1+0x310+-0x1*0x359,UplinkLogger[_0x598856(0x381,0x3af)](_0x2e807b[_0x55c614(0x56b,0x54c)]);if(_0x2ef7e1)_0x2e807b[_0x598856(0x397,0x39b)](_0x2ef7e1);}}}else{if(_0x2e807b[_0x55c614(0x5c5,0x597)](_0x2e807b[_0x55c614(0x587,0x5b5)],_0x598856(0x3c4,0x3db)))return _0x373a2a[_0x598856(0x3c3,0x3d2)+_0x598856(0x3a0,0x39b)]()[_0x598856(0x3d8,0x401)+'h'](bMmmmu[_0x598856(0x38a,0x365)])['toStr'+_0x55c614(0x582,0x54d)]()[_0x598856(0x3dc,0x3aa)+_0x55c614(0x59c,0x56e)+'r'](_0x50bb2c)[_0x55c614(0x5ba,0x5a6)+'h'](bMmmmu['xqbBl']);else _0x501cb2=0x1fc5*-0x1+0x3e9+-0x1bdc*-0x1;}break;case STATE_SPEECH:_0x167d75&&(_0x7c0756=STATE_TRAILING,_0x501cb2=_0x140edc);break;case STATE_TRAILING:if(_0x474352){if(_0x2e807b[_0x598856(0x387,0x39e)](_0x2e807b[_0x598856(0x396,0x378)],_0x2e807b['wSqKp'])){_0x37791e=_0x1214de,_0x28f106=-0x3f5*0x4+-0x15fe+0x25d2,_0x121c63['debug'](_0x55c614(0x5c2,0x5ea)+_0x598856(0x38b,0x362)+_0x55c614(0x59d,0x58c)+_0x598856(0x3e4,0x3c2));if(_0x2b31bb)_0x2e807b[_0x55c614(0x579,0x575)](_0x1bc2b1);}else _0x7c0756=STATE_SPEECH,_0x501cb2=-0x23b6+-0x58f*-0x7+-0x333;}else{if(_0x2e807b[_0x598856(0x3b6,0x391)](_0x2e807b['UoHzi'](_0x140edc,_0x501cb2),SILENCE_CONFIRM_MS)||_0x2e807b[_0x598856(0x386,0x35e)](_0x2e807b[_0x598856(0x3d9,0x3c9)](_0x140edc,_0x501cb2),TRAILING_MAX_MS)){if(_0x2e807b[_0x55c614(0x569,0x54e)](_0x2e807b['oKuun'],_0x2e807b[_0x598856(0x3d7,0x3d8)]))_0x307fc5[_0x55c614(0x5a1,0x598)+_0x55c614(0x597,0x5ac)]();else{_0x7c0756=STATE_SILENCE,_0x501cb2=0x35f*-0xb+-0xbbd+0x30d2,UplinkLogger[_0x55c614(0x563,0x533)](_0x55c614(0x5c2,0x5f0)+_0x598856(0x38b,0x368)+_0x598856(0x39a,0x3c4)+'ed');if(_0x3e9811)_0x2e807b['GArvS'](_0x3e9811);}}}break;}}return{'start'(){function _0x2fb727(_0x3caf68,_0x31641d){return _0x1b38e3(_0x3caf68,_0x31641d- -0x309);}const _0x446e45=_0x2e807b[_0x2fb727(0x183,0x1b7)][_0x2a8666(0x45,0x35)]('|');let _0x4d3692=-0x18*0x3e+0x1*-0x1627+0x1bf7;function _0x2a8666(_0x5edd33,_0x27bb86){return _0x1b38e3(_0x5edd33,_0x27bb86- -0x453);}while(!![]){switch(_0x446e45[_0x4d3692++]){case'0':_0x501cb2=-0x18cb+0x6*-0x13b+0x202d*0x1;continue;case'1':UplinkLogger['debug'](_0x2e807b[_0x2fb727(0x188,0x18a)]);continue;case'2':_0x1684d9=setInterval(_0x25a38f,POLL_INTERVAL_MS);continue;case'3':_0x7c0756=STATE_SILENCE;continue;case'4':_0x453ee3=!![];continue;case'5':if(_0x453ee3)return;continue;}break;}},'stop'(){_0x453ee3=![];function _0x45505e(_0x13b84e,_0x440286){return _0x3d3111(_0x13b84e,_0x440286- -0x59);}function _0x129037(_0x568e82,_0x4d9746){return _0x3d3111(_0x568e82,_0x4d9746- -0x310);}if(_0x1684d9){if(_0x2e807b[_0x129037(-0x67,-0x49)]('rHwQw',_0x2e807b[_0x129037(-0x87,-0x74)]))_0x2e807b[_0x129037(-0x38,-0x62)](clearInterval,_0x1684d9),_0x1684d9=null;else{_0x4bc73e[_0x129037(-0x6d,-0x85)+_0x129037(-0x87,-0x6f)+'quenc'+'yData'](_0x5ae795);let _0x1a5f53=0x5*-0x493+-0x41e*-0x6+-0x1d5,_0x5d093c=-0x1468+0xba7+0x2eb*0x3;for(let _0x209cb5=0xd*-0x13b+0x1ea5+0xa*-0x177;_0x2e807b[_0x129037(-0x7f,-0x9d)](_0x209cb5,_0x1b953f);_0x209cb5++){const _0x543038=_0x38b8f5[_0x209cb5];_0x5d093c+=_0x543038,_0x2e807b['OvHgy'](_0x209cb5,_0x37b38b)&&_0x2e807b[_0x45505e(0x272,0x25c)](_0x209cb5,_0x171528)&&(_0x1a5f53+=_0x543038);}return _0x2e807b[_0x45505e(0x25e,0x251)](_0x5d093c,-0x897*0x3+0x1*-0x1e9e+0x3863)?_0x2e807b[_0x129037(-0xb0,-0xb4)](_0x1a5f53,_0x5d093c):0xa55+0x3*0x7c6+-0x21a7;}}if(_0x7c0756===STATE_SPEECH||_0x2e807b['XUDhz'](_0x7c0756,STATE_TRAILING)){if(_0x2e807b[_0x45505e(0x216,0x23f)](_0x2e807b[_0x45505e(0x248,0x23c)],_0x129037(-0x25,-0x46))){_0x7c0756=STATE_SILENCE,_0x501cb2=0x16da+-0x15*-0x12b+-0x1*0x2f61;if(_0x3e9811)_0x3e9811();}else _0x56d71a=_0x48d8c2,_0x34ae7b=_0x365672;}UplinkLogger[_0x45505e(0x231,0x20c)](_0x2e807b[_0x129037(-0xc4,-0xb2)]);},'destroy'(){function _0x13f0a0(_0x1af0e0,_0x88797d){return _0x1b38e3(_0x1af0e0,_0x88797d-0x13);}const _0x587783={'QGGEW':function(_0x1d4998,_0x7f5295){return _0x1d4998<_0x7f5295;},'ueauk':function(_0x3d64e6,_0x4b6eb4){function _0x3ce46a(_0xe67955,_0x29409c){return _0x4901(_0xe67955- -0x344,_0x29409c);}return _0x2e807b[_0x3ce46a(-0x106,-0x12d)](_0x3d64e6,_0x4b6eb4);},'mLezS':function(_0x32aa5e,_0x4f459e){return _0x2e807b['pOipP'](_0x32aa5e,_0x4f459e);}};function _0x4c8190(_0x22e068,_0x4e2a78){return _0x1b38e3(_0x4e2a78,_0x22e068- -0x5d3);}if('dLcKv'!==_0x13f0a0(0x4b8,0x490)){this[_0x13f0a0(0x46c,0x494)]();try{_0x2e807b[_0x4c8190(-0x116,-0x133)]===_0x2e807b[_0x13f0a0(0x4e3,0x4d0)]?_0x558b3b[_0x13f0a0(0x4bf,0x4bf)+_0x4c8190(-0x131,-0x15e)]():_0x14e7e9[_0x4c8190(-0x127,-0x12b)+_0x4c8190(-0x131,-0x152)]();}catch(_0x57c8aa){}try{_0x2e807b['lhkCM'](_0x2e807b[_0x13f0a0(0x4d8,0x4c8)],_0x4c8190(-0x110,-0xef))?_0xcfde16['disco'+_0x4c8190(-0x131,-0x15b)]():(_0x2e807b[_0x13f0a0(0x4c3,0x4da)](_0x3a3353,_0x3c7384),_0x722291=null);}catch(_0x43675c){}}else{_0x3ff8dd[_0x4c8190(-0x16d,-0x188)+_0x13f0a0(0x47e,0x49d)+_0x4c8190(-0x133,-0x16a)+'ainDa'+'ta'](_0x2e5797);let _0x5bf5b6=0x84e+-0x1*0x173f+0xef1;for(let _0x3538c2=-0x1b1*-0x1+0x1*-0x373+0x1c2;doevrJ['QGGEW'](_0x3538c2,_0x32bcdc[_0x4c8190(-0x12f,-0x109)+'h']);_0x3538c2++){_0x5bf5b6+=doevrJ[_0x13f0a0(0x4e8,0x4c9)](_0x40833d[_0x3538c2],_0x4a1838[_0x3538c2]);}return _0x4eee3c[_0x4c8190(-0x104,-0x110)](doevrJ[_0x13f0a0(0x4a9,0x4b2)](_0x5bf5b6,_0x168c53[_0x4c8190(-0x12f,-0x137)+'h']));}},'isSpeaking'(){function _0x1e8b06(_0x441abd,_0x2400a7){return _0x3d3111(_0x441abd,_0x2400a7-0x1a1);}return _0x7c0756===STATE_SPEECH||_0x2e807b[_0x1e8b06(0x403,0x431)](_0x7c0756,STATE_TRAILING);},'getState'(){return _0x7c0756;}};}
1
+ (function(_0x271227,_0x1eeeb6){function _0x137e9a(_0x4c366b,_0x2ef2c8){return _0x4192(_0x2ef2c8- -0x3d5,_0x4c366b);}const _0x1339a0=_0x271227();function _0x9730d4(_0x477990,_0xb28d7){return _0x4192(_0xb28d7-0x293,_0x477990);}while(!![]){try{const _0x48ce2b=-parseInt(_0x9730d4(0x421,0x45e))/(-0x3*-0x215+0xc9*-0x9+0xd3*0x1)+parseInt(_0x9730d4(0x409,0x423))/(0x2113+-0x1bad*0x1+-0x564)+parseInt(_0x9730d4(0x3de,0x3d7))/(-0x17d9+0x1420+0x4*0xef)+-parseInt(_0x137e9a(-0x2a0,-0x25b))/(-0x2441+0x479+0x1fcc)+-parseInt(_0x137e9a(-0x1de,-0x21b))/(-0x2*0xb06+-0x71*-0x2f+-0xa9*-0x2)*(-parseInt(_0x137e9a(-0x290,-0x296))/(-0x2325+0x3b7*-0x5+0x35be))+-parseInt(_0x9730d4(0x41a,0x41f))/(0x2703+0x1d03+0x43ff*-0x1)*(-parseInt(_0x137e9a(-0x240,-0x21a))/(0x5*-0x58a+-0x1422+0x2fdc))+-parseInt(_0x137e9a(-0x2a9,-0x28c))/(-0x2c5+0x206f*0x1+-0x1da1);if(_0x48ce2b===_0x1eeeb6)break;else _0x1339a0['push'](_0x1339a0['shift']());}catch(_0x2f7bd6){_0x1339a0['push'](_0x1339a0['shift']());}}}(_0x5cb3,0x63576+0x197c7+-0x33158));function _0x566ec8(_0x2b79d5,_0x281777){return _0x4192(_0x281777- -0x29f,_0x2b79d5);}const _0x44f672=(function(){const _0x320d05={};_0x320d05[_0x1f2783(-0xd5,-0x108)]=_0x528644(-0x162,-0x1aa),_0x320d05['gNvoA']=function(_0x451cd5,_0x3e7b3a){return _0x451cd5!==_0x3e7b3a;},_0x320d05[_0x528644(-0x23a,-0x21d)]=_0x1f2783(-0x100,-0x13b),_0x320d05[_0x528644(-0x24f,-0x213)]=_0x1f2783(-0x106,-0x135),_0x320d05[_0x1f2783(-0xff,-0x133)]=_0x1f2783(-0xcd,-0x111);const _0x3ee48b=_0x320d05;function _0x528644(_0x5a2403,_0x4e9e41){return _0x4192(_0x4e9e41- -0x373,_0x5a2403);}function _0x1f2783(_0x632a6e,_0x4fda41){return _0x4192(_0x632a6e- -0x27c,_0x4fda41);}let _0x2b8ed8=!![];return function(_0x235f12,_0x4b489b){function _0x3e33a6(_0x2963b4,_0x58ea32){return _0x528644(_0x2963b4,_0x58ea32-0x4da);}function _0xc939fe(_0x5c1ade,_0x121fa2){return _0x528644(_0x121fa2,_0x5c1ade-0x362);}if(_0x3ee48b[_0x3e33a6(0x2da,0x2e4)]!==_0xc939fe(0x19e,0x15c))_0x2fb919[_0x3e33a6(0x29a,0x2a7)+_0xc939fe(0x167,0x1ae)]();else{const _0x20052e=_0x2b8ed8?function(){function _0x21e445(_0x2a1905,_0xcbcacb){return _0xc939fe(_0x2a1905- -0x148,_0xcbcacb);}function _0xe3f87b(_0x3e9b94,_0x43f397){return _0xc939fe(_0x3e9b94- -0x21e,_0x43f397);}if(_0x3ee48b[_0x21e445(0x4e,0x78)]!==_0x3ee48b[_0xe3f87b(-0x88,-0x4d)])_0xf34b83=_0x45dc52,_0x5b1049=0x1203+-0x164f+0x44c,_0x4dab70=_0x2157ab;else{if(_0x4b489b){if(_0x3ee48b['gNvoA'](_0x3ee48b['Omfla'],_0x3ee48b[_0xe3f87b(-0xcf,-0x104)])){const _0x2c3ed0=_0x4b489b[_0xe3f87b(-0x84,-0x58)](_0x235f12,arguments);return _0x4b489b=null,_0x2c3ed0;}else{_0x426b85=_0x447be3,_0x58478c=-0x1911+-0x1e4e+0x375f;if(_0x506d33)_0x48cc4d();}}}}:function(){};return _0x2b8ed8=![],_0x20052e;}};}()),_0xd18694=_0x44f672(this,function(){const _0x96c58e={};_0x96c58e[_0x2c8fd0(0xa3,0xea)]='(((.+'+_0xa185c0(-0x10c,-0xe2)+'+$';function _0xa185c0(_0x418f85,_0x4ee7bc){return _0x4192(_0x418f85- -0x2c8,_0x4ee7bc);}function _0x2c8fd0(_0x2ae990,_0x1ab081){return _0x4192(_0x2ae990- -0xc1,_0x1ab081);}const _0x5a1b69=_0x96c58e;return _0xd18694[_0x2c8fd0(0xe4,0xe3)+_0x2c8fd0(0xf2,0x11b)]()[_0xa185c0(-0x144,-0x103)+'h'](_0x5a1b69['RazJI'])[_0xa185c0(-0x123,-0x143)+_0xa185c0(-0x115,-0xef)]()['const'+_0x2c8fd0(0xd2,0x102)+'r'](_0xd18694)[_0xa185c0(-0x144,-0x16b)+'h'](_0x5a1b69[_0xa185c0(-0x164,-0x11d)]);});_0xd18694();import{UplinkLogger}from'./logger.js';const STATE_SILENCE=_0x566ec8(-0x155,-0x138)+'ce',STATE_SPEECH='speec'+'h',STATE_TRAILING=_0x563756(0x2fb,0x309)+_0x566ec8(-0x125,-0xec),FFT_SIZE=-0x26ff+-0xa18+0x3317*0x1,POLL_INTERVAL_MS=-0xaa9+0x239f+-0x18c4,RMS_SPEECH_THRESHOLD=0x1*0xaa2+-0x10da+-0xc7*-0x8+0.028,RMS_SILENCE_THRESHOLD=0x2*-0x7b1+0xd7b*0x2+-0xb94+0.015,SPEECH_FREQ_LOW=0x1295*0x1+0x424+0x1*-0x1664,SPEECH_FREQ_HIGH=-0x3d*-0x3d+-0x1*-0xb17+-0xbf4,SPEECH_BAND_RATIO=-0x7*0x3c1+-0x7a6+-0x3*-0xb4f+0.35,SPEECH_CONFIRM_MS=0x14cb+0x1*-0x26d1+0x1300,SILENCE_CONFIRM_MS=0x222c+0x11a6+-0xfb6*0x3,TRAILING_MAX_MS=0x239f+0x154c+0x1*-0x2f27;function _0x563756(_0x3d3f21,_0xcd5756){return _0x4192(_0xcd5756-0x168,_0x3d3f21);}function _0x5cb3(){const _0x42a7ea=['JTRRm','dzPCC','eMedi','PHeEh','azfcC','YauOP','AzKDs','RazJI','WJWzl','speec','silen','oJyRH','bimYd','TtONi','JZxEZ','BThYm','cywvo','encyB','Stopp','pinWp','ceil','nstan','|3|2|','rqBNb','6|5|3','PElGW','ms\x20ac','nnect','sampl','2201864vseJQP','conne','FilYD','czzmB','yqMMK','kJQKc','uUwUs','imeCo','DgsLq','lengt','searc','GwnlI','rded\x20','yData','inCou','oatTi','aStre','ssVhu','14nDKdNe','eRate','fftSi','TnvLy','847098KKabpT','kkxSV','min','ructo','creat','kHlTr','zbWQd','nLSWn','Xyhth','now','short','KimTw','YgbJe','rce','split','h\x20sta','SIheX','trail','tsQMq','ch\x20(','Start','toStr','VlXJk','uxzmP','heYtB','dTmcQ','zweKa','apply','GAfNR','h\x20end','WtHDA','UqmYb','quenc','getBy','\x20spee','ing','QmTaZ','IWDGc','qkSNI','sqrt','Mccsn','xOUBG','5vgWfXA','1677608Cvoutr',')+)+)','cMNwQ','0|2','jkIkr','QRJWQ','Speec','rted','WOsWP','DpWOE','GhQRF','VAD:\x20','4|6','KuodC','tgbLw','tive\x20','111863KaRisS','0|4|5','smoot','NKjZf','ed\x20(','JepRr','PTRvs','290418YIQAfL','disco','Disca','NTsaA','CIUUq','1497084VVuZsG','yVoCo','debug','Qtaem','FEiMq','3834000RLJeGj','rLNkB','TglHl','ViUri','ehOmA','ms)','rUKXy','ZSzEy','3|1|0','hingT','VoqmJ','NNjvF','hReCJ','Omfla','amSou','getFl','teFre','Winmj','OnCBv','JTRPC'];_0x5cb3=function(){return _0x42a7ea;};return _0x5cb3();}const MIN_SPEECH_DURATION_MS=-0xed5+-0x107a+0x1*0x226f;function _0x4192(_0x2c638c,_0x153eb1){_0x2c638c=_0x2c638c-(-0x328*0x9+-0x504+0xa*0x377);const _0x5e3477=_0x5cb3();let _0x33200d=_0x5e3477[_0x2c638c];return _0x33200d;}export function createVAD({audioContext:_0x4f8a68,stream:_0x4cf282,onSpeechStart:_0x3def66,onSpeechEnd:_0x3d3212,onVolumeChange:_0xce5eb2}){const _0x18a218={'QRJWQ':function(_0x1ce86e,_0xaedd51){return _0x1ce86e<_0xaedd51;},'VoqmJ':function(_0x1afee6,_0x3d8af0){return _0x1afee6>=_0x3d8af0;},'oVfkr':function(_0x30f8f1,_0x6a7f52){return _0x30f8f1<=_0x6a7f52;},'WlRDk':function(_0x5c1881,_0x2d0485){return _0x5c1881!==_0x2d0485;},'GwnlI':'hrsqH','PTRvs':function(_0x426405,_0x16dabc){return _0x426405*_0x16dabc;},'xOUBG':function(_0x3c0a83,_0x346975){return _0x3c0a83/_0x346975;},'JTRPC':_0x4cde84(-0x170,-0x171)+'|5|2|'+_0x4cde84(-0xfa,-0xc9),'hKaEl':function(_0x40c74e){return _0x40c74e();},'WJWzl':function(_0x1a50a7,_0x478a04){return _0x1a50a7!==_0x478a04;},'kkxSV':'yeolW','cywvo':function(_0x17f050,_0xdbb11d){return _0x17f050<_0xdbb11d;},'Mccsn':function(_0x328698,_0x1bce41){return _0x328698===_0x1bce41;},'GhQRF':_0x4cde84(-0x17a,-0x150),'pinWp':function(_0x35efea,_0x5f3478){return _0x35efea/_0x5f3478;},'dRixW':function(_0x1525bc,_0x27007d){return _0x1525bc(_0x27007d);},'WtHDA':function(_0x50cc4b,_0x582f49){return _0x50cc4b===_0x582f49;},'NTsaA':function(_0x38ab94,_0x4d096b){return _0x38ab94===_0x4d096b;},'ZSzEy':function(_0x357bb7){return _0x357bb7();},'oJyRH':_0x4cde84(-0xfb,-0x10f)+_0x597ca9(-0x108,-0xcd)+'ed','IWDGc':function(_0x19786e,_0x499d28){return _0x19786e>=_0x499d28;},'FEiMq':function(_0x83fc7d,_0x4d8588){return _0x83fc7d!==_0x4d8588;},'TtONi':_0x597ca9(-0xc0,-0xd9),'CIUUq':'ebSpT','VlXJk':function(_0x3c9857){return _0x3c9857();},'qkSNI':function(_0x4708a9,_0x1091eb){return _0x4708a9>_0x1091eb;},'qPsqS':function(_0x40bf79,_0x43db0e){return _0x40bf79<_0x43db0e;},'tooKd':function(_0x4ec554,_0x8d70e5){return _0x4ec554(_0x8d70e5);},'KimTw':function(_0x3d4d81,_0x8ad31a){return _0x3d4d81-_0x8ad31a;},'cMNwQ':_0x597ca9(-0xae,-0x79),'SIheX':_0x597ca9(-0x30,-0x76)+_0x4cde84(-0x100,-0x110)+_0x4cde84(-0x122,-0xe8)+_0x4cde84(-0xff,-0x119),'DpWOE':function(_0x4338f8,_0x2ec8c5){return _0x4338f8-_0x2ec8c5;},'Xyhth':'WUPVJ','omOTJ':'CNZxc','JTRRm':'yVNYe','bimYd':_0x4cde84(-0x16c,-0x1af),'KuodC':function(_0x4a64c4,_0x1ce067){return _0x4a64c4>=_0x1ce067;},'DgsLq':function(_0x45b348,_0x467873){return _0x45b348===_0x467873;},'yVoCo':_0x597ca9(-0xf8,-0xff),'tsQMq':'VAD:\x20'+_0x4cde84(-0x11d,-0x123)+'ed','jkIkr':function(_0x22acb4,_0x531011,_0x539294){return _0x22acb4(_0x531011,_0x539294);},'Winmj':function(_0x3c77c4,_0x28d3ba){return _0x3c77c4===_0x28d3ba;},'kJQKc':function(_0x256439){return _0x256439();},'ENWdn':function(_0x3d5e65,_0x467d2d){return _0x3d5e65===_0x467d2d;},'QmTaZ':'ymfWN','zweKa':'OnCBv','ehOmA':function(_0x307a9e,_0x51f94f){return _0x307a9e(_0x51f94f);},'kHlTr':function(_0x110082,_0x55adf7){return _0x110082===_0x55adf7;},'nLSWn':'EeDZR','lndyE':_0x597ca9(-0x10e,-0xde),'IyzAG':function(_0x39c71c){return _0x39c71c();},'ssVhu':function(_0x1b562b,_0x32222c){return _0x1b562b*_0x32222c;},'TnvLy':_0x597ca9(-0xec,-0x101),'rqBNb':function(_0x57ed63,_0x3749e9){return _0x57ed63===_0x3749e9;},'lJGpe':function(_0x133dc8,_0x5587e8){return _0x133dc8/_0x5587e8;},'GAfNR':function(_0x235c2a,_0x5ccfa5){return _0x235c2a/_0x5ccfa5;},'ViUri':function(_0x507592,_0x1bdc20){return _0x507592-_0x1bdc20;}},_0x4685fa=_0x4f8a68[_0x597ca9(-0xaf,-0xa8)+'eAnal'+'yser']();_0x4685fa[_0x597ca9(-0xa4,-0xae)+'ze']=FFT_SIZE,_0x4685fa[_0x4cde84(-0x187,-0x193)+_0x4cde84(-0x16f,-0x145)+_0x4cde84(-0x140,-0x136)+_0x4cde84(-0x14f,-0x158)+'t']=0xbe*0x20+0x13e*0x12+-0x34*0xe3+0.3;const _0x221451=_0x4f8a68[_0x4cde84(-0x12d,-0x158)+_0x4cde84(-0x162,-0x169)+_0x597ca9(-0x8f,-0xb2)+_0x597ca9(-0x110,-0xe5)+_0x4cde84(-0x124,-0x12d)](_0x4cf282);function _0x597ca9(_0x70d500,_0x4a7b5c){return _0x563756(_0x70d500,_0x4a7b5c- -0x3a4);}function _0x4cde84(_0x1b55e5,_0x5ae342){return _0x563756(_0x5ae342,_0x1b55e5- -0x429);}_0x221451[_0x4cde84(-0x146,-0x158)+'ct'](_0x4685fa);const _0x4c6ba1=_0x4685fa['frequ'+_0x4cde84(-0x153,-0x141)+_0x4cde84(-0x139,-0xff)+'nt'],_0x16d6f0=new Uint8Array(_0x4c6ba1),_0x31813f=new Float32Array(_0x4685fa[_0x4cde84(-0x133,-0x121)+'ze']),_0x4a1225=_0x18a218[_0x597ca9(-0xe4,-0xcc)](_0x4f8a68[_0x4cde84(-0x148,-0x17a)+_0x4cde84(-0x134,-0x109)],_0x4685fa[_0x4cde84(-0x133,-0x16f)+'ze']),_0x82d001=Math['floor'](_0x18a218['lJGpe'](SPEECH_FREQ_LOW,_0x4a1225)),_0x571261=Math[_0x4cde84(-0x12f,-0x109)](Math[_0x597ca9(-0xc2,-0xcb)](_0x18a218[_0x597ca9(-0x55,-0x90)](SPEECH_FREQ_HIGH,_0x4a1225)),_0x18a218[_0x4cde84(-0x175,-0x19d)](_0x4c6ba1,0x21ab+0xd*0x16e+-0x3440));let _0x421000=STATE_SILENCE,_0x293d33=0x20da+0x1c0b+-0x3ce5,_0x3722b4=0x17e1*-0x1+0xf38+0x8a9,_0x411147=-0xa93*-0x1+0x1*0x8a8+0x133b*-0x1,_0x24777d=-0x453*0x5+-0x3ec+0x198b*0x1,_0x467091=null,_0x3f68cc=![];function _0xd27b8d(){function _0x312c7c(_0x45d180,_0x23a499){return _0x4cde84(_0x45d180-0x586,_0x23a499);}const _0x2ff025={'heYtB':function(_0x4ff330,_0x741208){function _0x9d8f5b(_0xd6e518,_0x414f85){return _0x4192(_0x414f85-0x93,_0xd6e518);}return _0x18a218[_0x9d8f5b(0x273,0x253)](_0x4ff330,_0x741208);},'rUKXy':function(_0x3395b8,_0x14e660){function _0x257f21(_0xd12f8d,_0x3d39d7){return _0x4192(_0xd12f8d- -0x3e,_0x3d39d7);}return _0x18a218[_0x257f21(0x115,0xf4)](_0x3395b8,_0x14e660);},'YauOP':function(_0x56f035,_0x4acc35){return _0x18a218['oVfkr'](_0x56f035,_0x4acc35);},'MSURh':function(_0x48bc45,_0x14b17a){return _0x48bc45>_0x14b17a;}};_0x4685fa[_0x1c6be0(-0x20b,-0x20d)+_0x1c6be0(-0x20b,-0x1dc)+'meDom'+'ainDa'+'ta'](_0x31813f);let _0xb5dcef=-0x1*0x42b+0x23e3*-0x1+0x280e;for(let _0x22bb88=0x187a+0xdf3*-0x1+-0x181*0x7;_0x18a218[_0x312c7c(0x485,0x4be)](_0x22bb88,_0x31813f[_0x312c7c(0x448,0x405)+'h']);_0x22bb88++){if(_0x18a218['WlRDk'](_0x18a218[_0x312c7c(0x44a,0x48e)],_0x18a218['GwnlI'])){_0x436b12[_0x312c7c(0x476,0x43a)+_0x1c6be0(-0x1fc,-0x20c)+_0x312c7c(0x475,0x447)+_0x1c6be0(-0x1f5,-0x1de)](_0x5634d2);let _0x51b898=-0x159a+0x1fc3*0x1+-0xa29,_0x3646be=-0x5*-0x776+-0x2*-0x6fd+-0x3348;for(let _0x19b447=0xb74*-0x1+0xf9c+-0x428;_0x2ff025[_0x1c6be0(-0x1de,-0x1bd)](_0x19b447,_0x50492b);_0x19b447++){const _0x23a6a2=_0x2921bf[_0x19b447];_0x3646be+=_0x23a6a2,_0x2ff025[_0x312c7c(0x414,0x42f)](_0x19b447,_0x41f669)&&_0x2ff025[_0x312c7c(0x427,0x42b)](_0x19b447,_0x58066a)&&(_0x51b898+=_0x23a6a2);}return _0x2ff025['MSURh'](_0x3646be,0x13d9*0x1+-0x2045+0x27c*0x5)?_0x51b898/_0x3646be:0x1e83*0x1+0x1336+-0x31b9;}else _0xb5dcef+=_0x18a218[_0x1c6be0(-0x22b,-0x227)](_0x31813f[_0x22bb88],_0x31813f[_0x22bb88]);}function _0x1c6be0(_0x53993d,_0x3d38c4){return _0x4cde84(_0x3d38c4- -0xa4,_0x53993d);}return Math[_0x1c6be0(-0x18d,-0x1ae)](_0x18a218[_0x1c6be0(-0x18c,-0x1ac)](_0xb5dcef,_0x31813f[_0x1c6be0(-0x1a4,-0x1e2)+'h']));}function _0x4937bc(){function _0x25365d(_0x796f9,_0x235a96){return _0x597ca9(_0x796f9,_0x235a96- -0x90);}const _0xc2e405={'BThYm':_0x18a218[_0x25365d(-0x15e,-0x170)],'yqMMK':_0x56db88(-0x220,-0x1ec)+'Speec'+_0x56db88(-0x1ff,-0x213)+'rted','tCgqt':function(_0x3f65ca){return _0x18a218['hKaEl'](_0x3f65ca);}};function _0x56db88(_0x920a93,_0x1bcc4b){return _0x597ca9(_0x920a93,_0x1bcc4b- -0x176);}if(_0x18a218[_0x56db88(-0x292,-0x24d)](_0x18a218[_0x56db88(-0x246,-0x221)],'yeolW'))_0x314726['debug']('VAD:\x20'+'Disca'+_0x56db88(-0x234,-0x22c)+'short'+'\x20spee'+_0x25365d(-0x11f,-0x129)+_0x230019+(_0x56db88(-0x270,-0x23b)+_0x56db88(-0x1cf,-0x1e8)+'<\x20')+_0x47af16+_0x56db88(-0x24e,-0x264));else{_0x4685fa[_0x25365d(-0x15f,-0x11b)+_0x25365d(-0x13f,-0x173)+_0x56db88(-0x1ff,-0x202)+'yData'](_0x16d6f0);let _0x5db671=0x14a3+-0x1775+-0x13*-0x26,_0x22f176=-0x1*0x76d+-0x3fd+-0x5b5*-0x2;for(let _0x45bc20=0x1*-0x1e0b+0x1c2f+0x1dc;_0x18a218[_0x25365d(-0x171,-0x15f)](_0x45bc20,_0x4c6ba1);_0x45bc20++){const _0x576ec2=_0x16d6f0[_0x45bc20];_0x22f176+=_0x576ec2;if(_0x45bc20>=_0x82d001&&_0x18a218['oVfkr'](_0x45bc20,_0x571261)){if(_0x18a218[_0x25365d(-0xd2,-0x114)](_0x18a218[_0x56db88(-0x1da,-0x1ed)],_0x18a218['GhQRF']))_0x5db671+=_0x576ec2;else{const _0x2e7aaf=_0xc2e405[_0x56db88(-0x24b,-0x246)][_0x56db88(-0x1e6,-0x214)]('|');let _0x122d76=-0x2*-0xd1c+0x5b5*-0x2+0xa*-0x17b;while(!![]){switch(_0x2e7aaf[_0x122d76++]){case'0':_0x3fa900=_0x17c5be;continue;case'1':_0x1ba40b=0x26ff+-0x98f*-0x1+-0xa*0x4db;continue;case'2':_0x57a185=_0x5b989e;continue;case'3':_0x50a148=_0x129876;continue;case'4':_0x3fac5a[_0x56db88(-0x24d,-0x26c)](_0xc2e405[_0x25365d(-0x165,-0x14e)]);continue;case'5':_0x1a4356=-0x221f*0x1+-0x19f3+0x3c12;continue;case'6':if(_0x469d7e)_0xc2e405['tCgqt'](_0x2268ae);continue;}break;}}}}return _0x22f176>-0x59*0x38+-0x1d49+-0x1*-0x30c1?_0x18a218[_0x25365d(-0x123,-0x15c)](_0x5db671,_0x22f176):-0x3f*0x57+0xfb5+0x5b4;}}function _0x221906(){function _0x535061(_0x47b08a,_0x4830f8){return _0x4cde84(_0x47b08a-0x1a9,_0x4830f8);}function _0x135605(_0x4e821c,_0x3cffb5){return _0x4cde84(_0x4e821c- -0x7a,_0x3cffb5);}const _0x11c7c5={'dTmcQ':function(_0x5b86ec,_0x518808){return _0x18a218['dRixW'](_0x5b86ec,_0x518808);},'azfcC':function(_0x3f1f16,_0x4bdaed){function _0x200557(_0x44881,_0x5e6be5){return _0x4192(_0x44881- -0xce,_0x5e6be5);}return _0x18a218[_0x200557(0xe0,0x9f)](_0x3f1f16,_0x4bdaed);},'rLNkB':function(_0x5af392,_0x297f33){function _0x4d7681(_0x4e44ac,_0x35d4c9){return _0x4192(_0x35d4c9-0x26c,_0x4e44ac);}return _0x18a218[_0x4d7681(0x3e8,0x3ae)](_0x5af392,_0x297f33);},'ymHdJ':function(_0x4ef513){return _0x18a218['ZSzEy'](_0x4ef513);},'NNjvF':_0x18a218[_0x135605(-0x1d3,-0x1e5)],'uUwUs':function(_0x19a72e,_0xdeda5f){function _0x4223ab(_0x126cff,_0x22efa5){return _0x135605(_0x126cff-0x3a3,_0x22efa5);}return _0x18a218[_0x4223ab(0x21d,0x1f8)](_0x19a72e,_0xdeda5f);},'zbWQd':_0x135605(-0x1c6,-0x1de)+'|4|1|'+_0x135605(-0x17d,-0x174),'JZxEZ':_0x535061(0xae,0x8f)+'Speec'+_0x535061(0x87,0x5f)+_0x535061(0xaa,0x72)};if(_0x18a218[_0x535061(0x30,-0xc)](_0x18a218[_0x135605(-0x1d1,-0x197)],_0x18a218[_0x135605(-0x1f8,-0x1af)])){if(!_0x3f68cc)return;const _0x1e9302=Date[_0x535061(0x81,0x7d)](),_0x11cf9b=_0x18a218[_0x535061(0x38,0x41)](_0xd27b8d),_0x4c4da5=_0x18a218[_0x135605(-0x195,-0x1cf)](_0x4937bc),_0x15d83b=_0x11cf9b>RMS_SPEECH_THRESHOLD&&_0x18a218[_0x135605(-0x185,-0x18b)](_0x4c4da5,SPEECH_BAND_RATIO),_0x2bf5e3=_0x18a218['qPsqS'](_0x11cf9b,RMS_SILENCE_THRESHOLD);if(_0xce5eb2)_0x18a218['tooKd'](_0xce5eb2,_0x11cf9b);switch(_0x421000){case STATE_SILENCE:if(_0x15d83b){if(_0x18a218[_0x135605(-0x183,-0x18a)](_0x293d33,0x267a+-0x24cb*0x1+-0x1af))_0x293d33=_0x1e9302;if(_0x18a218[_0x535061(0x83,0x76)](_0x1e9302,_0x293d33)>=SPEECH_CONFIRM_MS){if(_0x18a218[_0x535061(0xa5,0xea)]!==_0x18a218['cMNwQ'])return _0x1bfcde;else{_0x421000=STATE_SPEECH,_0x293d33=0x8b*-0xb+0x1eed+-0x63d*0x4,_0x3722b4=_0x1e9302,_0x411147=-0x159e*-0x1+-0x1a30+0x492,_0x24777d=_0x1e9302,UplinkLogger[_0x135605(-0x1f5,-0x1f5)](_0x18a218[_0x135605(-0x19b,-0x18b)]);if(_0x3def66)_0x18a218[_0x135605(-0x195,-0x18e)](_0x3def66);}}}else _0x293d33=0x2296+0x139*-0xb+-0x1523;break;case STATE_SPEECH:_0x411147+=_0x18a218[_0x535061(0xac,0xda)](_0x1e9302,_0x24777d),_0x24777d=_0x1e9302;_0x2bf5e3&&(_0x18a218[_0x135605(-0x1f3,-0x233)](_0x18a218[_0x535061(0x80,0x9a)],_0x18a218['omOTJ'])?(_0x421000=STATE_TRAILING,_0x293d33=_0x1e9302):(_0x3e916b=_0x236cdf,_0x5e6434=_0x282a2b));break;case STATE_TRAILING:if(_0x15d83b){if(_0x18a218['WlRDk'](_0x18a218[_0x135605(-0x1de,-0x1cc)],_0x18a218[_0x135605(-0x1d2,-0x219)]))_0x421000=STATE_SPEECH,_0x293d33=0xc88+-0x8*0x350+0xdf8,_0x24777d=_0x1e9302;else{_0x4304d5=![];_0x50a9e9&&(_0x11c7c5[_0x535061(0x91,0xbb)](_0x504b7e,_0x48744c),_0x58dc24=null);if(_0x11c7c5[_0x135605(-0x1da,-0x1fc)](_0x5dbe3d,_0x3eec2c)||_0x11c7c5[_0x535061(0x32,0x44)](_0x22e59d,_0x24ef4e)){_0x21728e=_0x1b71f2,_0x15ff1f=0x303*-0x1+0x1*0x773+-0x2*0x238;if(_0x3ccf83)_0x11c7c5['ymHdJ'](_0x4ce193);}_0x2ea969[_0x535061(0x2e,0x60)](_0x11c7c5[_0x535061(0x3c,0xe)]);}}else{if(_0x18a218[_0x535061(0xb0,0xed)](_0x18a218[_0x135605(-0x177,-0x168)](_0x1e9302,_0x293d33),SILENCE_CONFIRM_MS)||_0x18a218[_0x135605(-0x1a0,-0x16e)](_0x1e9302,_0x293d33)>=TRAILING_MAX_MS){_0x421000=STATE_SILENCE,_0x293d33=0x10*0x245+-0x1c8+-0x2288;if(_0x18a218[_0x535061(0xb0,0xd9)](_0x411147,MIN_SPEECH_DURATION_MS)){if(_0x18a218[_0x135605(-0x1b9,-0x1fb)]('JepRr',_0x18a218[_0x535061(0x2d,0x77)])){UplinkLogger[_0x135605(-0x1f5,-0x204)](_0x135605(-0x175,-0x17d)+_0x535061(0xa9,0x8f)+'h\x20end'+_0x135605(-0x1ff,-0x1d1)+_0x411147+(_0x535061(0x5f,0x46)+_0x535061(0xb2,0x98)+_0x535061(0x4e,0x5c)+'h)'));if(_0x3d3212)_0x18a218[_0x535061(0x8e,0xc2)](_0x3d3212);}else _0x310ec9=0x1*0x10ca+0x78b*0x1+0x1*-0x1855;}else UplinkLogger[_0x135605(-0x1f5,-0x216)](_0x535061(0xae,0x74)+'Disca'+_0x535061(0x6e,0x60)+_0x135605(-0x1a1,-0x19b)+_0x135605(-0x189,-0x184)+'ch\x20('+_0x411147+(_0x135605(-0x1c4,-0x1ff)+_0x535061(0xb2,0x81)+'<\x20')+MIN_SPEECH_DURATION_MS+_0x135605(-0x1ed,-0x215));_0x3722b4=0x16*0x168+-0xda4+0xc*-0x171,_0x411147=-0xc7*0x31+0x10f0+0x1527;}}break;}}else{if(_0x30c08a===0xe2a*0x1+0x17b*-0x13+-0xd*-0x113)_0x2bab9f=_0x5e05a4;if(_0x11c7c5[_0x135605(-0x1bb,-0x202)](_0x384605-_0x56039d,_0x3fd9d4)){const _0x322517=_0x11c7c5[_0x535061(0x7e,0xc6)][_0x135605(-0x19d,-0x1e1)]('|');let _0x4782bd=-0x263b*0x1+-0x1*0x1c59+0x2*0x214a;while(!![]){switch(_0x322517[_0x4782bd++]){case'0':_0x16fe47[_0x135605(-0x1f5,-0x1b2)](_0x11c7c5[_0x535061(0x53,0x42)]);continue;case'1':_0x32202e=_0xd893df;continue;case'2':if(_0x43375e)_0x5772a8();continue;case'3':_0x3f4b08=_0x222986;continue;case'4':_0x572aa7=-0x1d77+0x446+0x1931;continue;case'5':_0x2a8e15=0x158f+-0x13*-0xdf+-0x261c;continue;case'6':_0x2c1976=_0x49cb32;continue;}break;}}}}return{'start'(){function _0xdadef5(_0x4205c8,_0x766e67){return _0x597ca9(_0x766e67,_0x4205c8-0x199);}const _0x22581c=(_0x45926b(0xa9,0x80)+_0x45926b(0x50,0x99)+'1')[_0xdadef5(0xfb,0xb8)]('|');let _0x45ca9e=0xf17+0x9b3+-0x18ca;function _0x45926b(_0x31f182,_0x5a47a8){return _0x597ca9(_0x5a47a8,_0x31f182-0x119);}while(!![]){switch(_0x22581c[_0x45ca9e++]){case'0':if(_0x3f68cc)return;continue;case'1':UplinkLogger[_0x45926b(0x23,0x1a)](_0x18a218[_0x45926b(0x7f,0x55)]);continue;case'2':_0x467091=_0x18a218[_0xdadef5(0x11c,0x13d)](setInterval,_0x221906,POLL_INTERVAL_MS);continue;case'3':_0x293d33=-0x104f+-0x4*-0x923+-0x1d7*0xb;continue;case'4':_0x3f68cc=!![];continue;case'5':_0x421000=STATE_SILENCE;continue;}break;}},'stop'(){const _0x1f3c7d={'YgbJe':function(_0x3a82a2,_0x5d1914){return _0x3a82a2>=_0x5d1914;},'oTUVP':function(_0x4978ad){function _0x52b8e8(_0x51c9b0,_0x7e6181){return _0x4192(_0x7e6181- -0xdc,_0x51c9b0);}return _0x18a218[_0x52b8e8(0xd0,0xa3)](_0x4978ad);}};function _0xb09511(_0x48ee9f,_0x8a2078){return _0x4cde84(_0x48ee9f-0x4ec,_0x8a2078);}function _0x17dc96(_0x3e417f,_0x517896){return _0x4cde84(_0x517896-0x45b,_0x3e417f);}if(_0x18a218['ENWdn'](_0x18a218['QmTaZ'],_0x18a218[_0x17dc96(0x334,0x34e)])){_0x3f68cc=![];_0x467091&&(_0x18a218[_0x17dc96(0x2c3,0x2e2)](_0x17dc96(0x308,0x2f5),_0x18a218[_0xb09511(0x3d5,0x3b3)])?_0x157473[_0x17dc96(0x308,0x2da)+_0xb09511(0x3a3,0x39c)]():(_0x18a218[_0xb09511(0x378,0x3ae)](clearInterval,_0x467091),_0x467091=null));if(_0x18a218[_0xb09511(0x3c0,0x3a6)](_0x421000,STATE_SPEECH)||_0x18a218[_0xb09511(0x36d,0x399)](_0x421000,STATE_TRAILING)){if(_0x18a218[_0x17dc96(0x343,0x2ff)](_0x18a218[_0xb09511(0x3c2,0x384)],_0x18a218['lndyE'])){_0x421000=STATE_SILENCE,_0x293d33=0xafa+-0x1b*0x8d+0x3e5;if(_0x3d3212)_0x18a218['IyzAG'](_0x3d3212);}else{_0x192713=_0x51078e,_0xfbc378=0xb26+-0x1*-0x1bbf+0x3*-0xcf7;if(NpoHkJ[_0x17dc96(0x350,0x336)](_0x10939c,_0x45c142)){_0x510eab[_0xb09511(0x371,0x392)](_0xb09511(0x3f1,0x429)+_0x17dc96(0x37a,0x35b)+_0xb09511(0x3d8,0x3d1)+'ed\x20('+_0x36fd97+(_0x17dc96(0x326,0x311)+_0x17dc96(0x339,0x364)+'speec'+'h)'));if(_0x395f2d)NpoHkJ['oTUVP'](_0x2a3397);}else _0x19b3ac[_0x17dc96(0x2a6,0x2e0)]('VAD:\x20'+_0xb09511(0x36c,0x34b)+'rded\x20'+'short'+_0xb09511(0x3dd,0x403)+_0x17dc96(0x331,0x33d)+_0x2aa076+(_0x17dc96(0x2da,0x311)+_0x17dc96(0x341,0x364)+'<\x20')+_0x3a85bb+_0x17dc96(0x330,0x2e8));_0x21f13c=0x20e7+0x7c4*0x5+-0x47bb,_0x23b11c=0xa*-0x132+-0x76a+0x86*0x25;}}UplinkLogger[_0x17dc96(0x31a,0x2e0)](_0xb09511(0x3f1,0x425)+_0xb09511(0x39a,0x380)+'ed');}else return _0x18a218[_0x17dc96(0x2d2,0x2f4)](_0x5abfed,_0x5cab31)||_0x4c8726===_0x1371af;},'destroy'(){function _0x50377a(_0x1de339,_0x584051){return _0x597ca9(_0x584051,_0x1de339- -0xe7);}function _0xb8411a(_0x48a396,_0x5bfc46){return _0x597ca9(_0x5bfc46,_0x48a396-0x342);}const _0x33c623={'TglHl':function(_0x8775ce,_0x6c9c12){function _0x504d27(_0x204c01,_0x423e83){return _0x4192(_0x423e83-0x141,_0x204c01);}return _0x18a218[_0x504d27(0x2f9,0x2cc)](_0x8775ce,_0x6c9c12);}};this['stop']();try{_0x18a218[_0x50377a(-0x194,-0x17d)]===_0x18a218['TnvLy']?_0x221451[_0x50377a(-0x1e3,-0x227)+'nnect']():_0x46a0fc+=EgAdjZ[_0xb8411a(0x251,0x296)](_0x5e7aee[_0xa44b21],_0x1397c5[_0x451dc1]);}catch(_0x31ffcb){}try{_0x4685fa[_0xb8411a(0x246,0x21f)+'nnect']();}catch(_0x48bf39){}},'isSpeaking'(){function _0xba46f6(_0x57dbe6,_0x17ae60){return _0x597ca9(_0x17ae60,_0x57dbe6-0x35e);}function _0x1c6f7b(_0x45f888,_0x390c9b){return _0x597ca9(_0x390c9b,_0x45f888-0x5c1);}return _0x18a218[_0xba46f6(0x296,0x2a5)](_0x421000,STATE_SPEECH)||_0x18a218[_0xba46f6(0x2d0,0x28b)](_0x421000,STATE_TRAILING);},'getState'(){return _0x421000;}};}