PageSourceSearch

https://xn--63-dlcajagc1a9bj4a1d1e.xn--p1ai/bitrix/components/aspr…/.default/script.min.js?16944236698189

js xn--63-dlcajagc1a9bj4a1d1e.xn--p1ai collected 2026-10-04 03:05:47 UTC 8,189 bytes, 1 lines download raw bytes

1var timerHide=!1,timerDynamicLeftSide=!1,timerResponse=!1,hoveredSwitcher=!1;window.array=[];var submitTimer=!1,timeoutSubmit=800;$(document).ready((function(){checkNeedRequest=function(){return $(".style-switcher-body.loading_block").length},getExternalNews=function(){$(".section-block.updates_tab").hasClass("hidden")&&$.ajax({url:"https://aspro.ru/demo/updates/index.php",type:"POST",data:{AJAX_FORM:"Y"},success:function(html){$(".section-block.updates_tab").removeClass("hidden"),$(".right-block .inner-content .contents.updates .body_block").html(html)},error:function(jqXhr){console.log(jqXhr)}})},getWidgetHtml=function(callback){if(checkNeedRequest())if($(".top_block_switch").hasClass("loading")){if("function"==typeof callback){let t=setInterval((function(){$(".top_block_switch").hasClass("loading")||(clearInterval(t),callback())}),100);return}}else{$(".top_block_switch").addClass("loading");try{BX.ajax({url:arMaxOptions.SITE_DIR+"?BLOCK=widget",method:"POST",data:BX.ajax.prepareData({ajax:"Y"}),dataType:"html",processData:!1,start:!0,headers:[{name:"X-Requested-With",value:"XMLHttpRequest"}],onfailure:function(error){console.error(error)},onsuccess:function(html){var ob=BX.processHTML(html);BX.loadCSS(ob.STYLE),setTimeout((function(){$(".top_block_switch").removeClass("loading"),$(".style-switcher-body").removeClass("loading_block").html(ob.HTML),BX.ajax.processScripts(ob.SCRIPT);var eventdata={action:"widgetLoaded"};BX.onCustomEvent("onWidgedLoaded",[eventdata])}),100),"function"==typeof callback&&setTimeout((function(){callback()}),150)}})}catch(error){console.error(error)}}else"function"==typeof callback&&callback()},HideHintBlock=function(bHideOverlay){(void 0===bHideOverlay||bHideOverlay)&&HideOverlay(),$.cookie("clickedSwitcher","Y",{path:"/"}),$(".hint-theme").length&&$(".hint-theme").fadeIn(300,(function(){$(".hint-theme").remove()}))},$(".top_block_switch").mouseenter((function(){getWidgetHtml(),hoveredSwitcher=!0})),$("html, body").on("mousedown",(function(e){"string"==typeof e.target.className&&e.target.className.indexOf("adm")<0&&(e.stopPropagation(),$(e.target).closest(".style-switcher .dynamic_left_side").length||$(".style-switcher .dynamic_left_side").removeClass("active"),$(e.target).closest(".style-switcher .contents.wizard").length||$(".style-switcher .contents.wizard").removeClass("active"))})),$(".dynamic_left_side").find("*").on("mousedown",(function(e){e.stopPropagation()})),$(document).on("click",".presets .thematik .item",(function(){var thematic=$(this).data("code");selectThematic(thematic,!0)})),$(document).on("click",".style-switcher .presets .preset-block .apply_conf_block",(function(e){var preset=$(this).closest(".preset-block").data("id");selectPreset(preset)})),$(document).on("click",".style-switcher .switch",(function(e){e.preventDefault();var _this=$(this),styleswitcher=_this.closest(".style-switcher"),bSwitchPresets=_this.hasClass("presets_action");_this.hasClass("loadings")||(_this.addClass("loadings"),setWidgetHtml(styleswitcher,_this,bSwitchPresets))})),setWidgetHtml=function(styleswitcher,_this,bSwitchPresets){getWidgetHtml((function(){var presets=styleswitcher.find(".presets"),parametrs=styleswitcher.find(".parametrs");if(styleswitcher.find(".section-block").removeClass("active"),_this.removeClass("loadings"),getExternalNews(),"function"==typeof getAjaxForm&&getAjaxForm((function(){$(".section-block.demos_tab").removeClass("hidden")})),styleswitcher.hasClass("active")){"function"==typeof restoreThematics&&restoreThematics();var typeSwitcher=$.cookie("styleSwitcherType");styleswitcher.find(".switch").removeClass("active"),styleswitcher.find(".presets_action").removeClass("active"),bSwitchPresets&&"presets"===typeSwitcher||!bSwitchPresets&&"parametrs"===typeSwitcher?(HideHintBlock(!0),$.removeCookie("styleSwitcherType",{path:"/"}),$.removeCookie("styleSwitcher",{path:"/"}),styleswitcher.addClass("closes"),setTimeout((function(){styleswitcher.removeClass("active")}),300)):(HideHintBlock(!1),$.cookie("styleSwitcherType",bSwitchPresets?"presets":"parametrs",{path:"/"}),styleswitcher.find(".header .title").hide(),styleswitcher.find(".right-block .inner-content .contents").removeClass("active"),bSwitchPresets?(styleswitcher.find(".section-block.presets_tab").addClass("active"),presets.addClass("active")):$(this).hasClass("demo_action")?(styleswitcher.find(".section-block.demos_tab").removeClass("hidden").addClass("active"),styleswitcher.find(".
1inner-content .contents.demos").addClass("active"),$.removeCookie("styleSwitcherType",{path:"/"}),$.removeCookie("styleSwitcher",{path:"/"})):(styleswitcher.find(".section-block.parametrs_tab").addClass("active"),parametrs.addClass("active")),$(this).addClass("active"))}else HideHintBlock(!0),_this.addClass("active"),$.cookie("styleSwitcherType",bSwitchPresets?"presets":"parametrs",{path:"/"}),$.cookie("styleSwitcher","open",{path:"/"}),styleswitcher.find(".right-block .inner-content .contents").removeClass("active"),bSwitchPresets?(styleswitcher.find(".section-block.presets_tab").addClass("active"),presets.addClass("active")):_this.hasClass("demo_action")?(styleswitcher.find(".section-block.demos_tab").removeClass("hidden").addClass("active"),styleswitcher.find(".inner-content .contents.demos").addClass("active"),$.removeCookie("styleSwitcherType",{path:"/"}),$.removeCookie("styleSwitcher",{path:"/"})):(styleswitcher.find(".section-block.parametrs_tab").addClass("active"),parametrs.addClass("active")),ShowOverlay(),styleswitcher.removeClass("closes").addClass("active")}))},$(document).on("click",".close-overlay",(function(){HideHintBlock()})),$(".close_block").click((function(){$(".jqmOverlay").trigger("click")})),$(document).on("click",".jqmOverlay",(function(){var styleswitcher=$(".style-switcher");$(".hint-theme").length||HideOverlay(),styleswitcher.each((function(){var _this=$(this);_this.addClass("closes"),setTimeout((function(){_this.removeClass("active")}),300),$(".form_demo-switcher").animate({left:"-"+$(".form_demo-switcher").outerWidth()+"px"},100).removeClass("active abs")})),$(".style-switcher .switch,.style-switcher .presets_action").removeClass("active"),restoreThematics(),$.removeCookie("styleSwitcherType",{path:"/"}),$.removeCookie("styleSwitcher",{path:"/"})})),$(document).on("click",".sharepreset-trigger-open",(function(e){e.preventDefault(),$(".section-block.share_tab").trigger("click")})),$(document).on("click",".style-switcher .apply",(function(){$("form[name=style-switcher]").submit()})),$(document).on("click",".style-switcher .preview_conf_block .btn",(function(){var _this=$(this);$(".dynamic_left_side").length&&$(".dynamic_left_side").remove(),$('<div class="dynamic_left_side"><div class="items_inner"><div class="titles_block"></div></div></div>').appendTo(_this.closest(".contents.presets .presets_block")),$(".dynamic_left_side .titles_block").html('<div class="title">'+_this.closest(".preset-block").find(".info .title").text()+'</div><div class="blocks_wrapper"><div class="cl" title="'+BX.message("FANCY_CLOSE")+'">'+$(".close_block .closes").html()+"</div>"+(_this.closest(".preset-block").find(".apply_conf_block").hasClass("hidden")?"":'<div class="ch" data-id="'+_this.closest(".preset-block").data("id")+'">'+_this.closest(".preset-block").find(".apply_conf_block").html()+"</div>")+"</div>"),$('<div class="desc">'+_this.closest(".preset-block").find(".info .description").text()+"</div>").appendTo($(".dynamic_left_side .items_inner")),_this.closest(".preset-block").find(".info .description").data("img")&&$('<div class="img"><img src="'+_this.closest(".preset-block").find(".info .description").data("img")+'" /></div>').appendTo($(".dynamic_left_side .items_inner")),timerDynamicLeftSide&&(clearTimeout(timerDynamicLeftSide),timerDynamicLeftSide=!1),timerDynamicLeftSide=setTimeout((function(){$(".dynamic_left_side").addClass("active scrollblock")}),100)})),$(document).on("click",".dynamic_left_side .ch .btn",(function(e){var preset=$(this).parent().data("id");selectPreset(preset),$(".dynamic_left_side").removeClass("active")})),$(document).on("click",".dynamic_left_side .cl",(function(e){$(".dynamic_left_side").removeClass("active")}))}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.