PageSourceSearch

https://mxat.ru/local/templates/mxat.site/assets/ui/select/select.js?1787665113956

js mxat.ru collected 2026-10-02 07:48:31 UTC 956 bytes, 32 lines download raw bytes

1document.addEventListener('DOMContentLoaded', () => {
2	document.querySelectorAll('.choices-select').forEach((select) => {
3		const containerClasses = select.dataset.containerClasses;
4
5		const containerOuter = ['choices', 'typescale-label-medium'];
6
7		if (containerClasses) {
8			containerOuter.push(containerClasses.split(' '));
9		}
10
11		const choices = new Choices(select, {
12			searchEnabled: false,
13			itemSelectText: '',
14			classNames: {
15				containerOuter,
16			},
17			sorter: (a, b) => 0
18		});
19
20		// Обработка disabled состояния
21		if (select.disabled) {
22			const selectWrapper = select.closest('.choices');
23			if (selectWrapper) selectWrapper.classList.add('is-disabled');
24		}
25
26    if (select.classList.contains('choices--with-padding-start')) {
27      select.closest('.choices').classList.add('choices--with-padding-start');
28    }
29
30    document.querySelector('.reset-filter-button')?.classList.add('reset-filter-button--visible');
31	});
32});

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.