PageSourceSearch

https://www.grossweil.de/wp-content/plugins/download-attachments/js/frontend.js?ver=1.4.1

js grossweil.de collected 2026-09-25 05:03:53 UTC 2,351 bytes, 74 lines download raw bytes

1(function(){"use strict";(function($) {
2  function getTableControls() {
3    var before = [];
4    var after = [];
5    [
6      {
7        feature: "pageLength",
8        placement: daDataTablesArgs.inputs.perPagePlacement
9      },
10      {
11        feature: "search",
12        placement: daDataTablesArgs.inputs.searchPlacement
13      },
14      {
15        feature: "info",
16        placement: daDataTablesArgs.inputs.recordCountPlacement
17      },
18      {
19        feature: "paging",
20        placement: daDataTablesArgs.inputs.paginationLinkPlacement
21      }
22    ].forEach(function(item) {
23      if (item.placement === "after") after.push(item.feature);
24      else before.push(item.feature);
25    });
26    return {
27      before,
28      after
29    };
30  }
31  function getColumnTypes() {
32    return daDataTablesArgs.columnTypes.map(function(column) {
33      if (column.orderable === false) return column;
34      return $.extend({}, column, {
35        orderSequence: ["asc", "desc"]
36      });
37    });
38  }
39  $(function() {
40    var controls = getTableControls();
41    $.fn.DataTable.ext.pager.numbers_length = daDataTablesArgs.inputs.paginationGap.reduce((a, b) => a + b, 0) + 3;
42    $(".da-attachments-dynatable").DataTable({
43      paging: daDataTablesArgs.features.paginate,
44      info: daDataTablesArgs.features.recordCount,
45      searching: daDataTablesArgs.features.search,
46      stateSave: daDataTablesArgs.features.pushState,
47      ordering: daDataTablesArgs.features.sort,
48      order: [],
49      pageLength: daDataTablesArgs.dataset.perPageDefault,
50      lengthChange: daDataTablesArgs.features.perPageSelect,
51      lengthMenu: daDataTablesArgs.dataset.perPageOptions,
52      columns: getColumnTypes(),
53      layout: {
54        topStart: null,
55        topEnd: null,
56        bottomStart: null,
57        bottomEnd: null,
58        top: controls.before.length > 0 ? controls.before : null,
59        bottom: controls.after.length > 0 ? controls.after : null
60      },
61      pagingType: "simple_numbers",
62      language: {
63        info: daDataTablesArgs.inputs.recordCountText,
64        lengthMenu: daDataTablesArgs.inputs.perPageText,
65        loadingRecords: daDataTablesArgs.inputs.processingText,
66        paginate: {
67          next: daDataTablesArgs.inputs.paginationNext,
68          previous: daDataTablesArgs.inputs.paginationPrev
69        }
70      }
71    });
72  });
73})(jQuery);
74})();

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.