PageSourceSearch

https://www.ardencompanies.com/wp-content/themes/zeyn/js/select.init.js?ver=1.0.0

js ardencompanies.com collected 2026-10-04 23:53:49 UTC 3,211 bytes, 125 lines download raw bytes

1(function() {
2  "use strict";
3  
4  var init, setupWidgetCategoriesSelect, setupWidgetArchiveSelect, setupBottomWidgetCategoriesSelect, setupBottomWidgetArchiveSelect;
5
6  init = function() {
7
8    var i = 0;
9    if (jQuery('.sidebar .widget_categories select').length) {
10      jQuery('.sidebar .widget_categories select').each(function(index) {
11        new Select({
12          el: jQuery('.sidebar .widget_categories select')[i],
13          alignToHighlighted: 'always'
14        });
15        i++;
16      });
17    }
18
19    var i = 0;
20    if (jQuery('.sidebar .widget_archive select').length) {
21      jQuery('.sidebar .widget_archive select').each(function(index) {
22        new Select({
23          el: jQuery('.sidebar .widget_archive select')[i],
24          alignToHighlighted: 'always'
25        });
26        i++;
27      });
28    }
29
30    var i = 0;
31    if (jQuery('.footer-section .widget_categories select').length) {
32      jQuery('.footer-section .widget_categories select').each(function(index) {
33        new Select({
34          el: jQuery('.footer-section .widget_categories select')[i],
35          alignToHighlighted: 'always'
36        });
37        i++;
38      });
39    }
40
41    var i = 0;
42    if (jQuery('.footer-section .widget_archive select').length) {
43      jQuery('.footer-section .widget_archive select').each(function(index) {
44        new Select({
45          el: jQuery('.footer-section .widget_archive select')[i],
46          alignToHighlighted: 'always'
47        });
48        i++;
49      });
50    }
51
52    var i = 0;
53    if (jQuery('.woocommerce-ordering select').length) {
54      jQuery('.woocommerce-ordering select').each(function(index) {
55        new Select({
56          el: jQuery('.woocommerce-ordering select')[i],
57          alignToHighlighted: 'always'
58        });
59        i++;
60      });
61    }
62    var i = 0;
63    if (jQuery('.wpcf7-select').length) {
64      jQuery('.wpcf7-select').each(function(index) {
65        new Select({
66          el: jQuery('.wpcf7-select')[i],
67          alignToHighlighted: 'always'
68        });
69        i++;
70      });
71    }
72
73/*
74    var i = 0;
75    jQuery('select.country_to_state').each(function(index) {
76      new Select({
77        el: jQuery('select.country_to_state')[i],
78        alignToHighlighted: 'always'
79      });
80      i++;
81    });
82
83    var i = 0;
84    jQuery('select.state_select').each(function(index) {
85      new Select({
86        el: jQuery('select.state_select')[i],
87        alignToHighlighted: 'always'
88      });
89      i++;
90    });
91*/
92  };
93
94  setupWidgetCategoriesSelect = function() {
95    return new Select({
96      el: jQuery('.sidebar .widget_categories select')[0],
97      alignToHighlighted: 'always'
98    });
99  };
100
101  setupWidgetArchiveSelect = function() {
102    return new Select({
103      el: jQuery('.sidebar .widget_archive select')[0],
104      alignToHighlighted: 'always'
105    });
106  };
107
108  setupBottomWidgetCategoriesSelect = function() {
109    return new Select({
110      el: jQuery('.footer-section .widget_categories select')[0],
111      alignToHighlighted: 'always'
112    });
113  };
114
115  setupBottomWidgetArchiveSelect = function() {
116    return new Select({
117      el: jQuery('.footer-section .widget_archive select')[0],
118      alignToHighlighted: 'always'
119    });
120  };
121
122
123  init();
124
125}).call(this);

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.