PageSourceSearch

https://www.lamprechtshausen.at/cdnstatic/system/Javascript/ris/ea_dynamic.js

js lamprechtshausen.at collected 2026-10-02 18:43:37 UTC 14,464 bytes, 245 lines download raw bytes

1let ddiv = document.createElement("div");
2ddiv.id = "mobilitylang";
3ddiv.style.display = "none";
4ddiv.innerHTML = "<p class='mobilitycurrentlang'><span class='mobilityiconlang'></span></p>";
5document.body.appendChild(ddiv);
6
7
8/* eslint-disable */
9let eA_top = (typeof eARIS_top !== 'undefined') ? eARIS_top : '20%'; // top position of the icon e.g. "200px" or "calc(50% -44px)"
10let eA_side = (typeof eARIS_side !== 'undefined') ? eARIS_side : 'right'; // side position icon e.g. "left", only works on desktop
11let eA_sideDistance = (typeof eARIS_sideDistance !== 'undefined') ? eARIS_sideDistance : '10px'; // side distance of the icon e.g. "200px" or "calc(50% -44px)"
12let eA_bottom = (typeof eARIS_bottom !== 'undefined') ? eARIS_bottom : '20%'; //Mobile bottom position
13let eA_privacyPath = 'https://eye-able.com/hinweis-datenschutz/'; //Url of the privacy notification
14let eA_path = 'https://www.eye-able-cdn.com/'; //Change to the local path of the public folder when hosting Eye-Able
15let eA_configPath = 'https://www.eye-able-cdn.com/configs/'; //Change to the local path of the config when hosting Eye-Able
16
17let t1 = 'Eye-Able® - Visuelle Hilfe';
18let t2 = 'Passe diese Seite visuell an oder lass sie Dir vorlesen. Klicken zum Öffnen.';
19let t3 = 'Externer Dienst';
20let t4 = 'Mehr Infos';
21if (
22    document.documentElement.lang &&
23    (document.documentElement.lang.includes('en') || !document.documentElement.lang.includes('de'))
24) {
25    t1 = 'Eye-Able® - Visual Help';
26    t2 = 'Customize this website visually or use the screenreader. Click to open.';
27    t3 = 'External Service';
28    t4 = 'More Info';
29    eA_privacyPath = 'https://eye-able.com/en/hinweis-datenschutz/';
30}
31
32let eA_bColor = '#000000'; //background color of the icon
33function eyeAble_updateConfig() {
34    window.eyeAble_pluginConfig.customIconColor = '#000000';
35}
36
37let eA_loaded = false;
38function aEA() {
39    if (!eA_loaded) {
40        let eA_h = document.querySelector('head') || document.body;
41        let s = document.createElement('script');
42        let c = document.createElement('script');
43        s.src = eA_path + 'public/js/eyeAble.js';
44        s.async = true;
45        c.src = eA_configPath + eA_domain + '.js';
46        // c.async = true;
47        eA_h.appendChild(c);
48        eA_h.appendChild(s);
49        eA_loaded = true;
50    }
51}
52
53//load directly if a LocalStorage Entry exists
54if (localStorage.getItem('eyeAbleVariables')) {
55    aEA();
56} else {
57    function s() {
58        //Check for custom opener elements
59        let co = document.querySelectorAll(
60            '.eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID,.eyeAble_customToolOpenerNoHideClass'
61        );
62        if (window.location.hash.substr(1) === 'showEyeAble') {
63            aEA();
64            return;
65        }
66        if (co.length > 0) {
67            function cOf() {
68                eA_open = true;
69                aEA();
70                co.forEach(e => e.removeEventListener('click', cOf));
71            }
72            co.forEach(e => e.addEventListener('click', cOf));
73            co.forEach(e =>
74                e.addEventListener('keyup', function (e) {
75                    if (event.which === 13) cOf();
76                })
77            );
78        } else {
79            let t = document.createElement('Eye-Able');
80            t.setAttribute('id', 'eA_Opener');
81            t.attachShadow({ mode: 'open' });
82            //append after the first link that is not a jump to a landmark
83            if (document.links.length > 0) {
84                //check if the first link has an hash, which would indicate a jump to a landmark
85                if (!document.links[0].hash) {
86                    //no hash
87                    document.body.prepend(t);
88                } else {
89                    for (let i = 0; i < document.links.length; i++) {
90                        if (
91                            document.links[i].hash &&
92                            document.links[i].baseURI.includes(window.location.hostname)
93                        ) {
94                            //link with hash found! Place access after this one
95                        } else {
96                            if (i === 0) {
97                                //make sure its not places at the end
98                                document.body.prepend(t);
99                                break;
100                            } else {
101                                //a link has been found without an hash. Place the access link right after the last link that had an hash
102                                document.links[i - 1].after(t);
103                                break;
104                            }
105                        }
106                    }
107                }
108            } else {
109                document.body.prepend(t);
110            }
111            // document.body.appendChild(t);
112            let h = document.createElement('div');
113            if (window.innerWidth < 700) {
114                eA_side = 'right';
115            }
116            h.setAttribute(
117                'style',
118                'position: fixed;top:' + eA_top + ';' + eA_side + ': 11px;z-index: 2147483648'
119            );
120            t.shadowRoot.appendChild(h);
121            let ts = 'left';
122            if (eA_side === 'left') ts = 'right';
123            let eA_fColor = '#fff'; //foreground color of the icon
124            let s =
125                '' +
126                '<div aria-hidden="true" id="t" style="display:none;' +
127                ts +
128                ': -350px;top: -40px;position: absolute;background: black;color: white;width: 290px;padding: 11px 20px 28px;border-radius: 20px;border: 3px solid #fff;font-family:Open Sans,sans-serif;font-weight: 400;font-size: 17px;line-height:24px;box-shadow: 0 0 8px 1px rgb(0 0 0 / 50%);">' +
129                '   <div style="font-size: 22px;font-weight: bold;padding-bottom: 8px;margin-bottom: 8px;border-bottom: 3px solid;">' +
130                t1 +
131                '</div>' +
132                '   <p style="margin: 0 0 13px 0;">' +
133                t2 +
134                '</p>' +
135                '   <p style="position: absolute;bottom: 11px;right: 22px;margin: 0;font-weight: bold;font-size: 16px;">' +
136                t3 +
137                ' (<a href="' +
138                eA_privacyPath +
139                '" target="_blank" style="' +
140                '    color: white;text-decoration: underline;cursor: pointer;">' +
141                t4 +
142                '</a>)</p>' +
143                '</div>' +
144                '<div tabindex="0" role="button" aria-label="' +
145                t1 +
146                ' ' +
147                t2 +
148                t3 +
149                '" id="i" style="width: 70px;cursor: pointer;transition: transform 150ms ease;">' +
150                '   <svg style="filter: drop-shadow(2px 3px 4px #505050);" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewB
150ox="0 0 389.9 389.6" preserveAspectRatio="none" xmlns:v="https://vecta.io/nano"><defs><linearGradient id="A" x1="253.85" y1="63.7" x2="253.85" y2="480.49" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4f4f4e"></stop><stop offset=".26" stop-color="#313130"></stop><stop offset=".55" stop-color="#161616"></stop><stop offset=".8" stop-color="#060606"></stop><stop offset="1"></stop></linearGradient><linearGradient id="B" x1="214.9" y1="353.49" x2="286.3" y2="353.49" gradientTransform="matrix(0.16, 0.99, 0.99, -0.16, -138.47, -44.34)" xlink:href="#A"></linearGradient><linearGradient id="C" x1="135.26" y1="296.4" x2="365.84" y2="296.4" xlink:href="#A"></linearGradient></defs><path style="fill:' +
151                eA_bColor +
152                '" d="M201.6 443.2h-33.4c-27.7 0-51.9-9.6-71.9-28.4a101.84 101.84 0 0 1-30.6-56.2 107.42 107.42 0 0 1-1.7-19v-52.7l.1-120.5c.1-26.7 9.5-50.3 28.1-70.1a101.58 101.58 0 0 1 55.6-30.7 104 104 0 0 1 20.9-1.9H339c25.9 0 48.8 8.3 68.1 24.6a102 102 0 0 1 34.5 58.2 100.5 100.5 0 0 1 2.1 20.8V340a99.13 99.13 0 0 1-11 46.3c-15.9 30.4-41 49.1-74.7 55.6a95.89 95.89 0 0 1-17.6 1.6h-87.8z" transform="translate(-59.2 -58.6)" fill="url(#A)"></path><path style="fill:' +
153                eA_fColor +
154                '" d="M279.9 10c24.4 0 46.2 7.6 64.8 23.4C362 48 372.9 66.6 377.6 88.8a93.42 93.42 0 0 1 2 19.7q0 86.4.1 172.7a94.41 94.41 0 0 1-10.4 44q-22.8 43.65-71.2 53a85.05 85.05 0 0 1-16.7 1.5H109.2c-26.4 0-49.3-9-68.4-27.1-15.5-14.6-25.1-32.5-29.1-53.5a99.85 99.85 0 0 1-1.6-18.1l.1-173.2c.1-25.7 9.2-48 26.7-66.7a96.5 96.5 0 0 1 52.9-29.2 102.64 102.64 0 0 1 20-1.8h96.9l73.2-.1h0m0-10H109.7a114.49 114.49 0 0 0-22 2 106.79 106.79 0 0 0-58.2 32.2C10.1 55 .2 79.7.1 107.7L0 228.2v52.7a109.41 109.41 0 0 0 1.8 20c4.4 23.2 15.1 43 32.1 58.9 20.9 19.7 46.3 29.8 75.3 29.8h172.3a99.15 99.15 0 0 0 18.6-1.6c35.3-6.8 61.6-26.3 78.2-58.2a103.74 103.74 0 0 0 11.6-48.6V108.5a103.33 103.33 0 0 0-2.2-21.8 106.53 106.53 0 0 0-36.2-61C331 8.6 307 0 279.9 0z" fill="#fff"></path><circle style="fill:' +
155                eA_bColor +
156                '" cx="250.6" cy="146.4" r="35.7" transform="matrix(.160226 -.98708 .98708 .160226 6.75 311.71)" fill="url(#B)"></circle><path style="fill:' +
157                eA_bColor +
158                '" d="M350.6,203.6l-75,6.7c-2.8.2-5.5.4-8.3.4H233.9a76.87,76.87,0,0,1-8.3-.4l-75-6.7a14.24,14.24,0,0,0-2.2,28.4l60.6,5.5a14.25,14.25,0,0,1,13,14.2v16.4a33.8,33.8,0,0,1-2.5,13l-34.5,88a14.3,14.3,0,0,0,26.1,11.7l33-80.1a7,7,0,0,1,13-.1l33,80.1A14.3,14.3,0,1,0,316.2,369l-34.5-87.9a36.61,36.61,0,0,1-2.5-13V251.7a14.18,14.18,0,0,1,13-14.2l60.6-5.5a14.24,14.24,0,0,0-2.2-28.4Z" transform="translate(-59.2 -58.6)" fill="url(#C)"></path><path style="fill:' +
159                eA_fColor +
160                '" d="M191.4 130.7c-23.693 0-42.9-19.207-42.9-42.9s19.207-42.9 42.9-42.9 42.9 19.207 42.9 42.9a42.89 42.89 0 0 1-42.9 42.9zm0-71.5c-13.69-.038-25.498 9.605-28.197 23.026a28.68 28.68 0 0 0 17.105 32.135c12.641 5.256 27.234.846 34.848-10.531A28.68 28.68 0 0 0 211.6 67.6a29.06 29.06 0 0 0-20.2-8.4zm52.5 278.6a21.46 21.46 0 0 1-19.5-12.6l-33.1-80.3-32.7 80.1a21.41 21.41 0 0 1-37.1 4.1 21.57 21.57 0 0 1-2.1-21.5l34.4-87.5a26.63 26.63 0 0 0 1.9-10.4v-16.4a7.09 7.09 0 0 0-6.5-7.1l-60.6-5.5c-11.791-.911-20.611-11.209-19.7-23s11.209-20.611 23-19.7l75.1 6.7a97.18 97.18 0 0 0 7.7.3h33.4a99.08 99.08 0 0 0 7.7-.3l75-6.7h.1c11.791-.911 22.089 7.909 23 19.7s-7.909 22.089-19.7 23l-60.5 5.5a7.09 7.09 0 0 0-6.5 7.1v16.4a28.29 28.29 0 0 0 2 10.4l34.5 87.9a21.36 21.36 0 0 1-1.8 20.2 22.06 22.06 0 0 1-18 9.6zm-52.5-107.1a14.11 14.11 0 0 1 13.1 8.8l33 80.1a7.62 7.62 0 0 0 3.9 3.6 7.13 7.13 0 0 0 9-9.6l-34.6-88.3a42.14 42.14 0 0 1-3-15.7v-16.4c-.054-11.101 8.438-20.376 19.5-21.3l60.6-5.5a7 7 0 0 0 4.9-2.4 6.61 6.61 0 0 0 1.7-5.2 7 7 0 0 0-7.6-6.6l-74.9 6.7a88.33 88.33 0 0 1-8.9.4h-33.4a87 87 0 0 1-8.9-.4l-75-6.7a7.12 7.12 0 0 0-1 14.2l60.7 5.5c11.062.924 19.554 10.199 19.5 21.3v16.4a42.14 42.14 0 0 1-3 15.7l-34.5 87.9a7.09 7.09 0 0 0 .3 7.3 7.19 7.19 0 0 0 6.6 3.2 7 7 0 0 0 5.9-4.3l32.9-79.9a14 14 0 0 1 13.2-8.8z" fill="#fff"></path></svg></div>' +
161                '</div>';
162            h.insertAdjacentHTML('afterbegin', s);
163            let o = h.querySelector('#i');
164            let m = h.querySelector('#t');
165            if (!sessionStorage.getItem('eyeAbleShow')) {
166                //setTimeout(() => (m.style.display = 'block'), 500);
167                setTimeout(() => (m.style.display = 'none'), 4000);
168                sessionStorage.setItem('eyeAbleShow', 'false');
169            }
170            function x() {
171                eA_open = true;
172                aEA();
173            }
174            if (window.innerWidth < 700) {
175                h.style.top = 'unset';
176                h.style.bottom = eA_bottom;
177                o.style.width = '50px';
178                m.style.width = '240px';
179                m.style.left = '-297px';
180                m.style.top = '-50px';
181                m.children[0].style.fontSize = '19px';
182                if (navigator.userAgent.match(/SamsungBrowser/i))
183                    m.children[0].style.fontSize = '17px';
184                m.children[1].style.fontSize = '14px';
185                m.children[2].style.fontSize = '14px';
186                //m.style.opacity = "0";
187                o.addEventListener('touchstart', () => {
188                    if (m.style.display === 'block') x();
189                });
190            } else {
191                o.addEventListener('click', x);
192            }
193            t.addEventListener('keyup', function (e) {
194                if (event.which === 13) {
195                    x();
196                }
197            });
198            o.addEventListener('mouseenter', function () {
199                m.style.display = 'block';
200                o.style.transform = 'scale(1.1)';
201            });
202            o.addEventListener('focus', function () {
203                m.style.display = 'block';
204                o.style.outline = '3px solid black';
205            });
206            o.addEventListener('blur', function () {
207                m.style.display = 'none';
208                o.style.outline = 'none';
209            });
210            h.querySelectorAll('#i,#t').forEach(e =>
211                e.addEventListener('mouseleave', function () {
212                    setTimeout(() => {
213                        if (!t.matches(':hover')) {
214                            m.style.display = 'none';
215                        }
216                    }, 1500);
217                    o.style.transform = 'none';
218                })
219            );
220            //detect alt+1 and alt+f1
221            function k(e) {
222                if (e.altKey) {
223                    if (e.key === '5' || e.key === 'F1') {
224                        eA_open = true;
225                        aEA();
226                        window.removeEventListener('keyup', k);
227                        if (e.key === 'F1') {
228                            document.addEventListener('eyeable:init_completed', () => {
229                                window.eyeAble_toggleShortcutManPage();
230                            });
231                        }
232                    }
233                }
234            }
235            window.addEventListener('keyup', k);
236        }
237    }
238    if (document.readyState === 'complete') {
239        s();
240    } else {
241        window.addEventListener('load', () => {
242            s();
243        });
244    }
245}

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.