PageSourceSearch

https://www.yves-rocher.it/modules/custom/yr_base/js/categories_bar.js?v=11.3.10

js yves-rocher.it collected 2026-09-25 21:07:50 UTC 704 bytes, 20 lines download raw bytes

1(function ($, Drupal) {
2  "use strict";
3  Drupal.behaviors.categoriesBar = {
4    attach: function (context, settings) {
5      $(".categories .category-wrapper").hover(
6        function () {
7          var category = $(this).find('.nav-link').data('submenu');
8          $('.categories .category').removeClass('active');
9          $('.' + category + '-wrapper' + ' .' + category).addClass('active');
10          $('.categories .' + category).show();
11        },
12        function () {
13          var category = $(this).find('.nav-link').data('submenu');
14          $('.categories .category').removeClass('active');
15          $('.categories .' + category).hide();
16        }
17      );
18    }
19  };
20})(jQuery, Drupal);

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.