PageSourceSearch

https://www.endocrincentr.ru/sites/all/modules/colorbox/js/colorbox.js?tlt5f2

js endocrincentr.ru collected 2026-09-24 19:05:05 UTC 683 bytes, 27 lines download raw bytes

1(function ($) {
2
3Drupal.behaviors.initColorbox = {
4  attach: function (context, settings) {
5    if (!$.isFunction($.colorbox) || typeof settings.colorbox === 'undefined') {
6      return;
7    }
8
9    if (settings.colorbox.mobiledetect && window.matchMedia) {
10      // Disable Colorbox for small screens.
11      var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")");
12      if (mq.matches) {
13        return;
14      }
15    }
16
17    $('.colorbox', context)
18      .once('init-colorbox')
19      .colorbox(settings.colorbox);
20
21    $(context).bind('cbox_complete', function () {
22      Drupal.attachBehaviors('#cboxLoadedContent');
23    });
24  }
25};
26
27})(jQuery);

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.