PageSourceSearch

https://perlsystem.de/wp-content/plugins/learndash-course-grid/assets/js/elementor.js?ver=2.0.10

js perlsystem.de collected 2026-10-06 21:16:23 UTC 1,417 bytes, 44 lines download raw bytes

1/******/ (() => { // webpackBootstrap
2var __webpack_exports__ = {};
3/*!************************************!*\
4  !*** ./src/assets/js/elementor.js ***!
5  \************************************/
6/**
7 * Elementor compatibility script
8 */
9
10(function () {
11  let gridFound, masonryFound;
12  const gridObserver = new MutationObserver(function (mutations) {
13    mutations.forEach(function (mutationRecord) {
14      const grid = mutationRecord.target.querySelector('.learndash-course-grid'),
15        skin = grid.dataset.skin,
16        display = mutationRecord.target.style.display;
17      if ('none' !== display) {
18        if ('grid' === skin) {
19          gridFound = true;
20        } else if ('masonry' === skin) {
21          masonryFound = true;
22        }
23      }
24    });
25    if (gridFound && 'function' === typeof learndash_course_grid_init_grid_responsive_design) {
26      learndash_course_grid_init_grid_responsive_design();
27    }
28    if (masonryFound && 'function' === typeof learndash_course_grid_init_masonry_responsive_design) {
29      learndash_course_grid_init_masonry_responsive_design();
30    }
31  });
32  const grids = document.querySelectorAll('.learndash-course-grid');
33  grids.forEach(function (grid) {
34    const target = grid.closest('.elementor-tab-content');
35    if (target) {
36      gridObserver.observe(target, {
37        attributes: true,
38        attributeFilter: ['style']
39      });
40    }
41  });
42})();
43/******/ })()
44;

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.