PageSourceSearch

https://airport-hotel-fortuna.de/templates/webman4/assets/webman-bottom.js?2026-10-08-00-28-44

js airport-hotel-fortuna.de collected 2026-10-07 22:29:19 UTC 23,587 bytes, 292 lines download raw bytes

1//matchHeight
2!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){var e=-1,o=-1,a=function(t){return parseFloat(t)||0},n=function(e){var o=t(e),n=null,i=[];return o.each((function(){var e=t(this),o=e.offset().top-a(e.css("margin-top")),r=0<i.length?i[i.length-1]:null;null===r?i.push(e):Math.floor(Math.abs(n-o))<=1?i[i.length-1]=r.add(e):i.push(e),n=o})),i},i=function(e){var o={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o)},r=t.fn.matchHeight=function(e){var o=i(e);if(o.remove){var a=this;return this.css(o.property,""),t.each(r._groups,(function(t,e){e.elements=e.elements.not(a)})),this}return this.length<=1&&!o.target||(r._groups.push({elements:this,options:o}),r._apply(this,o)),this};r.version="master",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=n,r._parse=a,r._parseOptions=i,r._apply=function(e,o){var s=i(o),l=t(e),h=[l],c=t(window).scrollTop(),p=t("html").outerHeight(!0),u=l.parents().filter(":hidden");return u.each((function(){var e=t(this);e.data("style-cache",e.attr("style"))})),u.css("display","block"),s.byRow&&!s.target&&(l.each((function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})})),h=n(l),l.each((function(){var e=t(this);e.attr("style",e.data("style-cache")||"")}))),t.each(h,(function(e,o){var n=t(o),i=0;if(s.target)i=s.target.outerHeight(!1);else{if(s.byRow&&n.length<=1)return void n.css(s.property,"");n.each((function(){var e=t(this),o=e.attr("style"),a=e.css("display");"inline-block"!==a&&"flex"!==a&&"inline-flex"!==a&&(a="block");var n={display:a};n[s.property]="",e.css(n),e.outerHeight(!1)>i&&(i=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","")}))}n.each((function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=a(e.css("border-top-width"))+a(e.css("border-bottom-width")),o+=a(e.css("padding-top"))+a(e.css("padding-bottom"))),e.css(s.property,i-o+"px"))}))})),u.each((function(){var e=t(this);e.attr("style",e.data("style-cache")||null)})),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)),this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each((function(){var o=t(this),a=o.attr("data-mh")||o.attr("data-match-height");e[a]=a in e?e[a].add(o):o})),t.each(e,(function(){this.matchHeight(!0)}))};var s=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,(function(){r._apply(this.elements,this.options)})),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(a,n){if(n&&"resize"===n.type){var i=t(window).width();if(i===e)return;e=i}a?-1===o&&(o=setTimeout((function(){s(n),o=-1}),r._throttle)):s(n)},t(r._applyDataApi);var l=t.fn.on?"on":"bind";t(window)[l]("load",(function(t){r._update(!1,t)})),t(window)[l]("resize orientationchange",(function(t){r._update(!0,t)}))}));
3const lang = document.documentElement.lang;
4function supportsHover(){return window.matchMedia("(hover: hover)").matches}
5function debounce(e,t){let n;return function(...u){clearTimeout(n),n=setTimeout((()=>e.apply(this,u)),t)}}
6// Für nur mobile Menü
7function isMenuMobileMode(){return!0}
8function isTabletMode(){return!1}
9function updateAriaHasPopupForMode(){const a=Joomla.Text._("WM_OPEN_SUBMENU")||"Untermenü ein-/ausklappen";$(".hauptmenu li.hassub").each((function(){const e=$(this),t=e.attr("class").split(/\s+/).find((a=>a.startsWith("item-"))),r=e.children("a, .separator").first(),i=r.find(".dropdown").first();if(r.removeAttr("aria-haspopup aria-expanded aria-label role"),i.removeAttr("aria-haspopup aria-expanded aria-label role aria-hidden tabindex disabled"),isMenuMobileMode()){if(isTabletMode()&&tabletClickableItems.includes(t))return;r.attr({"aria-haspopup":"true","aria-expanded":i.attr("aria-expanded")||"false","aria-label":a,role:"button"}),i.attr({"aria-hidden":"true",tabindex:"-1",disabled:"true"}).css("pointer-events","none")}else i.attr({"aria-haspopup":"true","aria-expanded":r.attr("aria-expanded")||"false","aria-label":a,role:"button"})}))}
10let isKeyboardNav=!1;
10$(document).on("keydown",(function(o){"Tab"!==o.key&&"Shift"!==o.key||(isKeyboardNav=!0)})),$(document).on("mousedown",(function(){isKeyboardNav=!1}));
11// Ausnahmen für Menüs, wenn es ein verstecktes Untermenü gibt
12const tabletClickableItems = [];
13
14$(function () {
15    var body = $('body');
16    var header = $('#Header');
17    let activeTooltipElement = null;
18
19    function setScrollbarAwareWidth() {
20        const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
21        let adjustedWidth = window.innerWidth - scrollbarWidth;
22        // aufrunden auf nächste gerade Zahl
23        if (adjustedWidth % 2 !== 0) adjustedWidth += 1;
24        document.documentElement.style.setProperty('--scrollbar', `${adjustedWidth}px`);
25      }
26
27    $(window).on("resize", debounce(setScrollbarAwareWidth, 200));
28    setScrollbarAwareWidth();
29
30    // Für externe Links
31    $.expr.pseudos.external = function (obj) {
32        return !obj.href.match(/^mailto\:/) && !obj.href.match(/^javascript\:/) && !obj.href.match(/^tel\:/) && (obj.hostname != location.hostname);
33    };
34    var exLinkText = Joomla.Text._('OEFFNET_EXTERNE_SEITE');
35    $('a[href]:external').each(function () {
36        $(this).addClass('externLink');
37        var title = $(this).attr('title');
38        var url = $(this).attr('href');
39        var domain = '[' + url.split("/")[2] + ']';
40        $(this).attr('data-toggle', 'tooltip').attr('target', '_blank')
41        if (typeof title !== 'undefined' && title !== false && title.indexOf(domain) >= 0) {
42            $(this).attr('data-title', title);
43            if ( $(this).children().length > 0 ) {
44                $(this).attr('aria-label', title);
45            }
46        } else if (typeof title !== 'undefined' && title !== false && title.indexOf(domain) < 0) {
47            $(this).attr('data-title', title + '<br>' + domain);
48            if ( $(this).children().length > 0 ) {
49                $(this).attr('aria-label', exLinkText + domain);
50            }
51        } else {
52            $(this).attr('data-title', exLinkText + '<br>' + domain);
53            if ( $(this).children().length > 0 ) {
54                $(this).attr('aria-label', exLinkText + domain);
55            }
56        }
57    });
58    
59    function initEscKeyHandler(){$(document).off("keydown.escmenu").on("keydown.escmenu",(function(e){if("Escape"===e.key&&(body.hasClass("mobile-open")&&$(".menu-trigger").first().trigger("click"),"function"==typeof isMenuMobileMode&&"function"==typeof supportsHover&&isMenuMobileMode()&&supportsHover()&&($(".hauptmenu li.hassub.open").removeClass("open").find("ul.submenu").slideUp().attr("aria-hidden","true"),$(".hauptmenu .dropdown").attr("aria-expanded","false")),activeTooltipElement)){const e=activeTooltipElement.querySelector(".wm-tooltip");e&&(e.setAttribute("aria-hidden","true"),e.remove()),activeTooltipElement.focus(),activeTooltipElement=null}}))}
60
61    // Tooltips
62    setTimeout((()=>{const closeLabel=Joomla.Text._("WM_CLOSE_TOOLTIP");function setTooltipVisibility(t,e){const o=t.querySelector(".wm-tooltip");o&&o.setAttribute("aria-hidden",e?"false":"true")} $('[data-toggle="tooltip"],[data-bs-toggle="tooltip"],.hasTooltip[title]').filter((function(){return 0===$(this).closest(".fixed-sidebar").length})).each((function(e){const o=this,t=o.getAttribute("title")||o.getAttribute("data-title");if(!t)return;const i=`tooltip-${e}`,l=o.tagName.toLowerCase();if("label"===l&&o.hasAttribute("for")){const t=o.getAttribute("for"),e=document.getElementById(t);e&&e.setAttribute("aria-describedby",i)}else o.setAttribute("aria-describedby",i);if(("label"===l||o.hasAttribute("data-force-tabindex"))&&!o.closest('[aria-hidden="true"]'))o.setAttribute("tabindex","0");if(!o.querySelector(".wm-tooltip")){const html=`<div class="wm-tooltip" role="tooltip" id="${i}" aria-labelledby="${i}-text" aria-hidden="true"><div class="wm-tooltip-inner ${o.getAttribute("data-position")||"top"}"><span id="${i}-text">${t}</span><button class="tooltip-close" aria-label="${closeLabel}" tabindex="-1">&times;</button></div></div>`;o.insertAdjacentHTML("beforeend",html),o.classList.add("hastooltip"),o.removeAttribute("title"),o.setAttribute("data-title",t)}})),$(document).on("focusin","input, select, textarea",(function(){const t=this.id;if(!t||!isKeyboardNav)return;const o=document.querySelector(`label.hastooltip[for="${t}"]`);o&&(activeTooltipElement=o,o.classList.add("tooltip-visible"),setTooltipVisibility(o,!0))})),$(document).on("focusin",".hastooltip",(function(){isKeyboardNav&&(activeTooltipElement=this,this.classList.add("tooltip-visible"),setTooltipVisibility(this,!0))})),$(document).on("focusout",".hastooltip, input, select, textarea",(function(){const t=this.id,o=this.matches(".hastooltip")?this:document.querySelector(`label.hastooltip[for="${t}"]`);o&&(o.classList.remove("tooltip-visible"),setTooltipVisibility(o,!1),activeTooltipElement===o&&(activeTooltipElement=null))})),$(document).on("click",".tooltip-close",(function(t){t.preventDefault(),t.stopPropagation();const e=this.closest(".wm-tooltip"),o=e&&e.closest(".hastooltip");e&&(e.setAttribute("aria-hidden","true"),e.remove()),o&&o.focus(),activeTooltipElement===o&&(activeTooltipElement=null)})),$(document).trigger("tooltips:ready")}),500);
63
64    // Fancybox laden, wenn Element mit data-fancybox gefunden wird
65    setTimeout(() => {
66        if ($('[data-fancybox]').length) {
67            let fancyBoxScript = document.createElement("script");
68            fancyBoxScript.setAttribute("src", "/templates/webman4/assets/fancybox5.js");
69            document.head.appendChild(fancyBoxScript);
70            let fancyBoxStyle = document.createElement("link");
71            fancyBoxStyle.setAttribute("rel", "stylesheet");
72            fancyBoxStyle.setAttribute("href", "/templates/webman4/assets/fancybox5.css");
73            document.head.appendChild(fancyBoxStyle);
74            let fancylang;
75            "de-de"===lang?fancylang={l10n:{CLOSE:"Schließen",NEXT:"Nächstes Bild",PREV:"Vorheriges Bild",MODAL:"Sie können diesen modalen Inhalt mit der ESC-Taste schließen",ERROR:"Etwas ist schief gelaufen, bitte versuchen Sie es später noc
75h einmal",IMAGE_ERROR:"Bild nicht gefunden",ELEMENT_NOT_FOUND:"HTML-Element nicht gefunden",AJAX_NOT_FOUND:"Fehler beim Laden von AJAX: Nicht gefunden",AJAX_FORBIDDEN:"Fehler beim Laden von AJAX: Verboten",IFRAME_ERROR:"Fehler beim Laden der Seite",TOGGLE_SLIDESHOW:"Diashow starten",TOGGLE_FULLSCREEN:"Vollbildmodus",DOWNLOAD:"Herunterladen"}}:fancylang=!1;
76            setTimeout(() => {
77            Fancybox.bind("[data-fancybox]",{hideScrollbar:!1,mainClass:"wmfancy",idle:!1,showClass:"f-fadeSlowIn",...fancylang,Thumbs:{type:"classic",Carousel:{axis:"x",slidesPerPage:1,Navigation:!0,center:!0,fill:!0,dragFree:!0,breakpoints:{"(min-width: 991px)":{axis:"y"}}}},Images:{zoom:!1,Panzoom:{maxScale:1.5}},Toolbar:{display:{left:["infobar"],middle:[],right:["slideshow","fullscreen","close"]}}});
78            }, 200);
79
80            $('a[data-fancybox][data-type="iframe"]').each(function () {
81                if ($(this).attr('href').match(/\.pdf(\?|#|$)/i)) {
82                    $(this).attr("data-type", "pdf");
83                }
84            });
85        }
86    }, 500);
87
88    // PDFs, die eigentlich mit Fancybox geöffnet werden, auf mobile in neuem Tab öffenen
89    $('a:not(.immerFancy)[data-fancybox][data-type="iframe"], a:not(.immerFancy)[data-fancybox][data-type="pdf"]').on("click", function () {
90        if ($(window).outerWidth() < 992) {
91            if ($(this).attr('data-src')) {
92                var url = $(this).attr('data-src');
93            } else {
94                var url = $(this).attr('href').replace('?tmpl=frame', '');
95            }
96            $(this).removeAttr('data-fancybox').attr("target", "_blank").attr("href", url);
97        }
98    });
99
100    // Equalheight
101    function setEqualHeights(){$(".eqh1").length&&$(".eqh1").matchHeight(),$(".eqh2").length&&$(".eqh2").matchHeight(),$(".eqh3").length&&$(".eqh3").matchHeight(),$(".eqbox").length&&$(".eqbox").matchHeight()}setEqualHeights();
102
103    // Webman Menü
104    function initAccessibleMenu() {
105        isMenuMobileMode() ? $(".wmmenu-outer").removeClass("open").attr("aria-hidden", "true").attr("inert", "") : $(".wmmenu-outer").removeClass("open").removeAttr("aria-hidden inert");
106        body.removeClass("mobile-open");
107        $(".hauptmenu li.open").removeClass("open")
108            .find("ul.submenu").hide().attr("aria-hidden", "true");
109        $(".hauptmenu .dropdown").attr("aria-expanded", "false");
110
111        const isMobileMode = isMenuMobileMode;
112
113        function openSubMenu(e,a){e.addClass("open"),e.children("ul.submenu").stop(!0,!0).slideDown().attr("aria-hidden","false"),a.attr("aria-expanded","true")}
114        function closeSubMenu(e){const n=e.find("li.open").get().reverse();n.forEach(((e,n)=>{const t=$(e);setTimeout((()=>{t.removeClass("open"),t.children("ul.submenu").stop(!0,!0).slideUp().attr("aria-hidden","true"),t.find(".dropdown").attr("aria-expanded","false")}),100*n)})),setTimeout((()=>{e.removeClass("open"),e.children("ul.submenu").stop(!0,!0).slideUp().attr("aria-hidden","true"),e.find(".dropdown").attr("aria-expanded","false")}),100*n.length+50)}
115        function toggleSubMenu(s){const e=$(s),l=e.closest("li.hassub");l.hasClass("open")?closeSubMenu(l):(closeAllSiblings(l),openSubMenu(l,e))}
116        function closeAllSiblings(n){n.siblings(".open").add(n.siblings(".open").find("li.open")).removeClass("open").find("ul.submenu").slideUp().attr("aria-hidden","true").end().find(".dropdown").attr("aria-expanded","false")}
117        function forceOpenChain(){if(!isMobileMode())return;const e=$(".hauptmenu li.active").parentsUntil(".hauptmenu","li.hassub").get().reverse(),n=$(".hauptmenu li.active.hassub").get(0);n&&e.push(n),e.forEach(((e,n)=>{const t=$(e),i=t.find("> a .dropdown, > .separator .dropdown").first();i.length&&setTimeout((()=>openSubMenu(t,i)),300*n)}))}
118
119        $(".menu-trigger").off("click").on("click",(function(e){e.preventDefault();const n=$(".wmmenu-outer");n.hasClass("open");if(n.toggleClass("open"),body.toggleClass("mobile-open"),!body.hasClass("mobile-open"))return $(".webman-menu > .menu-right .menu-trigger").trigger("focus"),$(".hauptmenu li.open").removeClass("open").find("ul.submenu").hide().attr("aria-hidden","true"),$(".hauptmenu .dropdown").attr("aria-expanded","fal
119se"),void n.attr("aria-hidden","true").attr("inert","");n.removeAttr("aria-hidden").removeAttr("inert"),forceOpenChain()}));
120        $(".hauptmenu li.hassub .dropdown").off("click keydown").on("click",(function(n){n.preventDefault(),n.stopPropagation(),toggleSubMenu(this)})).on("keydown",(function(n){"Enter"!==n.key&&" "!==n.key||(n.preventDefault(),n.stopPropagation(),toggleSubMenu(this))}));
121        $(".hauptmenu li.hassub").off("focusout").on("focusout",(function(){if(isMobileMode())return;const o=$(this);setTimeout((()=>{const n=o.find(":focus").length>0,e=o.find(".dropdown:focus").length>0;n||e||(o.removeClass("open").find("ul.submenu").slideUp().attr("aria-hidden","true"),o.find(".dropdown").attr("aria-expanded","false"))}),10)}));
122        $(".hauptmenu li.hassub").off("mouseenter mouseleave").on("mouseenter",(function(){if(!isMobileMode()){const e=$(this),o=e.find("> .dropdown, > a > .dropdown, > .separator > .dropdown").first();e.children("ul.submenu").attr("aria-hidden","false"),o.attr("aria-expanded","true")}})).on("mouseleave",(function(){if(!isMobileMode()){const e=$(this),o=e.find("> .dropdown, > a > .dropdown, > .separator > .dropdown").first();e.children("ul.submenu").attr("aria-hidden","true"),o.attr("aria-expanded","false")}}));
123
124        $(".hauptmenu li.hassub > a, .hauptmenu li.hassub > .separator")
125            .off("click")
126            .on("click", function (e) {
127                if (!isMobileMode()) return;
128                const $parentLi = $(this).closest("li");
129                const id = $parentLi.attr("class").split(/\s+/).find(cls => cls.startsWith("item-"));
130                if (isTabletMode() && tabletClickableItems.includes(id)) {
131                    return;
132                }
133                e.preventDefault();
134                const $dropdown = $(this).find(".dropdown").first();
135                if ($dropdown.length) toggleSubMenu($dropdown);
136            });
137
138        updateAriaHasPopupForMode();
139        setTimeout(() => {
140            if (isTabletMode()) {
141                $(".wmmenu-outer").removeAttr("aria-hidden inert");
142            }
143        }, 50);
144        $(document).off("click.wmmenuTabletClose").on("click.wmmenuTabletClose", function (event) {
145            if (!isTabletMode()) return;
146            if ($(event.target).closest(".hauptmenu").length === 0) {
147                $(".hauptmenu li.open").removeClass("open")
148                    .find("ul.submenu").slideUp().attr("aria-hidden", "true");
149                $(".hauptmenu .dropdown").attr("aria-expanded", "false");
150            }
151        });
152    }
153
154    $(window).on("resize", debounce(function () {
155        initAccessibleMenu();
156    }, 200));
157    initAccessibleMenu();
158    initEscKeyHandler();
159
160    // ONEPAGER MENÜ Active setzen - auch RR-Regel anmachen
161    function menuactive() {
162        let scrollTop = $(document).scrollTop();
163        $('.webman-menu ul.hauptmenu li').each(function (i, elem) {
164            let elemAttr = $(elem).find('a').attr('href');
165
166            // Nur weitermachen, wenn elemAttr ein Hash-Link ist (beginnt mit #)
167            if (elemAttr && elemAttr.startsWith('#') && $(elemAttr).length) {
168                if (scrollTop >= $(elemAttr).offset().top - $(window).height() / 2) {
169                    $('.webman-menu ul.hauptmenu li').removeClass('active');
170                    $(elem).addClass('active');
171                }
172            }
173        });
174    }
175
176    if($('body.itemid-101').length) {
177        $(window).on("scroll", function(){
178            menuactive();
179        });
180        menuactive();
181        $('.webman-menu ul.hauptmenu li a[href*="#"]').on("click", function() {
182            $(".wmmenu-outer").toggleClass("open");
183            body.toggleClass("mobile-open");
184        });
185    }
186
187    // für Slidericons auf Touch Geräten
188    if(!supportsHover()&&$(window).outerWidth()>575){let t=null,i=!1;$(".fixed-sidebar .iconrow a").on("touchstart",(function(){i=!0})),$(".fixed-sidebar .iconrow").on("click",(function(n){const o=$(this);o.find("a"),o.find(".fs-content");i&&(t&&t.is(o)||(n.preventDefault(),t?.removeClass("open"),t=o.addClass("open")))})),$(".fixed-sidebar .fs-content").on("click",(function(t){const i=$(this).closest(".iconrow");i.hasClass("open")&&i.find("a")[0].click()})),$(document).on("click touchstart",(function(n){$(n.target).closest(".fixed-sidebar .iconrow").length||(t?.removeClass("open"),t=null),i=!1}))}
189
190    // Alles was mit Formularen zu tun hat
191    // Formulare checken, ob ausgefüllt oder nicht
192    const formfields = $('.form-control, .form-select, .form-check-input');
193    const selectize = $('.rsform-type-selectize select.selectized');
194
195    function formularsachen($field) {
196        const parentBlock = $field.closest('.rsform-block');
197
198        if ($field.hasClass('rsform-checkbox')) {
199            const nolabel = $field.hasClass('nolabel');
200            if (nolabel) {
201                parentBlock.addClass('nolabel');
202            }
203            return;
204        }
205        const tmpval = $field.val();
206
207        const disabled = $field.prop('disabled') || $field.hasClass('disabled');
208        const readonly = ($field.prop('readonly') || $field.hasClass('readonly')) && !$field.attr('id')?.includes('rsfp_adv_datepicker');
209
210        if (!tmpval) {
211            parentBlock.addClass('empty').removeClass('hasvalue active');
212        } else {
213            parentBlock.addClass('hasvalue').removeClass('empty active');
214        }
215    
216        if (disabled) parentBlock.addClass('disabled');
217        if (readonly) parentBlock.addClass('readonly');
218    
219        if (disabled || readonly) {
220            $field.attr("aria-hidden", "true");
221            $field.attr("tabindex", "-1");
222        }
223    }
224
225    $(document).on("scroll", () => {
226        const bookButton = $(".modcustom.buchen-outer");
227        if ($(window).scrollTop() > 65) {
228            bookButton.addClass("scrolled");
229        } else {
230            bookButton.removeClass("scrolled");
231        }
232    });
233    
234    // Events für Form-Felder
235    formfields.on("blur",(function(){formularsachen($(this))})),formfields.each((function(){setTimeout((()=>{formularsachen($(this))}),100)})),formfields.on("focus",(function(){$(this).closest(".rsform-block").addClass("active")}));
236
237    // Funktion für Selectize-Felder
238    function selectizeagain() {
239        $(this).on('change', function () {
240            $(this).closest('.rsform-type-selectize').find('.selectize-input').focus();
241        });
242    }
243
244    /* Usercentrics Button stylen, der erste Befehl ist für das Styling*/
245    // var checkExist = setInterval(function () {
246    //     if ($('#usercentrics-root').length) {
247    //         var host = document.getElementById('usercentrics-root');
248    //         var style = document.createElement('style');
249    //         style.innerHTML = 'button[data-testid="uc-privacy-button"] { background-color: var(--prime);} button[data-testid="uc-privacy-button"]:hover,button[data-testid="uc-privacy-button"]:focus { background-color: var(--second); } /*@media (max-width: 768px) and (orientation: portrait) {button[data-testid="uc-privacy-button"] { right: 24px; }}*/';
250    //         host.shadowRoot.appendChild(style);
251    //         clearInterval(checkExist);
252    //     }
253    // }, 100); // check every 100ms
254
255    // // UC im Iframe, tmpl="frame" und tmpl="component" automatisch ablehnen und schließen
256    // if ((window.location !== window.parent.location) || (window.location.href.indexOf('tmpl=frame') > -1) || (window.location.href.indexOf('tmpl=component') > -1)) {
257    //     function checkIfUCLoaded() {
258    //         if (typeof UC_UI == "undefined") {
259    //             setTimeout(function () {
260    //                 checkIfUCLoaded()
261    //             }, 50)
262    //         } else {
263    //             UC_UI.closeCMP();
264    //         }
265    //     }
266    //     checkIfUCLoaded();
267    // }
268
269}); //Jquery zu *****************************************************************************
270
271// WOW Ersatz
272const targets = document.querySelectorAll(".wow");
273const isAnimated = "animated";
274const options = {
275    rootMargin: "-20% 0px",
276    threshold: 0,
277    };
278
279function callback(entries, observer) {
280    entries.forEach((entry) => {
281    const elem = entry.target;
282
283    if (entry.isIntersecting) {
284            elem.classList.add(isAnimated);
285    }
286    });
287}
288
289const observer = new IntersectionObserver(callback, options);
290for (const target of targets) {
291    observer.observe(target);
292}

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.