PageSourceSearch

https://www.seqohs.org/Scripts/HomePage2023.js

js seqohs.org collected 2026-10-04 02:59:26 UTC 6,041 bytes, 163 lines download raw bytes

1
2
3$('body').on("click", ".dropdown-menu", function (e) {
4    $(this).parent().is(".open") && e.stopPropagation();
5});
6
7$('.selectall').click(function () {
8    if ($(this).is(':checked')) {
9        $('.option').prop('checked', true);
10        var total = $('input[name="options[]"]:checked').length;
11        $(".dropdown-text").html('(' + total + ') Selected');
12        $(".select-text").html(' Deselect');
13    } else {
14        $('.option').prop('checked', false);
15        $(".dropdown-text").html('(0) Selected');
16        $(".select-text").html(' Select');
17    }
18});
19
20$("input[type='checkbox'].justone").change(function () {
21    var a = $("input[type='checkbox'].justone");
22    if (a.length == a.filter(":checked").length) {
23        $('.selectall').prop('checked', true);
24        $(".select-text").html(' Deselect');
25    }
26    else {
27        $('.selectall').prop('checked', false);
28        $(".select-text").html(' Select');
29    }
30    var total = $('input[name="options[]"]:checked').length;
31    $(".dropdown-text").html('(' + total + ') Selected');
32});
33
34function toggleDropdown(elem) {
35    var id = $(elem).attr("id");
36    var ul;
37
38    if (id == 'btnDrpWhat')
39        ul = $('[id*="searchDropdownOne"]');
40    else
41        ul = $('[id*="searchDropdownTwo"]');
42
43    if (ul) {
44        if (ul.hasClass('show')) {
45            ul.removeClass('show');
46        }
47        else {
48            ul.addClass('show');
49        }
50    }
51}
52
53AOS.init();
54// data-aos="fade-up" data-aos-delay="50" data-aos-duration="1000"
55AOS.init({
56    // Global settings:
57    disable: false, // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function
58    startEvent: "DOMContentLoaded", // name of the event dispatched on the document, that AOS should initialize on
59    initClassName: "aos-init", // class applied after initialization
60    animatedClassName: "aos-animate", // class applied on animation
61    useClassNames: false, // if true, will add content of `data-aos` as classes on scroll
62    disableMutationObserver: false, // disables automatic mutations' detections (advanced)
63    debounceDelay: 50, // the delay on debounce used while resizing window (advanced)
64    throttleDelay: 99, // the delay on throttle used while scrolling the page (advanced)
65    // Settings that can be overridden on per-element basis, by `data-aos-*` attributes:
66    offset: 120, // offset (in px) from the original trigger point
67    delay: 0, // values from 0 to 3000, with step 50ms
68    duration: 400, // values from 0 to 3000, with step 50ms
69    easing: "ease", // default easing for AOS animations
70    once: true, // whether animation should happen only once - while scrolling down
71    mirror: false, // whether elements should animate out while scrolling past them
72    anchorPlacement: "top-bottom", // defines which position of the element regarding to window should trigger the animation
73});
74
75const counterUp = window.counterUp.default
76const callback = entries => {
77    entries.forEach(entry => {
78        const el = entry.target
79        if (entry.isIntersecting && !el.classList.contains('is-visible')) {
80            counterUp(el, {
81                delay: 10,
82                time: 1000,
83            })
84            el.classList.add('is-visible')
85        }
86    })
87}
88const IO = new IntersectionObserver(callback, {
89    threshold: 1
90})
91
92const elements = document.querySelectorAll('.counter'); elements.forEach(el => { IO.observe(el); });
93
94var config = {
95    apiKey: 'f18a5a4d532683a1fea2627c5a967f6bd4cf273d',
96    product: 'PRO_MULTISITE',
97    mode: 'gdpr',
98    position: 'left',
99    rejectButton: true,
100    initialState: "OPEN",
101    theme: 'light',
102    acceptBackground: '#03e3ed',
103   
104    text: {
105        accept: 'I accept',
106        reject: 'I do not accept',
107        title: 'Cookies are a small piece of data stored on your computer, which help us personalise your website experience.',
108        acceptSettings: 'I accept',
109        rejectSettings: 'I do not accept',
110        necessaryTitle: 'Necessary cookies',
111        necessaryDescription: "Necessary cookies enable core functionality such as page navigation and access to secure areas. Our website can't function properly without these cookies: you can only disable these by changing your browser preferences.",
112    },
113    statement: {
114
115        description: 'For more information vist our',
116        name: 'Privacy Statement',
117        url: '/CMS/Page.aspx?PageId=1172',
118        updated: '26/01/2018'
119    },
120    optionalCookies: [
121        {
122            name: 'analytics',
123            label: 'Analytics',
124            description: "Analytics cookies collect and report information on how our website's used, helping us improve your time with us.",
125            cookies: ['_ga', '_gid'],
126            recommendedState: true,
127            onAccept: function () {
128                dataLayer.push({
129                    event: 'analyticsAccepted',
130                    analyticsconsent: 'fire analytics'
131                });
132            },
133            onRevoke: function () {
134                dataLayer.push({
135                    event: 'analyticsRevoked',
136                    analyticsconsent: 'block analytics'
137                });
138                document.cookie = "seqohs-cookie-message=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
139            }
140        }
141    ],
142    branding: {
143        fontColor: "#333",
144        backgroundColor: "#fcfbf5",
145        fontSizeTitle: "1.2em",
146        fontSizeIntro: "1em",
147        fontSizeHeaders: "1em",
148        fontSize: "0.9em",
149        acceptBackground: "#03E3ED",
150        rejectBackground: "#03E3ED",
151        triangle: "#03E3ED",
152        toggleText: "#fff",
153        toggleColor: "#03E3ED",
154        toggleBackground: "#1F243D",
155        buttonIcon: null,
156        buttonIconWidth: "64px",
157        buttonIconHeight: "64px",
158        removeIcon: false,
159        removeAbout: false
160    }
161};
162
163CookieControl.load(config);

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.