PageSourceSearch

https://portalle.ru/assets/js/components/pages/landingElectra.js?ad6cb2d2463a8e3f

js portalle.ru collected 2026-09-30 09:38:36 UTC 3,613 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[1465],{8957(t,e,n){n.d(e,{E:()=>i,l:()=>r});var o=n(1032),i=function(t){return(0,o.A)(t,n.e(6545).then(n.bind(n,1558)))},r=function(t){return(0,o.A)(t,n.e(2436).then(n.bind(n,7705)))}},4927(t,e,n){n.r(e);var o=n(8957);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function a(){var t=$(window).scrollTop(),e=t+$(window).height();$(".js-text-animation:not(.text-animation)").each(function(){(function(t,e,n){var o=t.offset().top;return o+t.height()<=n&&o>=e})($(this),t,e)&&$(this).addClass("text-animation")})}$(document).on("click",".panel-card-preview",function(){var t=$(this),e=$(this).closest(".panel-card").find(".panel-card-preview").index(this),n=$(this).closest(".panel-card").find(".door-card").eq(e).clone();$(".panel-card-preview").removeClass("active"),t.addClass("active"),n.find('[data-async-loaded="true"]').attr("data-async-loaded","false"),$(".hit-block-door-card").empty().append(n),n.asyncLoader();var o=t.closest(".hit-block"),i=Object.assign({},n.data("door"),{fa_other:n.data("fa-other")});o.find(".js-door-consult").data("open-data",i),o.find(".js-door-recall").data("open-data",{fa_other:n.data("fa-other")})}).on("click",".electronic-system-card-add",function(){$(this).closest(".electronic-system-card").toggleClass("opened")}).ready(function(){a()}),$(window).scroll(function(){a()}),$("#show-hidden-content").on("click",function(){var t=$(".options-door-items"),e=0,n=parseInt(t.css("grid-column-gap"));t.hasClass("opened")?(t.removeClass("opened"),t.removeAttr("style"),$(this).removeClass("opened").html("<span>Показать еще 2 опции</span>")):(t.children().each(function(){var t=$(this);e+=t.height()+ +n}),t.addClass("opened"),t.css("max-height","".concat(e,"px")),$(this).addClass("opened").html("<span>Скрыть еще 2 опции</span>"))}),(0,o.l)(function(t){t($(".section-hero .swiper"),{slidesPerView:"auto",navigation:{button_prev:".section-hero .swiper-button-prev",button_next:".section-hero .swiper-button-next"},pagination:{el:".section-hero .swiper-pagination",type:"bullets"}}),t($("#door_presentation_slider"),{slidesPerView:"auto",breakpoints:{639:{spaceBetween:15},320:{spaceBetween:10}},navigation:{button_prev:".door-presentation-slider-prev",button_next:".door-presentation-slider-next"},on:{init:function(){var t=$(this.slides[this.activeIndex]).find(".door-presentation-slide-title").html();this.$el.find(".door-presentation-slider-title").html(t)},transitionStart:function(){this.$el.find(".door-presentation-slider-title").addClass("hide")},transitionEnd:function(){var t=$(this.slides[this.activeIndex]).find(".door-presentation-slide-title").html();this.$el.find(".door-presentation-slider-title").html(t).removeClass("hide")}}})});i(document.querySelectorAll(".live-video-item")).forEach(function(t){t.addEventListener("click",function(){t.classList.add("playing")})})}}]);

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.