PageSourceSearch

https://www.repsol.us/etc.clientlibs/repsol-catalog/clientlibs/cli…sic.min.644dfcb5eab36a2af4e75b9b3a5eb13b.js

js repsol.us collected 2026-09-29 19:08:12 UTC 4,921 bytes, 1 lines download raw bytes

1var DistributiveBasic={controller:null,init:function(){DistributiveBasic.controller=new ScrollMagic.Controller,$(document).find(".distributive-es-basic-component:not(.isAuthor)").each(function(){DistributiveBasic.loadAnimate($(this)),0<$(this).find(".animate-fall").length&&(0<$(this).parents(".tabs-ecommerce").length?0<$(this).parents(".cmp-tabs__tabpanel--active").length&&DistributiveBasic.fallAnimate($(this).parents(".tabs-ecommerce"),$(this).parents(".cmp-tabs__tabpanel--active")):DistributiveBasic.fallAnimateSimple($(this)),DistributiveBasic.initShowMore($(this))),0==$(this).find(".card-ecommerce").length&&$(this).hasClass("limit-height")&&DistributiveBasic.viewAllContent($(this)),0!=$(this).find(".card-funnel").length&&(Repsol.Analytics.ES.funnel.datalyDistributive($(this)),AnalyticsRomProdEcommerceContracting.distributiveDataLayer($(this)))}),DistributiveBasic.event(),DistributiveBasic.updateSiblingMargins(),DistributiveBasic.initModalLinks(),DistributiveBasic.initModalMobile(),DistributiveBasic.comparativeCardsHighlight()},event:function(){$(document).on("click",".distributive-es-basic-component.block-load-card .content-float-btn",function(){DistributiveBasic.viewAllContent($(this).parents(".block-load-card"))}),$(document).on("click",".tabs-ecommerce .cmp-tabs__tab",function(){var e=(e=$(this).attr("id")).substr(0,e.length-4),e=(DistributiveBasic.fallAnimate($(this).parents(".tabs-ecommerce"),$(document).find("#"+e)),$(this).parents(".tabs-ecommerce").find(".cmp-tabs__tabpanel.cmp-tabs__tabpanel--active"));e&&0!=(e=e.find(".distributive-es-basic-component:not(.isAuthor)")).find(".card-funnel").length&&(Repsol.Analytics.ES.funnel.datalyDistributive(e),AnalyticsRomProdEcommerceContracting.distributiveDataLayer(e))}),$(document).on("click",".tabs-ecommerce .cmp-tabs__tab a",function(e){e.preventDefault(),history.replaceState(null,null," "),$(this).closest(".cmp-tabs__tab").trigger("click")})},loadAnimate:function(e){var t,i;0<e.find(".card-animate").length&&1e3<$(window).width()&&(i=e.find(".card-animate"),t=e.height()/2,i=TweenMax.from(i,.5,{transform:"translate(0,40px)",ease:Power0.easeNone}),new ScrollMagic.Scene({triggerElement:e[0],duration:t,reverse:!1}).setTween(i).addTo(DistributiveBasic.controller))},fallAnimateSimple:function(e){var t;0<e.find(".animate-fall").length&&(t=TweenMax.staggerFromTo(e.find(".animate-fall .grid-card-item:not(.no-filter) .card-ecommerce"),.5,{transform:"translate(0,40px)",opacity:"0",ease:Power0.easeNone},{transform:"translate(0,0)",opacity:"1",ease:Power0.easeNone},.4),new ScrollMagic.Scene({triggerElement:e[0],reverse:!1}).setTween(t).addTo(DistributiveBasic.controller))},fallAnimate:function(e,t){0<e.find(".animate-fall").length&&(t=TweenMax.staggerFromTo(t.find(".animate-fall .grid-card-item:not(.no-filter) .card-ecommerce"),.5,{transform:"translate(0,40px)",opacity:"0",ease:Power0.easeNone},{transform:"translate(0,0)",opacity:"1",ease:Power0.easeNone},.4),new ScrollMagic.Scene({triggerElement:e[0],reverse:!1}).setTween(t).addTo(DistributiveBasic.controller))},initShowMore:function(e){0<e.find(".animate-fall").length&&(1024<=$(window).width()&&e.find(".card-ecommerce").length<4&&DistributiveBasic.viewAllContent(e),$(window).width()<1024)&&e.find(".card-ecommerce").length<3&&DistributiveBasic.viewAllContent(e)},viewAllContent:function(e){e.removeClass("limit-height")},updateSiblingMargins:function(){function e(e,t,i,n,a){t=e[t]();t.length&&t.hasClass(i)&&t.find(n).length&&e.addClass(a)}$(".cmb-btn").each(function(){e($(this),"prev","rp-btn-turquoise",".rp-btn.rp-link-click","has-sibling-mt")}),$(".JS-modal-link").each(function(){e($(this),"next","rp-btn-secondary",".rp-btn.rp-link-click","has-sibling-mb")})},updateModalLinks:function(){document.querySelectorAll(".JS-modal-link").forEach(e=>{var t=e.querySelector("a.rp-link-click"),e=e.closest(".card-product");t&&(e=e.getElementsByClassName("input-modal-id")[0].value,t.setAttribute("data-toggle","modal"),t.setAttribute("data-target","#"+e))})},initModalLinks:function(){new MutationObserver(()=>{DistributiveBasic.updateModalLinks()}).observe(document.body,{childList:!0,subtree:!0}),DistributiveBasic.updateModalLinks()},initModalMobile:function(){var e=()=>{let t=window.innerWidth<=767;
1document.querySelectorAll(".JS-desktop-text").forEach(e=>e.style.display=t?"none":"block"),document.querySelectorAll(".JS-mobile-text").forEach(e=>e.style.display=t?"block":"none"),document.querySelectorAll(".modal-image-qr").forEach(e=>e.style.display=t?"none":"block"),document.querySelectorAll(".button-apps-container").forEach(e=>e.style.display=t?"block":"none")};e(),window.addEventListener("resize",e)},comparativeCardsHighlight:function(){document.querySelectorAll(".card-comparative-cover-none").forEach(e=>{e.querySelector(".becobar-type-highlight")&&e.classList.add("border-container-recomend")})}};$(document).ready(function(){DistributiveBasic.init()});

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.