PageSourceSearch

https://ameliashotgunsports.com/wp-content/themes/honor/plugins/trx_addons/trx_addons.js

js ameliashotgunsports.com collected 2026-10-04 06:21:53 UTC 4,448 bytes, 148 lines download raw bytes

1/* global jQuery:false */
2/* global HONOR_STORAGE:false */
3/* global TRX_ADDONS_STORAGE:false */
4
5(function() {
6	"use strict";
7	
8	jQuery(document).on('action.add_googlemap_styles', honor_trx_addons_add_googlemap_styles);
9	jQuery(document).on('action.init_hidden_elements', honor_trx_addons_init);
10	
11	// Add theme specific styles to the Google map
12	function honor_trx_addons_add_googlemap_styles(e) {
13		if (typeof TRX_ADDONS_STORAGE == 'undefined') return;
14		TRX_ADDONS_STORAGE['googlemap_styles']['dark'] = [
15            {
16                "featureType": "administrative",
17                "elementType": "all",
18                "stylers": [
19                    {
20                        "saturation": "-100"
21                    }
22                ]
23            },
24            {
25                "featureType": "administrative.province",
26                "elementType": "all",
27                "stylers": [
28                    {
29                        "visibility": "off"
30                    }
31                ]
32            },
33            {
34                "featureType": "landscape",
35                "elementType": "all",
36                "stylers": [
37                    {
38                        "saturation": -100
39                    },
40                    {
41                        "lightness": 65
42                    },
43                    {
44                        "visibility": "on"
45                    }
46                ]
47            },
48            {
49                "featureType": "poi",
50                "elementType": "all",
51                "stylers": [
52                    {
53                        "saturation": -100
54                    },
55                    {
56                        "lightness": "50"
57                    },
58                    {
59                        "visibility": "simplified"
60                    }
61                ]
62            },
63            {
64                "featureType": "road",
65                "elementType": "all",
66                "stylers": [
67                    {
68                        "saturation": "-100"
69                    }
70                ]
71            },
72            {
73                "featureType": "road.highway",
74                "elementType": "all",
75                "stylers": [
76                    {
77                        "visibility": "simplified"
78                    }
79                ]
80            },
81            {
82                "featureType": "road.arterial",
83                "elementType": "all",
84                "stylers": [
85                    {
86                        "lightness": "30"
87                    }
88                ]
89            },
90            {
91                "featureType": "road.local",
92                "elementType": "all",
93                "stylers": [
94                    {
95                        "lightness": "40"
96                    }
97                ]
98            },
99            {
100                "featureType": "transit",
101                "elementType": "all",
102                "stylers": [
103                    {
104                        "saturation": -100
105                    },
106                    {
107                        "visibility": "simplified"
108                    }
109                ]
110            },
111            {
112                "featureType": "water",
113                "elementType": "geometry",
114                "stylers": [
115                    {
116                        "hue": "#ffff00"
117                    },
118                    {
119                        "lightness": -25
120                    },
121                    {
122                        "saturation": -97
123                    }
124                ]
125            },
126            {
127                "featureType": "water",
128                "elementType": "labels",
129                "stylers": [
130                    {
131                        "lightness": -25
132                    },
133                    {
134                        "saturation": -100
135                    }
136                ]
137            }
138        ];
139	}
140	
141	
142	function honor_trx_addons_init(e, container) {
143		if (arguments.length < 2) var container = jQuery('body');
144		if (container===undefined || container.length === undefined || container.length == 0) return;
145		container.find('.sc_countdown_item canvas:not(.inited)').addClass('inited').attr('data-color', HONOR_STORAGE['alter_link_color']);
146	}
147
148})();

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.