vome-core 0.0.81 → 0.0.82

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.
@@ -1 +1 @@
1
- (function(_0xc38217,_0x367f88){const _0x388d5f=_0xea54,_0x125a9f=_0xc38217();while(!![]){try{const _0x358c01=-parseInt(_0x388d5f(0x189))/0x1+-parseInt(_0x388d5f(0x194))/0x2+-parseInt(_0x388d5f(0x1aa))/0x3+-parseInt(_0x388d5f(0x19d))/0x4+-parseInt(_0x388d5f(0x196))/0x5+parseInt(_0x388d5f(0x19c))/0x6*(parseInt(_0x388d5f(0x195))/0x7)+parseInt(_0x388d5f(0x18a))/0x8;if(_0x358c01===_0x367f88)break;else _0x125a9f['push'](_0x125a9f['shift']());}catch(_0xaa8286){_0x125a9f['push'](_0x125a9f['shift']());}}}(_0x439f,0xace1c));import{onUnmounted,ref,watch}from'vue';export const FRAME_CAPTURE_TIMEOUT_MS=0x1f40;function _0xea54(_0x371a67,_0x3b0bd8){_0x371a67=_0x371a67-0x189;const _0x439fdb=_0x439f();let _0xea54dc=_0x439fdb[_0x371a67];if(_0xea54['CKSNVS']===undefined){var _0x2e2746=function(_0x1ca7c0){const _0x4fa5cb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x7706fa='',_0x3c70cc='';for(let _0xca7e23=0x0,_0x35c2b5,_0x37be1a,_0x31bac9=0x0;_0x37be1a=_0x1ca7c0['charAt'](_0x31bac9++);~_0x37be1a&&(_0x35c2b5=_0xca7e23%0x4?_0x35c2b5*0x40+_0x37be1a:_0x37be1a,_0xca7e23++%0x4)?_0x7706fa+=String['fromCharCode'](0xff&_0x35c2b5>>(-0x2*_0xca7e23&0x6)):0x0){_0x37be1a=_0x4fa5cb['indexOf'](_0x37be1a);}for(let _0x21f99a=0x0,_0x3959ea=_0x7706fa['length'];_0x21f99a<_0x3959ea;_0x21f99a++){_0x3c70cc+='%'+('00'+_0x7706fa['charCodeAt'](_0x21f99a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3c70cc);};_0xea54['cGeQjM']=_0x2e2746,_0xea54['IYMKqb']={},_0xea54['CKSNVS']=!![];}const _0x1b2353=_0x439fdb[0x0],_0x50108c=_0x371a67+_0x1b2353,_0x44b667=_0xea54['IYMKqb'][_0x50108c];return!_0x44b667?(_0xea54dc=_0xea54['cGeQjM'](_0xea54dc),_0xea54['IYMKqb'][_0x50108c]=_0xea54dc):_0xea54dc=_0x44b667,_0xea54dc;}function _0x439f(){const _0x596fde=['ywrKrxzLBNrmAxn0zw5LCG','y2XLyxjuAw1LB3v0','nZG2wwX1DNjR','mZa2mJqXnMvxwgDhrW','y3jLyxrLrwXLBwvUDa','Bg9Hza','CMvTB3zLqxr0CMLIDxrL','DMLKzw9izwLNAhq','yxv0BW','C2vLA2vK','zhjHD0LTywDL','y2fUDMfZ','DMfSDwu','yw5VBNLTB3vZ','DgHLBG','Dw5KzwzPBMvK','mZKYodaWmMzds0HdsW','C3jJ','mtaZmdC2ngHmtfbuEG','ndeXnJiWnJrhuvHbsKC','ChjLBg9Hza','AgvPz2H0','DMLKzw9xAwr0Aa','Aw1Hz2uVANbLzW','D2LKDgG','DMLKzw8','Bg9HzgvKzgf0yq','C2v0vgLTzw91Da','Bxv0zwq','mtuXmtuXngPgDLPeAa','mtKWmZnbrujvsfK','ndy1otmYmhf1qNncAG','zxjYB3i','CgXHExnjBMXPBMu','y3jVC3npCMLNAw4'];_0x439f=function(){return _0x596fde;};return _0x439f();}export function captureVideoFrame(_0x7706fa){const _0x2cf7a7=_0xea54;if(typeof document===_0x2cf7a7(0x1a9))return Promise['resolve'](null);return new Promise(_0x3c70cc=>{const _0x97c744=_0x2cf7a7,_0xca7e23=document[_0x97c744(0x19e)](_0x97c744(0x190));_0xca7e23[_0x97c744(0x199)]=_0x97c744(0x1a7),_0xca7e23[_0x97c744(0x193)]=!![],_0xca7e23[_0x97c744(0x198)]=!![],_0xca7e23[_0x97c744(0x18b)]=_0x97c744(0x1a2);let _0x35c2b5=![];const _0x37be1a=_0x21f99a=>{const _0x14b30e=_0x97c744;if(_0x35c2b5)return;_0x35c2b5=!![],window[_0x14b30e(0x19b)](_0x31bac9),_0xca7e23[_0x14b30e(0x1a0)](_0x14b30e(0x1ab)),_0xca7e23[_0x14b30e(0x19f)](),_0x3c70cc(_0x21f99a);},_0x31bac9=window[_0x97c744(0x192)](()=>_0x37be1a(null),FRAME_CAPTURE_TIMEOUT_MS);_0xca7e23[_0x97c744(0x19a)](_0x97c744(0x197),()=>_0x37be1a(null),{'once':!![]}),_0xca7e23[_0x97c744(0x19a)](_0x97c744(0x191),()=>{try{_0xca7e23['currentTime']=0.01;}catch{_0x37be1a(null);}},{'once':!![]}),_0xca7e23[_0x97c744(0x19a)](_0x97c744(0x1a3),()=>{const _0x16fb98=_0x97c744;try{const _0x3959ea=_0xca7e23[_0x16fb98(0x18d)],_0x13d07b=_0xca7e23[_0x16fb98(0x1a1)];if(!_0x3959ea||!_0x13d07b){_0x37be1a(null);return;}const _0x8d54ea=document[_0x16fb98(0x19e)](_0x16fb98(0x1a5));_0x8d54ea[_0x16fb98(0x18f)]=_0x3959ea,_0x8d54ea[_0x16fb98(0x18c)]=_0x13d07b;const _0x17ee86=_0x8d54ea['getContext']('2d');if(!_0x17ee86){_0x37be1a(null);return;}_0x17ee86[_0x16fb98(0x1a4)](_0xca7e23,0x0,0x0,_0x3959ea,_0x13d07b),_0x37be1a(_0x8d54ea['toDataURL'](_0x16fb98(0x18e),0.82));}catch{_0x37be1a(null);}},{'once':!![]}),_0xca7e23['src']=_0x7706fa;});}export function useVideoFrame(_0x215d8a){const _0x3fbedd=ref(''),_0x56bb92=ref(![]);let _0x47feb7=0x0;return watch(_0x215d8a,_0x231fb0=>{const _0x37e9c4=_0xea54;_0x47feb7+=0x1;const _0xcfadca=_0x47feb7;_0x3fbedd['value']='',_0x56bb92['value']=![];if(!_0x231fb0)return;captureVideoFrame(_0x231fb0)[_0x37e9c4(0x1a8)](_0x3e4108=>{const _0x5e2767=_0x37e9c4;if(_0xcfadca!==_0x47feb7)return;if(_0x3e4108)_0x3fbedd[_0x5e2767(0x1a6)]=_0x3e4108;else _0x56bb92[_0x5e2767(0x1a6)]=!![];});},{'immediate':!![]}),onUnmounted(()=>{_0x47feb7+=0x1;}),{'videoFrameSrc':_0x3fbedd,'frameFailed':_0x56bb92};}
1
+ (function(_0x291260,_0x3bbadf){const _0x52f423=_0x3981,_0x50e4cc=_0x291260();while(!![]){try{const _0x573882=-parseInt(_0x52f423(0x122))/0x1*(parseInt(_0x52f423(0x121))/0x2)+parseInt(_0x52f423(0x10d))/0x3*(-parseInt(_0x52f423(0x129))/0x4)+-parseInt(_0x52f423(0x118))/0x5+-parseInt(_0x52f423(0x113))/0x6+-parseInt(_0x52f423(0x12c))/0x7*(-parseInt(_0x52f423(0x120))/0x8)+-parseInt(_0x52f423(0x12a))/0x9+parseInt(_0x52f423(0x116))/0xa;if(_0x573882===_0x3bbadf)break;else _0x50e4cc['push'](_0x50e4cc['shift']());}catch(_0x207c46){_0x50e4cc['push'](_0x50e4cc['shift']());}}}(_0x1cd1,0x3abff));function _0x1cd1(){const _0x4f8263=['yw5VBNLTB3vZ','AgvPz2H0','C2v0vgLTzw91Da','D2LKDgG','mtq3nJG4DuXltfn3','mLHMAw1WtW','mtq5nZm1AxD3zeHY','Bg9HzgvKzgf0yq','y2fUDMfZ','CMvZB2X2zq','Dw5KzwzPBMvK','ChjLBg9Hza','DMLKzw8','oejXugnoqq','mJiWnZa1mLjythjvBW','DMfSDwu','ndLXBKDPwKW','yxv0BW','zxjYB3i','C3jJ','y2XLyxjuAw1LB3v0','Dg9eyxrHvvjm','odeWnJLtrvfiyu8','DMLKzw9xAwr0Aa','y3vYCMvUDfrPBwu','z2v0q29UDgv4Da','Bxv0zwq','Bg9Hza','mJC4mJCWngLZCNj3wG','ywrKrxzLBNrmAxn0zw5LCG','zhjHD0LTywDL','mtq1nJm3mZbKuLDst3K','Aw1Hz2uVANbLzW','mJe2mdG0mfzVrxjSvW','C2vLA2vK','DgHLBG','y3jLyxrLrwXLBwvUDa'];_0x1cd1=function(){return _0x4f8263;};return _0x1cd1();}import{onUnmounted,ref,watch}from'vue';function _0x3981(_0x28ec51,_0x528074){_0x28ec51=_0x28ec51-0x10b;const _0x1cd1b8=_0x1cd1();let _0x398167=_0x1cd1b8[_0x28ec51];if(_0x3981['bDiYfV']===undefined){var _0x143588=function(_0x524c60){const _0x43d9ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3adec2='',_0x34ceeb='';for(let _0x5d4d88=0x0,_0x23a448,_0x2754fb,_0x523720=0x0;_0x2754fb=_0x524c60['charAt'](_0x523720++);~_0x2754fb&&(_0x23a448=_0x5d4d88%0x4?_0x23a448*0x40+_0x2754fb:_0x2754fb,_0x5d4d88++%0x4)?_0x3adec2+=String['fromCharCode'](0xff&_0x23a448>>(-0x2*_0x5d4d88&0x6)):0x0){_0x2754fb=_0x43d9ae['indexOf'](_0x2754fb);}for(let _0x239943=0x0,_0x2ed54e=_0x3adec2['length'];_0x239943<_0x2ed54e;_0x239943++){_0x34ceeb+='%'+('00'+_0x3adec2['charCodeAt'](_0x239943)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x34ceeb);};_0x3981['YFiQEl']=_0x143588,_0x3981['CJsopt']={},_0x3981['bDiYfV']=!![];}const _0x3fc18d=_0x1cd1b8[0x0],_0x1ce5bf=_0x28ec51+_0x3fc18d,_0x59393a=_0x3981['CJsopt'][_0x1ce5bf];return!_0x59393a?(_0x398167=_0x3981['YFiQEl'](_0x398167),_0x3981['CJsopt'][_0x1ce5bf]=_0x398167):_0x398167=_0x59393a,_0x398167;}export const FRAME_CAPTURE_TIMEOUT_MS=0x1f40;export function captureVideoFrame(_0x3adec2){const _0x4fd435=_0x3981;if(typeof document===_0x4fd435(0x126))return Promise[_0x4fd435(0x125)](null);return new Promise(_0x34ceeb=>{const _0x405261=_0x4fd435,_0x5d4d88=document[_0x405261(0x11b)](_0x405261(0x128));_0x5d4d88['crossOrigin']=_0x405261(0x11c),_0x5d4d88[_0x405261(0x111)]=!![],_0x5d4d88['playsInline']=!![],_0x5d4d88[_0x405261(0x127)]=_0x405261(0x12d);let _0x23a448=![];const _0x2754fb=_0x239943=>{const _0x5ac60b=_0x405261;if(_0x23a448)return;_0x23a448=!![],window[_0x5ac60b(0x10b)](_0x523720),_0x5d4d88['removeAttribute'](_0x5ac60b(0x12f)),_0x5d4d88[_0x5ac60b(0x112)](),_0x34ceeb(_0x239943);},_0x523720=window[_0x405261(0x11e)](()=>_0x2754fb(null),FRAME_CAPTURE_TIMEOUT_MS);_0x5d4d88['addEventListener'](_0x405261(0x12e),()=>_0x2754fb(null),{'once':!![]}),_0x5d4d88['addEventListener'](_0x405261(0x123),()=>{const _0x1b6051=_0x405261;try{_0x5d4d88[_0x1b6051(0x10f)]=0.01;}catch{_0x2754fb(null);}},{'once':!![]}),_0x5d4d88[_0x405261(0x114)](_0x405261(0x119),()=>{const _0x55b2f7=_0x405261;try{const _0x2ed54e=_0x5d4d88[_0x55b2f7(0x10e)],_0x5e8e99=_0x5d4d88['videoHeight'];if(!_0x2ed54e||!_0x5e8e99){_0x2754fb(null);return;}const _0x4ad467=document[_0x55b2f7(0x11b)](_0x55b2f7(0x124));_0x4ad467[_0x55b2f7(0x11f)]=_0x2ed54e,_0x4ad467[_0x55b2f7(0x11d)]=_0x5e8e99;const _0x301509=_0x4ad467[_0x55b2f7(0x110)]('2d');if(!_0x301509){_0x2754fb(null);return;}_0x301509[_0x55b2f7(0x115)](_0x5d4d88,0x0,0x0,_0x2ed54e,_0x5e8e99),_0x2754fb(_0x4ad467[_0x55b2f7(0x10c)](_0x55b2f7(0x117),0.82));}catch{_0x2754fb(null);}},{'once':!![]}),_0x5d4d88[_0x405261(0x12f)]=_0x3adec2;});}export function useVideoFrame(_0x182b54){const _0x23164c=ref(''),_0x192d45=ref(![]);let _0xb0daea=0x0;return watch(_0x182b54,_0x5065ee=>{const _0x405aff=_0x3981;_0xb0daea+=0x1;const _0x5fa7e8=_0xb0daea;_0x23164c[_0x405aff(0x12b)]='',_0x192d45[_0x405aff(0x12b)]=![];if(!_0x5065ee)return;captureVideoFrame(_0x5065ee)[_0x405aff(0x11a)](_0x230266=>{const _0x263959=_0x405aff;if(_0x5fa7e8!==_0xb0daea)return;if(_0x230266)_0x23164c[_0x263959(0x12b)]=_0x230266;else _0x192d45[_0x263959(0x12b)]=!![];});},{'immediate':!![]}),onUnmounted(()=>{_0xb0daea+=0x1;}),{'videoFrameSrc':_0x23164c,'frameFailed':_0x192d45};}