PageSourceSearch

https://www.raiffeisen.hu/o/raiffeisen-theme/js/components/Accordion.js?minifierType=js&t=1790242627759

js raiffeisen.hu collected 2026-09-24 09:38:16 UTC 1,622 bytes, 44 lines download raw bytes

1/*1786086148000*/
2("use strict");
3//raiffeisen accordion
4let raiffeisenAccordion = (() => {
5    const app = () => {
6        const accordions = document.querySelectorAll('.rbhu-accordion');
7
8        accordions.forEach(accordion => {
9            const accordionItems = accordion.querySelectorAll('.rbhu-accordion-item');
10
11            accordionItems.forEach(item => {
12                const headerContainer = item.querySelector('.rbhu-accordion-item-header-container');
13                const header = item.querySelector('.rbhu-accordion-item-header');
14                const panel = item.querySelector('.rbhu-accordion-item-panel');
15
16                headerContainer.addEventListener('click', function () {
17                    const isOpen = header.classList.contains('active');
18                    closeAllItems(accordionItems);
19                    if (!isOpen) {
20                        openItem(header, panel);
21                    }
22                });
23            });
24
25            function closeAllItems(items) {
26                items.forEach(item => {
27                    const header = item.querySelector('.rbhu-accordion-item-header');
28                    const panel = item.querySelector('.rbhu-accordion-item-panel');
29                    header.classList.remove('active');
30                    panel.classList.remove('show');
31                });
32            }
33
34            function openItem(header, panel) {
35                header.classList.add('active');
36                panel.classList.add('show');
37            }
38        });
39    };
40
41    return {
42        app: app,
43    };
44})();

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.