PageSourceSearch

https://www.trepp.com/hubfs/hub_generated/module_assets/1/41699263858/1742189083047/module_Columns.min.js

js trepp.com collected 2026-10-02 14:37:03 UTC 5,091 bytes, 132 lines download raw bytes

1  var module_41699263858 = (function() {
2    var __hs_messages = {};
3    i18n_getmessage = function() {
4      return hs_i18n_getMessage(__hs_messages, hsVars['language'], arguments); 
5    };
6    i18n_getlanguage = function() {
7      return hsVars['language']; 
8    };
9function sizeSectioncolumnsdividers() {
10  setTimeout(function () {
11    $("body").find(".section--columns--hasdividers").each(function () {
12      thisSection = $(this);
13      thisSectionColumnVerticalPadding = (thisSection.find(".section--columns--column:eq(0)").outerHeight() - thisSection.find(".section--columns--column:eq(0)").height())/2;
14      thisSection.find(".section--columns--divider--vertical").css({
15        "height":"",
16        "margin":""
17      });
18      thisSection.find(".section--columns--column--body, .section--coulumns--column--body--content").css({
19        "min-height":""
20      });
21      rowHeights = [];
22      contentHeights = [];
23      columnHeight = 0;
24      contentHeight = 0;
25      totalColumns = thisSection.find(".section--columns--column").length;
26      columnWidths = {}
27      thisColumns = thisSection.find(".section--columns--grid");
28      if (thisColumns.attr("data-columns--desk")) {
29        columnWidths["desk"] = parseInt(thisColumns.attr("data-columns--desk"));
30      }
31      if (thisColumns.attr("data-columns--desk")) {
32        columnWidths["lap"] = parseInt(thisColumns.attr("data-columns--lap"));
33      }
34      if (thisColumns.attr("data-columns--desk")) {
35        columnWidths["tablet"] = parseInt(thisColumns.attr("data-columns--tablet"));
36      }
37      if (thisColumns.attr("data-columns--desk")) {
38        columnWidths["palm"] = parseInt(thisColumns.attr("data-columns--palm"));
39      }
40      thisSection.find(".section--columns--column").each(function (index) {
41        thisHeight = $(this).find(".section--columns--column--body").height();
42        contentHeight = $(this).find(".section--coulumns--column--body--content").height();
43        if (viewport("desk")) {
44          rowIndex = Math.floor(index / columnWidths["desk"]);
45        }
46        else if (viewport("lap")) {
47          rowIndex = Math.floor(index / columnWidths["lap"]);
48        }
49        else if (viewport("tablet")) {
50          rowIndex = Math.floor(index / columnWidths["tablet"]);
51        }
52        else if (viewport("palm")) {
53          rowIndex = Math.floor(index / columnWidths["palm"]);
54        }
55        else {
56          rowIndex = 0; 
57        }
58        if (!rowHeights[rowIndex]) {
59          rowHeights.push(0);
60          contentHeights.push(0);
61        }
62        if (thisHeight > rowHeights[rowIndex]) {
63          rowHeights[rowIndex] = thisHeight;
64        }
65        if (contentHeight > contentHeights[rowIndex]) {
66          contentHeights[rowIndex] = contentHeight;
67        }
68      });
69      if (((viewport("desk"))&&(thisSection.find(".section--columns--column").hasClass("one-whole")))||((viewport("lap"))&&(thisSection.find(".section--columns--column").hasClass("lap-one-whole")))||((viewport("tablet"))&&(thisSection.find(".section--columns--column").hasClass("tablet-one-whole")))||((viewport("palm"))&&(thisSection.find(".section--columns--column").hasClass("palm-one-whole")))) {
70
71      }
72      else {
73        if (viewport("desk")) {
74          columnCount = columnWidths["desk"]; 
75        }
76        else if (viewport("lap")) {
77          columnCount = columnWidths["lap"]; 
78        }
79        else if (viewport("tablet")) {
80          columnCount = columnWidths["tablet"]; 
81        }
82        else if (viewport("palm")) {
83          columnCount = columnWidths["palm"]; 
84        }
85        else {
86          columnCount = 1; 
87        }
88        thisSection.find(".section--columns--column").each(function (index) {
89          if (viewport("desk")) {
90            rowIndex = Math.floor(index / columnWidths["desk"]);
91          }
92          else if (viewport("lap")) {
93            rowIndex = Math.floor(index / columnWidths["lap"]);
94          }
95          else if (viewport("tablet")) {
96            rowIndex = Math.floor(index / columnWidths["tablet"]);
97          }
98          else if (viewport("palm")) {
99            rowIndex = Math.floor(index / columnWidths["palm"]);
100          }
101          else {
102            rowIndex = 0; 
103          }
104          $(this).find(".section--coulumns--column--body--content").css({
105            "min-height":contentHeights[rowIndex]+"px"
106          });
107          $(this).find(".section--columns--column--body").css({
108            "min-height":rowHeights[rowIndex]+"px"
109          });
110        });
111        thisSection.find(".section--columns--divider--vertical").each(function (index) {
112          rowIndex = Math.floor(index / columnCount);
113          $(this).css({
114            "height":(rowHeights[rowIndex] + 0)+"px",
115            "margin":(thisSectionColumnVerticalPadding)+"px 0px"
116          });
117        });
118      }
119    }); 
120  },100);
121}
122sizeSectioncolumnsdividers();
123$(document).ready(function () {
124  sizeSectioncolumnsdividers();
125  $(window).resize(function () {
126    sizeSectioncolumnsdividers();
127  });
128});
129$(window).load(function () {
130  sizeSectioncolumnsdividers();
131});
132  })();

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.