Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor1/web/themes/contrib/adaptivetheme/at_core/scripts/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/rocksensor1/web/themes/contrib/adaptivetheme/at_core/scripts/at.responsiveColumns.js

/**
 * @file
 * Responsive Columns
 * We need to know if layout columns will fit in the horizontal space.
 */
(function ($, Drupal, window) {

  'use strict';

  function init(i, columns) {

    var rep_cols = $(columns);

    function handleResize(e) {
      rep_cols.addClass('is-horizontal');

      var layout_cols = rep_cols.find('.is-responsive__layout');
      var layout_cols_width = 0;

      layout_cols.find('.is-responsive__column').each(function() {
        layout_cols_width += $(this).outerWidth(true);
      });

      var isHorizontal = layout_cols.outerWidth(true) >= layout_cols_width;

      if (isHorizontal == false) {
        rep_cols.removeClass('is-horizontal').addClass('is-vertical');
      } else {
        rep_cols.removeClass('is-vertical').addClass('is-horizontal');
      }
    }

    $(window).on('resize.layout_cols', Drupal.debounce(handleResize, 150)).trigger('resize.layout_cols');
  }

  // Initialize the Responsive Cols.
  Drupal.behaviors.atRC = {
    attach: function (context) {
      var columns = $(context).find('[data-at-responsive-columns]');
      if (columns.length) {
        columns.once().each(init);
      }
    }
  };
})(jQuery, Drupal, window);

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net